diff --git a/providers/src/aws/v00.00.00000/services/.gitignore b/providers/src/aws/v00.00.00000/services/.gitignore new file mode 100644 index 00000000..3476a3cc --- /dev/null +++ b/providers/src/aws/v00.00.00000/services/.gitignore @@ -0,0 +1,11 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore +!cloud_control.yaml +!cloudhsm.yaml +!cloudwatch_api.yaml +!ec2_api.yaml +!iam_api.yaml +!s3_api.yaml +!transfer_api.yaml \ No newline at end of file diff --git a/providers/src/aws/v00.00.00000/services/accessanalyzer.yaml b/providers/src/aws/v00.00.00000/services/accessanalyzer.yaml index 412f6279..9358c4e6 100644 --- a/providers/src/aws/v00.00.00000/services/accessanalyzer.yaml +++ b/providers/src/aws/v00.00.00000/services/accessanalyzer.yaml @@ -536,6 +536,58 @@ components: - access-analyzer:DeleteAnalyzer list: - access-analyzer:ListAnalyzers + CreateAnalyzerRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AnalyzerName: + description: Analyzer name + type: string + minLength: 1 + maxLength: 1024 + ArchiveRules: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/ArchiveRule' + Arn: + description: Amazon Resource Name (ARN) of the analyzer + type: string + minLength: 1 + maxLength: 1600 + Tags: + type: array + maxItems: 50 + x-insertionOrder: false + uniqueItems: true + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + Type: + description: The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS or ORGANIZATION_UNUSED_ACCESS + type: string + minLength: 0 + maxLength: 1024 + AnalyzerConfiguration: + description: The configuration for the analyzer + type: object + properties: + UnusedAccessConfiguration: + $ref: '#/components/schemas/UnusedAccessConfiguration' + additionalProperties: false + x-stackQL-stringOnly: true + x-title: CreateAnalyzerRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -551,10 +603,26 @@ components: x-cfn-type-name: AWS::AccessAnalyzer::Analyzer x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Analyzer&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AccessAnalyzer::Analyzer" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -567,7 +635,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/analyzers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/analyzers/methods/delete_resource' config: views: select: @@ -593,6 +662,7 @@ components: x-cfn-type-name: AWS::AccessAnalyzer::Analyzer x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -606,24 +676,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AccessAnalyzer::Analyzer" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/analyzer/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/analyzer/methods/delete_resource' - x-type: get config: views: select: @@ -799,8 +854,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Analyzer&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAnalyzer + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAnalyzerRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/acmpca.yaml b/providers/src/aws/v00.00.00000/services/acmpca.yaml index c3ac011f..db99117c 100644 --- a/providers/src/aws/v00.00.00000/services/acmpca.yaml +++ b/providers/src/aws/v00.00.00000/services/acmpca.yaml @@ -1026,6 +1026,173 @@ components: - acm-pca:ListPermissions delete: - acm-pca:DeletePermission + CreateCertificateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ApiPassthrough: + description: Specifies X.509 certificate information to be included in the issued certificate. An ``APIPassthrough`` or ``APICSRPassthrough`` template variant must be selected, or else this parameter is ignored. + $ref: '#/components/schemas/ApiPassthrough' + CertificateAuthorityArn: + description: The Amazon Resource Name (ARN) for the private CA issues the certificate. + $ref: '#/components/schemas/Arn' + CertificateSigningRequest: + description: The certificate signing request (CSR) for the certificate. + type: string + minLength: 1 + SigningAlgorithm: + description: |- + The name of the algorithm that will be used to sign the certificate to be issued. + This parameter should not be confused with the ``SigningAlgorithm`` parameter used to sign a CSR in the ``CreateCertificateAuthority`` action. + The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. + type: string + TemplateArn: + description: Specifies a custom configuration template to use when issuing a certificate. If this parameter is not provided, PCAshort defaults to the ``EndEntityCertificate/V1`` template. For more information about PCAshort templates, see [Using Templates](https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html). + $ref: '#/components/schemas/Arn' + Validity: + description: The period of time during which the certificate will be valid. + $ref: '#/components/schemas/Validity' + ValidityNotBefore: + description: |- + Information describing the start of the validity period of the certificate. This parameter sets the “Not Before" date for the certificate. + By default, when issuing a certificate, PCAshort sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The ``ValidityNotBefore`` parameter can be used to customize the “Not Before” value. + Unlike the ``Validity`` parameter, the ``ValidityNotBefore`` parameter is optional. + The ``ValidityNotBefore`` value is expressed as an explicit date and time, using the ``Validity`` type value ``ABSOLUTE``. + $ref: '#/components/schemas/Validity' + Certificate: + description: '' + type: string + Arn: + description: '' + $ref: '#/components/schemas/Arn' + x-stackQL-stringOnly: true + x-title: CreateCertificateRequest + type: object + required: [] + CreateCertificateAuthorityRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the certificate authority. + $ref: '#/components/schemas/Arn' + Type: + description: The type of the certificate authority. + type: string + KeyAlgorithm: + description: Public key algorithm and size, in bits, of the key pair that your CA creates when it issues a certificate. + type: string + SigningAlgorithm: + description: Algorithm your CA uses to sign certificate requests. + type: string + Subject: + description: Structure that contains X.500 distinguished name information for your CA. + $ref: '#/components/schemas/Subject' + RevocationConfiguration: + description: Certificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority actions. + $ref: '#/components/schemas/RevocationConfiguration' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + CertificateSigningRequest: + description: The base64 PEM-encoded certificate signing request (CSR) for your certificate authority certificate. + type: string + CsrExtensions: + description: Structure that contains CSR pass through extension information used by the CreateCertificateAuthority action. + $ref: '#/components/schemas/CsrExtensions' + KeyStorageSecurityStandard: + description: KeyStorageSecurityStadard defines a cryptographic key management compliance standard used for handling CA keys. + type: string + UsageMode: + description: Usage mode of the ceritificate authority. + type: string + x-stackQL-stringOnly: true + x-title: CreateCertificateAuthorityRequest + type: object + required: [] + CreateCertificateAuthorityActivationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CertificateAuthorityArn: + description: Arn of the Certificate Authority. + type: string + Certificate: + description: Certificate Authority certificate that will be installed in the Certificate Authority. + type: string + CertificateChain: + description: Certificate chain for the Certificate Authority certificate. + type: string + Status: + description: The status of the Certificate Authority. + type: string + CompleteCertificateChain: + description: The complete certificate chain, including the Certificate Authority certificate. + type: string + x-stackQL-stringOnly: true + x-title: CreateCertificateAuthorityActivationRequest + type: object + required: [] + CreatePermissionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Actions: + description: The actions that the specified AWS service principal can use. Actions IssueCertificate, GetCertificate and ListPermissions must be provided. + type: array + x-insertionOrder: false + items: + type: string + CertificateAuthorityArn: + description: The Amazon Resource Name (ARN) of the Private Certificate Authority that grants the permission. + type: string + Principal: + description: The AWS service or identity that receives the permission. At this time, the only valid principal is acm.amazonaws.com. + type: string + SourceAccount: + description: The ID of the calling account. + type: string + x-stackQL-stringOnly: true + x-title: CreatePermissionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1042,10 +1209,26 @@ components: x-identifiers: - Arn - CertificateAuthorityArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Certificate&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ACMPCA::Certificate" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1058,6 +1241,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/certificates/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/certificates/methods/delete_resource' certificate: name: certificate id: aws.acmpca.certificate @@ -1066,6 +1251,7 @@ components: x-identifiers: - Arn - CertificateAuthorityArn + x-type: get methods: update_resource: operation: @@ -1079,24 +1265,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ACMPCA::Certificate" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/certificate/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/certificate/methods/delete_resource' - x-type: get config: views: select: @@ -1142,10 +1313,26 @@ components: x-cfn-type-name: AWS::ACMPCA::CertificateAuthority x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CertificateAuthority&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ACMPCA::CertificateAuthority" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1158,7 +1345,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/certificate_authorities/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/certificate_authorities/methods/delete_resource' config: views: select: @@ -1184,6 +1372,7 @@ components: x-cfn-type-name: AWS::ACMPCA::CertificateAuthority x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1197,24 +1386,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ACMPCA::CertificateAuthority" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/certificate_authority/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/certificate_authority/methods/delete_resource' - x-type: get config: views: select: @@ -1264,10 +1438,26 @@ components: x-cfn-type-name: AWS::ACMPCA::CertificateAuthorityActivation x-identifiers: - CertificateAuthorityArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CertificateAuthorityActivation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ACMPCA::CertificateAuthorityActivation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1280,6 +1470,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/certificate_authority_activations/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/certificate_authority_activations/methods/delete_resource' certificate_authority_activation: name: certificate_authority_activation id: aws.acmpca.certificate_authority_activation @@ -1287,6 +1479,7 @@ components: x-cfn-type-name: AWS::ACMPCA::CertificateAuthorityActivation x-identifiers: - CertificateAuthorityArn + x-type: get methods: update_resource: operation: @@ -1300,24 +1493,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ACMPCA::CertificateAuthorityActivation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/certificate_authority_activation/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/certificate_authority_activation/methods/delete_resource' - x-type: get config: views: select: @@ -1356,10 +1534,14 @@ components: x-identifiers: - CertificateAuthorityArn - Principal + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Permission&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1369,18 +1551,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/permissions/methods/create_resource' - permission: - name: permission - id: aws.acmpca.permission - x-cfn-schema-name: Permission - x-cfn-type-name: AWS::ACMPCA::Permission - x-identifiers: - - CertificateAuthorityArn - - Principal - methods: delete_resource: operation: $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' @@ -1394,10 +1564,22 @@ components: mediaType: application/json openAPIDocKey: '200' sqlVerbs: - update: [] + insert: + - $ref: '#/components/x-stackQL-resources/permissions/methods/create_resource' delete: - - $ref: '#/components/x-stackQL-resources/permission/methods/delete_resource' + - $ref: '#/components/x-stackQL-resources/permissions/methods/delete_resource' + permission: + name: permission + id: aws.acmpca.permission + x-cfn-schema-name: Permission + x-cfn-type-name: AWS::ACMPCA::Permission + x-identifiers: + - CertificateAuthorityArn + - Principal x-type: get + methods: {} + sqlVerbs: + update: [] config: views: select: @@ -1569,8 +1751,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Certificate&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCertificate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCertificateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__CertificateAuthority&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCertificateAuthority + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCertificateAuthorityRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__CertificateAuthorityActivation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCertificateAuthorityActivation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCertificateAuthorityActivationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Permission&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePermission + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePermissionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/amplify.yaml b/providers/src/aws/v00.00.00000/services/amplify.yaml index 03e4301b..1f03174b 100644 --- a/providers/src/aws/v00.00.00000/services/amplify.yaml +++ b/providers/src/aws/v00.00.00000/services/amplify.yaml @@ -939,6 +939,243 @@ components: - amplify:ListTagsForResource - amplify:TagResource - amplify:UntagResource + CreateAppRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessToken: + type: string + minLength: 1 + maxLength: 255 + AppId: + type: string + minLength: 1 + maxLength: 20 + pattern: d[a-z0-9]+ + AppName: + type: string + minLength: 1 + maxLength: 255 + pattern: (?s).+ + Arn: + type: string + maxLength: 1000 + pattern: (?s).* + AutoBranchCreationConfig: + $ref: '#/components/schemas/AutoBranchCreationConfig' + BasicAuthConfig: + $ref: '#/components/schemas/BasicAuthConfig' + BuildSpec: + type: string + minLength: 1 + maxLength: 25000 + pattern: (?s).+ + CustomHeaders: + type: string + minLength: 0 + maxLength: 25000 + pattern: (?s).* + CustomRules: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/CustomRule' + DefaultDomain: + type: string + minLength: 0 + maxLength: 1000 + Description: + type: string + maxLength: 1000 + pattern: (?s).* + EnableBranchAutoDeletion: + type: boolean + EnvironmentVariables: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/EnvironmentVariable' + IAMServiceRole: + type: string + minLength: 1 + maxLength: 1000 + pattern: (?s).* + Name: + type: string + minLength: 1 + maxLength: 255 + pattern: (?s).+ + OauthToken: + type: string + maxLength: 1000 + pattern: (?s).* + Platform: + type: string + enum: + - WEB + - WEB_DYNAMIC + - WEB_COMPUTE + Repository: + type: string + pattern: (?s).* + Tags: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateAppRequest + type: object + required: [] + CreateBranchRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AppId: + type: string + minLength: 1 + maxLength: 20 + pattern: d[a-z0-9]+ + Arn: + type: string + maxLength: 1000 + pattern: (?s).* + BasicAuthConfig: + $ref: '#/components/schemas/BasicAuthConfig' + Backend: + $ref: '#/components/schemas/Backend' + BranchName: + type: string + minLength: 1 + maxLength: 255 + pattern: (?s).+ + BuildSpec: + type: string + minLength: 1 + maxLength: 25000 + pattern: (?s).+ + Description: + type: string + maxLength: 1000 + pattern: (?s).* + EnableAutoBuild: + type: boolean + EnablePerformanceMode: + type: boolean + EnablePullRequestPreview: + type: boolean + EnvironmentVariables: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/EnvironmentVariable' + Framework: + type: string + maxLength: 255 + pattern: (?s).* + PullRequestEnvironmentName: + type: string + maxLength: 20 + pattern: (?s).* + Stage: + type: string + enum: + - EXPERIMENTAL + - BETA + - PULL_REQUEST + - PRODUCTION + - DEVELOPMENT + Tags: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateBranchRequest + type: object + required: [] + CreateDomainRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AppId: + type: string + minLength: 1 + maxLength: 20 + pattern: d[a-z0-9]+ + Arn: + type: string + maxLength: 1000 + pattern: (?s).* + AutoSubDomainCreationPatterns: + type: array + uniqueItems: false + items: + type: string + minLength: 1 + maxLength: 2048 + pattern: (?s).+ + AutoSubDomainIAMRole: + type: string + pattern: ^$|^arn:.+:iam::\d{12}:role.+ + maxLength: 1000 + CertificateRecord: + type: string + maxLength: 1000 + Certificate: + $ref: '#/components/schemas/Certificate' + CertificateSettings: + $ref: '#/components/schemas/CertificateSettings' + DomainName: + type: string + pattern: ^(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9])\.)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])(\.)?$ + maxLength: 255 + DomainStatus: + type: string + UpdateStatus: + type: string + EnableAutoSubDomain: + type: boolean + StatusReason: + type: string + maxLength: 1000 + SubDomainSettings: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/SubDomainSetting' + maxItems: 255 + x-stackQL-stringOnly: true + x-title: CreateDomainRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -954,10 +1191,26 @@ components: x-cfn-type-name: AWS::Amplify::App x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__App&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Amplify::App" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -970,7 +1223,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/apps/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/apps/methods/delete_resource' config: views: select: @@ -996,6 +1250,7 @@ components: x-cfn-type-name: AWS::Amplify::App x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1009,24 +1264,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Amplify::App" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/app/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/app/methods/delete_resource' - x-type: get config: views: select: @@ -1092,10 +1332,26 @@ components: x-cfn-type-name: AWS::Amplify::Branch x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Branch&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Amplify::Branch" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1108,7 +1364,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/branches/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/branches/methods/delete_resource' config: views: select: @@ -1134,6 +1391,7 @@ components: x-cfn-type-name: AWS::Amplify::Branch x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1147,24 +1405,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Amplify::Branch" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/branch/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/branch/methods/delete_resource' - x-type: get config: views: select: @@ -1222,10 +1465,26 @@ components: x-cfn-type-name: AWS::Amplify::Domain x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Amplify::Domain" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1238,7 +1497,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/domains/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/domains/methods/delete_resource' config: views: select: @@ -1264,6 +1524,7 @@ components: x-cfn-type-name: AWS::Amplify::Domain x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1277,24 +1538,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Amplify::Domain" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/domain/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/domain/methods/delete_resource' - x-type: get config: views: select: @@ -1484,8 +1730,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__App&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApp + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAppRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Branch&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBranch + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBranchRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDomain + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDomainRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/amplifyuibuilder.yaml b/providers/src/aws/v00.00.00000/services/amplifyuibuilder.yaml index 7ce25f02..04dc27b9 100644 --- a/providers/src/aws/v00.00.00000/services/amplifyuibuilder.yaml +++ b/providers/src/aws/v00.00.00000/services/amplifyuibuilder.yaml @@ -1238,6 +1238,155 @@ components: list: - amplify:GetApp - amplifyuibuilder:ListThemes + CreateComponentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AppId: + type: string + BindingProperties: + $ref: '#/components/schemas/ComponentBindingProperties' + Children: + type: array + items: + $ref: '#/components/schemas/ComponentChild' + CollectionProperties: + $ref: '#/components/schemas/ComponentCollectionProperties' + ComponentType: + type: string + maxLength: 255 + minLength: 1 + CreatedAt: + type: string + format: date-time + EnvironmentName: + type: string + Events: + $ref: '#/components/schemas/ComponentEvents' + Id: + type: string + ModifiedAt: + type: string + format: date-time + Name: + type: string + maxLength: 255 + minLength: 1 + Overrides: + $ref: '#/components/schemas/ComponentOverrides' + Properties: + $ref: '#/components/schemas/ComponentProperties' + SchemaVersion: + type: string + SourceId: + type: string + Tags: + $ref: '#/components/schemas/Tags' + Variants: + type: array + items: + $ref: '#/components/schemas/ComponentVariant' + x-stackQL-stringOnly: true + x-title: CreateComponentRequest + type: object + required: [] + CreateFormRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AppId: + type: string + Cta: + $ref: '#/components/schemas/FormCTA' + DataType: + $ref: '#/components/schemas/FormDataTypeConfig' + EnvironmentName: + type: string + Fields: + $ref: '#/components/schemas/FieldsMap' + FormActionType: + $ref: '#/components/schemas/FormActionType' + Id: + type: string + LabelDecorator: + $ref: '#/components/schemas/LabelDecorator' + Name: + type: string + maxLength: 255 + minLength: 1 + SchemaVersion: + type: string + SectionalElements: + $ref: '#/components/schemas/SectionalElementMap' + Style: + $ref: '#/components/schemas/FormStyle' + Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateFormRequest + type: object + required: [] + CreateThemeRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AppId: + type: string + CreatedAt: + type: string + format: date-time + EnvironmentName: + type: string + Id: + type: string + ModifiedAt: + type: string + format: date-time + Name: + type: string + maxLength: 255 + minLength: 1 + Overrides: + type: array + items: + $ref: '#/components/schemas/ThemeValues' + Tags: + $ref: '#/components/schemas/Tags' + Values: + type: array + items: + $ref: '#/components/schemas/ThemeValues' + x-stackQL-stringOnly: true + x-title: CreateThemeRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1255,10 +1404,26 @@ components: - AppId - EnvironmentName - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Component&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AmplifyUIBuilder::Component" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1271,7 +1436,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/components/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/components/methods/delete_resource' config: views: select: @@ -1303,6 +1469,7 @@ components: - AppId - EnvironmentName - Id + x-type: get methods: update_resource: operation: @@ -1316,24 +1483,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AmplifyUIBuilder::Component" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/component/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/component/methods/delete_resource' - x-type: get config: views: select: @@ -1397,10 +1549,26 @@ components: - AppId - EnvironmentName - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Form&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AmplifyUIBuilder::Form" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1413,7 +1581,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/forms/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/forms/methods/delete_resource' config: views: select: @@ -1445,6 +1614,7 @@ components: - AppId - EnvironmentName - Id + x-type: get methods: update_resource: operation: @@ -1458,24 +1628,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AmplifyUIBuilder::Form" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/form/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/form/methods/delete_resource' - x-type: get config: views: select: @@ -1531,10 +1686,26 @@ components: - AppId - EnvironmentName - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Theme&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AmplifyUIBuilder::Theme" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1547,7 +1718,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/themes/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/themes/methods/delete_resource' config: views: select: @@ -1579,6 +1751,7 @@ components: - AppId - EnvironmentName - Id + x-type: get methods: update_resource: operation: @@ -1592,24 +1765,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AmplifyUIBuilder::Theme" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/theme/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/theme/methods/delete_resource' - x-type: get config: views: select: @@ -1791,8 +1949,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Component&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateComponent + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateComponentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Form&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateForm + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFormRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Theme&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTheme + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateThemeRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/apigateway.yaml b/providers/src/aws/v00.00.00000/services/apigateway.yaml index c2211963..bf8e6a09 100644 --- a/providers/src/aws/v00.00.00000/services/apigateway.yaml +++ b/providers/src/aws/v00.00.00000/services/apigateway.yaml @@ -1983,6 +1983,782 @@ components: - ec2:DeleteVpcEndpointServiceConfigurations - ec2:DescribeVpcEndpointServiceConfigurations - ec2:ModifyVpcEndpointServicePermissions + CreateAccountRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: '' + type: string + CloudWatchRoleArn: + description: The ARN of an Amazon CloudWatch role for the current Account. + type: string + x-stackQL-stringOnly: true + x-title: CreateAccountRequest + type: object + required: [] + CreateApiKeyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + APIKeyId: + description: '' + type: string + CustomerId: + description: An MKT customer identifier, when integrating with the AWS SaaS Marketplace. + type: string + Description: + description: The description of the ApiKey. + type: string + Enabled: + description: Specifies whether the ApiKey can be used by callers. + default: false + type: boolean + GenerateDistinctId: + description: Specifies whether (``true``) or not (``false``) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used. + type: boolean + Name: + description: |- + A name for the API key. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the API key name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html). + If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. + type: string + StageKeys: + description: DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key. + type: array + uniqueItems: true + items: + $ref: '#/components/schemas/StageKey' + Tags: + description: The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters. + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + Value: + description: Specifies a value of the API key. + type: string + x-stackQL-stringOnly: true + x-title: CreateApiKeyRequest + type: object + required: [] + CreateAuthorizerRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RestApiId: + description: The string identifier of the associated RestApi. + type: string + AuthorizerId: + type: string + description: '' + AuthType: + description: Optional customer-defined field, used in OpenAPI imports and exports without functional impact. + type: string + AuthorizerCredentials: + description: Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null. + type: string + AuthorizerResultTtlInSeconds: + description: The TTL in seconds of cached authorizer results. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway will cache authorizer responses. If this field is not set, the default value is 300. The maximum value is 3600, or 1 hour. + type: integer + AuthorizerUri: + description: >- + Specifies the authorizer's Uniform Resource Identifier (URI). For ``TOKEN`` or ``REQUEST`` authorizers, this must be a well-formed Lambda function URI, for example, ``arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations``. In general, the URI has this form ``arn:aws:apigateway:{region}:lambda:path/{service_api}``, where ``{region}`` is the same as the region hosting the Lambda function, + ``path`` indicates that the remaining substring in the URI should be treated as the path to the resource, including the initial ``/``. For Lambda functions, this is usually of the form ``/2015-03-31/functions/[FunctionARN]/invocations``. + type: string + IdentitySource: + description: >- + The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a + comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, + not null and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function, otherwise, it returns a 401 Unauthorized response without calling the Lambda function. The valid value is a string of comma-separated mapping expressions of the specified request parameters. When the authorization caching is not enabled, this property is optional. + type: string + IdentityValidationExpression: + description: >- + A validation expression for the incoming identity token. For ``TOKEN`` authorizers, this value is a regular expression. For ``COGNITO_USER_POOLS`` authorizers, API Gateway will match the ``aud`` field of the incoming token from the client against the specified regular expression. It will invoke the authorizer's Lambda function when there is a match. Otherwise, it will return a 401 Unauthorized response without calling the Lambda function. The validation expression does not apply + to the ``REQUEST`` authorizer. + type: string + Name: + description: The name of the authorizer. + type: string + ProviderARNs: + description: 'A list of the Amazon Cognito user pool ARNs for the ``COGNITO_USER_POOLS`` authorizer. Each element is of this format: ``arn:aws:cognito-idp:{region}:{account_id}:userpool/{user_pool_id}``. For a ``TOKEN`` or ``REQUEST`` authorizer, this is not defined.' + type: array + uniqueItems: true + items: + type: string + x-insertionOrder: false + Type: + description: The authorizer type. Valid values are ``TOKEN`` for a Lambda function using a single authorization token submitted in a custom header, ``REQUEST`` for a Lambda function using incoming request parameters, and ``COGNITO_USER_POOLS`` for using an Amazon Cognito user pool. + type: string + x-stackQL-stringOnly: true + x-title: CreateAuthorizerRequest + type: object + required: [] + CreateBasePathMappingRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + BasePath: + type: string + description: The base path name that callers of the API must provide as part of the URL after the domain name. + DomainName: + type: string + description: The domain name of the BasePathMapping resource to be described. + RestApiId: + type: string + description: The string identifier of the associated RestApi. + Stage: + type: string + description: The name of the associated stage. + x-stackQL-stringOnly: true + x-title: CreateBasePathMappingRequest + type: object + required: [] + CreateClientCertificateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ClientCertificateId: + description: '' + type: string + Description: + description: The description of the client certificate. + type: string + Tags: + description: The collection of tags. Each tag element is associated with a given resource. + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateClientCertificateRequest + type: object + required: [] + CreateDeploymentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DeploymentId: + type: string + description: '' + DeploymentCanarySettings: + $ref: '#/components/schemas/DeploymentCanarySettings' + description: The input configuration for a canary deployment. + Description: + type: string + description: The description for the Deployment resource to create. + RestApiId: + type: string + description: The string identifier of the associated RestApi. + StageDescription: + $ref: '#/components/schemas/StageDescription' + description: The description of the Stage resource for the Deployment resource to create. To specify a stage description, you must also provide a stage name. + StageName: + type: string + description: The name of the Stage resource for the Deployment resource to create. + x-stackQL-stringOnly: true + x-title: CreateDeploymentRequest + type: object + required: [] + CreateDocumentationPartRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DocumentationPartId: + description: '' + type: string + Location: + description: The location of the targeted API entity of the to-be-created documentation part. + $ref: '#/components/schemas/Location' + Properties: + description: The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published. + type: string + RestApiId: + description: The string identifier of the associated RestApi. + type: string + x-stackQL-stringOnly: true + x-title: CreateDocumentationPartRequest + type: object + required: [] + CreateDocumentationVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + description: A description about the new documentation snapshot. + type: string + DocumentationVersion: + description: The version identifier of the to-be-updated documentation version. + type: string + minLength: 1 + RestApiId: + description: The string identifier of the associated RestApi. + type: string + minLength: 1 + x-stackQL-stringOnly: true + x-title: CreateDocumentationVersionRequest + type: object + required: [] + CreateDomainNameRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DomainName: + type: string + DistributionDomainName: + type: string + DistributionHostedZoneId: + type: string + EndpointConfiguration: + $ref: '#/components/schemas/EndpointConfiguration' + MutualTlsAuthentication: + $ref: '#/components/schemas/MutualTlsAuthentication' + RegionalDomainName: + type: string + RegionalHostedZoneId: + type: string + CertificateArn: + type: string + RegionalCertificateArn: + type: string + OwnershipVerificationCertificateArn: + type: string + SecurityPolicy: + type: string + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateDomainNameRequest + type: object + required: [] + CreateMethodRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ApiKeyRequired: + description: A boolean flag specifying whether a valid ApiKey is required to invoke this method. + type: boolean + AuthorizationScopes: + description: >- + A list of authorization scopes configured on the method. The scopes are used with a ``COGNITO_USER_POOLS`` authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes matches a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must + provide an access token instead of an identity token for authorization purposes. + type: array + items: + type: string + AuthorizationType: + description: |- + The method's authorization type. This parameter is required. For valid values, see [Method](https://docs.aws.amazon.com/apigateway/latest/api/API_Method.html) in the *API Gateway API Reference*. + If you specify the ``AuthorizerId`` property, specify ``CUSTOM`` or ``COGNITO_USER_POOLS`` for this property. + type: string + enum: + - NONE + - AWS_IAM + - CUSTOM + - COGNITO_USER_POOLS + AuthorizerId: + description: The identifier of an authorizer to use on this method. The method's authorization type must be ``CUSTOM`` or ``COGNITO_USER_POOLS``. + type: string + HttpMethod: + description: The method's HTTP verb. + type: string + Integration: + description: Represents an ``HTTP``, ``HTTP_PROXY``, ``AWS``, ``AWS_PROXY``, or Mock integration. + $ref: '#/components/schemas/Integration' + MethodResponses: + description: Gets a method response associated with a given HTTP status code. + type: array + uniqueItems: true + items: + $ref: '#/components/schemas/MethodResponse' + OperationName: + description: A human-friendly operation identifier for the method. For example, you can assign the ``operationName`` of ``ListPets`` for the ``GET /pets`` method in the ``PetStore`` example. + type: string + RequestModels: + description: A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key). + type: object + additionalProperties: false + x-patternProperties: + '[a-zA-Z0-9]+': + type: string + RequestParameters: + description: >- + A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A key is a method request parameter name matching the pattern of ``method.request.{location}.{name}``, where ``location`` is ``querystring``, ``path``, or ``header`` and ``name`` is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (``true``) or optional (``false``). The method request + parameter names defined here are available in Integration to be mapped to integration request parameters or templates. + type: object + additionalProperties: false + x-patternProperties: + '[a-zA-Z0-9]+': + type: boolean + RequestValidatorId: + description: The identifier of a RequestValidator for request validation. + type: string + ResourceId: + description: The Resource identifier for the MethodResponse resource. + type: string + RestApiId: + description: The string identifier of the associated RestApi. + type: string + x-stackQL-stringOnly: true + x-title: CreateMethodRequest + type: object + required: [] + CreateModelRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ContentType: + type: string + description: The content-type for the model. + Description: + type: string + description: The description of the model. + Name: + type: string + description: |- + A name for the model. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the model name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html). + If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. + RestApiId: + type: string + description: The string identifier of the associated RestApi. + Schema: + description: The schema for the model. For ``application/json`` models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail. + type: object + x-stackQL-stringOnly: true + x-title: CreateModelRequest + type: object + required: [] + CreateRequestValidatorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RequestValidatorId: + description: '' + type: string + Name: + description: The name of this RequestValidator + type: string + RestApiId: + description: The string identifier of the associated RestApi. + type: string + ValidateRequestBody: + description: A Boolean flag to indicate whether to validate a request body according to the configured Model schema. + type: boolean + ValidateRequestParameters: + description: A Boolean flag to indicate whether to validate request parameters (``true``) or not (``false``). + type: boolean + x-stackQL-stringOnly: true + x-title: CreateRequestValidatorRequest + type: object + required: [] + CreateResourceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceId: + description: '' + type: string + RestApiId: + description: The string identifier of the associated RestApi. + type: string + ParentId: + description: The parent resource's identifier. + type: string + PathPart: + description: The last path segment for this resource. + type: string + x-stackQL-stringOnly: true + x-title: CreateResourceRequest + type: object + required: [] + CreateRestApiRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RestApiId: + type: string + description: '' + RootResourceId: + type: string + description: '' + ApiKeySourceType: + type: string + description: 'The source of the API key for metering requests according to a usage plan. Valid values are: ``HEADER`` to read the API key from the ``X-API-Key`` header of a request. ``AUTHORIZER`` to read the API key from the ``UsageIdentifierKey`` from a custom authorizer.' + BinaryMediaTypes: + type: array + uniqueItems: true + items: + type: string + description: The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads. + Body: + type: object + description: An OpenAPI specification that defines a set of RESTful APIs in JSON format. For YAML templates, you can also provide the specification in YAML format. + BodyS3Location: + $ref: '#/components/schemas/S3Location' + description: The Amazon Simple Storage Service (Amazon S3) location that points to an OpenAPI file, which defines a set of RESTful APIs in JSON or YAML format. + CloneFrom: + type: string + description: The ID of the RestApi that you want to clone from. + EndpointConfiguration: + $ref: '#/components/schemas/EndpointConfiguration' + description: A list of the endpoint types of the API. Use this property when creating an API. When importing an existing API, specify the endpoint configuration types using the ``Parameters`` property. + Description: + type: string + description: The description of the RestApi. + DisableExecuteApiEndpoint: + type: boolean + description: Specifies whether clients can invoke your API by using the default ``execute-api`` endpoint. By default, clients can invoke your API with the default ``https://{api_id}.execute-api.{region}.amazonaws.com`` endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint + FailOnWarnings: + type: boolean + description: A query parameter to indicate whether to rollback the API update (``true``) or not (``false``) when a warning is encountered. The default value is ``false``. + Name: + type: string + description: The name of the RestApi. A name is required if the REST API is not based on an OpenAPI specification. + MinimumCompressionSize: + type: integer + description: A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size. + Mode: + type: string + description: |- + This property applies only when you use OpenAPI to define your REST API. The ``Mode`` determines how API Gateway handles resource updates. + Valid values are ``overwrite`` or ``merge``. + For ``overwrite``, the new API definition replaces the existing one. The existing API identifier remains unchanged. + For ``merge``, the new API definition is merged with the existing API. + If you don't specify this property, a default value is chosen. For REST APIs created before March 29, 2021, the default is ``overwrite``. For REST APIs created after March 29, 2021, the new API definition takes precedence, but any container types such as endpoint configurations and binary media types are merged with the existing API. + Use the default mode to define top-level ``RestApi`` properties in addition to using OpenAPI. Generally, it's preferred to use API Gateway's OpenAPI extensions to model these properties. + Policy: + type: object + description: A policy document that contains the permissions for the ``RestApi`` resource. To set the ARN for the policy, use the ``!Join`` intrinsic function with ``""`` as delimiter and values of ``"execute-api:/"`` and ``"*"``. + Parameters: + type: object + additionalProperties: false + x-patternProperties: + '[a-zA-Z0-9]+': + type: string + description: Custom header parameters as part of the request. For example, to exclude DocumentationParts from an imported API, set ``ignore=documentation`` as a ``parameters`` value, as in the AWS CLI command of ``aws apigateway import-rest-api --parameters ignore=documentation --body 'file:///path/to/imported-api-body.json'``. + Tags: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + description: The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters. + x-stackQL-stringOnly: true + x-title: CreateRestApiRequest + type: object + required: [] + CreateStageRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessLogSetting: + description: Access log settings, including the access log format and access log destination ARN. + $ref: '#/components/schemas/AccessLogSetting' + CacheClusterEnabled: + description: Specifies whether a cache cluster is enabled for the stage. + type: boolean + CacheClusterSize: + description: The stage's cache capacity in GB. For more information about choosing a cache size, see [Enabling API caching to enhance responsiveness](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html). + type: string + CanarySetting: + description: Settings for the canary deployment in this stage. + $ref: '#/components/schemas/CanarySetting' + ClientCertificateId: + description: The identifier of a client certificate for an API stage. + type: string + DeploymentId: + description: The identifier of the Deployment that the stage points to. + type: string + Description: + description: The stage's description. + type: string + DocumentationVersion: + description: The version of the associated API documentation. + type: string + MethodSettings: + description: A map that defines the method settings for a Stage resource. Keys (designated as ``/{method_setting_key`` below) are method paths defined as ``{resource_path}/{http_method}`` for an individual method override, or ``/\*/\*`` for overriding all methods in the stage. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/MethodSetting' + RestApiId: + description: The string identifier of the associated RestApi. + type: string + StageName: + description: The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters. + type: string + Tags: + description: The collection of tags. Each tag element is associated with a given resource. + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + TracingEnabled: + description: Specifies whether active tracing with X-ray is enabled for the Stage. + type: boolean + Variables: + description: 'A map (string-to-string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: ``[A-Za-z0-9-._~:/?#&=,]+``.' + type: object + additionalProperties: false + x-patternProperties: + '[a-zA-Z0-9]+': + type: string + x-stackQL-stringOnly: true + x-title: CreateStageRequest + type: object + required: [] + CreateUsagePlanRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + description: '' + ApiStages: + type: array + description: The associated API stages of a usage plan. + uniqueItems: true + items: + $ref: '#/components/schemas/ApiStage' + Description: + type: string + description: The description of a usage plan. + Quota: + $ref: '#/components/schemas/QuotaSettings' + description: The target maximum number of permitted requests per a given unit time interval. + Tags: + type: array + description: The collection of tags. Each tag element is associated with a given resource. + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + Throttle: + $ref: '#/components/schemas/ThrottleSettings' + description: A map containing method level throttling information for API stage in a usage plan. + UsagePlanName: + type: string + description: The name of a usage plan. + x-stackQL-stringOnly: true + x-title: CreateUsagePlanRequest + type: object + required: [] + CreateUsagePlanKeyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + KeyId: + description: The Id of the UsagePlanKey resource. + type: string + KeyType: + description: The type of a UsagePlanKey resource for a plan customer. + type: string + enum: + - API_KEY + UsagePlanId: + description: The Id of the UsagePlan resource representing the usage plan containing the UsagePlanKey resource representing a plan customer. + type: string + Id: + description: '' + type: string + x-stackQL-stringOnly: true + x-title: CreateUsagePlanKeyRequest + type: object + required: [] + CreateVpcLinkRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: A name for the VPC link. + type: string + Description: + description: A description of the VPC link. + type: string + Tags: + description: An array of arbitrary tags (key-value pairs) to associate with the stage. + x-insertionOrder: false + uniqueItems: true + type: array + items: + $ref: '#/components/schemas/Tag' + TargetArns: + description: The ARN of network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same AWS account of the API owner. + type: array + uniqueItems: false + x-insertionOrder: false + items: + type: string + VpcLinkId: + description: The ID of the instance that backs VPC link. + type: string + x-stackQL-stringOnly: true + x-title: CreateVpcLinkRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1998,10 +2774,26 @@ components: x-cfn-type-name: AWS::ApiGateway::Account x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Account&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::Account" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2014,6 +2806,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/accounts/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/accounts/methods/delete_resource' account: name: account id: aws.apigateway.account @@ -2021,22 +2815,11 @@ components: x-cfn-type-name: AWS::ApiGateway::Account x-identifiers: - Id + x-type: get methods: update_resource: operation: - $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::Account" - } - response: - mediaType: application/json - openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2049,9 +2832,6 @@ components: sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/account/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/account/methods/delete_resource' - x-type: get config: views: select: @@ -2083,10 +2863,26 @@ components: x-cfn-type-name: AWS::ApiGateway::ApiKey x-identifiers: - APIKeyId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ApiKey&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::ApiKey" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2099,7 +2895,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/api_keys/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/api_keys/methods/delete_resource' config: views: select: @@ -2125,6 +2922,7 @@ components: x-cfn-type-name: AWS::ApiGateway::ApiKey x-identifiers: - APIKeyId + x-type: get methods: update_resource: operation: @@ -2138,24 +2936,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::ApiKey" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/api_key/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/api_key/methods/delete_resource' - x-type: get config: views: select: @@ -2202,10 +2985,26 @@ components: x-identifiers: - RestApiId - AuthorizerId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Authorizer&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::Authorizer" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2218,7 +3017,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/authorizers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/authorizers/methods/delete_resource' config: views: select: @@ -2247,6 +3047,7 @@ components: x-identifiers: - RestApiId - AuthorizerId + x-type: get methods: update_resource: operation: @@ -2260,24 +3061,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::Authorizer" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/authorizer/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/authorizer/methods/delete_resource' - x-type: get config: views: select: @@ -2328,10 +3114,26 @@ components: x-identifiers: - DomainName - BasePath + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BasePathMapping&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::BasePathMapping" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2344,7 +3146,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/base_path_mappings/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/base_path_mappings/methods/delete_resource' config: views: select: @@ -2373,6 +3176,7 @@ components: x-identifiers: - DomainName - BasePath + x-type: get methods: update_resource: operation: @@ -2386,24 +3190,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::BasePathMapping" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/base_path_mapping/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/base_path_mapping/methods/delete_resource' - x-type: get config: views: select: @@ -2439,10 +3228,26 @@ components: x-cfn-type-name: AWS::ApiGateway::ClientCertificate x-identifiers: - ClientCertificateId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ClientCertificate&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::ClientCertificate" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2455,7 +3260,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/client_certificates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/client_certificates/methods/delete_resource' config: views: select: @@ -2481,6 +3287,7 @@ components: x-cfn-type-name: AWS::ApiGateway::ClientCertificate x-identifiers: - ClientCertificateId + x-type: get methods: update_resource: operation: @@ -2494,24 +3301,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::ClientCertificate" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/client_certificate/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/client_certificate/methods/delete_resource' - x-type: get config: views: select: @@ -2546,10 +3338,26 @@ components: x-identifiers: - DeploymentId - RestApiId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Deployment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::Deployment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2562,7 +3370,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/deployments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/deployments/methods/delete_resource' config: views: select: @@ -2591,6 +3400,7 @@ components: x-identifiers: - DeploymentId - RestApiId + x-type: get methods: update_resource: operation: @@ -2604,24 +3414,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::Deployment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/deployment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/deployment/methods/delete_resource' - x-type: get config: views: select: @@ -2662,10 +3457,26 @@ components: x-identifiers: - DocumentationPartId - RestApiId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DocumentationPart&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::DocumentationPart" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2678,7 +3489,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/documentation_parts/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/documentation_parts/methods/delete_resource' config: views: select: @@ -2707,6 +3519,7 @@ components: x-identifiers: - DocumentationPartId - RestApiId + x-type: get methods: update_resource: operation: @@ -2720,24 +3533,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::DocumentationPart" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/documentation_part/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/documentation_part/methods/delete_resource' - x-type: get config: views: select: @@ -2774,10 +3572,26 @@ components: x-identifiers: - DocumentationVersion - RestApiId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DocumentationVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::DocumentationVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2790,7 +3604,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/documentation_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/documentation_versions/methods/delete_resource' config: views: select: @@ -2819,6 +3634,7 @@ components: x-identifiers: - DocumentationVersion - RestApiId + x-type: get methods: update_resource: operation: @@ -2832,24 +3648,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::DocumentationVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/documentation_version/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/documentation_version/methods/delete_resource' - x-type: get config: views: select: @@ -2883,10 +3684,26 @@ components: x-cfn-type-name: AWS::ApiGateway::DomainName x-identifiers: - DomainName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DomainName&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::DomainName" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2899,7 +3716,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/domain_names/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/domain_names/methods/delete_resource' config: views: select: @@ -2925,6 +3743,7 @@ components: x-cfn-type-name: AWS::ApiGateway::DomainName x-identifiers: - DomainName + x-type: get methods: update_resource: operation: @@ -2938,24 +3757,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::DomainName" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/domain_name/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/domain_name/methods/delete_resource' - x-type: get config: views: select: @@ -3009,10 +3813,26 @@ components: - RestApiId - ResourceId - HttpMethod + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Method&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::Method" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3025,6 +3845,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/methods/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/methods/methods/delete_resource' method: name: method id: aws.apigateway.method @@ -3034,6 +3856,7 @@ components: - RestApiId - ResourceId - HttpMethod + x-type: get methods: update_resource: operation: @@ -3047,24 +3870,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::Method" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/method/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/method/methods/delete_resource' - x-type: get config: views: select: @@ -3119,10 +3927,26 @@ components: x-identifiers: - RestApiId - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Model&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::Model" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3135,7 +3959,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/models/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/models/methods/delete_resource' config: views: select: @@ -3164,6 +3989,7 @@ components: x-identifiers: - RestApiId - Name + x-type: get methods: update_resource: operation: @@ -3177,24 +4003,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::Model" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/model/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/model/methods/delete_resource' - x-type: get config: views: select: @@ -3233,10 +4044,26 @@ components: x-identifiers: - RestApiId - RequestValidatorId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RequestValidator&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::RequestValidator" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3249,7 +4076,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/request_validators/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/request_validators/methods/delete_resource' config: views: select: @@ -3278,6 +4106,7 @@ components: x-identifiers: - RestApiId - RequestValidatorId + x-type: get methods: update_resource: operation: @@ -3291,24 +4120,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::RequestValidator" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/request_validator/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/request_validator/methods/delete_resource' - x-type: get config: views: select: @@ -3347,10 +4161,26 @@ components: x-identifiers: - RestApiId - ResourceId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Resource&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::Resource" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3363,7 +4193,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resources/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resources/methods/delete_resource' config: views: select: @@ -3392,6 +4223,7 @@ components: x-identifiers: - RestApiId - ResourceId + x-type: get methods: update_resource: operation: @@ -3405,24 +4237,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::Resource" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resource/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resource/methods/delete_resource' - x-type: get config: views: select: @@ -3458,10 +4275,26 @@ components: x-cfn-type-name: AWS::ApiGateway::RestApi x-identifiers: - RestApiId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RestApi&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::RestApi" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3474,7 +4307,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/rest_apis/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/rest_apis/methods/delete_resource' config: views: select: @@ -3500,6 +4334,7 @@ components: x-cfn-type-name: AWS::ApiGateway::RestApi x-identifiers: - RestApiId + x-type: get methods: update_resource: operation: @@ -3513,24 +4348,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::RestApi" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/rest_api/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/rest_api/methods/delete_resource' - x-type: get config: views: select: @@ -3593,10 +4413,26 @@ components: x-identifiers: - RestApiId - StageName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Stage&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::Stage" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3609,7 +4445,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/stages/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/stages/methods/delete_resource' config: views: select: @@ -3638,6 +4475,7 @@ components: x-identifiers: - RestApiId - StageName + x-type: get methods: update_resource: operation: @@ -3651,24 +4489,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::Stage" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/stage/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/stage/methods/delete_resource' - x-type: get config: views: select: @@ -3724,10 +4547,26 @@ components: x-cfn-type-name: AWS::ApiGateway::UsagePlan x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UsagePlan&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::UsagePlan" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3740,7 +4579,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/usage_plans/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/usage_plans/methods/delete_resource' config: views: select: @@ -3766,6 +4606,7 @@ components: x-cfn-type-name: AWS::ApiGateway::UsagePlan x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -3779,24 +4620,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::UsagePlan" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/usage_plan/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/usage_plan/methods/delete_resource' - x-type: get config: views: select: @@ -3838,10 +4664,26 @@ components: x-cfn-type-name: AWS::ApiGateway::UsagePlanKey x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UsagePlanKey&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::UsagePlanKey" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3854,7 +4696,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/usage_plan_keys/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/usage_plan_keys/methods/delete_resource' config: views: select: @@ -3880,24 +4723,10 @@ components: x-cfn-type-name: AWS::ApiGateway::UsagePlanKey x-identifiers: - Id - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::UsagePlanKey" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/usage_plan_key/methods/delete_resource' - x-type: get config: views: select: @@ -3933,10 +4762,26 @@ components: x-cfn-type-name: AWS::ApiGateway::VpcLink x-identifiers: - VpcLinkId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcLink&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGateway::VpcLink" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3949,7 +4794,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/vpc_links/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/vpc_links/methods/delete_resource' config: views: select: @@ -3975,22 +4821,11 @@ components: x-cfn-type-name: AWS::ApiGateway::VpcLink x-identifiers: - VpcLinkId - methods: - update_resource: - operation: - $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGateway::VpcLink" - } - response: - mediaType: application/json - openAPIDocKey: '200' - delete_resource: + x-type: get + methods: + update_resource: operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4003,9 +4838,6 @@ components: sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/vpc_link/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/vpc_link/methods/delete_resource' - x-type: get config: views: select: @@ -4070,7 +4902,653 @@ paths: content: application/x-amz-json-1.0: schema: - $ref: '#/components/x-cloud-control-schemas/CreateResourceInput' + $ref: '#/components/x-cloud-control-schemas/CreateResourceInput' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=DeleteResource&Version=2021-09-30: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: DeleteResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.DeleteResource + enum: + - CloudApiService.DeleteResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput' + description: Success + /?Action=UpdateResource&Version=2021-09-30: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: UpdateResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.UpdateResource + enum: + - CloudApiService.UpdateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + properties: + ClientName: + type: string + Identifier: + $ref: '#/components/x-cloud-control-schemas/Identifier' + PatchDocument: + type: string + RoleArn: + $ref: '#/components/x-cloud-control-schemas/RoleArn' + TypeName: + $ref: '#/components/x-cloud-control-schemas/TypeName' + TypeVersionId: + $ref: '#/components/x-cloud-control-schemas/TypeVersionId' + required: + - Identifier + - PatchDocument + type: object + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Account&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccount + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccountRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ApiKey&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApiKey + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApiKeyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Authorizer&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAuthorizer + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAuthorizerRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__BasePathMapping&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBasePathMapping + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBasePathMappingRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ClientCertificate&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateClientCertificate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateClientCertificateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Deployment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDeployment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDeploymentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DocumentationPart&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDocumentationPart + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDocumentationPartRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DocumentationVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDocumentationVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDocumentationVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DomainName&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDomainName + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDomainNameRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Method&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMethod + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMethodRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Model&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateModel + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateModelRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RequestValidator&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRequestValidator + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRequestValidatorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Resource&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourceRequest' required: true responses: '200': @@ -4079,7 +5557,7 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success - /?Action=DeleteResource&Version=2021-09-30: + /?Action=CreateResource&Version=2021-09-30&__RestApi&__detailTransformed=true: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' @@ -4089,16 +5567,16 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: DeleteResource + operationId: CreateRestApi parameters: - description: Action Header in: header name: X-Amz-Target required: false schema: - default: CloudApiService.DeleteResource + default: CloudApiService.CreateResource enum: - - CloudApiService.DeleteResource + - CloudApiService.CreateResource type: string - in: header name: Content-Type @@ -4112,16 +5590,16 @@ paths: content: application/x-amz-json-1.0: schema: - $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput' + $ref: '#/components/schemas/CreateRestApiRequest' required: true responses: '200': content: application/json: schema: - $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput' + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success - /?Action=UpdateResource&Version=2021-09-30: + /?Action=CreateResource&Version=2021-09-30&__Stage&__detailTransformed=true: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' @@ -4131,16 +5609,16 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: UpdateResource + operationId: CreateStage parameters: - description: Action Header in: header name: X-Amz-Target required: false schema: - default: CloudApiService.UpdateResource + default: CloudApiService.CreateResource enum: - - CloudApiService.UpdateResource + - CloudApiService.CreateResource type: string - in: header name: Content-Type @@ -4154,33 +5632,145 @@ paths: content: application/x-amz-json-1.0: schema: - properties: - ClientName: - type: string - Identifier: - $ref: '#/components/x-cloud-control-schemas/Identifier' - PatchDocument: - type: string - RoleArn: - $ref: '#/components/x-cloud-control-schemas/RoleArn' - TypeName: - $ref: '#/components/x-cloud-control-schemas/TypeName' - TypeVersionId: - $ref: '#/components/x-cloud-control-schemas/TypeVersionId' - required: - - Identifier - - PatchDocument - type: object + $ref: '#/components/schemas/CreateStageRequest' required: true responses: '200': content: application/json: schema: - $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UsagePlan&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUsagePlan + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUsagePlanRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UsagePlanKey&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUsagePlanKey + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUsagePlanKeyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VpcLink&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVpcLink + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVpcLinkRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/apigatewayv2.yaml b/providers/src/aws/v00.00.00000/services/apigatewayv2.yaml index 9a9ad1a1..0af2a76a 100644 --- a/providers/src/aws/v00.00.00000/services/apigatewayv2.yaml +++ b/providers/src/aws/v00.00.00000/services/apigatewayv2.yaml @@ -1227,6 +1227,473 @@ components: - iam:CreateServiceLinkedRole - iam:DeleteServiceLinkedRole - iam:GetServiceLinkedRoleDeletionStatus + CreateApiRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RouteSelectionExpression: + type: string + description: The route selection expression for the API. For HTTP APIs, the ``routeSelectionExpression`` must be ``${request.method} ${request.path}``. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs. + BodyS3Location: + $ref: '#/components/schemas/BodyS3Location' + description: The S3 location of an OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources. + Description: + type: string + description: The description of the API. + ApiEndpoint: + type: string + description: '' + BasePath: + type: string + description: Specifies how to interpret the base path of the API during import. Valid values are ``ignore``, ``prepend``, and ``split``. The default value is ``ignore``. To learn more, see [Set the OpenAPI basePath Property](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html). Supported only for HTTP APIs. + FailOnWarnings: + type: boolean + description: Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered. + DisableExecuteApiEndpoint: + type: boolean + description: Specifies whether clients can invoke your API by using the default ``execute-api`` endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint. + DisableSchemaValidation: + type: boolean + description: Avoid validating models when creating a deployment. Supported only for WebSocket APIs. + Name: + type: string + description: The name of the API. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``. + Target: + type: string + description: This property is part of quick create. Quick create produces an API with an integration, a default catch-all route, and a default stage which is configured to automatically deploy changes. For HTTP integrations, specify a fully qualified URL. For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively. Supported only for HTTP APIs. + CredentialsArn: + type: string + description: >- + This property is part of quick create. It specifies the credentials required for the integration, if any. For a Lambda integration, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify ``arn:aws:iam::*:user/*``. To use resource-based permissions on supported AWS services, specify ``null``. Currently, this property is not used for + HTTP integrations. Supported only for HTTP APIs. + CorsConfiguration: + $ref: '#/components/schemas/Cors' + description: A CORS configuration. Supported only for HTTP APIs. See [Configuring CORS](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html) for more information. + Version: + type: string + description: A version identifier for the API. + ProtocolType: + type: string + description: The API protocol. Valid values are ``WEBSOCKET`` or ``HTTP``. Required unless you specify an OpenAPI definition for ``Body`` or ``S3BodyLocation``. + RouteKey: + type: string + description: This property is part of quick create. If you don't specify a ``routeKey``, a default route of ``$default`` is created. The ``$default`` route acts as a catch-all for any request made to your API, for a particular stage. The ``$default`` route key can't be modified. You can add routes after creating the API, and you can update the route keys of additional routes. Supported only for HTTP APIs. + ApiId: + type: string + description: '' + Body: + type: object + description: The OpenAPI definition. Supported only for HTTP APIs. To import an HTTP API, you must specify a ``Body`` or ``BodyS3Location``. If you specify a ``Body`` or ``BodyS3Location``, don't specify CloudFormation resources such as ``AWS::ApiGatewayV2::Authorizer`` or ``AWS::ApiGatewayV2::Route``. API Gateway doesn't support the combination of OpenAPI and CloudFormation resources. + Tags: + type: object + description: The collection of tags. Each tag element is associated with a given resource. + additionalProperties: false + x-patternProperties: + .*: + type: string + ApiKeySelectionExpression: + type: string + description: An API key selection expression. Supported only for WebSocket APIs. See [API Key Selection Expressions](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions). + x-stackQL-stringOnly: true + x-title: CreateApiRequest + type: object + required: [] + CreateApiMappingRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ApiMappingId: + description: '' + type: string + DomainName: + description: The domain name. + type: string + Stage: + description: The API stage. + type: string + ApiMappingKey: + description: The API mapping key. + type: string + ApiId: + description: The identifier of the API. + type: string + x-stackQL-stringOnly: true + x-title: CreateApiMappingRequest + type: object + required: [] + CreateAuthorizerRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + IdentityValidationExpression: + type: string + description: This parameter is not used. + AuthorizerUri: + type: string + description: >- + The authorizer's Uniform Resource Identifier (URI). For ``REQUEST`` authorizers, this must be a well-formed Lambda function URI, for example, ``arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:{account_id}:function:{lambda_function_name}/invocations``. In general, the URI has this form: ``arn:aws:apigateway:{region}:lambda:path/{service_api}``, where *{region}* is the same as the region hosting the Lambda function, path indicates that the + remaining substring in the URI should be treated as the path to the resource, including the initial ``/``. For Lambda functions, this is usually of the form ``/2015-03-31/functions/[FunctionARN]/invocations``. + AuthorizerCredentialsArn: + type: string + description: Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer. To specify an IAM role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To use resource-based permissions on the Lambda function, specify null. Supported only for ``REQUEST`` authorizers. + AuthorizerType: + type: string + description: The authorizer type. Specify ``REQUEST`` for a Lambda function using incoming request parameters. Specify ``JWT`` to use JSON Web Tokens (supported only for HTTP APIs). + JwtConfiguration: + $ref: '#/components/schemas/JWTConfiguration' + description: The ``JWTConfiguration`` property specifies the configuration of a JWT authorizer. Required for the ``JWT`` authorizer type. Supported only for HTTP APIs. + AuthorizerResultTtlInSeconds: + type: integer + description: The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers. + IdentitySource: + type: array + uniqueItems: false + items: + type: string + description: |- + The identity source for which authorization is requested. + For a ``REQUEST`` authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with ``$``, for example, ``$request.header.Auth``, ``$request.querystring.Name``. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see [Working with Lambda authorizers for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html). + For ``JWT``, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example ``$request.header.Authorization``. + AuthorizerPayloadFormatVersion: + type: string + description: Specifies the format of the payload sent to an HTTP API Lambda authorizer. Required for HTTP API Lambda authorizers. Supported values are ``1.0`` and ``2.0``. To learn more, see [Working with Lambda authorizers for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html). + ApiId: + type: string + description: The API identifier. + EnableSimpleResponses: + type: boolean + description: Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see [Working with Lambda authorizers for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html). + AuthorizerId: + type: string + description: '' + Name: + type: string + description: The name of the authorizer. + x-stackQL-stringOnly: true + x-title: CreateAuthorizerRequest + type: object + required: [] + CreateDeploymentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DeploymentId: + type: string + description: '' + Description: + type: string + description: The description for the deployment resource. + StageName: + type: string + description: The name of an existing stage to associate with the deployment. + ApiId: + type: string + description: The API identifier. + x-stackQL-stringOnly: true + x-title: CreateDeploymentRequest + type: object + required: [] + CreateDomainNameRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + MutualTlsAuthentication: + description: The mutual TLS authentication configuration for a custom domain name. + $ref: '#/components/schemas/MutualTlsAuthentication' + RegionalHostedZoneId: + description: '' + type: string + RegionalDomainName: + description: '' + type: string + DomainName: + description: The custom domain name for your API in Amazon API Gateway. Uppercase letters are not supported. + type: string + DomainNameConfigurations: + description: The domain name configurations. + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/DomainNameConfiguration' + Tags: + type: object + description: The collection of tags associated with a domain name. + additionalProperties: false + x-patternProperties: + .*: + type: string + x-stackQL-stringOnly: true + x-title: CreateDomainNameRequest + type: object + required: [] + CreateIntegrationResponseRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + IntegrationResponseId: + description: '' + type: string + ResponseTemplates: + description: The collection of response templates for the integration response as a string-to-string map of key-value pairs. Response templates are represented as a key/value map, with a content-type as the key and a template as the value. + type: object + TemplateSelectionExpression: + description: The template selection expression for the integration response. Supported only for WebSocket APIs. + type: string + ResponseParameters: + description: >- + A key-value map specifying response parameters that are passed to the method response from the backend. The key is a method response header parameter name and the mapped value is an integration response header value, a static value enclosed within a pair of single quotes, or a JSON expression from the integration response body. The mapping key must match the pattern of ``method.response.header.{name}``, where name is a valid and unique header name. The mapped non-static value + must match the pattern of ``integration.response.header.{name}`` or ``integration.response.body.{JSON-expression}``, where ``{name}`` is a valid and unique response header name and ``{JSON-expression}`` is a valid JSON expression without the ``$`` prefix. + type: object + ContentHandlingStrategy: + description: |- + Supported only for WebSocket APIs. Specifies how to handle response payload content type conversions. Supported values are ``CONVERT_TO_BINARY`` and ``CONVERT_TO_TEXT``, with the following behaviors: + ``CONVERT_TO_BINARY``: Converts a response payload from a Base64-encoded string to the corresponding binary blob. + ``CONVERT_TO_TEXT``: Converts a response payload from a binary blob to a Base64-encoded string. + If this property is not defined, the response payload will be passed through from the integration response to the route response or method response without modification. + type: string + IntegrationId: + description: The integration ID. + type: string + IntegrationResponseKey: + description: The integration response key. + type: string + ApiId: + description: The API identifier. + type: string + x-stackQL-stringOnly: true + x-title: CreateIntegrationResponseRequest + type: object + required: [] + CreateModelRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ModelId: + type: string + description: '' + Description: + type: string + description: The description of the model. + ContentType: + type: string + description: The content-type for the model, for example, "application/json". + Schema: + type: object + description: The schema for the model. For application/json models, this should be JSON schema draft 4 model. + ApiId: + type: string + description: The API identifier. + Name: + type: string + description: The name of the model. + x-stackQL-stringOnly: true + x-title: CreateModelRequest + type: object + required: [] + CreateRouteRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RouteId: + type: string + description: '' + RouteResponseSelectionExpression: + type: string + description: The route response selection expression for the route. Supported only for WebSocket APIs. + RequestModels: + type: object + description: The request models for the route. Supported only for WebSocket APIs. + OperationName: + type: string + description: The operation name for the route. + AuthorizationScopes: + type: array + uniqueItems: false + items: + type: string + description: The authorization scopes supported by this route. + ApiKeyRequired: + type: boolean + description: Specifies whether an API key is required for the route. Supported only for WebSocket APIs. + RouteKey: + type: string + description: The route key for the route. For HTTP APIs, the route key can be either ``$default``, or a combination of an HTTP method and resource path, for example, ``GET /pets``. + AuthorizationType: + type: string + description: The authorization type for the route. For WebSocket APIs, valid values are ``NONE`` for open access, ``AWS_IAM`` for using AWS IAM permissions, and ``CUSTOM`` for using a Lambda authorizer. For HTTP APIs, valid values are ``NONE`` for open access, ``JWT`` for using JSON Web Tokens, ``AWS_IAM`` for using AWS IAM permissions, and ``CUSTOM`` for using a Lambda authorizer. + ModelSelectionExpression: + type: string + description: The model selection expression for the route. Supported only for WebSocket APIs. + ApiId: + type: string + description: The API identifier. + RequestParameters: + type: object + items: + $ref: '#/components/schemas/ParameterConstraints' + description: The request parameters for the route. Supported only for WebSocket APIs. + Target: + type: string + description: The target for the route. + AuthorizerId: + type: string + description: The identifier of the ``Authorizer`` resource to be associated with this route. The authorizer identifier is generated by API Gateway when you created the authorizer. + x-stackQL-stringOnly: true + x-title: CreateRouteRequest + type: object + required: [] + CreateRouteResponseRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RouteResponseKey: + type: string + description: The route response key. + ResponseParameters: + $ref: '#/components/schemas/RouteParameters' + description: The route response parameters. + RouteId: + type: string + description: The route ID. + ModelSelectionExpression: + type: string + description: The model selection expression for the route response. Supported only for WebSocket APIs. + ApiId: + type: string + description: The API identifier. + ResponseModels: + type: object + description: The response models for the route response. + RouteResponseId: + type: string + description: '' + x-stackQL-stringOnly: true + x-title: CreateRouteResponseRequest + type: object + required: [] + CreateVpcLinkRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + VpcLinkId: + type: string + description: '' + SubnetIds: + type: array + uniqueItems: false + items: + type: string + description: A list of subnet IDs to include in the VPC link. + SecurityGroupIds: + type: array + uniqueItems: false + items: + type: string + description: A list of security group IDs for the VPC link. + Tags: + type: object + description: The collection of tags. Each tag element is associated with a given resource. + additionalProperties: false + x-patternProperties: + .*: + type: string + Name: + type: string + description: The name of the VPC link. + x-stackQL-stringOnly: true + x-title: CreateVpcLinkRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1242,10 +1709,26 @@ components: x-cfn-type-name: AWS::ApiGatewayV2::Api x-identifiers: - ApiId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Api&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGatewayV2::Api" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1258,7 +1741,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/apis/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/apis/methods/delete_resource' config: views: select: @@ -1284,6 +1768,7 @@ components: x-cfn-type-name: AWS::ApiGatewayV2::Api x-identifiers: - ApiId + x-type: get methods: update_resource: operation: @@ -1297,24 +1782,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGatewayV2::Api" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/api/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/api/methods/delete_resource' - x-type: get config: views: select: @@ -1381,10 +1851,26 @@ components: x-identifiers: - ApiMappingId - DomainName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ApiMapping&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGatewayV2::ApiMapping" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1397,7 +1883,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/api_mappings/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/api_mappings/methods/delete_resource' config: views: select: @@ -1426,6 +1913,7 @@ components: x-identifiers: - ApiMappingId - DomainName + x-type: get methods: update_resource: operation: @@ -1439,24 +1927,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGatewayV2::ApiMapping" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/api_mapping/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/api_mapping/methods/delete_resource' - x-type: get config: views: select: @@ -1495,10 +1968,14 @@ components: x-identifiers: - AuthorizerId - ApiId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Authorizer&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1508,10 +1985,23 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/authorizers/methods/create_resource' - x-type: list + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGatewayV2::Authorizer" + } + response: + mediaType: application/json + openAPIDocKey: '200' + sqlVerbs: + insert: + - $ref: '#/components/x-stackQL-resources/authorizers/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/authorizers/methods/delete_resource' config: views: select: @@ -1540,6 +2030,7 @@ components: x-identifiers: - AuthorizerId - ApiId + x-type: get methods: update_resource: operation: @@ -1553,24 +2044,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGatewayV2::Authorizer" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/authorizer/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/authorizer/methods/delete_resource' - x-type: get config: views: select: @@ -1623,10 +2099,26 @@ components: x-identifiers: - ApiId - DeploymentId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Deployment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGatewayV2::Deployment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1639,7 +2131,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/deployments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/deployments/methods/delete_resource' config: views: select: @@ -1668,6 +2161,7 @@ components: x-identifiers: - ApiId - DeploymentId + x-type: get methods: update_resource: operation: @@ -1681,24 +2175,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGatewayV2::Deployment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/deployment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/deployment/methods/delete_resource' - x-type: get config: views: select: @@ -1734,10 +2213,26 @@ components: x-cfn-type-name: AWS::ApiGatewayV2::DomainName x-identifiers: - DomainName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DomainName&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGatewayV2::DomainName" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1750,7 +2245,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/domain_names/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/domain_names/methods/delete_resource' config: views: select: @@ -1776,6 +2272,7 @@ components: x-cfn-type-name: AWS::ApiGatewayV2::DomainName x-identifiers: - DomainName + x-type: get methods: update_resource: operation: @@ -1789,24 +2286,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGatewayV2::DomainName" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/domain_name/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/domain_name/methods/delete_resource' - x-type: get config: views: select: @@ -1848,10 +2330,26 @@ components: - ApiId - IntegrationId - IntegrationResponseId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__IntegrationResponse&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGatewayV2::IntegrationResponse" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1864,7 +2362,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/integration_responses/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/integration_responses/methods/delete_resource' config: views: select: @@ -1896,6 +2395,7 @@ components: - ApiId - IntegrationId - IntegrationResponseId + x-type: get methods: update_resource: operation: @@ -1909,24 +2409,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGatewayV2::IntegrationResponse" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/integration_response/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/integration_response/methods/delete_resource' - x-type: get config: views: select: @@ -1971,10 +2456,26 @@ components: x-identifiers: - ApiId - ModelId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Model&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGatewayV2::Model" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1987,7 +2488,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/models/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/models/methods/delete_resource' config: views: select: @@ -2016,6 +2518,7 @@ components: x-identifiers: - ApiId - ModelId + x-type: get methods: update_resource: operation: @@ -2029,24 +2532,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGatewayV2::Model" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/model/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/model/methods/delete_resource' - x-type: get config: views: select: @@ -2087,10 +2575,26 @@ components: x-identifiers: - ApiId - RouteId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Route&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGatewayV2::Route" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2103,7 +2607,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/routes/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/routes/methods/delete_resource' config: views: select: @@ -2132,6 +2637,7 @@ components: x-identifiers: - ApiId - RouteId + x-type: get methods: update_resource: operation: @@ -2145,24 +2651,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGatewayV2::Route" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/route/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/route/methods/delete_resource' - x-type: get config: views: select: @@ -2218,10 +2709,26 @@ components: - ApiId - RouteId - RouteResponseId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RouteResponse&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGatewayV2::RouteResponse" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2234,7 +2741,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/route_responses/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/route_responses/methods/delete_resource' config: views: select: @@ -2266,6 +2774,7 @@ components: - ApiId - RouteId - RouteResponseId + x-type: get methods: update_resource: operation: @@ -2279,24 +2788,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGatewayV2::RouteResponse" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/route_response/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/route_response/methods/delete_resource' - x-type: get config: views: select: @@ -2338,10 +2832,26 @@ components: x-cfn-type-name: AWS::ApiGatewayV2::VpcLink x-identifiers: - VpcLinkId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcLink&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApiGatewayV2::VpcLink" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2354,7 +2864,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/vpc_links/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/vpc_links/methods/delete_resource' config: views: select: @@ -2380,6 +2891,7 @@ components: x-cfn-type-name: AWS::ApiGatewayV2::VpcLink x-identifiers: - VpcLinkId + x-type: get methods: update_resource: operation: @@ -2393,24 +2905,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApiGatewayV2::VpcLink" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/vpc_link/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/vpc_link/methods/delete_resource' - x-type: get config: views: select: @@ -2584,8 +3081,430 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Api&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApi + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApiRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ApiMapping&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApiMapping + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApiMappingRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Authorizer&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAuthorizer + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAuthorizerRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Deployment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDeployment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDeploymentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DomainName&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDomainName + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDomainNameRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__IntegrationResponse&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIntegrationResponse + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIntegrationResponseRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Model&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateModel + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateModelRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Route&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRoute + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRouteRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RouteResponse&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRouteResponse + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRouteResponseRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VpcLink&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVpcLink + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVpcLinkRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/appconfig.yaml b/providers/src/aws/v00.00.00000/services/appconfig.yaml index 416d2f9d..611f4226 100644 --- a/providers/src/aws/v00.00.00000/services/appconfig.yaml +++ b/providers/src/aws/v00.00.00000/services/appconfig.yaml @@ -981,6 +981,307 @@ components: - appconfig:ListHostedConfigurationVersions delete: - appconfig:DeleteHostedConfigurationVersion + CreateApplicationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + description: A description of the application. + ApplicationId: + type: string + description: The application Id + Tags: + type: array + description: Metadata to assign to the application. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. + uniqueItems: true + items: + $ref: '#/components/schemas/Tags' + x-insertionOrder: false + Name: + type: string + description: A name for the application. + x-stackQL-stringOnly: true + x-title: CreateApplicationRequest + type: object + required: [] + CreateConfigurationProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConfigurationProfileId: + description: The configuration profile ID + type: string + LocationUri: + minLength: 1 + description: A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. + type: string + maxLength: 2048 + Type: + pattern: ^[a-zA-Z\.]+ + description: 'The type of configurations contained in the profile. When calling this API, enter one of the following values for Type: AWS.AppConfig.FeatureFlags, AWS.Freeform' + type: string + KmsKeyIdentifier: + pattern: ^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}|alias/[a-zA-Z0-9/_-]{1,250}|arn:aws[a-zA-Z-]*:kms:[a-z]{2}(-gov|-iso(b?))?-[a-z]+-\d{1}:\d{12}:(key/[0-9a-f-]{36}|alias/[a-zA-Z0-9/_-]{1,250})$ + description: The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated. + type: string + Description: + minLength: 0 + description: A description of the configuration profile. + type: string + maxLength: 1024 + KmsKeyArn: + minLength: 20 + pattern: arn:(aws[a-zA-Z-]*)?:[a-z]+:([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1})?:(\d{12})?:[a-zA-Z0-9-_/:.]+ + description: The Amazon Resource Name of the AWS Key Management Service key to encrypt new configuration data versions in the AWS AppConfig hosted configuration store. This attribute is only used for hosted configuration types. To encrypt data managed in other configuration stores, see the documentation for how to specify an AWS KMS key for that particular service. + type: string + maxLength: 2048 + Validators: + maxItems: 2 + uniqueItems: false + description: A list of methods for validating the configuration. + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/Validators' + RetrievalRoleArn: + minLength: 20 + pattern: ^((arn):(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):(iam)::\d{12}:role[/].*)$ + description: The ARN of an IAM role with permission to access the configuration at the specified LocationUri. + type: string + maxLength: 2048 + ApplicationId: + pattern: '[a-z0-9]{4,7}' + description: The application ID. + type: string + Tags: + uniqueItems: false + description: Metadata to assign to the configuration profile. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/Tags' + Name: + minLength: 1 + description: A name for the configuration profile. + type: string + maxLength: 128 + x-stackQL-stringOnly: true + x-title: CreateConfigurationProfileRequest + type: object + required: [] + CreateEnvironmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + EnvironmentId: + pattern: '[a-z0-9]{4,7}' + description: The environment ID. + type: string + Description: + minLength: 0 + description: A description of the environment. + type: string + maxLength: 1024 + Monitors: + minItems: 0 + maxItems: 5 + description: Amazon CloudWatch alarms to monitor during the deployment process. + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/Monitor' + ApplicationId: + pattern: '[a-z0-9]{4,7}' + description: The application ID. + type: string + Tags: + uniqueItems: true + description: Metadata to assign to the environment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define. + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/Tag' + Name: + minLength: 1 + description: A name for the environment. + type: string + maxLength: 64 + x-stackQL-stringOnly: true + x-title: CreateEnvironmentRequest + type: object + required: [] + CreateExtensionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + Arn: + type: string + VersionNumber: + type: integer + Name: + description: Name of the extension. + type: string + Description: + description: Description of the extension. + type: string + Actions: + type: object + x-patternProperties: + ^.+$: + $ref: '#/components/schemas/Actions' + additionalProperties: false + Parameters: + type: object + x-patternProperties: + ^.+$: + $ref: '#/components/schemas/Parameter' + additionalProperties: false + LatestVersionNumber: + type: integer + Tags: + description: An array of key-value tags to apply to this resource. + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateExtensionRequest + type: object + required: [] + CreateExtensionAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + Arn: + type: string + ExtensionArn: + type: string + ResourceArn: + type: string + ExtensionIdentifier: + type: string + ResourceIdentifier: + type: string + ExtensionVersionNumber: + type: integer + Parameters: + type: object + x-patternProperties: + ^.+$: + type: string + additionalProperties: false + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateExtensionAssociationRequest + type: object + required: [] + CreateHostedConfigurationVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConfigurationProfileId: + pattern: '[a-z0-9]{4,7}' + description: The configuration profile ID. + type: string + Description: + minLength: 0 + description: A description of the hosted configuration version. + type: string + maxLength: 1024 + ContentType: + minLength: 1 + description: A standard MIME type describing the format of the configuration content. + type: string + maxLength: 255 + LatestVersionNumber: + description: An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version. + type: integer + Content: + description: The content of the configuration or the configuration data. + type: string + VersionLabel: + minLength: 0 + pattern: ^$|.*[^0-9].* + description: A user-defined label for an AWS AppConfig hosted configuration version. + type: string + maxLength: 64 + ApplicationId: + pattern: '[a-z0-9]{4,7}' + description: The application ID. + type: string + VersionNumber: + description: Current version number of hosted configuration version. + type: string + x-stackQL-stringOnly: true + x-title: CreateHostedConfigurationVersionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -996,10 +1297,26 @@ components: x-cfn-type-name: AWS::AppConfig::Application x-identifiers: - ApplicationId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppConfig::Application" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1012,7 +1329,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource' config: views: select: @@ -1038,6 +1356,7 @@ components: x-cfn-type-name: AWS::AppConfig::Application x-identifiers: - ApplicationId + x-type: get methods: update_resource: operation: @@ -1051,24 +1370,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppConfig::Application" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/application/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/application/methods/delete_resource' - x-type: get config: views: select: @@ -1105,10 +1409,26 @@ components: x-identifiers: - ApplicationId - ConfigurationProfileId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConfigurationProfile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppConfig::ConfigurationProfile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1121,7 +1441,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/configuration_profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/configuration_profiles/methods/delete_resource' config: views: select: @@ -1150,6 +1471,7 @@ components: x-identifiers: - ApplicationId - ConfigurationProfileId + x-type: get methods: update_resource: operation: @@ -1163,24 +1485,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppConfig::ConfigurationProfile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/configuration_profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/configuration_profile/methods/delete_resource' - x-type: get config: views: select: @@ -1231,10 +1538,26 @@ components: x-identifiers: - ApplicationId - EnvironmentId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppConfig::Environment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1247,7 +1570,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/environments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/environments/methods/delete_resource' config: views: select: @@ -1276,6 +1600,7 @@ components: x-identifiers: - ApplicationId - EnvironmentId + x-type: get methods: update_resource: operation: @@ -1289,24 +1614,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppConfig::Environment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/environment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/environment/methods/delete_resource' - x-type: get config: views: select: @@ -1346,10 +1656,26 @@ components: x-cfn-type-name: AWS::AppConfig::Extension x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Extension&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppConfig::Extension" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1362,7 +1688,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/extensions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/extensions/methods/delete_resource' config: views: select: @@ -1388,6 +1715,7 @@ components: x-cfn-type-name: AWS::AppConfig::Extension x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1401,24 +1729,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppConfig::Extension" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/extension/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/extension/methods/delete_resource' - x-type: get config: views: select: @@ -1464,10 +1777,26 @@ components: x-cfn-type-name: AWS::AppConfig::ExtensionAssociation x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ExtensionAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppConfig::ExtensionAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1480,7 +1809,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/extension_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/extension_associations/methods/delete_resource' config: views: select: @@ -1506,6 +1836,7 @@ components: x-cfn-type-name: AWS::AppConfig::ExtensionAssociation x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1519,24 +1850,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppConfig::ExtensionAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/extension_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/extension_association/methods/delete_resource' - x-type: get config: views: select: @@ -1584,10 +1900,26 @@ components: - ApplicationId - ConfigurationProfileId - VersionNumber + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__HostedConfigurationVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppConfig::HostedConfigurationVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1600,7 +1932,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/hosted_configuration_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/hosted_configuration_versions/methods/delete_resource' config: views: select: @@ -1632,24 +1965,10 @@ components: - ApplicationId - ConfigurationProfileId - VersionNumber - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppConfig::HostedConfigurationVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/hosted_configuration_version/methods/delete_resource' - x-type: get config: views: select: @@ -1829,8 +2148,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplication + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ConfigurationProfile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConfigurationProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConfigurationProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnvironment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnvironmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Extension&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateExtension + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateExtensionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ExtensionAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateExtensionAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateExtensionAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__HostedConfigurationVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateHostedConfigurationVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateHostedConfigurationVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/appflow.yaml b/providers/src/aws/v00.00.00000/services/appflow.yaml index 2aae7d1a..b418f637 100644 --- a/providers/src/aws/v00.00.00000/services/appflow.yaml +++ b/providers/src/aws/v00.00.00000/services/appflow.yaml @@ -2695,6 +2695,172 @@ components: - appflow:DeleteFlow list: - appflow:ListFlows + CreateConnectorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConnectorLabel: + description: ' The name of the connector. The name is unique for each ConnectorRegistration in your AWS account.' + type: string + pattern: '[a-zA-Z0-9][\w!@#.-]+' + maxLength: 512 + ConnectorArn: + description: ' The arn of the connector. The arn is unique for each ConnectorRegistration in your AWS account.' + type: string + pattern: arn:*:appflow:.*:[0-9]+:.* + maxLength: 512 + ConnectorProvisioningType: + description: 'The provisioning type of the connector. Currently the only supported value is LAMBDA. ' + type: string + pattern: '[a-zA-Z0-9][\w!@#.-]+' + maxLength: 256 + minLength: 1 + ConnectorProvisioningConfig: + description: Contains information about the configuration of the connector being registered. + $ref: '#/components/schemas/ConnectorProvisioningConfig' + Description: + description: A description about the connector that's being registered. + type: string + pattern: '[\s\w/!@#+=.-]*' + maxLength: 2048 + x-stackQL-stringOnly: true + x-title: CreateConnectorRequest + type: object + required: [] + CreateConnectorProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConnectorProfileArn: + description: Unique identifier for connector profile resources + type: string + pattern: arn:aws:appflow:.*:[0-9]+:.* + maxLength: 512 + ConnectorLabel: + description: The label of the connector. The label is unique for each ConnectorRegistration in your AWS account. Only needed if calling for CUSTOMCONNECTOR connector type/. + type: string + pattern: '[\w!@#.-]+' + maxLength: 256 + ConnectorProfileName: + description: The maximum number of items to retrieve in a single batch. + type: string + pattern: '[\w/!@#+=.-]+' + maxLength: 256 + KMSArn: + description: The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key. + type: string + pattern: arn:aws:kms:.*:[0-9]+:.* + maxLength: 2048 + minLength: 20 + ConnectorType: + description: List of Saas providers that need connector profile to be created + $ref: '#/components/schemas/ConnectorType' + ConnectionMode: + description: Mode in which data transfer should be enabled. Private connection mode is currently enabled for Salesforce, Snowflake, Trendmicro and Singular + type: string + enum: + - Public + - Private + ConnectorProfileConfig: + description: Connector specific configurations needed to create connector profile + $ref: '#/components/schemas/ConnectorProfileConfig' + CredentialsArn: + description: A unique Arn for Connector-Profile resource + type: string + pattern: arn:aws:.*:.*:[0-9]+:.* + maxLength: 512 + x-stackQL-stringOnly: true + x-title: CreateConnectorProfileRequest + type: object + required: [] + CreateFlowRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FlowArn: + description: ARN identifier of the flow. + type: string + pattern: arn:aws:appflow:.*:[0-9]+:.* + maxLength: 512 + FlowName: + description: Name of the flow. + type: string + pattern: '[a-zA-Z0-9][\w!@#.-]+' + maxLength: 256 + minLength: 1 + Description: + description: Description of the flow. + type: string + pattern: '[\w!@#\-.?,\s]*' + maxLength: 2048 + KMSArn: + description: The ARN of the AWS Key Management Service (AWS KMS) key that's used to encrypt your function's environment variables. If it's not provided, AWS Lambda uses a default service key. + type: string + pattern: arn:aws:kms:.*:[0-9]+:.* + maxLength: 2048 + minLength: 20 + TriggerConfig: + description: Trigger settings of the flow. + $ref: '#/components/schemas/TriggerConfig' + FlowStatus: + description: Flow activation status for Scheduled- and Event-triggered flows + type: string + enum: + - Active + - Suspended + - Draft + SourceFlowConfig: + description: Configurations of Source connector of the flow. + $ref: '#/components/schemas/SourceFlowConfig' + DestinationFlowConfigList: + description: List of Destination connectors of the flow. + type: array + items: + $ref: '#/components/schemas/DestinationFlowConfig' + Tasks: + description: List of tasks for the flow. + type: array + items: + $ref: '#/components/schemas/Task' + Tags: + description: List of Tags. + type: array + items: + $ref: '#/components/schemas/Tag' + MetadataCatalogConfig: + description: Configurations of metadata catalog of the flow. + $ref: '#/components/schemas/MetadataCatalogConfig' + x-stackQL-stringOnly: true + x-title: CreateFlowRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -2710,10 +2876,26 @@ components: x-cfn-type-name: AWS::AppFlow::Connector x-identifiers: - ConnectorLabel + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Connector&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppFlow::Connector" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2726,7 +2908,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/connectors/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/connectors/methods/delete_resource' config: views: select: @@ -2752,6 +2935,7 @@ components: x-cfn-type-name: AWS::AppFlow::Connector x-identifiers: - ConnectorLabel + x-type: get methods: update_resource: operation: @@ -2765,24 +2949,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppFlow::Connector" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/connector/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/connector/methods/delete_resource' - x-type: get config: views: select: @@ -2820,10 +2989,26 @@ components: x-cfn-type-name: AWS::AppFlow::ConnectorProfile x-identifiers: - ConnectorProfileName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConnectorProfile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppFlow::ConnectorProfile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2836,7 +3021,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/connector_profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/connector_profiles/methods/delete_resource' config: views: select: @@ -2862,6 +3048,7 @@ components: x-cfn-type-name: AWS::AppFlow::ConnectorProfile x-identifiers: - ConnectorProfileName + x-type: get methods: update_resource: operation: @@ -2875,24 +3062,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppFlow::ConnectorProfile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/connector_profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/connector_profile/methods/delete_resource' - x-type: get config: views: select: @@ -2936,10 +3108,26 @@ components: x-cfn-type-name: AWS::AppFlow::Flow x-identifiers: - FlowName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Flow&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppFlow::Flow" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2952,7 +3140,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/flows/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/flows/methods/delete_resource' config: views: select: @@ -2978,6 +3167,7 @@ components: x-cfn-type-name: AWS::AppFlow::Flow x-identifiers: - FlowName + x-type: get methods: update_resource: operation: @@ -2991,24 +3181,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppFlow::Flow" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/flow/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/flow/methods/delete_resource' - x-type: get config: views: select: @@ -3194,8 +3369,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Connector&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConnector + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConnectorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ConnectorProfile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConnectorProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConnectorProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Flow&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFlow + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFlowRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/appintegrations.yaml b/providers/src/aws/v00.00.00000/services/appintegrations.yaml index 5162ca73..4fe55069 100644 --- a/providers/src/aws/v00.00.00000/services/appintegrations.yaml +++ b/providers/src/aws/v00.00.00000/services/appintegrations.yaml @@ -839,6 +839,194 @@ components: - app-integrations:UntagResource delete: - app-integrations:DeleteEventIntegration + CreateApplicationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name of the application. + type: string + pattern: ^[a-zA-Z0-9/\._\-]+$ + minLength: 1 + maxLength: 255 + Id: + description: The id of the application. + type: string + pattern: ^[a-zA-Z0-9/\._\-]+$ + minLength: 1 + maxLength: 255 + Namespace: + description: The namespace of the application. + type: string + pattern: ^[a-zA-Z0-9/\._\-]+$ + minLength: 1 + maxLength: 255 + Description: + description: The application description. + type: string + minLength: 1 + maxLength: 1000 + ApplicationArn: + description: The Amazon Resource Name (ARN) of the application. + pattern: ^arn:aws[-a-z0-9]*:app-integrations:[-a-z0-9]*:[0-9]{12}:application/[-a-zA-Z0-9]* + type: string + minLength: 1 + maxLength: 2048 + ApplicationSourceConfig: + description: Application source config + type: object + additionalProperties: false + properties: + ExternalUrlConfig: + $ref: '#/components/schemas/ExternalUrlConfig' + required: + - ExternalUrlConfig + Permissions: + description: The configuration of events or requests that the application has access to. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Permissions' + minItems: 0 + maxItems: 150 + Tags: + description: The tags (keys and values) associated with the application. + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 200 + x-stackQL-stringOnly: true + x-title: CreateApplicationRequest + type: object + required: [] + CreateDataIntegrationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + description: The data integration description. + type: string + minLength: 1 + maxLength: 1000 + Id: + description: The unique identifer of the data integration. + type: string + pattern: '[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}' + minLength: 1 + maxLength: 255 + DataIntegrationArn: + description: The Amazon Resource Name (ARN) of the data integration. + type: string + pattern: ^arn:aws[-a-z]*:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + minLength: 1 + maxLength: 2048 + Name: + description: The name of the data integration. + type: string + pattern: ^[a-zA-Z0-9/\._\-]+$ + minLength: 1 + maxLength: 255 + KmsKey: + description: The KMS key of the data integration. + type: string + pattern: .*\S.* + minLength: 1 + maxLength: 255 + ScheduleConfig: + description: The name of the data and how often it should be pulled from the source. + $ref: '#/components/schemas/ScheduleConfig' + SourceURI: + description: The URI of the data source. + type: string + pattern: ^(\w+\:\/\/[\w.-]+[\w/!@#+=.-]+$)|(\w+\:\/\/[\w.-]+[\w/!@#+=.-]+[\w/!@#+=.-]+[\w/!@#+=.,-]+$) + minLength: 1 + maxLength: 1000 + Tags: + description: The tags (keys and values) associated with the data integration. + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 200 + FileConfiguration: + description: The configuration for what files should be pulled from the source. + $ref: '#/components/schemas/FileConfiguration' + ObjectConfiguration: + description: The configuration for what data should be pulled from the source. + $ref: '#/components/schemas/ObjectConfiguration' + x-stackQL-stringOnly: true + x-title: CreateDataIntegrationRequest + type: object + required: [] + CreateEventIntegrationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + description: The event integration description. + type: string + minLength: 1 + maxLength: 1000 + EventIntegrationArn: + description: The Amazon Resource Name (ARN) of the event integration. + type: string + pattern: ^arn:aws[-a-z]*:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + minLength: 1 + maxLength: 2048 + Name: + description: The name of the event integration. + type: string + pattern: ^[a-zA-Z0-9/\._\-]+$ + minLength: 1 + maxLength: 255 + EventBridgeBus: + description: The Amazon Eventbridge bus for the event integration. + type: string + pattern: ^[a-zA-Z0-9/\._\-]+$ + minLength: 1 + maxLength: 255 + EventFilter: + description: The EventFilter (source) associated with the event integration. + $ref: '#/components/schemas/EventFilter' + Tags: + description: The tags (keys and values) associated with the event integration. + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 200 + x-stackQL-stringOnly: true + x-title: CreateEventIntegrationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -854,10 +1042,26 @@ components: x-cfn-type-name: AWS::AppIntegrations::Application x-identifiers: - ApplicationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppIntegrations::Application" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -870,7 +1074,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource' config: views: select: @@ -896,6 +1101,7 @@ components: x-cfn-type-name: AWS::AppIntegrations::Application x-identifiers: - ApplicationArn + x-type: get methods: update_resource: operation: @@ -909,24 +1115,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppIntegrations::Application" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/application/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/application/methods/delete_resource' - x-type: get config: views: select: @@ -970,10 +1161,26 @@ components: x-cfn-type-name: AWS::AppIntegrations::DataIntegration x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DataIntegration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppIntegrations::DataIntegration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -986,7 +1193,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/data_integrations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/data_integrations/methods/delete_resource' config: views: select: @@ -1012,6 +1220,7 @@ components: x-cfn-type-name: AWS::AppIntegrations::DataIntegration x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1025,24 +1234,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppIntegrations::DataIntegration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/data_integration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/data_integration/methods/delete_resource' - x-type: get config: views: select: @@ -1090,10 +1284,26 @@ components: x-cfn-type-name: AWS::AppIntegrations::EventIntegration x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EventIntegration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppIntegrations::EventIntegration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1106,7 +1316,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/event_integrations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/event_integrations/methods/delete_resource' config: views: select: @@ -1132,6 +1343,7 @@ components: x-cfn-type-name: AWS::AppIntegrations::EventIntegration x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1145,24 +1357,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppIntegrations::EventIntegration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/event_integration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/event_integration/methods/delete_resource' - x-type: get config: views: select: @@ -1338,8 +1535,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplication + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DataIntegration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataIntegration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDataIntegrationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EventIntegration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEventIntegration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEventIntegrationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/applicationautoscaling.yaml b/providers/src/aws/v00.00.00000/services/applicationautoscaling.yaml index 7a119ede..cea46fc8 100644 --- a/providers/src/aws/v00.00.00000/services/applicationautoscaling.yaml +++ b/providers/src/aws/v00.00.00000/services/applicationautoscaling.yaml @@ -792,6 +792,108 @@ components: - application-autoscaling:DeleteScalingPolicy list: - application-autoscaling:DescribeScalingPolicies + CreateScalableTargetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: This value can be returned by using the Ref function. Ref returns the Cloudformation generated ID of the resource in format - ResourceId|ScalableDimension|ServiceNamespace + type: string + MaxCapacity: + description: The maximum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand + type: integer + MinCapacity: + description: The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand + type: integer + ResourceId: + description: The identifier of the resource associated with the scalable target + type: string + RoleARN: + description: 'Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. ' + type: string + ScalableDimension: + description: The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property + type: string + ScheduledActions: + description: The scheduled actions for the scalable target. Duplicates aren't allowed. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/ScheduledAction' + ServiceNamespace: + description: The namespace of the AWS service that provides the resource, or a custom-resource + type: string + SuspendedState: + description: An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to true suspends the specified scaling activities. Setting it to false (default) resumes the specified scaling activities. + $ref: '#/components/schemas/SuspendedState' + x-stackQL-stringOnly: true + x-title: CreateScalableTargetRequest + type: object + required: [] + CreateScalingPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PolicyName: + description: |- + The name of the scaling policy. + + Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing AWS::ApplicationAutoScaling::ScalingPolicy resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name. + type: string + PolicyType: + description: |- + The scaling policy type. + + The following policy types are supported: + + TargetTrackingScaling Not supported for Amazon EMR + + StepScaling Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune. + type: string + ResourceId: + description: The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. + type: string + ScalableDimension: + description: The scalable dimension. This string consists of the service namespace, resource type, and scaling property. + type: string + ScalingTargetId: + description: The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the AWS::ApplicationAutoScaling::ScalableTarget resource. + type: string + ServiceNamespace: + description: The namespace of the AWS service that provides the resource, or a custom-resource. + type: string + StepScalingPolicyConfiguration: + description: A step scaling policy. + $ref: '#/components/schemas/StepScalingPolicyConfiguration' + TargetTrackingScalingPolicyConfiguration: + description: A target tracking scaling policy. + $ref: '#/components/schemas/TargetTrackingScalingPolicyConfiguration' + Arn: + description: ARN is a read only property for the resource. + type: string + x-stackQL-stringOnly: true + x-title: CreateScalingPolicyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -809,10 +911,26 @@ components: - ResourceId - ScalableDimension - ServiceNamespace + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ScalableTarget&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApplicationAutoScaling::ScalableTarget" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -825,7 +943,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/scalable_targets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/scalable_targets/methods/delete_resource' config: views: select: @@ -857,6 +976,7 @@ components: - ResourceId - ScalableDimension - ServiceNamespace + x-type: get methods: update_resource: operation: @@ -870,24 +990,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApplicationAutoScaling::ScalableTarget" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/scalable_target/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/scalable_target/methods/delete_resource' - x-type: get config: views: select: @@ -934,10 +1039,26 @@ components: x-identifiers: - Arn - ScalableDimension + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ScalingPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApplicationAutoScaling::ScalingPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -950,7 +1071,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/scaling_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/scaling_policies/methods/delete_resource' config: views: select: @@ -979,6 +1101,7 @@ components: x-identifiers: - Arn - ScalableDimension + x-type: get methods: update_resource: operation: @@ -992,24 +1115,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApplicationAutoScaling::ScalingPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/scaling_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/scaling_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1191,8 +1299,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ScalableTarget&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateScalableTarget + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateScalableTargetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ScalingPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateScalingPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateScalingPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/applicationinsights.yaml b/providers/src/aws/v00.00.00000/services/applicationinsights.yaml index 7df0180f..349351c5 100644 --- a/providers/src/aws/v00.00.00000/services/applicationinsights.yaml +++ b/providers/src/aws/v00.00.00000/services/applicationinsights.yaml @@ -935,6 +935,83 @@ components: - '*' list: - '*' + CreateApplicationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceGroupName: + description: The name of the resource group. + type: string + minLength: 1 + maxLength: 256 + pattern: '[a-zA-Z0-9.-_]*' + ApplicationARN: + description: The ARN of the ApplicationInsights application. + type: string + CWEMonitorEnabled: + description: Indicates whether Application Insights can listen to CloudWatch events for the application resources. + type: boolean + OpsCenterEnabled: + description: When set to true, creates opsItems for any problems detected on an application. + type: boolean + OpsItemSNSTopicArn: + description: The SNS topic provided to Application Insights that is associated to the created opsItem. + type: string + minLength: 20 + maxLength: 300 + pattern: ^arn:aws(-[\w]+)*:[\w\d-]+:([\w\d-]*)?:[\w\d_-]*([:/].+)*$ + Tags: + description: The tags of Application Insights application. + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 1 + x-insertionOrder: true + CustomComponents: + description: The custom grouped components. + type: array + items: + $ref: '#/components/schemas/CustomComponent' + minItems: 1 + x-insertionOrder: true + LogPatternSets: + description: The log pattern sets. + type: array + items: + $ref: '#/components/schemas/LogPatternSet' + minItems: 1 + x-insertionOrder: true + AutoConfigurationEnabled: + description: If set to true, application will be configured with recommended monitoring configuration. + type: boolean + ComponentMonitoringSettings: + description: The monitoring settings of the components. + type: array + items: + $ref: '#/components/schemas/ComponentMonitoringSetting' + minItems: 1 + x-insertionOrder: true + GroupingType: + description: The grouping type of the application + type: string + enum: + - ACCOUNT_BASED + AttachMissingPermission: + description: If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing + type: boolean + x-stackQL-stringOnly: true + x-title: CreateApplicationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -950,10 +1027,26 @@ components: x-cfn-type-name: AWS::ApplicationInsights::Application x-identifiers: - ApplicationARN + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ApplicationInsights::Application" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -966,7 +1059,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource' config: views: select: @@ -992,6 +1086,7 @@ components: x-cfn-type-name: AWS::ApplicationInsights::Application x-identifiers: - ApplicationARN + x-type: get methods: update_resource: operation: @@ -1005,24 +1100,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ApplicationInsights::Application" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/application/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/application/methods/delete_resource' - x-type: get config: views: select: @@ -1210,8 +1290,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplication + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/apprunner.yaml b/providers/src/aws/v00.00.00000/services/apprunner.yaml index 08d232e8..cf2adc6e 100644 --- a/providers/src/aws/v00.00.00000/services/apprunner.yaml +++ b/providers/src/aws/v00.00.00000/services/apprunner.yaml @@ -1116,6 +1116,272 @@ components: - apprunner:DeleteVpcIngressConnection list: - apprunner:ListVpcIngressConnections + CreateAutoScalingConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AutoScalingConfigurationArn: + description: The Amazon Resource Name (ARN) of this auto scaling configuration. + type: string + minLength: 1 + maxLength: 1011 + pattern: arn:aws(-[\w]+)*:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[0-9]{12}:(\w|/|-){1,1011} + AutoScalingConfigurationName: + description: The customer-provided auto scaling configuration name. When you use it for the first time in an AWS Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. The auto scaling configuration name can be used in multiple revisions of a configuration. + type: string + minLength: 4 + maxLength: 32 + pattern: '[A-Za-z0-9][A-Za-z0-9\-_]{3,31}' + AutoScalingConfigurationRevision: + description: 'The revision of this auto scaling configuration. It''s unique among all the active configurations ("Status": "ACTIVE") that share the same AutoScalingConfigurationName.' + type: integer + MaxConcurrency: + description: The maximum number of concurrent requests that an instance processes. If the number of concurrent requests exceeds this limit, App Runner scales the service up to use more instances to process the requests. + type: integer + MaxSize: + description: The maximum number of instances that an App Runner service scales up to. At most MaxSize instances actively serve traffic for your service. + type: integer + MinSize: + description: The minimum number of instances that App Runner provisions for a service. The service always has at least MinSize provisioned instances. Some of them actively serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset. + type: integer + Latest: + description: It's set to true for the configuration with the highest Revision among all configurations that share the same AutoScalingConfigurationName. It's set to false otherwise. App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code. + type: boolean + Tags: + description: A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a key-value pair. + type: array + items: + $ref: '#/components/schemas/Tag' + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateAutoScalingConfigurationRequest + type: object + required: [] + CreateObservabilityConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ObservabilityConfigurationArn: + description: The Amazon Resource Name (ARN) of this ObservabilityConfiguration + type: string + minLength: 1 + maxLength: 1011 + pattern: arn:aws(-[\w]+)*:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[0-9]{12}:(\w|/|-){1,1011} + ObservabilityConfigurationName: + description: A name for the observability configuration. When you use it for the first time in an AWS Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. + type: string + minLength: 4 + maxLength: 32 + pattern: '[A-Za-z0-9][A-Za-z0-9\-_]{3,31}' + ObservabilityConfigurationRevision: + description: 'The revision of this observability configuration. It''s unique among all the active configurations (''Status'': ''ACTIVE'') that share the same ObservabilityConfigurationName.' + type: integer + Latest: + description: It's set to true for the configuration with the highest Revision among all configurations that share the same Name. It's set to false otherwise. + type: boolean + TraceConfiguration: + description: The configuration of the tracing feature within this observability configuration. If you don't specify it, App Runner doesn't enable tracing. + $ref: '#/components/schemas/TraceConfiguration' + Tags: + description: A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair. + type: array + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateObservabilityConfigurationRequest + type: object + required: [] + CreateServiceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ServiceName: + description: The AppRunner Service Name. + type: string + minLength: 4 + maxLength: 40 + pattern: '[A-Za-z0-9][A-Za-z0-9-_]{3,39}' + ServiceId: + description: The AppRunner Service Id + type: string + minLength: 32 + maxLength: 32 + ServiceArn: + description: The Amazon Resource Name (ARN) of the AppRunner Service. + type: string + minLength: 1 + maxLength: 1011 + pattern: arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011} + ServiceUrl: + description: The Service Url of the AppRunner Service. + type: string + Status: + description: AppRunner Service status. + type: string + SourceConfiguration: + $ref: '#/components/schemas/SourceConfiguration' + InstanceConfiguration: + $ref: '#/components/schemas/InstanceConfiguration' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + EncryptionConfiguration: + $ref: '#/components/schemas/EncryptionConfiguration' + HealthCheckConfiguration: + $ref: '#/components/schemas/HealthCheckConfiguration' + ObservabilityConfiguration: + $ref: '#/components/schemas/ServiceObservabilityConfiguration' + AutoScalingConfigurationArn: + description: Autoscaling configuration ARN + type: string + minLength: 1 + maxLength: 1011 + pattern: arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011} + NetworkConfiguration: + $ref: '#/components/schemas/NetworkConfiguration' + x-stackQL-stringOnly: true + x-title: CreateServiceRequest + type: object + required: [] + CreateVpcConnectorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + VpcConnectorName: + description: A name for the VPC connector. If you don't specify a name, AWS CloudFormation generates a name for your VPC connector. + type: string + minLength: 4 + maxLength: 40 + pattern: ^[A-Za-z0-9][A-Za-z0-9-\\_]{3,39}$ + VpcConnectorArn: + description: The Amazon Resource Name (ARN) of this VPC connector. + type: string + minLength: 44 + maxLength: 1011 + pattern: arn:aws(-[\w]+)*:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[0-9]{12}:(\w|\/|-){1,1011} + VpcConnectorRevision: + description: 'The revision of this VPC connector. It''s unique among all the active connectors ("Status": "ACTIVE") that share the same Name.' + type: integer + Subnets: + description: A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify. + type: array + uniqueItems: true + x-insertionOrder: false + minItems: 1 + items: + type: string + SecurityGroups: + description: A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic. + type: array + uniqueItems: true + x-insertionOrder: false + items: + type: string + Tags: + description: A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair. + type: array + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateVpcConnectorRequest + type: object + required: [] + CreateVpcIngressConnectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + VpcIngressConnectionArn: + description: The Amazon Resource Name (ARN) of the VpcIngressConnection. + type: string + minLength: 1 + maxLength: 1011 + pattern: arn:aws(-[\w]+)*:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[0-9]{12}:(\w|/|-){1,1011} + VpcIngressConnectionName: + description: The customer-provided Vpc Ingress Connection name. + type: string + minLength: 4 + maxLength: 40 + pattern: '[A-Za-z0-9][A-Za-z0-9\-_]{3,39}' + ServiceArn: + description: The Amazon Resource Name (ARN) of the service. + type: string + minLength: 1 + maxLength: 1011 + pattern: arn:aws(-[\w]+)*:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[0-9]{12}:(\w|/|-){1,1011} + Status: + description: The current status of the VpcIngressConnection. + type: string + enum: + - AVAILABLE + - PENDING_CREATION + - PENDING_UPDATE + - PENDING_DELETION + - FAILED_CREATION + - FAILED_UPDATE + - FAILED_DELETION + - DELETED + DomainName: + description: The Domain name associated with the VPC Ingress Connection. + type: string + minLength: 1 + maxLength: 255 + pattern: '[A-Za-z0-9*.-]{1,255}' + IngressVpcConfiguration: + $ref: '#/components/schemas/IngressVpcConfiguration' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateVpcIngressConnectionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1131,10 +1397,26 @@ components: x-cfn-type-name: AWS::AppRunner::AutoScalingConfiguration x-identifiers: - AutoScalingConfigurationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AutoScalingConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppRunner::AutoScalingConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1147,7 +1429,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/auto_scaling_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/auto_scaling_configurations/methods/delete_resource' config: views: select: @@ -1173,24 +1456,10 @@ components: x-cfn-type-name: AWS::AppRunner::AutoScalingConfiguration x-identifiers: - AutoScalingConfigurationArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppRunner::AutoScalingConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/auto_scaling_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -1234,10 +1503,26 @@ components: x-cfn-type-name: AWS::AppRunner::ObservabilityConfiguration x-identifiers: - ObservabilityConfigurationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ObservabilityConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppRunner::ObservabilityConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1250,7 +1535,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/observability_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/observability_configurations/methods/delete_resource' config: views: select: @@ -1276,24 +1562,10 @@ components: x-cfn-type-name: AWS::AppRunner::ObservabilityConfiguration x-identifiers: - ObservabilityConfigurationArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppRunner::ObservabilityConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/observability_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -1333,10 +1605,26 @@ components: x-cfn-type-name: AWS::AppRunner::Service x-identifiers: - ServiceArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Service&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppRunner::Service" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1349,7 +1637,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/services/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/services/methods/delete_resource' config: views: select: @@ -1375,6 +1664,7 @@ components: x-cfn-type-name: AWS::AppRunner::Service x-identifiers: - ServiceArn + x-type: get methods: update_resource: operation: @@ -1388,24 +1678,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppRunner::Service" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/service/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/service/methods/delete_resource' - x-type: get config: views: select: @@ -1459,10 +1734,26 @@ components: x-cfn-type-name: AWS::AppRunner::VpcConnector x-identifiers: - VpcConnectorArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcConnector&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppRunner::VpcConnector" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1475,7 +1766,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/vpc_connectors/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/vpc_connectors/methods/delete_resource' config: views: select: @@ -1501,24 +1793,10 @@ components: x-cfn-type-name: AWS::AppRunner::VpcConnector x-identifiers: - VpcConnectorArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppRunner::VpcConnector" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/vpc_connector/methods/delete_resource' - x-type: get config: views: select: @@ -1558,10 +1836,26 @@ components: x-cfn-type-name: AWS::AppRunner::VpcIngressConnection x-identifiers: - VpcIngressConnectionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcIngressConnection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppRunner::VpcIngressConnection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1574,7 +1868,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/vpc_ingress_connections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/vpc_ingress_connections/methods/delete_resource' config: views: select: @@ -1600,6 +1895,7 @@ components: x-cfn-type-name: AWS::AppRunner::VpcIngressConnection x-identifiers: - VpcIngressConnectionArn + x-type: get methods: update_resource: operation: @@ -1613,24 +1909,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppRunner::VpcIngressConnection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/vpc_ingress_connection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/vpc_ingress_connection/methods/delete_resource' - x-type: get config: views: select: @@ -1808,8 +2089,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AutoScalingConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAutoScalingConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAutoScalingConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ObservabilityConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateObservabilityConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateObservabilityConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Service&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateService + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServiceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VpcConnector&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVpcConnector + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVpcConnectorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VpcIngressConnection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVpcIngressConnection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVpcIngressConnectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/appstream.yaml b/providers/src/aws/v00.00.00000/services/appstream.yaml index 38d5e027..e560da66 100644 --- a/providers/src/aws/v00.00.00000/services/appstream.yaml +++ b/providers/src/aws/v00.00.00000/services/appstream.yaml @@ -1057,6 +1057,321 @@ components: - iam:CreateServiceLinkedRole - iam:DeleteServiceLinkedRole - iam:GetServiceLinkedRoleDeletionStatus + CreateAppBlockRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + type: string + Arn: + $ref: '#/components/schemas/Arn' + Description: + type: string + DisplayName: + type: string + SourceS3Location: + $ref: '#/components/schemas/S3Location' + SetupScriptDetails: + $ref: '#/components/schemas/ScriptDetails' + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + CreatedTime: + type: string + PackagingType: + $ref: '#/components/schemas/PackagingType' + PostSetupScriptDetails: + $ref: '#/components/schemas/ScriptDetails' + x-stackQL-stringOnly: true + x-title: CreateAppBlockRequest + type: object + required: [] + CreateAppBlockBuilderRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + type: string + Arn: + $ref: '#/components/schemas/Arn' + Description: + type: string + DisplayName: + type: string + Platform: + $ref: '#/components/schemas/PlatformType' + AccessEndpoints: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/AccessEndpoint' + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + VpcConfig: + $ref: '#/components/schemas/VpcConfig' + EnableDefaultInternetAccess: + type: boolean + IamRoleArn: + type: string + CreatedTime: + type: string + InstanceType: + type: string + AppBlockArns: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Arn' + x-stackQL-stringOnly: true + x-title: CreateAppBlockBuilderRequest + type: object + required: [] + CreateApplicationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + type: string + DisplayName: + type: string + Description: + type: string + LaunchPath: + type: string + LaunchParameters: + type: string + WorkingDirectory: + type: string + InstanceFamilies: + type: array + uniqueItems: true + items: + type: string + x-insertionOrder: false + IconS3Location: + $ref: '#/components/schemas/S3Location' + Arn: + $ref: '#/components/schemas/Arn' + AppBlockArn: + $ref: '#/components/schemas/Arn' + Platforms: + type: array + uniqueItems: true + items: + $ref: '#/components/schemas/PlatformType' + x-insertionOrder: false + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + AttributesToDelete: + type: array + uniqueItems: true + items: + $ref: '#/components/schemas/ApplicationAttribute' + x-insertionOrder: false + CreatedTime: + type: string + x-stackQL-stringOnly: true + x-title: CreateApplicationRequest + type: object + required: [] + CreateApplicationEntitlementAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + StackName: + type: string + EntitlementName: + type: string + ApplicationIdentifier: + type: string + x-stackQL-stringOnly: true + x-title: CreateApplicationEntitlementAssociationRequest + type: object + required: [] + CreateApplicationFleetAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FleetName: + type: string + ApplicationArn: + $ref: '#/components/schemas/Arn' + x-stackQL-stringOnly: true + x-title: CreateApplicationFleetAssociationRequest + type: object + required: [] + CreateDirectoryConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + OrganizationalUnitDistinguishedNames: + type: array + uniqueItems: false + items: + type: string + ServiceAccountCredentials: + $ref: '#/components/schemas/ServiceAccountCredentials' + DirectoryName: + type: string + CertificateBasedAuthProperties: + $ref: '#/components/schemas/CertificateBasedAuthProperties' + x-stackQL-stringOnly: true + x-title: CreateDirectoryConfigRequest + type: object + required: [] + CreateEntitlementRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + type: string + StackName: + type: string + Description: + type: string + AppVisibility: + type: string + Attributes: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Attribute' + CreatedTime: + type: string + LastModifiedTime: + type: string + x-stackQL-stringOnly: true + x-title: CreateEntitlementRequest + type: object + required: [] + CreateImageBuilderRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + VpcConfig: + $ref: '#/components/schemas/VpcConfig' + EnableDefaultInternetAccess: + type: boolean + DomainJoinInfo: + $ref: '#/components/schemas/DomainJoinInfo' + AppstreamAgentVersion: + type: string + Name: + type: string + ImageName: + type: string + DisplayName: + type: string + IamRoleArn: + type: string + InstanceType: + type: string + Tags: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + StreamingUrl: + type: string + ImageArn: + type: string + AccessEndpoints: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/AccessEndpoint' + x-stackQL-stringOnly: true + x-title: CreateImageBuilderRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1072,10 +1387,14 @@ components: x-cfn-type-name: AWS::AppStream::AppBlock x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AppBlock&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1085,17 +1404,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/app_blocks/methods/create_resource' - app_block: - name: app_block - id: aws.appstream.app_block - x-cfn-schema-name: AppBlock - x-cfn-type-name: AWS::AppStream::AppBlock - x-identifiers: - - Arn - methods: delete_resource: operation: $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' @@ -1109,10 +1417,21 @@ components: mediaType: application/json openAPIDocKey: '200' sqlVerbs: - update: [] + insert: + - $ref: '#/components/x-stackQL-resources/app_blocks/methods/create_resource' delete: - - $ref: '#/components/x-stackQL-resources/app_block/methods/delete_resource' + - $ref: '#/components/x-stackQL-resources/app_blocks/methods/delete_resource' + app_block: + name: app_block + id: aws.appstream.app_block + x-cfn-schema-name: AppBlock + x-cfn-type-name: AWS::AppStream::AppBlock + x-identifiers: + - Arn x-type: get + methods: {} + sqlVerbs: + update: [] config: views: select: @@ -1160,10 +1479,26 @@ components: x-cfn-type-name: AWS::AppStream::AppBlockBuilder x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AppBlockBuilder&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppStream::AppBlockBuilder" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1176,7 +1511,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/app_block_builders/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/app_block_builders/methods/delete_resource' config: views: select: @@ -1202,6 +1538,7 @@ components: x-cfn-type-name: AWS::AppStream::AppBlockBuilder x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1215,24 +1552,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppStream::AppBlockBuilder" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/app_block_builder/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/app_block_builder/methods/delete_resource' - x-type: get config: views: select: @@ -1286,10 +1608,26 @@ components: x-cfn-type-name: AWS::AppStream::Application x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppStream::Application" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1302,6 +1640,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource' application: name: application id: aws.appstream.application @@ -1309,6 +1649,7 @@ components: x-cfn-type-name: AWS::AppStream::Application x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1322,24 +1663,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppStream::Application" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/application/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/application/methods/delete_resource' - x-type: get config: views: select: @@ -1397,10 +1723,14 @@ components: - StackName - EntitlementName - ApplicationIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ApplicationEntitlementAssociation&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1410,19 +1740,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/application_entitlement_associations/methods/create_resource' - application_entitlement_association: - name: application_entitlement_association - id: aws.appstream.application_entitlement_association - x-cfn-schema-name: ApplicationEntitlementAssociation - x-cfn-type-name: AWS::AppStream::ApplicationEntitlementAssociation - x-identifiers: - - StackName - - EntitlementName - - ApplicationIdentifier - methods: delete_resource: operation: $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' @@ -1436,10 +1753,23 @@ components: mediaType: application/json openAPIDocKey: '200' sqlVerbs: - update: [] + insert: + - $ref: '#/components/x-stackQL-resources/application_entitlement_associations/methods/create_resource' delete: - - $ref: '#/components/x-stackQL-resources/application_entitlement_association/methods/delete_resource' + - $ref: '#/components/x-stackQL-resources/application_entitlement_associations/methods/delete_resource' + application_entitlement_association: + name: application_entitlement_association + id: aws.appstream.application_entitlement_association + x-cfn-schema-name: ApplicationEntitlementAssociation + x-cfn-type-name: AWS::AppStream::ApplicationEntitlementAssociation + x-identifiers: + - StackName + - EntitlementName + - ApplicationIdentifier x-type: get + methods: {} + sqlVerbs: + update: [] config: views: select: @@ -1474,10 +1804,14 @@ components: x-identifiers: - FleetName - ApplicationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ApplicationFleetAssociation&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1487,18 +1821,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/application_fleet_associations/methods/create_resource' - application_fleet_association: - name: application_fleet_association - id: aws.appstream.application_fleet_association - x-cfn-schema-name: ApplicationFleetAssociation - x-cfn-type-name: AWS::AppStream::ApplicationFleetAssociation - x-identifiers: - - FleetName - - ApplicationArn - methods: delete_resource: operation: $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' @@ -1512,10 +1834,22 @@ components: mediaType: application/json openAPIDocKey: '200' sqlVerbs: - update: [] + insert: + - $ref: '#/components/x-stackQL-resources/application_fleet_associations/methods/create_resource' delete: - - $ref: '#/components/x-stackQL-resources/application_fleet_association/methods/delete_resource' + - $ref: '#/components/x-stackQL-resources/application_fleet_associations/methods/delete_resource' + application_fleet_association: + name: application_fleet_association + id: aws.appstream.application_fleet_association + x-cfn-schema-name: ApplicationFleetAssociation + x-cfn-type-name: AWS::AppStream::ApplicationFleetAssociation + x-identifiers: + - FleetName + - ApplicationArn x-type: get + methods: {} + sqlVerbs: + update: [] config: views: select: @@ -1547,10 +1881,26 @@ components: x-cfn-type-name: AWS::AppStream::DirectoryConfig x-identifiers: - DirectoryName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DirectoryConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppStream::DirectoryConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1563,7 +1913,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/directory_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/directory_configs/methods/delete_resource' config: views: select: @@ -1589,6 +1940,7 @@ components: x-cfn-type-name: AWS::AppStream::DirectoryConfig x-identifiers: - DirectoryName + x-type: get methods: update_resource: operation: @@ -1602,24 +1954,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppStream::DirectoryConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/directory_config/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/directory_config/methods/delete_resource' - x-type: get config: views: select: @@ -1656,10 +1993,26 @@ components: x-identifiers: - StackName - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Entitlement&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppStream::Entitlement" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1672,6 +2025,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/entitlements/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/entitlements/methods/delete_resource' entitlement: name: entitlement id: aws.appstream.entitlement @@ -1680,6 +2035,7 @@ components: x-identifiers: - StackName - Name + x-type: get methods: update_resource: operation: @@ -1693,24 +2049,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppStream::Entitlement" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/entitlement/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/entitlement/methods/delete_resource' - x-type: get config: views: select: @@ -1752,10 +2093,26 @@ components: x-cfn-type-name: AWS::AppStream::ImageBuilder x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ImageBuilder&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppStream::ImageBuilder" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1768,7 +2125,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/image_builders/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/image_builders/methods/delete_resource' config: views: select: @@ -1794,24 +2152,10 @@ components: x-cfn-type-name: AWS::AppStream::ImageBuilder x-identifiers: - Name - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppStream::ImageBuilder" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/image_builder/methods/delete_resource' - x-type: get config: views: select: @@ -2003,8 +2347,346 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AppBlock&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAppBlock + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAppBlockRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AppBlockBuilder&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAppBlockBuilder + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAppBlockBuilderRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplication + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ApplicationEntitlementAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplicationEntitlementAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationEntitlementAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ApplicationFleetAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplicationFleetAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationFleetAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DirectoryConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDirectoryConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDirectoryConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Entitlement&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEntitlement + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEntitlementRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ImageBuilder&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateImageBuilder + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateImageBuilderRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/appsync.yaml b/providers/src/aws/v00.00.00000/services/appsync.yaml index 4183dc9d..1875fd40 100644 --- a/providers/src/aws/v00.00.00000/services/appsync.yaml +++ b/providers/src/aws/v00.00.00000/services/appsync.yaml @@ -878,6 +878,279 @@ components: - appsync:ListSourceApiAssociations list: - appsync:ListSourceApiAssociations + CreateDomainNameRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DomainName: + type: string + minLength: 1 + maxLength: 253 + pattern: ^(\*[a-z\d-]*\.)?([a-z\d-]+\.)+[a-z\d-]+$ + Description: + type: string + minLength: 0 + maxLength: 255 + CertificateArn: + type: string + minLength: 3 + maxLength: 2048 + pattern: ^arn:[a-z-]*:acm:[a-z0-9-]*:\d{12}:certificate/[0-9A-Za-z_/-]*$ + AppSyncDomainName: + type: string + HostedZoneId: + type: string + x-stackQL-stringOnly: true + x-title: CreateDomainNameRequest + type: object + required: [] + CreateDomainNameApiAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DomainName: + type: string + minLength: 1 + maxLength: 253 + pattern: ^(\*[a-z\d-]*\.)?([a-z\d-]+\.)+[a-z\d-]+$ + ApiId: + type: string + ApiAssociationIdentifier: + type: string + x-stackQL-stringOnly: true + x-title: CreateDomainNameApiAssociationRequest + type: object + required: [] + CreateFunctionConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FunctionId: + description: The unique identifier for the function generated by the service + type: string + FunctionArn: + description: The ARN for the function generated by the service + type: string + ApiId: + description: The AWS AppSync GraphQL API that you want to attach using this function. + type: string + Code: + description: The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS. + type: string + CodeS3Location: + description: The Amazon S3 endpoint (where the code is located??). + type: string + DataSourceName: + description: The name of data source this function will attach. + type: string + Description: + description: The function description. + type: string + FunctionVersion: + description: The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported. + type: string + MaxBatchSize: + description: The maximum number of resolver request inputs that will be sent to a single AWS Lambda function in a BatchInvoke operation. + type: integer + Name: + description: The name of the function. + type: string + RequestMappingTemplate: + description: The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template. + type: string + RequestMappingTemplateS3Location: + description: Describes a Sync configuration for a resolver. Contains information on which Conflict Detection, as well as Resolution strategy, should be performed when the resolver is invoked. + type: string + ResponseMappingTemplate: + description: The Function response mapping template. + type: string + ResponseMappingTemplateS3Location: + description: The location of a response mapping template in an Amazon S3 bucket. Use this if you want to provision with a template file in Amazon S3 rather than embedding it in your CloudFormation template. + type: string + Runtime: + description: Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. + $ref: '#/components/schemas/AppSyncRuntime' + SyncConfig: + description: Describes a Sync configuration for a resolver. Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked. + $ref: '#/components/schemas/SyncConfig' + x-stackQL-stringOnly: true + x-title: CreateFunctionConfigurationRequest + type: object + required: [] + CreateResolverRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ApiId: + type: string + description: The APSYlong GraphQL API to which you want to attach this resolver. + CachingConfig: + $ref: '#/components/schemas/CachingConfig' + description: The caching configuration for the resolver. + Code: + type: string + description: The ``resolver`` code that contains the request and response functions. When code is used, the ``runtime`` is required. The runtime value must be ``APPSYNC_JS``. + CodeS3Location: + type: string + description: The Amazon S3 endpoint. + DataSourceName: + type: string + description: The resolver data source name. + FieldName: + type: string + description: The GraphQL field on a type that invokes the resolver. + Kind: + type: string + description: |- + The resolver type. + + *UNIT*: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source. + + *PIPELINE*: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of ``Function`` objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources. + MaxBatchSize: + type: integer + description: The maximum number of resolver request inputs that will be sent to a single LAMlong function in a ``BatchInvoke`` operation. + PipelineConfig: + $ref: '#/components/schemas/PipelineConfig' + description: Functions linked with the pipeline resolver. + RequestMappingTemplate: + type: string + description: |- + The request mapping template. + Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required. + RequestMappingTemplateS3Location: + type: string + description: The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template. + ResolverArn: + type: string + description: '' + ResponseMappingTemplate: + type: string + description: The response mapping template. + ResponseMappingTemplateS3Location: + type: string + description: The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template. + Runtime: + $ref: '#/components/schemas/AppSyncRuntime' + description: Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified. + SyncConfig: + $ref: '#/components/schemas/SyncConfig' + description: The ``SyncConfig`` for a resolver attached to a versioned data source. + TypeName: + type: string + description: The GraphQL type that invokes this resolver. + MetricsConfig: + type: string + description: Enables or disables enhanced resolver metrics for specified resolvers. Note that ``MetricsConfig`` won't be used unless the ``resolverLevelMetricsBehavior`` value is set to ``PER_RESOLVER_METRICS``. If the ``resolverLevelMetricsBehavior`` is set to ``FULL_REQUEST_RESOLVER_METRICS`` instead, ``MetricsConfig`` will be ignored. However, you can still set its value. + enum: + - ENABLED + - DISABLED + x-stackQL-stringOnly: true + x-title: CreateResolverRequest + type: object + required: [] + CreateSourceApiAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + SourceApiIdentifier: + description: Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN + type: string + MergedApiIdentifier: + description: Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN + type: string + Description: + description: Description of the SourceApiAssociation. + type: string + SourceApiAssociationConfig: + description: Customized configuration for SourceApiAssociation. + $ref: '#/components/schemas/SourceApiAssociationConfig' + AssociationId: + description: Id of the SourceApiAssociation. + type: string + AssociationArn: + description: ARN of the SourceApiAssociation. + type: string + SourceApiId: + description: GraphQLApiId of the source API in the association. + type: string + SourceApiArn: + description: ARN of the source API in the association. + type: string + pattern: ^arn:aws(-(cn|us-gov))?:[a-z-]+:(([a-z]+-)+[0-9])?:([0-9]{12})?:[^.]+$ + MergedApiId: + description: GraphQLApiId of the Merged API in the association. + type: string + MergedApiArn: + description: ARN of the Merged API in the association. + type: string + pattern: ^arn:aws(-(cn|us-gov))?:[a-z-]+:(([a-z]+-)+[0-9])?:([0-9]{12})?:[^.]+$ + SourceApiAssociationStatus: + description: Current status of SourceApiAssociation. + type: string + enum: + - MERGE_SCHEDULED + - MERGE_FAILED + - MERGE_SUCCESS + - MERGE_IN_PROGRESS + - AUTO_MERGE_SCHEDULE_FAILED + - DELETION_SCHEDULED + - DELETION_IN_PROGRESS + - DELETION_FAILED + SourceApiAssociationStatusDetail: + description: Current SourceApiAssociation status details. + type: string + LastSuccessfulMergeDate: + description: Date of last schema successful merge. + type: string + format: date-time + x-stackQL-stringOnly: true + x-title: CreateSourceApiAssociationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -893,10 +1166,26 @@ components: x-cfn-type-name: AWS::AppSync::DomainName x-identifiers: - DomainName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DomainName&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppSync::DomainName" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -909,7 +1198,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/domain_names/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/domain_names/methods/delete_resource' config: views: select: @@ -935,6 +1225,7 @@ components: x-cfn-type-name: AWS::AppSync::DomainName x-identifiers: - DomainName + x-type: get methods: update_resource: operation: @@ -948,24 +1239,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppSync::DomainName" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/domain_name/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/domain_name/methods/delete_resource' - x-type: get config: views: select: @@ -1003,10 +1279,26 @@ components: x-cfn-type-name: AWS::AppSync::DomainNameApiAssociation x-identifiers: - ApiAssociationIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DomainNameApiAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppSync::DomainNameApiAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1019,6 +1311,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/domain_name_api_associations/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/domain_name_api_associations/methods/delete_resource' domain_name_api_association: name: domain_name_api_association id: aws.appsync.domain_name_api_association @@ -1026,6 +1320,7 @@ components: x-cfn-type-name: AWS::AppSync::DomainNameApiAssociation x-identifiers: - ApiAssociationIdentifier + x-type: get methods: update_resource: operation: @@ -1039,24 +1334,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppSync::DomainNameApiAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/domain_name_api_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/domain_name_api_association/methods/delete_resource' - x-type: get config: views: select: @@ -1090,10 +1370,26 @@ components: x-cfn-type-name: AWS::AppSync::FunctionConfiguration x-identifiers: - FunctionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__FunctionConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppSync::FunctionConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1106,7 +1402,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/function_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/function_configurations/methods/delete_resource' config: views: select: @@ -1132,6 +1429,7 @@ components: x-cfn-type-name: AWS::AppSync::FunctionConfiguration x-identifiers: - FunctionArn + x-type: get methods: update_resource: operation: @@ -1145,24 +1443,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppSync::FunctionConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/function_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/function_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -1222,10 +1505,26 @@ components: x-cfn-type-name: AWS::AppSync::Resolver x-identifiers: - ResolverArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Resolver&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppSync::Resolver" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1238,7 +1537,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resolvers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resolvers/methods/delete_resource' config: views: select: @@ -1264,6 +1564,7 @@ components: x-cfn-type-name: AWS::AppSync::Resolver x-identifiers: - ResolverArn + x-type: get methods: update_resource: operation: @@ -1277,24 +1578,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppSync::Resolver" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resolver/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resolver/methods/delete_resource' - x-type: get config: views: select: @@ -1358,10 +1644,26 @@ components: x-cfn-type-name: AWS::AppSync::SourceApiAssociation x-identifiers: - AssociationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SourceApiAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AppSync::SourceApiAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1374,7 +1676,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/source_api_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/source_api_associations/methods/delete_resource' config: views: select: @@ -1400,6 +1703,7 @@ components: x-cfn-type-name: AWS::AppSync::SourceApiAssociation x-identifiers: - AssociationArn + x-type: get methods: update_resource: operation: @@ -1413,24 +1717,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AppSync::SourceApiAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/source_api_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/source_api_association/methods/delete_resource' - x-type: get config: views: select: @@ -1620,8 +1909,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__DomainName&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDomainName + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDomainNameRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DomainNameApiAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDomainNameApiAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDomainNameApiAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__FunctionConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFunctionConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFunctionConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Resolver&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResolver + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResolverRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SourceApiAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSourceApiAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSourceApiAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/aps.yaml b/providers/src/aws/v00.00.00000/services/aps.yaml index ef9f1270..0468da38 100644 --- a/providers/src/aws/v00.00.00000/services/aps.yaml +++ b/providers/src/aws/v00.00.00000/services/aps.yaml @@ -759,6 +759,153 @@ components: list: - aps:ListWorkspaces - aps:ListTagsForResource + CreateRuleGroupsNamespaceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Workspace: + description: Required to identify a specific APS Workspace associated with this RuleGroupsNamespace. + type: string + pattern: ^arn:(aws|aws-us-gov|aws-cn):aps:[a-z0-9-]+:[0-9]+:workspace/[a-zA-Z0-9-]+$ + Name: + description: The RuleGroupsNamespace name. + type: string + minLength: 1 + maxLength: 64 + Data: + description: The RuleGroupsNamespace data. + type: string + Arn: + description: The RuleGroupsNamespace ARN. + type: string + pattern: ^arn:(aws|aws-us-gov|aws-cn):aps:[a-z0-9-]+:[0-9]+:rulegroupsnamespace/[a-zA-Z0-9-]+/[0-9A-Za-z][-.0-9A-Z_a-z]*$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateRuleGroupsNamespaceRequest + type: object + required: [] + CreateScraperRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ScraperId: + description: Required to identify a specific scraper. + type: string + pattern: ^s-[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$ + minLength: 1 + maxLength: 64 + Alias: + description: Scraper alias. + type: string + pattern: ^[0-9A-Za-z][-.0-9A-Z_a-z]*$ + minLength: 1 + maxLength: 100 + Arn: + description: Scraper ARN. + type: string + pattern: ^arn:(aws|aws-us-gov|aws-cn):aps:(af|ap|ca|eu|me|sa|us)-(central|north|(north(?:east|west))|south|south(?:east|west)|east|west)-[0-9]+:[0-9]+:scraper/s-[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$ + RoleArn: + description: IAM role ARN for the scraper. + type: string + pattern: ^arn:(aws|aws-us-gov|aws-cn):iam::[0-9]{12}:role/[a-zA-Z0-9-]+$ + minLength: 20 + maxLength: 2048 + ScrapeConfiguration: + $ref: '#/components/schemas/ScrapeConfiguration' + Source: + $ref: '#/components/schemas/Source' + Destination: + $ref: '#/components/schemas/Destination' + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateScraperRequest + type: object + required: [] + CreateWorkspaceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + WorkspaceId: + description: Required to identify a specific APS Workspace. + type: string + pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{1,99}$ + minLength: 1 + maxLength: 100 + Alias: + description: AMP Workspace alias. + type: string + minLength: 0 + maxLength: 100 + Arn: + description: Workspace arn. + type: string + pattern: ^arn:(aws|aws-us-gov|aws-cn):aps:[a-z0-9-]+:[0-9]+:workspace/[a-zA-Z0-9-]+$ + minLength: 1 + maxLength: 128 + AlertManagerDefinition: + description: The AMP Workspace alert manager definition data + type: string + PrometheusEndpoint: + description: AMP Workspace prometheus endpoint + type: string + LoggingConfiguration: + $ref: '#/components/schemas/LoggingConfiguration' + KmsKeyArn: + description: KMS Key ARN used to encrypt and decrypt AMP workspace data. + type: string + pattern: ^arn:aws[-a-z]*:kms:[-a-z0-9]+:[0-9]{12}:key/.+$ + minLength: 20 + maxLength: 2048 + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateWorkspaceRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -774,10 +921,26 @@ components: x-cfn-type-name: AWS::APS::RuleGroupsNamespace x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RuleGroupsNamespace&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::APS::RuleGroupsNamespace" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -790,7 +953,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/rule_groups_namespaces/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/rule_groups_namespaces/methods/delete_resource' config: views: select: @@ -816,6 +980,7 @@ components: x-cfn-type-name: AWS::APS::RuleGroupsNamespace x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -829,24 +994,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::APS::RuleGroupsNamespace" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/rule_groups_namespace/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/rule_groups_namespace/methods/delete_resource' - x-type: get config: views: select: @@ -884,10 +1034,26 @@ components: x-cfn-type-name: AWS::APS::Scraper x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Scraper&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::APS::Scraper" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -900,7 +1066,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/scrapers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/scrapers/methods/delete_resource' config: views: select: @@ -926,6 +1093,7 @@ components: x-cfn-type-name: AWS::APS::Scraper x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -939,24 +1107,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::APS::Scraper" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/scraper/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/scraper/methods/delete_resource' - x-type: get config: views: select: @@ -1000,10 +1153,26 @@ components: x-cfn-type-name: AWS::APS::Workspace x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Workspace&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::APS::Workspace" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1016,7 +1185,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/workspaces/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/workspaces/methods/delete_resource' config: views: select: @@ -1042,6 +1212,7 @@ components: x-cfn-type-name: AWS::APS::Workspace x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1055,24 +1226,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::APS::Workspace" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/workspace/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/workspace/methods/delete_resource' - x-type: get config: views: select: @@ -1252,8 +1408,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__RuleGroupsNamespace&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRuleGroupsNamespace + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRuleGroupsNamespaceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Scraper&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateScraper + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateScraperRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Workspace&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateWorkspace + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateWorkspaceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/arczonalshift.yaml b/providers/src/aws/v00.00.00000/services/arczonalshift.yaml index ac0ea679..4c303a22 100644 --- a/providers/src/aws/v00.00.00000/services/arczonalshift.yaml +++ b/providers/src/aws/v00.00.00000/services/arczonalshift.yaml @@ -490,6 +490,34 @@ components: - arc-zonal-shift:UpdateZonalAutoshiftConfiguration list: - arc-zonal-shift:ListManagedResources + CreateZonalAutoshiftConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ZonalAutoshiftStatus: + $ref: '#/components/schemas/ZonalAutoshiftStatus' + x-dependencies: + ZonalAutoshiftStatus: + - PracticeRunConfiguration + PracticeRunConfiguration: + $ref: '#/components/schemas/PracticeRunConfiguration' + ResourceIdentifier: + type: string + maxLength: 1024 + minLength: 8 + x-stackQL-stringOnly: true + x-title: CreateZonalAutoshiftConfigurationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -505,10 +533,26 @@ components: x-cfn-type-name: AWS::ARCZonalShift::ZonalAutoshiftConfiguration x-identifiers: - ResourceIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ZonalAutoshiftConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ARCZonalShift::ZonalAutoshiftConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -521,7 +565,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/zonal_autoshift_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/zonal_autoshift_configurations/methods/delete_resource' config: views: select: @@ -547,6 +592,7 @@ components: x-cfn-type-name: AWS::ARCZonalShift::ZonalAutoshiftConfiguration x-identifiers: - ResourceIdentifier + x-type: get methods: update_resource: operation: @@ -560,24 +606,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ARCZonalShift::ZonalAutoshiftConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/zonal_autoshift_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/zonal_autoshift_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -747,8 +778,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ZonalAutoshiftConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateZonalAutoshiftConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateZonalAutoshiftConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/athena.yaml b/providers/src/aws/v00.00.00000/services/athena.yaml index 153c65d4..c362d0eb 100644 --- a/providers/src/aws/v00.00.00000/services/athena.yaml +++ b/providers/src/aws/v00.00.00000/services/athena.yaml @@ -981,6 +981,231 @@ components: - s3:ListMultipartUploadParts - kms:Decrypt - kms:GenerateDataKey + CreateCapacityReservationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/Arn' + Name: + description: The reservation name. + pattern: '[a-zA-Z0-9._-]{1,128}' + type: string + Status: + description: The status of the reservation. + $ref: '#/components/schemas/CapacityReservationStatus' + TargetDpus: + description: The number of DPUs to request to be allocated to the reservation. + type: integer + format: int64 + minimum: 1 + AllocatedDpus: + description: The number of DPUs Athena has provisioned and allocated for the reservation + type: integer + format: int64 + minimum: 0 + CapacityAssignmentConfiguration: + $ref: '#/components/schemas/CapacityAssignmentConfiguration' + CreationTime: + description: The date and time the reservation was created. + type: string + LastSuccessfulAllocationTime: + description: The timestamp when the last successful allocated was made + type: string + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateCapacityReservationRequest + type: object + required: [] + CreateDataCatalogRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: 'The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters. ' + type: string + minLength: 1 + maxLength: 256 + Description: + description: 'A description of the data catalog to be created. ' + type: string + minLength: 1 + maxLength: 1024 + Parameters: + description: 'Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. ' + type: object + x-patternProperties: + .*: + type: string + maxLength: 51200 + additionalProperties: false + Tags: + description: 'A list of comma separated tags to add to the data catalog that is created. ' + $ref: '#/components/schemas/Tags' + Type: + description: 'The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. ' + type: string + enum: + - LAMBDA + - GLUE + - HIVE + x-stackQL-stringOnly: true + x-title: CreateDataCatalogRequest + type: object + required: [] + CreateNamedQueryRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The query name. + type: string + minLength: 1 + maxLength: 128 + Database: + description: The database to which the query belongs. + type: string + minLength: 1 + maxLength: 255 + Description: + description: The query description. + type: string + minLength: 1 + maxLength: 1024 + QueryString: + description: The contents of the query with all query statements. + type: string + minLength: 1 + maxLength: 262144 + WorkGroup: + description: The name of the workgroup that contains the named query. + type: string + minLength: 1 + maxLength: 128 + NamedQueryId: + description: The unique ID of the query. + type: string + x-stackQL-stringOnly: true + x-title: CreateNamedQueryRequest + type: object + required: [] + CreatePreparedStatementRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + StatementName: + description: The name of the prepared statement. + type: string + minLength: 1 + maxLength: 256 + WorkGroup: + description: The name of the workgroup to which the prepared statement belongs. + type: string + minLength: 1 + maxLength: 128 + Description: + description: The description of the prepared statement. + type: string + minLength: 1 + maxLength: 1024 + QueryStatement: + description: The query string for the prepared statement. + type: string + minLength: 1 + maxLength: 262144 + x-stackQL-stringOnly: true + x-title: CreatePreparedStatementRequest + type: object + required: [] + CreateWorkGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The workGroup name. + pattern: '[a-zA-Z0-9._-]{1,128}' + type: string + Description: + description: The workgroup description. + type: string + minLength: 0 + maxLength: 1024 + Tags: + description: One or more tags, separated by commas, that you want to attach to the workgroup as you create it + $ref: '#/components/schemas/Tags' + WorkGroupConfiguration: + description: The workgroup configuration + $ref: '#/components/schemas/WorkGroupConfiguration' + WorkGroupConfigurationUpdates: + description: The workgroup configuration update object + $ref: '#/components/schemas/WorkGroupConfigurationUpdates' + CreationTime: + description: The date and time the workgroup was created. + type: string + State: + description: 'The state of the workgroup: ENABLED or DISABLED.' + type: string + enum: + - ENABLED + - DISABLED + RecursiveDeleteOption: + description: The option to delete the workgroup and its contents even if the workgroup contains any named queries. + type: boolean + x-stackQL-stringOnly: true + x-title: CreateWorkGroupRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -996,10 +1221,26 @@ components: x-cfn-type-name: AWS::Athena::CapacityReservation x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CapacityReservation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Athena::CapacityReservation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1012,7 +1253,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/capacity_reservations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/capacity_reservations/methods/delete_resource' config: views: select: @@ -1038,6 +1280,7 @@ components: x-cfn-type-name: AWS::Athena::CapacityReservation x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1051,24 +1294,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Athena::CapacityReservation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/capacity_reservation/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/capacity_reservation/methods/delete_resource' - x-type: get config: views: select: @@ -1114,10 +1342,26 @@ components: x-cfn-type-name: AWS::Athena::DataCatalog x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DataCatalog&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Athena::DataCatalog" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1130,7 +1374,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/data_catalogs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/data_catalogs/methods/delete_resource' config: views: select: @@ -1156,6 +1401,7 @@ components: x-cfn-type-name: AWS::Athena::DataCatalog x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1169,24 +1415,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Athena::DataCatalog" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/data_catalog/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/data_catalog/methods/delete_resource' - x-type: get config: views: select: @@ -1224,10 +1455,26 @@ components: x-cfn-type-name: AWS::Athena::NamedQuery x-identifiers: - NamedQueryId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__NamedQuery&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Athena::NamedQuery" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1240,7 +1487,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/named_queries/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/named_queries/methods/delete_resource' config: views: select: @@ -1266,24 +1514,10 @@ components: x-cfn-type-name: AWS::Athena::NamedQuery x-identifiers: - NamedQueryId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Athena::NamedQuery" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/named_query/methods/delete_resource' - x-type: get config: views: select: @@ -1324,10 +1558,26 @@ components: x-identifiers: - StatementName - WorkGroup + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PreparedStatement&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Athena::PreparedStatement" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1340,7 +1590,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/prepared_statements/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/prepared_statements/methods/delete_resource' config: views: select: @@ -1369,6 +1620,7 @@ components: x-identifiers: - StatementName - WorkGroup + x-type: get methods: update_resource: operation: @@ -1382,24 +1634,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Athena::PreparedStatement" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/prepared_statement/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/prepared_statement/methods/delete_resource' - x-type: get config: views: select: @@ -1435,10 +1672,26 @@ components: x-cfn-type-name: AWS::Athena::WorkGroup x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__WorkGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Athena::WorkGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1451,7 +1704,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/work_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/work_groups/methods/delete_resource' config: views: select: @@ -1477,6 +1731,7 @@ components: x-cfn-type-name: AWS::Athena::WorkGroup x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1490,24 +1745,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Athena::WorkGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/work_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/work_group/methods/delete_resource' - x-type: get config: views: select: @@ -1687,8 +1927,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__CapacityReservation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCapacityReservation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCapacityReservationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DataCatalog&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataCatalog + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDataCatalogRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__NamedQuery&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateNamedQuery + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateNamedQueryRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PreparedStatement&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePreparedStatement + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePreparedStatementRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__WorkGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateWorkGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateWorkGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/auditmanager.yaml b/providers/src/aws/v00.00.00000/services/auditmanager.yaml index 347a42b8..e0890e17 100644 --- a/providers/src/aws/v00.00.00000/services/auditmanager.yaml +++ b/providers/src/aws/v00.00.00000/services/auditmanager.yaml @@ -654,6 +654,58 @@ components: - auditmanager:DeleteAssessment list: - auditmanager:ListAssessments + CreateAssessmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FrameworkId: + $ref: '#/components/schemas/FrameworkId' + AssessmentId: + $ref: '#/components/schemas/UUID' + AwsAccount: + $ref: '#/components/schemas/AWSAccount' + Arn: + $ref: '#/components/schemas/AssessmentArn' + Tags: + description: The tags associated with the assessment. + type: array + items: + $ref: '#/components/schemas/Tag' + Delegations: + description: The list of delegations. + type: array + items: + $ref: '#/components/schemas/Delegation' + Roles: + description: The list of roles for the specified assessment. + type: array + items: + $ref: '#/components/schemas/Role' + Scope: + $ref: '#/components/schemas/Scope' + AssessmentReportsDestination: + $ref: '#/components/schemas/AssessmentReportsDestination' + Status: + $ref: '#/components/schemas/AssessmentStatus' + CreationTime: + $ref: '#/components/schemas/Timestamp' + Name: + $ref: '#/components/schemas/AssessmentName' + Description: + $ref: '#/components/schemas/AssessmentDescription' + x-stackQL-stringOnly: true + x-title: CreateAssessmentRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -669,10 +721,26 @@ components: x-cfn-type-name: AWS::AuditManager::Assessment x-identifiers: - AssessmentId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Assessment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AuditManager::Assessment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -685,7 +753,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/assessments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/assessments/methods/delete_resource' config: views: select: @@ -711,6 +780,7 @@ components: x-cfn-type-name: AWS::AuditManager::Assessment x-identifiers: - AssessmentId + x-type: get methods: update_resource: operation: @@ -724,24 +794,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AuditManager::Assessment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/assessment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/assessment/methods/delete_resource' - x-type: get config: views: select: @@ -931,8 +986,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Assessment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAssessment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAssessmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/autoscaling.yaml b/providers/src/aws/v00.00.00000/services/autoscaling.yaml index 1265019c..00fd8f70 100644 --- a/providers/src/aws/v00.00.00000/services/autoscaling.yaml +++ b/providers/src/aws/v00.00.00000/services/autoscaling.yaml @@ -1923,6 +1923,460 @@ components: - autoscaling:PutWarmPool - autoscaling:DescribeWarmPool - autoscaling:DescribeAutoScalingGroups + CreateAutoScalingGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + LifecycleHookSpecificationList: + uniqueItems: false + description: One or more lifecycle hooks to add to the Auto Scaling group before instances are launched. + x-insertionOrder: true + type: array + items: + $ref: '#/components/schemas/LifecycleHookSpecification' + LoadBalancerNames: + uniqueItems: false + description: A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the ``TargetGroupARNs`` property instead. + x-insertionOrder: true + type: array + items: + type: string + LaunchConfigurationName: + description: |- + The name of the launch configuration to use to launch instances. + Required only if you don't specify ``LaunchTemplate``, ``MixedInstancesPolicy``, or ``InstanceId``. + type: string + ServiceLinkedRoleARN: + description: The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named ``AWSServiceRoleForAutoScaling``, which it creates if it does not exist. For more information, see [Service-linked roles](https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html) in the *Amazon EC2 Auto Scaling User Guide*. + type: string + TargetGroupARNs: + uniqueItems: false + description: >- + The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see [Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling + group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html) in the *Amazon EC2 Auto Scaling User Guide*. + x-insertionOrder: false + type: array + items: + type: string + Cooldown: + description: |- + *Only needed if you use simple scaling policies.* + The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html) in the *Amazon EC2 Auto Scaling User Guide*. + Default: ``300`` seconds + type: string + NotificationConfigurations: + uniqueItems: false + description: Configures an Auto Scaling group to send notifications when specified events take place. + x-insertionOrder: true + type: array + items: + $ref: '#/components/schemas/NotificationConfiguration' + DesiredCapacity: + pattern: ^[0-9]+$ + description: |- + The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure automatic scaling. + The number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity when creating the stack, the default is the minimum size of the group. + CloudFormation marks the Auto Scaling group as successful (by setting its status to CREATE_COMPLETE) when the desired capacity is reached. However, if a maximum Spot price is set in the launch template or launch configuration that you specified, then desired capacity is not used as a criteria for success. Whether your request is fulfilled depends on Spot Instance capacity and your maximum price. + type: string + HealthCheckGracePeriod: + description: >- + The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the ``InService`` state. For more information, see [Set the health check grace period for an Auto Scaling + group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html) in the *Amazon EC2 Auto Scaling User Guide*. + Default: ``0`` seconds + type: integer + DefaultInstanceWarmup: + description: |- + The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the ``InService`` state. + During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see [Set the default instance warmup for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-default-instance-warmup.html) in the *Amazon EC2 Auto Scaling User Guide*. + To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, *even if it is set to 0 seconds*. To remove a value that you previously set, include the property but specify ``-1`` for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of ``0`` or other nominal value. + Default: None + type: integer + NewInstancesProtectedFromScaleIn: + description: Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see [Using instance scale-in protection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html) in the *Amazon EC2 Auto Scaling User Guide*. + type: boolean + LaunchTemplate: + description: |- + Information used to specify the launch template and version to use to launch instances. You can alternatively associate a launch template to the Auto Scaling group by specifying a ``MixedInstancesPolicy``. For more information about creating launch templates, see [Create a launch template for an Auto Scaling group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html) in the *Amazon EC2 Auto Scaling User Guide*. + If you omit this property, you must specify ``MixedInstancesPolicy``, ``LaunchConfigurationName``, or ``InstanceId``. + $ref: '#/components/schemas/LaunchTemplateSpecification' + MixedInstancesPolicy: + description: |- + An embedded object that specifies a mixed instances policy. + The policy includes properties that not only define the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances (optional), and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. + For more information, see [Auto Scaling groups with multiple instance types and purchase options](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html) in the *Amazon EC2 Auto Scaling User Guide*. + $ref: '#/components/schemas/MixedInstancesPolicy' + VPCZoneIdentifier: + uniqueItems: false + description: |- + A list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. + If this resource specifies public subnets and is also in a VPC that is defined in the same stack template, you must use the [DependsOn attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) to declare a dependency on the [VPC-gateway attachment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html). + When you update ``VPCZoneIdentifier``, this retains the same Auto Scaling group and replaces old instances with new ones, according to the specified subnets. You can optionally specify how CloudFormation handles these updates by using an [UpdatePolicy attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html). + Required to launch instances into a nondefault VPC. If you specify ``VPCZoneIdentifier`` with ``AvailabilityZones``, the subnets that you specify for this property must reside in those Availability Zones. + x-insertionOrder: false + type: array + items: + type: string + Tags: + description: >- + One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. + For more information, see [Tag Auto Scaling groups and instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html) in the *Amazon EC2 Auto Scaling User Guide*. + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/TagProperty' + Context: + description: Reserved. + type: string + CapacityRebalance: + description: >- + Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see [Use Capacity Rebalancing to handle Amazon EC2 Spot + Interruptions](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html) in the in the *Amazon EC2 Auto Scaling User Guide*. + type: boolean + InstanceId: + description: |- + The ID of the instance used to base the launch configuration on. For more information, see [Create an Auto Scaling group using an EC2 instance](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html) in the *Amazon EC2 Auto Scaling User Guide*. + If you specify ``LaunchTemplate``, ``MixedInstancesPolicy``, or ``LaunchConfigurationName``, don't specify ``InstanceId``. + type: string + AvailabilityZones: + uniqueItems: false + description: A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the ``VPCZoneIdentifier`` property, or for attaching a network interface when an existing network interface ID is specified in a launch template. + x-insertionOrder: false + type: array + items: + type: string + NotificationConfiguration: + description: '' + $ref: '#/components/schemas/NotificationConfiguration' + MetricsCollection: + uniqueItems: false + description: Enables the monitoring of group metrics of an Auto Scaling group. By default, these metrics are disabled. + x-insertionOrder: true + type: array + items: + $ref: '#/components/schemas/MetricsCollection' + InstanceMaintenancePolicy: + description: An instance maintenance policy. For more information, see [Set instance maintenance policy](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html) in the *Amazon EC2 Auto Scaling User Guide*. + $ref: '#/components/schemas/InstanceMaintenancePolicy' + MaxSize: + pattern: ^[0-9]+$ + description: |- + The maximum size of the group. + With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above ``MaxSize`` to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go above ``MaxSize`` by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group). + type: string + MinSize: + pattern: ^[0-9]+$ + description: The minimum size of the group. + type: string + TerminationPolicies: + uniqueItems: false + description: |- + A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see [Work with Amazon EC2 Auto Scaling termination policies](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html) in the *Amazon EC2 Auto Scaling User Guide*. + Valid values: ``Default`` | ``AllocationStrategy`` | ``ClosestToNextInstanceHour`` | ``NewestInstance`` | ``OldestInstance`` | ``OldestLaunchConfiguration`` | ``OldestLaunchTemplate`` | ``arn:aws:lambda:region:account-id:function:my-function:my-alias`` + x-insertionOrder: true + type: array + items: + type: string + AutoScalingGroupName: + description: |- + The name of the Auto Scaling group. This name must be unique per Region per account. + The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters. + You cannot use a colon (:) in the name. + type: string + DesiredCapacityType: + description: |- + The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports ``DesiredCapacityType`` for attribute-based instance type selection only. For more information, see [Creating an Auto Scaling group using attribute-based instance type selection](https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html) in the *Amazon EC2 Auto Scaling User Guide*. + By default, Amazon EC2 Auto Scaling specifies ``units``, which translates into number of instances. + Valid values: ``units`` | ``vcpu`` | ``memory-mib`` + type: string + PlacementGroup: + description: |- + The name of the placement group into which to launch your instances. For more information, see [Placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the *Amazon EC2 User Guide for Linux Instances*. + A *cluster* placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group. + type: string + HealthCheckType: + description: |- + A comma-separated value string of one or more health check types. + The valid values are ``EC2``, ``ELB``, and ``VPC_LATTICE``. ``EC2`` is the default health check and cannot be disabled. For more information, see [Health checks for Auto Scaling instances](https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html) in the *Amazon EC2 Auto Scaling User Guide*. + Only specify ``EC2`` if you must clear a value that was previously set. + type: string + MaxInstanceLifetime: + description: The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see [Replacing Auto Scaling instances based on maximum instance lifetime](https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html) in the *Amazon EC2 Auto Scaling User Guide*. + type: integer + x-stackQL-stringOnly: true + x-title: CreateAutoScalingGroupRequest + type: object + required: [] + CreateLaunchConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AssociatePublicIpAddress: + description: For Auto Scaling groups that are running in a virtual private cloud (VPC), specifies whether to assign a public IP address to the group's instances. + type: boolean + BlockDeviceMappings: + description: Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/BlockDeviceMapping' + ClassicLinkVPCId: + description: The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. + type: string + ClassicLinkVPCSecurityGroups: + description: The IDs of one or more security groups for the VPC that you specified in the ClassicLinkVPCId property. + type: array + x-insertionOrder: false + items: + type: string + EbsOptimized: + description: Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). + type: boolean + IamInstanceProfile: + description: Provides the name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. + type: string + ImageId: + description: Provides the unique ID of the Amazon Machine Image (AMI) that was assigned during registration. + type: string + InstanceId: + description: The ID of the Amazon EC2 instance you want to use to create the launch configuration. + type: string + InstanceMonitoring: + description: Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring. + type: boolean + InstanceType: + description: Specifies the instance type of the EC2 instance. + type: string + KernelId: + description: Provides the ID of the kernel associated with the EC2 AMI. + type: string + KeyName: + description: Provides the name of the EC2 key pair. + type: string + LaunchConfigurationName: + description: The name of the launch configuration. This name must be unique per Region per account. + type: string + minLength: 1 + maxLength: 255 + MetadataOptions: + description: The metadata options for the instances. + $ref: '#/components/schemas/MetadataOptions' + PlacementTenancy: + description: The tenancy of the instance, either default or dedicated. + type: string + RamDiskId: + description: The ID of the RAM disk to select. + type: string + SecurityGroups: + description: A list that contains the security groups to assign to the instances in the Auto Scaling group. + type: array + x-insertionOrder: false + items: + type: string + SpotPrice: + description: The maximum hourly price you are willing to pay for any Spot Instances launched to fulfill the request. + type: string + UserData: + description: The Base64-encoded user data to make available to the launched EC2 instances. + type: string + maxLength: 21847 + x-stackQL-stringOnly: true + x-title: CreateLaunchConfigurationRequest + type: object + required: [] + CreateLifecycleHookRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AutoScalingGroupName: + description: The name of the Auto Scaling group for the lifecycle hook. + type: string + DefaultResult: + description: The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON (default). + type: string + HeartbeatTimeout: + description: The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30 to 7200 seconds. The default value is 3600 seconds (1 hour). If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the DefaultResult property. + type: integer + LifecycleHookName: + description: The name of the lifecycle hook. + type: string + minLength: 1 + maxLength: 255 + LifecycleTransition: + description: The instance state to which you want to attach the lifecycle hook. + type: string + NotificationMetadata: + description: Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target. + type: string + minLength: 1 + maxLength: 1023 + NotificationTargetARN: + description: 'The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. You can specify an Amazon SQS queue or an Amazon SNS topic. The notification message includes the following information: lifecycle action token, user account ID, Auto Scaling group name, lifecycle hook name, instance ID, lifecycle transition, and notification metadata.' + type: string + RoleARN: + description: The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target, for example, an Amazon SNS topic or an Amazon SQS queue. + type: string + x-stackQL-stringOnly: true + x-title: CreateLifecycleHookRequest + type: object + required: [] + CreateScalingPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + MetricAggregationType: + description: The aggregation type for the CloudWatch metrics. The valid values are Minimum, Maximum, and Average. If the aggregation type is null, the value is treated as Average. Valid only if the policy type is StepScaling. + type: string + PolicyName: + type: string + PolicyType: + description: 'One of the following policy types: TargetTrackingScaling, StepScaling, SimpleScaling (default), PredictiveScaling' + type: string + PredictiveScalingConfiguration: + description: A predictive scaling policy. Includes support for predefined metrics only. + $ref: '#/components/schemas/PredictiveScalingConfiguration' + ScalingAdjustment: + description: The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a positive value. Required if the policy type is SimpleScaling. (Not used with any other policy type.) + type: integer + Cooldown: + description: The duration of the policy's cooldown period, in seconds. When a cooldown period is specified here, it overrides the default cooldown period defined for the Auto Scaling group. + type: string + StepAdjustments: + description: A set of adjustments that enable you to scale based on the size of the alarm breach. Required if the policy type is StepScaling. (Not used with any other policy type.) + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/StepAdjustment' + AutoScalingGroupName: + description: The name of the Auto Scaling group. + type: string + MinAdjustmentMagnitude: + description: The minimum value to scale by when the adjustment type is PercentChangeInCapacity. For example, suppose that you create a step scaling policy to scale out an Auto Scaling group by 25 percent and you specify a MinAdjustmentMagnitude of 2. If the group has 4 instances and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a MinAdjustmentMagnitude of 2, Amazon EC2 Auto Scaling scales out the group by 2 instances. + type: integer + TargetTrackingConfiguration: + description: A target tracking scaling policy. Includes support for predefined or customized metrics. + $ref: '#/components/schemas/TargetTrackingConfiguration' + EstimatedInstanceWarmup: + description: The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. If not provided, the default is to use the value from the default cooldown period for the Auto Scaling group. Valid only if the policy type is TargetTrackingScaling or StepScaling. + type: integer + AdjustmentType: + description: Specifies how the scaling adjustment is interpreted. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. + type: string + Arn: + description: The ARN of the AutoScaling scaling policy + type: string + x-stackQL-stringOnly: true + x-title: CreateScalingPolicyRequest + type: object + required: [] + CreateScheduledActionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ScheduledActionName: + description: Auto-generated unique identifier + type: string + MinSize: + description: The minimum size of the Auto Scaling group. + type: integer + Recurrence: + description: The recurring schedule for the action, in Unix cron syntax format. When StartTime and EndTime are specified with Recurrence , they form the boundaries of when the recurring action starts and stops. + type: string + TimeZone: + description: The time zone for the cron expression. + type: string + EndTime: + description: The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored. + type: string + AutoScalingGroupName: + description: The name of the Auto Scaling group. + type: string + StartTime: + description: The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored. + type: string + DesiredCapacity: + description: The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. + type: integer + MaxSize: + description: The minimum size of the Auto Scaling group. + type: integer + x-stackQL-stringOnly: true + x-title: CreateScheduledActionRequest + type: object + required: [] + CreateWarmPoolRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AutoScalingGroupName: + type: string + MaxGroupPreparedCapacity: + type: integer + MinSize: + type: integer + PoolState: + type: string + InstanceReusePolicy: + $ref: '#/components/schemas/InstanceReusePolicy' + x-stackQL-stringOnly: true + x-title: CreateWarmPoolRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1938,10 +2392,26 @@ components: x-cfn-type-name: AWS::AutoScaling::AutoScalingGroup x-identifiers: - AutoScalingGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AutoScalingGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AutoScaling::AutoScalingGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1954,7 +2424,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/auto_scaling_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/auto_scaling_groups/methods/delete_resource' config: views: select: @@ -1980,6 +2451,7 @@ components: x-cfn-type-name: AWS::AutoScaling::AutoScalingGroup x-identifiers: - AutoScalingGroupName + x-type: get methods: update_resource: operation: @@ -1993,24 +2465,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AutoScaling::AutoScalingGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/auto_scaling_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/auto_scaling_group/methods/delete_resource' - x-type: get config: views: select: @@ -2098,10 +2555,26 @@ components: x-cfn-type-name: AWS::AutoScaling::LaunchConfiguration x-identifiers: - LaunchConfigurationName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LaunchConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AutoScaling::LaunchConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2114,7 +2587,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/launch_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/launch_configurations/methods/delete_resource' config: views: select: @@ -2140,24 +2614,10 @@ components: x-cfn-type-name: AWS::AutoScaling::LaunchConfiguration x-identifiers: - LaunchConfigurationName - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AutoScaling::LaunchConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/launch_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -2224,10 +2684,26 @@ components: x-identifiers: - AutoScalingGroupName - LifecycleHookName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LifecycleHook&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AutoScaling::LifecycleHook" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2240,7 +2716,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/lifecycle_hooks/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/lifecycle_hooks/methods/delete_resource' config: views: select: @@ -2269,6 +2746,7 @@ components: x-identifiers: - AutoScalingGroupName - LifecycleHookName + x-type: get methods: update_resource: operation: @@ -2282,24 +2760,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AutoScaling::LifecycleHook" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/lifecycle_hook/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/lifecycle_hook/methods/delete_resource' - x-type: get config: views: select: @@ -2343,10 +2806,26 @@ components: x-cfn-type-name: AWS::AutoScaling::ScalingPolicy x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ScalingPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AutoScaling::ScalingPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2359,7 +2838,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/scaling_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/scaling_policies/methods/delete_resource' config: views: select: @@ -2385,6 +2865,7 @@ components: x-cfn-type-name: AWS::AutoScaling::ScalingPolicy x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -2398,24 +2879,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AutoScaling::ScalingPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/scaling_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/scaling_policy/methods/delete_resource' - x-type: get config: views: select: @@ -2470,10 +2936,26 @@ components: x-identifiers: - ScheduledActionName - AutoScalingGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ScheduledAction&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AutoScaling::ScheduledAction" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2486,7 +2968,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/scheduled_actions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/scheduled_actions/methods/delete_resource' config: views: select: @@ -2515,6 +2998,7 @@ components: x-identifiers: - ScheduledActionName - AutoScalingGroupName + x-type: get methods: update_resource: operation: @@ -2528,24 +3012,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AutoScaling::ScheduledAction" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/scheduled_action/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/scheduled_action/methods/delete_resource' - x-type: get config: views: select: @@ -2591,10 +3060,26 @@ components: x-cfn-type-name: AWS::AutoScaling::WarmPool x-identifiers: - AutoScalingGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__WarmPool&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::AutoScaling::WarmPool" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2607,6 +3092,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/warm_pools/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/warm_pools/methods/delete_resource' warm_pool: name: warm_pool id: aws.autoscaling.warm_pool @@ -2614,6 +3101,7 @@ components: x-cfn-type-name: AWS::AutoScaling::WarmPool x-identifiers: - AutoScalingGroupName + x-type: get methods: update_resource: operation: @@ -2627,24 +3115,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::AutoScaling::WarmPool" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/warm_pool/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/warm_pool/methods/delete_resource' - x-type: get config: views: select: @@ -2818,8 +3291,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AutoScalingGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAutoScalingGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAutoScalingGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LaunchConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLaunchConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLaunchConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LifecycleHook&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLifecycleHook + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLifecycleHookRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ScalingPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateScalingPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateScalingPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ScheduledAction&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateScheduledAction + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateScheduledActionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__WarmPool&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateWarmPool + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateWarmPoolRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/b2bi.yaml b/providers/src/aws/v00.00.00000/services/b2bi.yaml index bd2b918a..9cf203b0 100644 --- a/providers/src/aws/v00.00.00000/services/b2bi.yaml +++ b/providers/src/aws/v00.00.00000/services/b2bi.yaml @@ -957,6 +957,245 @@ components: - logs:ListLogDeliveries list: - b2bi:ListTransformers + CreateCapabilityRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CapabilityArn: + type: string + maxLength: 255 + minLength: 1 + CapabilityId: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + Configuration: + $ref: '#/components/schemas/CapabilityConfiguration' + CreatedAt: + type: string + format: date-time + InstructionsDocuments: + type: array + items: + $ref: '#/components/schemas/S3Location' + maxItems: 5 + minItems: 0 + ModifiedAt: + type: string + format: date-time + Name: + type: string + maxLength: 254 + minLength: 1 + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + Type: + $ref: '#/components/schemas/CapabilityType' + x-stackQL-stringOnly: true + x-title: CreateCapabilityRequest + type: object + required: [] + CreatePartnershipRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Capabilities: + type: array + items: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + CreatedAt: + type: string + format: date-time + Email: + type: string + maxLength: 254 + minLength: 5 + pattern: ^[\w\.\-]+@[\w\.\-]+$ + ModifiedAt: + type: string + format: date-time + Name: + type: string + maxLength: 254 + minLength: 1 + PartnershipArn: + type: string + maxLength: 255 + minLength: 1 + PartnershipId: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + Phone: + type: string + maxLength: 22 + minLength: 7 + pattern: ^\+?([0-9 \t\-()\/]{7,})(?:\s*(?:#|x\.?|ext\.?|extension) \t*(\d+))?$ + ProfileId: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + TradingPartnerId: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + x-stackQL-stringOnly: true + x-title: CreatePartnershipRequest + type: object + required: [] + CreateProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + BusinessName: + type: string + maxLength: 254 + minLength: 1 + CreatedAt: + type: string + format: date-time + Email: + type: string + maxLength: 254 + minLength: 5 + pattern: ^[\w\.\-]+@[\w\.\-]+$ + LogGroupName: + type: string + maxLength: 512 + minLength: 1 + Logging: + $ref: '#/components/schemas/Logging' + ModifiedAt: + type: string + format: date-time + Name: + type: string + maxLength: 254 + minLength: 1 + Phone: + type: string + maxLength: 22 + minLength: 7 + pattern: ^\+?([0-9 \t\-()\/]{7,})(?:\s*(?:#|x\.?|ext\.?|extension) \t*(\d+))?$ + ProfileArn: + type: string + maxLength: 255 + minLength: 1 + ProfileId: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-stackQL-stringOnly: true + x-title: CreateProfileRequest + type: object + required: [] + CreateTransformerRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CreatedAt: + type: string + format: date-time + EdiType: + $ref: '#/components/schemas/EdiType' + FileFormat: + $ref: '#/components/schemas/FileFormat' + MappingTemplate: + type: string + maxLength: 350000 + minLength: 0 + ModifiedAt: + type: string + format: date-time + Name: + type: string + maxLength: 254 + minLength: 1 + SampleDocument: + type: string + maxLength: 1024 + minLength: 0 + Status: + $ref: '#/components/schemas/TransformerStatus' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + TransformerArn: + type: string + maxLength: 255 + minLength: 1 + TransformerId: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + x-stackQL-stringOnly: true + x-title: CreateTransformerRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -972,10 +1211,26 @@ components: x-cfn-type-name: AWS::B2BI::Capability x-identifiers: - CapabilityId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Capability&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::B2BI::Capability" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -988,7 +1243,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/capabilities/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/capabilities/methods/delete_resource' config: views: select: @@ -1014,6 +1270,7 @@ components: x-cfn-type-name: AWS::B2BI::Capability x-identifiers: - CapabilityId + x-type: get methods: update_resource: operation: @@ -1027,24 +1284,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::B2BI::Capability" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/capability/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/capability/methods/delete_resource' - x-type: get config: views: select: @@ -1090,10 +1332,26 @@ components: x-cfn-type-name: AWS::B2BI::Partnership x-identifiers: - PartnershipId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Partnership&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::B2BI::Partnership" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1106,7 +1364,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/partnerships/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/partnerships/methods/delete_resource' config: views: select: @@ -1132,6 +1391,7 @@ components: x-cfn-type-name: AWS::B2BI::Partnership x-identifiers: - PartnershipId + x-type: get methods: update_resource: operation: @@ -1145,24 +1405,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::B2BI::Partnership" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/partnership/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/partnership/methods/delete_resource' - x-type: get config: views: select: @@ -1212,10 +1457,26 @@ components: x-cfn-type-name: AWS::B2BI::Profile x-identifiers: - ProfileId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Profile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::B2BI::Profile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1228,7 +1489,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/profiles/methods/delete_resource' config: views: select: @@ -1254,6 +1516,7 @@ components: x-cfn-type-name: AWS::B2BI::Profile x-identifiers: - ProfileId + x-type: get methods: update_resource: operation: @@ -1267,24 +1530,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::B2BI::Profile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/profile/methods/delete_resource' - x-type: get config: views: select: @@ -1334,10 +1582,26 @@ components: x-cfn-type-name: AWS::B2BI::Transformer x-identifiers: - TransformerId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Transformer&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::B2BI::Transformer" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1350,7 +1614,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/transformers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/transformers/methods/delete_resource' config: views: select: @@ -1376,6 +1641,7 @@ components: x-cfn-type-name: AWS::B2BI::Transformer x-identifiers: - TransformerId + x-type: get methods: update_resource: operation: @@ -1389,24 +1655,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::B2BI::Transformer" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/transformer/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/transformer/methods/delete_resource' - x-type: get config: views: select: @@ -1592,8 +1843,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Capability&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCapability + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCapabilityRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Partnership&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePartnership + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePartnershipRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Profile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Transformer&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTransformer + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTransformerRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/backup.yaml b/providers/src/aws/v00.00.00000/services/backup.yaml index 4308d6b5..eff03bd6 100644 --- a/providers/src/aws/v00.00.00000/services/backup.yaml +++ b/providers/src/aws/v00.00.00000/services/backup.yaml @@ -1236,6 +1236,326 @@ components: - backup:GetRestoreTestingSelection list: - backup:ListRestoreTestingSelections + CreateBackupPlanRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + BackupPlan: + $ref: '#/components/schemas/BackupPlanResourceType' + BackupPlanTags: + type: object + additionalProperties: false + x-patternProperties: + ^.{1,128}$: + type: string + BackupPlanArn: + type: string + BackupPlanId: + type: string + VersionId: + type: string + x-stackQL-stringOnly: true + x-title: CreateBackupPlanRequest + type: object + required: [] + CreateBackupSelectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + BackupPlanId: + type: string + BackupSelection: + $ref: '#/components/schemas/BackupSelectionResourceType' + SelectionId: + type: string + x-stackQL-stringOnly: true + x-title: CreateBackupSelectionRequest + type: object + required: [] + CreateBackupVaultRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessPolicy: + type: object + BackupVaultName: + $ref: '#/components/schemas/BackupVaultNamePattern' + BackupVaultTags: + type: object + additionalProperties: false + x-patternProperties: + ^.{1,128}$: + type: string + EncryptionKeyArn: + type: string + Notifications: + $ref: '#/components/schemas/NotificationObjectType' + LockConfiguration: + $ref: '#/components/schemas/LockConfigurationType' + BackupVaultArn: + type: string + x-stackQL-stringOnly: true + x-title: CreateBackupVaultRequest + type: object + required: [] + CreateFrameworkRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FrameworkName: + description: The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_). + type: string + pattern: '[a-zA-Z][_a-zA-Z0-9]*' + minLength: 1 + maxLength: 256 + FrameworkDescription: + description: An optional description of the framework with a maximum 1,024 characters. + type: string + minLength: 0 + maxLength: 1024 + FrameworkArn: + description: An Amazon Resource Name (ARN) that uniquely identifies Framework as a resource + type: string + DeploymentStatus: + description: 'The deployment status of a framework. The statuses are: `CREATE_IN_PROGRESS | UPDATE_IN_PROGRESS | DELETE_IN_PROGRESS | COMPLETED | FAILED`' + type: string + CreationTime: + description: The date and time that a framework is created, in ISO 8601 representation. The value of CreationTime is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC. + type: string + FrameworkControls: + description: Contains detailed information about all of the controls of a framework. Each framework must contain at least one control. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/FrameworkControl' + FrameworkStatus: + type: string + description: |- + A framework consists of one or more controls. Each control governs a resource, such as backup plans, backup selections, backup vaults, or recovery points. You can also turn AWS Config recording on or off for each resource. The statuses are: + + `ACTIVE` when recording is turned on for all resources governed by the framework. + + `PARTIALLY_ACTIVE` when recording is turned off for at least one resource governed by the framework. + + `INACTIVE` when recording is turned off for all resources governed by the framework. + + `UNAVAILABLE` when AWS Backup is unable to validate recording status at this time. + FrameworkTags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + description: Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair. + x-stackQL-stringOnly: true + x-title: CreateFrameworkRequest + type: object + required: [] + CreateReportPlanRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ReportPlanName: + type: string + description: The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_). + minLength: 1 + maxLength: 256 + pattern: '[a-zA-Z][_a-zA-Z0-9]*' + ReportPlanArn: + type: string + description: An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type. + ReportPlanDescription: + type: string + description: An optional description of the report plan with a maximum of 1,024 characters. + minLength: 0 + maxLength: 1024 + pattern: .*\S.* + ReportPlanTags: + description: Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + ReportDeliveryChannel: + type: object + description: A structure that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports. + properties: + Formats: + type: array + description: 'A list of the format of your reports: CSV, JSON, or both. If not specified, the default format is CSV.' + uniqueItems: true + x-insertionOrder: false + items: + type: string + S3BucketName: + type: string + description: The unique name of the S3 bucket that receives your reports. + S3KeyPrefix: + type: string + description: 'The prefix for where AWS Backup Audit Manager delivers your reports to Amazon S3. The prefix is this part of the following path: s3://your-bucket-name/prefix/Backup/us-west-2/year/month/day/report-name. If not specified, there is no prefix.' + additionalProperties: false + required: + - S3BucketName + ReportSetting: + type: object + description: Identifies the report template for the report. Reports are built using a report template. + properties: + ReportTemplate: + type: string + description: 'Identifies the report template for the report. Reports are built using a report template. The report templates are: `BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT`' + FrameworkArns: + type: array + description: The Amazon Resource Names (ARNs) of the frameworks a report covers. + x-insertionOrder: false + uniqueItems: true + items: + type: string + Accounts: + type: array + description: The list of AWS accounts that a report covers. + x-insertionOrder: false + uniqueItems: true + items: + type: string + OrganizationUnits: + type: array + description: The list of AWS organization units that a report covers. + x-insertionOrder: false + uniqueItems: true + items: + type: string + Regions: + type: array + description: The list of AWS regions that a report covers. + x-insertionOrder: false + uniqueItems: true + items: + type: string + additionalProperties: false + required: + - ReportTemplate + x-stackQL-stringOnly: true + x-title: CreateReportPlanRequest + type: object + required: [] + CreateRestoreTestingPlanRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RecoveryPointSelection: + $ref: '#/components/schemas/RestoreTestingRecoveryPointSelection' + RestoreTestingPlanArn: + type: string + RestoreTestingPlanName: + type: string + ScheduleExpression: + type: string + ScheduleExpressionTimezone: + type: string + StartWindowHours: + type: integer + Tags: + items: + $ref: '#/components/schemas/Tag' + type: array + x-insertionOrder: false + uniqueItems: true + x-stackQL-stringOnly: true + x-title: CreateRestoreTestingPlanRequest + type: object + required: [] + CreateRestoreTestingSelectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + IamRoleArn: + type: string + ProtectedResourceArns: + type: array + x-insertionOrder: false + items: + type: string + ProtectedResourceConditions: + $ref: '#/components/schemas/ProtectedResourceConditions' + ProtectedResourceType: + type: string + RestoreMetadataOverrides: + $ref: '#/components/schemas/SensitiveStringMap' + RestoreTestingPlanName: + type: string + RestoreTestingSelectionName: + type: string + ValidationWindowHours: + type: integer + x-stackQL-stringOnly: true + x-title: CreateRestoreTestingSelectionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1251,10 +1571,26 @@ components: x-cfn-type-name: AWS::Backup::BackupPlan x-identifiers: - BackupPlanId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BackupPlan&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Backup::BackupPlan" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1267,7 +1603,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/backup_plans/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/backup_plans/methods/delete_resource' config: views: select: @@ -1293,6 +1630,7 @@ components: x-cfn-type-name: AWS::Backup::BackupPlan x-identifiers: - BackupPlanId + x-type: get methods: update_resource: operation: @@ -1306,24 +1644,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Backup::BackupPlan" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/backup_plan/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/backup_plan/methods/delete_resource' - x-type: get config: views: select: @@ -1361,10 +1684,26 @@ components: x-cfn-type-name: AWS::Backup::BackupSelection x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BackupSelection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Backup::BackupSelection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1377,7 +1716,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/backup_selections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/backup_selections/methods/delete_resource' config: views: select: @@ -1403,24 +1743,10 @@ components: x-cfn-type-name: AWS::Backup::BackupSelection x-identifiers: - Id - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Backup::BackupSelection" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/backup_selection/methods/delete_resource' - x-type: get config: views: select: @@ -1456,10 +1782,26 @@ components: x-cfn-type-name: AWS::Backup::BackupVault x-identifiers: - BackupVaultName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BackupVault&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Backup::BackupVault" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1472,7 +1814,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/backup_vaults/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/backup_vaults/methods/delete_resource' config: views: select: @@ -1498,6 +1841,7 @@ components: x-cfn-type-name: AWS::Backup::BackupVault x-identifiers: - BackupVaultName + x-type: get methods: update_resource: operation: @@ -1511,24 +1855,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Backup::BackupVault" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/backup_vault/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/backup_vault/methods/delete_resource' - x-type: get config: views: select: @@ -1570,10 +1899,14 @@ components: x-cfn-type-name: AWS::Backup::Framework x-identifiers: - FrameworkArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Framework&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1583,14 +1916,27 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/frameworks/methods/create_resource' - x-type: list - config: - views: - select: - predicate: sqlDialect == "sqlite3" + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Backup::Framework" + } + response: + mediaType: application/json + openAPIDocKey: '200' + sqlVerbs: + insert: + - $ref: '#/components/x-stackQL-resources/frameworks/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/frameworks/methods/delete_resource' + config: + views: + select: + predicate: sqlDialect == "sqlite3" ddl: |- SELECT region, @@ -1612,6 +1958,7 @@ components: x-cfn-type-name: AWS::Backup::Framework x-identifiers: - FrameworkArn + x-type: get methods: update_resource: operation: @@ -1625,24 +1972,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Backup::Framework" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/framework/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/framework/methods/delete_resource' - x-type: get config: views: select: @@ -1686,10 +2018,26 @@ components: x-cfn-type-name: AWS::Backup::ReportPlan x-identifiers: - ReportPlanArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ReportPlan&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Backup::ReportPlan" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1702,7 +2050,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/report_plans/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/report_plans/methods/delete_resource' config: views: select: @@ -1728,6 +2077,7 @@ components: x-cfn-type-name: AWS::Backup::ReportPlan x-identifiers: - ReportPlanArn + x-type: get methods: update_resource: operation: @@ -1741,24 +2091,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Backup::ReportPlan" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/report_plan/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/report_plan/methods/delete_resource' - x-type: get config: views: select: @@ -1798,10 +2133,26 @@ components: x-cfn-type-name: AWS::Backup::RestoreTestingPlan x-identifiers: - RestoreTestingPlanName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RestoreTestingPlan&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Backup::RestoreTestingPlan" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1814,7 +2165,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/restore_testing_plans/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/restore_testing_plans/methods/delete_resource' config: views: select: @@ -1840,6 +2192,7 @@ components: x-cfn-type-name: AWS::Backup::RestoreTestingPlan x-identifiers: - RestoreTestingPlanName + x-type: get methods: update_resource: operation: @@ -1853,24 +2206,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Backup::RestoreTestingPlan" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/restore_testing_plan/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/restore_testing_plan/methods/delete_resource' - x-type: get config: views: select: @@ -1913,10 +2251,26 @@ components: x-identifiers: - RestoreTestingPlanName - RestoreTestingSelectionName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RestoreTestingSelection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Backup::RestoreTestingSelection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1929,7 +2283,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/restore_testing_selections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/restore_testing_selections/methods/delete_resource' config: views: select: @@ -1958,6 +2313,7 @@ components: x-identifiers: - RestoreTestingPlanName - RestoreTestingSelectionName + x-type: get methods: update_resource: operation: @@ -1971,24 +2327,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Backup::RestoreTestingSelection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/restore_testing_selection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/restore_testing_selection/methods/delete_resource' - x-type: get config: views: select: @@ -2168,8 +2509,304 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__BackupPlan&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBackupPlan + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBackupPlanRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__BackupSelection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBackupSelection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBackupSelectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__BackupVault&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBackupVault + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBackupVaultRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Framework&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFramework + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFrameworkRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ReportPlan&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateReportPlan + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateReportPlanRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RestoreTestingPlan&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRestoreTestingPlan + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRestoreTestingPlanRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RestoreTestingSelection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRestoreTestingSelection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRestoreTestingSelectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/backupgateway.yaml b/providers/src/aws/v00.00.00000/services/backupgateway.yaml index d52151d9..b4652f79 100644 --- a/providers/src/aws/v00.00.00000/services/backupgateway.yaml +++ b/providers/src/aws/v00.00.00000/services/backupgateway.yaml @@ -505,6 +505,62 @@ components: - backup-gateway:ListHypervisors list: - backup-gateway:ListHypervisors + CreateHypervisorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Host: + type: string + maxLength: 128 + minLength: 3 + pattern: ^.+$ + HypervisorArn: + type: string + maxLength: 500 + minLength: 50 + pattern: ^arn:(aws|aws-cn|aws-us-gov):backup-gateway(:[a-zA-Z-0-9]+){3}\/[a-zA-Z-0-9]+$ + KmsKeyArn: + type: string + maxLength: 500 + minLength: 50 + pattern: ^(^arn:(aws|aws-cn|aws-us-gov):kms:([a-zA-Z0-9-]+):([0-9]+):(key|alias)/(\S+)$)|(^alias/(\S+)$)$ + LogGroupArn: + type: string + maxLength: 2048 + minLength: 0 + pattern: ^$|^arn:(aws|aws-cn|aws-us-gov):logs:([a-zA-Z0-9-]+):([0-9]+):log-group:[a-zA-Z0-9_\-\/\.]+:\*$ + Name: + type: string + maxLength: 100 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ + Password: + type: string + maxLength: 100 + minLength: 1 + pattern: ^[ -~]+$ + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + Username: + type: string + maxLength: 100 + minLength: 1 + pattern: ^[ -\.0-\[\]-~]*[!-\.0-\[\]-~][ -\.0-\[\]-~]*$ + x-stackQL-stringOnly: true + x-title: CreateHypervisorRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -520,10 +576,26 @@ components: x-cfn-type-name: AWS::BackupGateway::Hypervisor x-identifiers: - HypervisorArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Hypervisor&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::BackupGateway::Hypervisor" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -536,7 +608,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/hypervisors/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/hypervisors/methods/delete_resource' config: views: select: @@ -562,6 +635,7 @@ components: x-cfn-type-name: AWS::BackupGateway::Hypervisor x-identifiers: - HypervisorArn + x-type: get methods: update_resource: operation: @@ -575,24 +649,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::BackupGateway::Hypervisor" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/hypervisor/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/hypervisor/methods/delete_resource' - x-type: get config: views: select: @@ -772,8 +831,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Hypervisor&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateHypervisor + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateHypervisorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/batch.yaml b/providers/src/aws/v00.00.00000/services/batch.yaml index 472f5c87..7e4edc10 100644 --- a/providers/src/aws/v00.00.00000/services/batch.yaml +++ b/providers/src/aws/v00.00.00000/services/batch.yaml @@ -792,6 +792,136 @@ components: list: - Batch:ListSchedulingPolicies - Batch:DescribeSchedulingPolicies + CreateComputeEnvironmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ComputeEnvironmentArn: + type: string + ComputeEnvironmentName: + type: string + ComputeResources: + $ref: '#/components/schemas/ComputeResources' + ReplaceComputeEnvironment: + type: boolean + default: true + ServiceRole: + type: string + State: + type: string + Tags: + type: object + description: A key-value pair to associate with a resource. + x-patternProperties: + .*: + type: string + additionalProperties: false + Type: + type: string + UpdatePolicy: + $ref: '#/components/schemas/UpdatePolicy' + UnmanagedvCpus: + type: integer + EksConfiguration: + $ref: '#/components/schemas/EksConfiguration' + x-stackQL-stringOnly: true + x-title: CreateComputeEnvironmentRequest + type: object + required: [] + CreateJobQueueRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + JobQueueName: + type: string + minLength: 1 + maxLength: 128 + JobQueueArn: + $ref: '#/components/schemas/ResourceArn' + ComputeEnvironmentOrder: + type: array + x-insertionOrder: true + uniqueItems: false + items: + $ref: '#/components/schemas/ComputeEnvironmentOrder' + JobStateTimeLimitActions: + type: array + x-insertionOrder: true + uniqueItems: false + items: + $ref: '#/components/schemas/JobStateTimeLimitAction' + Priority: + type: integer + minimum: 0 + maximum: 1000 + State: + type: string + enum: + - DISABLED + - ENABLED + SchedulingPolicyArn: + $ref: '#/components/schemas/ResourceArn' + Tags: + type: object + description: A key-value pair to associate with a resource. + x-patternProperties: + .*: + type: string + additionalProperties: false + x-stackQL-stringOnly: true + x-title: CreateJobQueueRequest + type: object + required: [] + CreateSchedulingPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Name of Scheduling Policy. + type: string + pattern: '' + Arn: + $ref: '#/components/schemas/ResourceArn' + FairsharePolicy: + $ref: '#/components/schemas/FairsharePolicy' + Tags: + type: object + description: A key-value pair to associate with a resource. + x-patternProperties: + .*: + type: string + additionalProperties: false + x-stackQL-stringOnly: true + x-title: CreateSchedulingPolicyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -807,10 +937,26 @@ components: x-cfn-type-name: AWS::Batch::ComputeEnvironment x-identifiers: - ComputeEnvironmentArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ComputeEnvironment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Batch::ComputeEnvironment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -823,7 +969,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/compute_environments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/compute_environments/methods/delete_resource' config: views: select: @@ -849,6 +996,7 @@ components: x-cfn-type-name: AWS::Batch::ComputeEnvironment x-identifiers: - ComputeEnvironmentArn + x-type: get methods: update_resource: operation: @@ -862,24 +1010,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Batch::ComputeEnvironment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/compute_environment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/compute_environment/methods/delete_resource' - x-type: get config: views: select: @@ -929,10 +1062,26 @@ components: x-cfn-type-name: AWS::Batch::JobQueue x-identifiers: - JobQueueArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__JobQueue&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Batch::JobQueue" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -945,7 +1094,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/job_queues/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/job_queues/methods/delete_resource' config: views: select: @@ -971,6 +1121,7 @@ components: x-cfn-type-name: AWS::Batch::JobQueue x-identifiers: - JobQueueArn + x-type: get methods: update_resource: operation: @@ -984,24 +1135,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Batch::JobQueue" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/job_queue/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/job_queue/methods/delete_resource' - x-type: get config: views: select: @@ -1045,10 +1181,26 @@ components: x-cfn-type-name: AWS::Batch::SchedulingPolicy x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SchedulingPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Batch::SchedulingPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1061,7 +1213,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/scheduling_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/scheduling_policies/methods/delete_resource' config: views: select: @@ -1087,6 +1240,7 @@ components: x-cfn-type-name: AWS::Batch::SchedulingPolicy x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1100,24 +1254,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Batch::SchedulingPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/scheduling_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/scheduling_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1289,8 +1428,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ComputeEnvironment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateComputeEnvironment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateComputeEnvironmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__JobQueue&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateJobQueue + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateJobQueueRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SchedulingPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSchedulingPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSchedulingPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/bcmdataexports.yaml b/providers/src/aws/v00.00.00000/services/bcmdataexports.yaml index 3688e2e6..91c3ba16 100644 --- a/providers/src/aws/v00.00.00000/services/bcmdataexports.yaml +++ b/providers/src/aws/v00.00.00000/services/bcmdataexports.yaml @@ -568,6 +568,36 @@ components: minLength: 0 pattern: ^[\S\s]*$ additionalProperties: false + CreateExportRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Export: + $ref: '#/components/schemas/Export' + ExportArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:aws[-a-z0-9]*:[-a-z0-9]+:[-a-z0-9]*:[0-9]{12}:[-a-zA-Z0-9/:_]+$ + Tags: + type: array + items: + $ref: '#/components/schemas/ResourceTag' + maxItems: 200 + minItems: 0 + x-stackQL-stringOnly: true + x-title: CreateExportRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -583,10 +613,26 @@ components: x-cfn-type-name: AWS::BCMDataExports::Export x-identifiers: - ExportArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Export&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::BCMDataExports::Export" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -599,7 +645,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/exports/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/exports/methods/delete_resource' config: views: select: @@ -625,6 +672,7 @@ components: x-cfn-type-name: AWS::BCMDataExports::Export x-identifiers: - ExportArn + x-type: get methods: update_resource: operation: @@ -638,24 +686,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::BCMDataExports::Export" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/export/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/export/methods/delete_resource' - x-type: get config: views: select: @@ -825,8 +858,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Export&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateExport + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateExportRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/bedrock.yaml b/providers/src/aws/v00.00.00000/services/bedrock.yaml index f3f68e84..2681b7b3 100644 --- a/providers/src/aws/v00.00.00000/services/bedrock.yaml +++ b/providers/src/aws/v00.00.00000/services/bedrock.yaml @@ -1485,6 +1485,307 @@ components: - bedrock:ListDataSources list: - bedrock:ListKnowledgeBases + CreateAgentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ActionGroups: + type: array + items: + $ref: '#/components/schemas/AgentActionGroup' + description: List of ActionGroups + x-insertionOrder: false + AgentArn: + type: string + maxLength: 2048 + pattern: ^arn:aws(|-cn|-us-gov):bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent/[0-9a-zA-Z]{10}$ + description: Arn representation of the Agent. + AgentId: + type: string + pattern: ^[0-9a-zA-Z]{10}$ + description: Identifier for a resource. + AgentName: + type: string + pattern: ^([0-9a-zA-Z][_-]?){1,100}$ + description: Name for a resource. + AgentResourceRoleArn: + type: string + maxLength: 2048 + pattern: ^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/(service-role/)?AmazonBedrockExecutionRoleForAgents.+$ + description: ARN of a IAM role. + AgentStatus: + $ref: '#/components/schemas/AgentStatus' + AgentVersion: + type: string + maxLength: 5 + minLength: 5 + pattern: ^DRAFT$ + description: Draft Agent Version. + AutoPrepare: + description: Specifies whether to automatically prepare after creating or updating the agent. + type: boolean + default: false + CreatedAt: + type: string + description: Time Stamp. + format: date-time + CustomerEncryptionKeyArn: + type: string + maxLength: 2048 + minLength: 1 + pattern: ^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$ + description: A KMS key ARN + SkipResourceInUseCheckOnDelete: + description: Specifies whether to allow deleting agent while it is in use. + type: boolean + default: false + Description: + type: string + maxLength: 200 + minLength: 1 + description: Description of the Resource. + FailureReasons: + type: array + items: + type: string + maxLength: 2048 + description: Failure Reason for Error. + maxItems: 2048 + description: Failure Reasons for Error. + x-insertionOrder: false + FoundationModel: + type: string + maxLength: 2048 + minLength: 1 + pattern: ^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)$ + description: ARN or name of a Bedrock model. + IdleSessionTTLInSeconds: + type: number + maximum: 3600 + minimum: 60 + description: Max Session Time. + Instruction: + type: string + maxLength: 1200 + minLength: 40 + description: Instruction for the agent. + KnowledgeBases: + type: array + items: + $ref: '#/components/schemas/AgentKnowledgeBase' + description: List of Agent Knowledge Bases + x-insertionOrder: false + PreparedAt: + type: string + description: Time Stamp. + format: date-time + PromptOverrideConfiguration: + $ref: '#/components/schemas/PromptOverrideConfiguration' + RecommendedActions: + type: array + items: + type: string + maxLength: 2048 + description: The recommended action users can take to resolve an error in failureReasons. + maxItems: 2048 + description: The recommended actions users can take to resolve an error in failureReasons. + x-insertionOrder: false + Tags: + $ref: '#/components/schemas/TagsMap' + UpdatedAt: + type: string + description: Time Stamp. + format: date-time + x-stackQL-stringOnly: true + x-title: CreateAgentRequest + type: object + required: [] + CreateAgentAliasRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AgentAliasArn: + type: string + maxLength: 2048 + pattern: ^arn:aws(|-cn|-us-gov):bedrock:[a-z0-9-]{1,20}:[0-9]{12}:agent-alias/[0-9a-zA-Z]{10}/[0-9a-zA-Z]{10}$ + description: Arn representation of the Agent Alias. + AgentAliasHistoryEvents: + type: array + items: + $ref: '#/components/schemas/AgentAliasHistoryEvent' + maxItems: 10 + description: The list of history events for an alias for an Agent. + x-insertionOrder: false + AgentAliasId: + type: string + maxLength: 10 + minLength: 10 + pattern: ^(\bTSTALIASID\b|[0-9a-zA-Z]+)$ + description: Id for an Agent Alias generated at the server side. + AgentAliasName: + type: string + pattern: ^([0-9a-zA-Z][_-]?){1,100}$ + description: Name for a resource. + AgentAliasStatus: + $ref: '#/components/schemas/AgentAliasStatus' + AgentId: + type: string + pattern: ^[0-9a-zA-Z]{10}$ + description: Identifier for a resource. + CreatedAt: + type: string + description: Time Stamp. + Description: + type: string + maxLength: 200 + minLength: 1 + description: Description of the Resource. + RoutingConfiguration: + type: array + items: + $ref: '#/components/schemas/AgentAliasRoutingConfigurationListItem' + maxItems: 1 + description: Routing configuration for an Agent alias. + x-insertionOrder: false + Tags: + $ref: '#/components/schemas/TagsMap' + UpdatedAt: + type: string + description: Time Stamp. + x-stackQL-stringOnly: true + x-title: CreateAgentAliasRequest + type: object + required: [] + CreateDataSourceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DataSourceConfiguration: + $ref: '#/components/schemas/DataSourceConfiguration' + DataSourceId: + type: string + pattern: ^[0-9a-zA-Z]{10}$ + description: Identifier for a resource. + Description: + type: string + maxLength: 200 + minLength: 1 + description: Description of the Resource. + KnowledgeBaseId: + type: string + pattern: ^[0-9a-zA-Z]{10}$ + description: The unique identifier of the knowledge base to which to add the data source. + DataSourceStatus: + $ref: '#/components/schemas/DataSourceStatus' + Name: + type: string + pattern: ^([0-9a-zA-Z][_-]?){1,100}$ + description: The name of the data source. + ServerSideEncryptionConfiguration: + $ref: '#/components/schemas/ServerSideEncryptionConfiguration' + VectorIngestionConfiguration: + $ref: '#/components/schemas/VectorIngestionConfiguration' + CreatedAt: + type: string + description: The time at which the data source was created. + UpdatedAt: + type: string + description: The time at which the knowledge base was last updated. + x-stackQL-stringOnly: true + x-title: CreateDataSourceRequest + type: object + required: [] + CreateKnowledgeBaseRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 200 + minLength: 1 + description: Description of the Resource. + KnowledgeBaseConfiguration: + $ref: '#/components/schemas/KnowledgeBaseConfiguration' + KnowledgeBaseId: + type: string + pattern: ^[0-9a-zA-Z]{10}$ + description: The unique identifier of the knowledge base. + KnowledgeBaseArn: + type: string + maxLength: 128 + minLength: 0 + pattern: ^arn:aws(|-cn|-us-gov):bedrock:[a-zA-Z0-9-]*:[0-9]{12}:knowledge-base/[0-9a-zA-Z]+$ + description: The ARN of the knowledge base. + Name: + type: string + pattern: ^([0-9a-zA-Z][_-]?){1,100}$ + description: The name of the knowledge base. + Status: + $ref: '#/components/schemas/KnowledgeBaseStatus' + RoleArn: + type: string + maxLength: 2048 + pattern: ^arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+$ + description: The ARN of the IAM role with permissions to invoke API operations on the knowledge base. The ARN must begin with AmazonBedrockExecutionRoleForKnowledgeBase_ + CreatedAt: + type: string + description: The time at which the knowledge base was created. + FailureReasons: + type: array + items: + type: string + maxLength: 2048 + description: Failure Reason for Error. + maxItems: 2048 + description: A list of reasons that the API operation on the knowledge base failed. + x-insertionOrder: false + UpdatedAt: + type: string + description: The time at which the knowledge base was last updated. + StorageConfiguration: + $ref: '#/components/schemas/StorageConfiguration' + Tags: + $ref: '#/components/schemas/TagsMap' + x-stackQL-stringOnly: true + x-title: CreateKnowledgeBaseRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1500,10 +1801,26 @@ components: x-cfn-type-name: AWS::Bedrock::Agent x-identifiers: - AgentId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Agent&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Bedrock::Agent" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1516,7 +1833,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/agents/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/agents/methods/delete_resource' config: views: select: @@ -1542,6 +1860,7 @@ components: x-cfn-type-name: AWS::Bedrock::Agent x-identifiers: - AgentId + x-type: get methods: update_resource: operation: @@ -1555,24 +1874,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Bedrock::Agent" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/agent/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/agent/methods/delete_resource' - x-type: get config: views: select: @@ -1645,10 +1949,26 @@ components: x-identifiers: - AgentId - AgentAliasId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AgentAlias&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Bedrock::AgentAlias" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1661,7 +1981,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/agent_aliases/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/agent_aliases/methods/delete_resource' config: views: select: @@ -1690,6 +2011,7 @@ components: x-identifiers: - AgentId - AgentAliasId + x-type: get methods: update_resource: operation: @@ -1703,24 +2025,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Bedrock::AgentAlias" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/agent_alias/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/agent_alias/methods/delete_resource' - x-type: get config: views: select: @@ -1771,10 +2078,26 @@ components: x-identifiers: - KnowledgeBaseId - DataSourceId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DataSource&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Bedrock::DataSource" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1787,7 +2110,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/data_sources/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/data_sources/methods/delete_resource' config: views: select: @@ -1816,6 +2140,7 @@ components: x-identifiers: - KnowledgeBaseId - DataSourceId + x-type: get methods: update_resource: operation: @@ -1829,24 +2154,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Bedrock::DataSource" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/data_source/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/data_source/methods/delete_resource' - x-type: get config: views: select: @@ -1894,10 +2204,26 @@ components: x-cfn-type-name: AWS::Bedrock::KnowledgeBase x-identifiers: - KnowledgeBaseId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__KnowledgeBase&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Bedrock::KnowledgeBase" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1910,7 +2236,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/knowledge_bases/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/knowledge_bases/methods/delete_resource' config: views: select: @@ -1936,6 +2263,7 @@ components: x-cfn-type-name: AWS::Bedrock::KnowledgeBase x-identifiers: - KnowledgeBaseId + x-type: get methods: update_resource: operation: @@ -1949,24 +2277,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Bedrock::KnowledgeBase" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/knowledge_base/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/knowledge_base/methods/delete_resource' - x-type: get config: views: select: @@ -2154,8 +2467,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Agent&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAgent + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAgentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AgentAlias&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAgentAlias + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAgentAliasRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DataSource&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataSource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDataSourceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__KnowledgeBase&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateKnowledgeBase + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateKnowledgeBaseRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/billingconductor.yaml b/providers/src/aws/v00.00.00000/services/billingconductor.yaml index a37b7566..2f04911b 100644 --- a/providers/src/aws/v00.00.00000/services/billingconductor.yaml +++ b/providers/src/aws/v00.00.00000/services/billingconductor.yaml @@ -967,6 +967,274 @@ components: list: - billingconductor:ListPricingRules - billingconductor:ListTagsForResource + CreateBillingGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: Billing Group ARN + type: string + pattern: arn:aws(-cn)?:billingconductor::[0-9]{12}:billinggroup/?[0-9]{12} + Name: + type: string + minLength: 1 + maxLength: 128 + pattern: '[a-zA-Z0-9_\+=\.\-@]+' + Description: + type: string + maxLength: 1024 + PrimaryAccountId: + description: This account will act as a virtual payer account of the billing group + type: string + pattern: '[0-9]{12}' + ComputationPreference: + $ref: '#/components/schemas/ComputationPreference' + AccountGrouping: + $ref: '#/components/schemas/AccountGrouping' + Size: + description: Number of accounts in the billing group + type: integer + Status: + $ref: '#/components/schemas/BillingGroupStatus' + StatusReason: + type: string + CreationTime: + description: Creation timestamp in UNIX epoch time format + type: integer + LastModifiedTime: + description: Latest modified timestamp in UNIX epoch time format + type: integer + Tags: + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateBillingGroupRequest + type: object + required: [] + CreateCustomLineItemRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + type: string + minLength: 1 + maxLength: 128 + pattern: '[a-zA-Z0-9_\+=\.\-@]+' + Description: + type: string + maxLength: 255 + CustomLineItemChargeDetails: + $ref: '#/components/schemas/CustomLineItemChargeDetails' + BillingGroupArn: + description: Billing Group ARN + type: string + pattern: arn:aws(-cn)?:billingconductor::[0-9]{12}:billinggroup/?[0-9]{12} + BillingPeriodRange: + $ref: '#/components/schemas/BillingPeriodRange' + Arn: + description: ARN + type: string + pattern: (arn:aws(-cn)?:billingconductor::[0-9]{12}:customlineitem/)?[a-zA-Z0-9]{10} + CreationTime: + description: Creation timestamp in UNIX epoch time format + type: integer + LastModifiedTime: + description: Latest modified timestamp in UNIX epoch time format + type: integer + AssociationSize: + description: Number of source values associated to this custom line item + type: integer + ProductCode: + type: string + minLength: 1 + maxLength: 29 + CurrencyCode: + type: string + enum: + - USD + - CNY + AccountId: + type: string + description: The account which this custom line item will be charged to + pattern: '[0-9]{12}' + Tags: + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateCustomLineItemRequest + type: object + required: [] + CreatePricingPlanRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: Pricing Plan ARN + type: string + pattern: arn:aws(-cn)?:billingconductor::[0-9]{12}:pricingplan/[a-zA-Z0-9]{10} + Name: + type: string + minLength: 1 + maxLength: 128 + pattern: '[a-zA-Z0-9_\+=\.\-@]+' + PricingRuleArns: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/PricingRuleArn' + Size: + type: integer + description: Number of associated pricing rules + Description: + type: string + maxLength: 1024 + CreationTime: + description: Creation timestamp in UNIX epoch time format + type: integer + LastModifiedTime: + description: Latest modified timestamp in UNIX epoch time format + type: integer + Tags: + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreatePricingPlanRequest + type: object + required: [] + CreatePricingRuleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: Pricing rule ARN + type: string + pattern: arn:aws(-cn)?:billingconductor::[0-9]{12}:pricingrule/[a-zA-Z0-9]{10} + Name: + description: Pricing rule name + type: string + minLength: 1 + maxLength: 128 + pattern: '[a-zA-Z0-9_\+=\.\-@]+' + Description: + description: Pricing rule description + type: string + maxLength: 1024 + Scope: + description: A term used to categorize the granularity of a Pricing Rule. + type: string + enum: + - GLOBAL + - SERVICE + - BILLING_ENTITY + - SKU + Type: + description: One of MARKUP, DISCOUNT or TIERING that describes the behaviour of the pricing rule. + type: string + enum: + - MARKUP + - DISCOUNT + - TIERING + ModifierPercentage: + description: Pricing rule modifier percentage + type: number + minimum: 0 + Service: + description: The service which a pricing rule is applied on + type: string + minLength: 1 + maxLength: 128 + pattern: '[a-zA-Z0-9\.\-]+' + BillingEntity: + description: The seller of services provided by AWS, their affiliates, or third-party providers selling services via AWS Marketplaces. Supported billing entities are AWS, AWS Marketplace, and AISPL. + type: string + enum: + - AWS + - AWS Marketplace + - AISPL + Tiering: + description: The set of tiering configurations for the pricing rule. + type: object + additionalProperties: false + properties: + FreeTier: + $ref: '#/components/schemas/FreeTier' + UsageType: + description: The UsageType which a SKU pricing rule is modifying + type: string + minLength: 1 + maxLength: 256 + pattern: ^\S+$ + Operation: + description: The Operation which a SKU pricing rule is modifying + type: string + minLength: 1 + maxLength: 256 + pattern: ^\S+$ + AssociatedPricingPlanCount: + description: The number of pricing plans associated with pricing rule + type: integer + minimum: 0 + CreationTime: + description: Creation timestamp in UNIX epoch time format + type: integer + LastModifiedTime: + description: Latest modified timestamp in UNIX epoch time format + type: integer + Tags: + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreatePricingRuleRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -982,10 +1250,26 @@ components: x-cfn-type-name: AWS::BillingConductor::BillingGroup x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BillingGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::BillingConductor::BillingGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -998,7 +1282,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/billing_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/billing_groups/methods/delete_resource' config: views: select: @@ -1024,6 +1309,7 @@ components: x-cfn-type-name: AWS::BillingConductor::BillingGroup x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1037,24 +1323,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::BillingConductor::BillingGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/billing_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/billing_group/methods/delete_resource' - x-type: get config: views: select: @@ -1106,10 +1377,26 @@ components: x-cfn-type-name: AWS::BillingConductor::CustomLineItem x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CustomLineItem&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::BillingConductor::CustomLineItem" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1122,7 +1409,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/custom_line_items/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/custom_line_items/methods/delete_resource' config: views: select: @@ -1148,6 +1436,7 @@ components: x-cfn-type-name: AWS::BillingConductor::CustomLineItem x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1161,24 +1450,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::BillingConductor::CustomLineItem" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/custom_line_item/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/custom_line_item/methods/delete_resource' - x-type: get config: views: select: @@ -1232,10 +1506,26 @@ components: x-cfn-type-name: AWS::BillingConductor::PricingPlan x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PricingPlan&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::BillingConductor::PricingPlan" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1248,7 +1538,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/pricing_plans/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/pricing_plans/methods/delete_resource' config: views: select: @@ -1274,6 +1565,7 @@ components: x-cfn-type-name: AWS::BillingConductor::PricingPlan x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1287,24 +1579,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::BillingConductor::PricingPlan" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/pricing_plan/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/pricing_plan/methods/delete_resource' - x-type: get config: views: select: @@ -1348,10 +1625,26 @@ components: x-cfn-type-name: AWS::BillingConductor::PricingRule x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PricingRule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::BillingConductor::PricingRule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1364,7 +1657,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/pricing_rules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/pricing_rules/methods/delete_resource' config: views: select: @@ -1390,6 +1684,7 @@ components: x-cfn-type-name: AWS::BillingConductor::PricingRule x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1403,24 +1698,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::BillingConductor::PricingRule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/pricing_rule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/pricing_rule/methods/delete_resource' - x-type: get config: views: select: @@ -1614,8 +1894,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__BillingGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBillingGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBillingGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__CustomLineItem&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCustomLineItem + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCustomLineItemRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PricingPlan&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePricingPlan + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePricingPlanRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PricingRule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePricingRule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePricingRuleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/budgets.yaml b/providers/src/aws/v00.00.00000/services/budgets.yaml index d807c127..46534360 100644 --- a/providers/src/aws/v00.00.00000/services/budgets.yaml +++ b/providers/src/aws/v00.00.00000/services/budgets.yaml @@ -561,6 +561,55 @@ components: list: - budgets:DescribeBudgetActionsForAccount - budgets:DescribeBudgetActionsForBudget + CreateBudgetsActionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ActionId: + type: string + BudgetName: + type: string + NotificationType: + type: string + enum: + - ACTUAL + - FORECASTED + ActionType: + type: string + enum: + - APPLY_IAM_POLICY + - APPLY_SCP_POLICY + - RUN_SSM_DOCUMENTS + ActionThreshold: + $ref: '#/components/schemas/ActionThreshold' + ExecutionRoleArn: + type: string + ApprovalModel: + type: string + enum: + - AUTOMATIC + - MANUAL + Subscribers: + type: array + items: + $ref: '#/components/schemas/Subscriber' + maxItems: 11 + minItems: 1 + Definition: + $ref: '#/components/schemas/Definition' + x-stackQL-stringOnly: true + x-title: CreateBudgetsActionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -577,10 +626,26 @@ components: x-identifiers: - ActionId - BudgetName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BudgetsAction&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Budgets::BudgetsAction" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -593,7 +658,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/budgets_actions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/budgets_actions/methods/delete_resource' config: views: select: @@ -622,6 +688,7 @@ components: x-identifiers: - ActionId - BudgetName + x-type: get methods: update_resource: operation: @@ -635,24 +702,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Budgets::BudgetsAction" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/budgets_action/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/budgets_action/methods/delete_resource' - x-type: get config: views: select: @@ -834,8 +886,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__BudgetsAction&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBudgetsAction + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBudgetsActionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/cassandra.yaml b/providers/src/aws/v00.00.00000/services/cassandra.yaml index 69da6b11..be45e1a8 100644 --- a/providers/src/aws/v00.00.00000/services/cassandra.yaml +++ b/providers/src/aws/v00.00.00000/services/cassandra.yaml @@ -809,6 +809,114 @@ components: - cloudwatch:DescribeAlarms - cloudwatch:GetMetricData - cloudwatch:PutMetricAlarm + CreateKeyspaceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + KeyspaceName: + description: Name for Cassandra keyspace + type: string + pattern: ^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$ + Tags: + type: array + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 50 + ReplicationSpecification: + $ref: '#/components/schemas/ReplicationSpecification' + x-stackQL-stringOnly: true + x-title: CreateKeyspaceRequest + type: object + required: [] + CreateTableRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + KeyspaceName: + description: Name for Cassandra keyspace + type: string + pattern: ^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$ + TableName: + description: Name for Cassandra table + type: string + pattern: ^[a-zA-Z0-9][a-zA-Z0-9_]{1,47}$ + RegularColumns: + description: Non-key columns of the table + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Column' + PartitionKeyColumns: + description: Partition key columns of the table + type: array + minItems: 1 + uniqueItems: true + x-insertionOrder: true + items: + $ref: '#/components/schemas/Column' + ClusteringKeyColumns: + description: Clustering key columns of the table + type: array + uniqueItems: true + x-insertionOrder: true + items: + $ref: '#/components/schemas/ClusteringKeyColumn' + BillingMode: + $ref: '#/components/schemas/BillingMode' + PointInTimeRecoveryEnabled: + description: Indicates whether point in time recovery is enabled (true) or disabled (false) on the table + type: boolean + ClientSideTimestampsEnabled: + description: Indicates whether client side timestamps are enabled (true) or disabled (false) on the table. False by default, once it is enabled it cannot be disabled again. + type: boolean + Tags: + description: An array of key-value pairs to apply to this resource + type: array + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 50 + DefaultTimeToLive: + description: Default TTL (Time To Live) in seconds, where zero is disabled. If the value is greater than zero, TTL is enabled for the entire table and an expiration timestamp is added to each column. + type: integer + minimum: 0 + EncryptionSpecification: + $ref: '#/components/schemas/EncryptionSpecification' + AutoScalingSpecifications: + $ref: '#/components/schemas/AutoScalingSpecification' + ReplicaSpecifications: + type: array + minItems: 1 + uniqueItems: true + x-insertionOrder: true + items: + $ref: '#/components/schemas/ReplicaSpecification' + x-stackQL-stringOnly: true + x-title: CreateTableRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -824,10 +932,26 @@ components: x-cfn-type-name: AWS::Cassandra::Keyspace x-identifiers: - KeyspaceName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Keyspace&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cassandra::Keyspace" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -840,7 +964,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/keyspaces/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/keyspaces/methods/delete_resource' config: views: select: @@ -866,6 +991,7 @@ components: x-cfn-type-name: AWS::Cassandra::Keyspace x-identifiers: - KeyspaceName + x-type: get methods: update_resource: operation: @@ -879,24 +1005,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cassandra::Keyspace" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/keyspace/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/keyspace/methods/delete_resource' - x-type: get config: views: select: @@ -931,10 +1042,26 @@ components: x-identifiers: - KeyspaceName - TableName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Table&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cassandra::Table" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -947,7 +1074,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/tables/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/tables/methods/delete_resource' config: views: select: @@ -976,6 +1104,7 @@ components: x-identifiers: - KeyspaceName - TableName + x-type: get methods: update_resource: operation: @@ -989,24 +1118,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cassandra::Table" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/table/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/table/methods/delete_resource' - x-type: get config: views: select: @@ -1196,8 +1310,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Keyspace&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateKeyspace + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateKeyspaceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Table&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTable + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTableRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/ce.yaml b/providers/src/aws/v00.00.00000/services/ce.yaml index 31b6eb00..dbe592e2 100644 --- a/providers/src/aws/v00.00.00000/services/ce.yaml +++ b/providers/src/aws/v00.00.00000/services/ce.yaml @@ -665,6 +665,179 @@ components: - ce:DeleteCostCategoryDefinition list: - ce:ListCostCategoryDefinitions + CreateAnomalyMonitorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + MonitorArn: + $ref: '#/components/schemas/Arn' + MonitorType: + type: string + enum: + - DIMENSIONAL + - CUSTOM + MonitorName: + description: The name of the monitor. + type: string + pattern: '[\S\s]*' + minLength: 0 + maxLength: 1024 + CreationDate: + description: 'The date when the monitor was created. ' + type: string + minLength: 0 + maxLength: 40 + pattern: (\d{4}-\d{2}-\d{2})(T\d{2}:\d{2}:\d{2}Z)? + LastEvaluatedDate: + description: The date when the monitor last evaluated for anomalies. + type: string + minLength: 0 + maxLength: 40 + pattern: (\d{4}-\d{2}-\d{2})(T\d{2}:\d{2}:\d{2}Z)?|(NOT_EVALUATED_YET) + LastUpdatedDate: + description: The date when the monitor was last updated. + type: string + minLength: 0 + maxLength: 40 + pattern: (\d{4}-\d{2}-\d{2})(T\d{2}:\d{2}:\d{2}Z)? + MonitorDimension: + description: The dimensions to evaluate + type: string + enum: + - SERVICE + MonitorSpecification: + type: string + DimensionalValueCount: + description: The value for evaluated dimensions. + type: integer + minimum: 0 + ResourceTags: + type: array + description: Tags to assign to monitor. + items: + $ref: '#/components/schemas/ResourceTag' + minItems: 0 + maxItems: 200 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateAnomalyMonitorRequest + type: object + required: [] + CreateAnomalySubscriptionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + SubscriptionArn: + $ref: '#/components/schemas/Arn' + SubscriptionName: + description: The name of the subscription. + type: string + pattern: '[\S\s]*' + minLength: 0 + maxLength: 1024 + AccountId: + description: The accountId + type: string + minLength: 0 + maxLength: 1024 + MonitorArnList: + description: A list of cost anomaly monitors. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Arn' + Subscribers: + description: A list of subscriber + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Subscriber' + Threshold: + description: 'The dollar value that triggers a notification if the threshold is exceeded. ' + type: number + minimum: 0 + ThresholdExpression: + description: An Expression object in JSON String format used to specify the anomalies that you want to generate alerts for. + type: string + Frequency: + description: 'The frequency at which anomaly reports are sent over email. ' + type: string + enum: + - DAILY + - IMMEDIATE + - WEEKLY + ResourceTags: + type: array + description: Tags to assign to subscription. + items: + $ref: '#/components/schemas/ResourceTag' + minItems: 0 + maxItems: 200 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateAnomalySubscriptionRequest + type: object + required: [] + CreateCostCategoryRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: Cost category ARN + type: string + pattern: ^arn:aws[-a-z0-9]*:[a-z0-9]+:[-a-z0-9]*:[0-9]{12}:[-a-zA-Z0-9/:_]+$ + EffectiveStart: + $ref: '#/components/schemas/ZonedDateTime' + Name: + type: string + minLength: 1 + maxLength: 50 + RuleVersion: + type: string + enum: + - CostCategoryExpression.v1 + Rules: + type: string + description: JSON array format of Expression in Billing and Cost Management API + SplitChargeRules: + type: string + description: Json array format of CostCategorySplitChargeRule in Billing and Cost Management API + DefaultValue: + type: string + description: The default value for the cost category + minLength: 1 + maxLength: 50 + x-stackQL-stringOnly: true + x-title: CreateCostCategoryRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -680,10 +853,26 @@ components: x-cfn-type-name: AWS::CE::AnomalyMonitor x-identifiers: - MonitorArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AnomalyMonitor&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CE::AnomalyMonitor" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -696,7 +885,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/anomaly_monitors/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/anomaly_monitors/methods/delete_resource' config: views: select: @@ -722,6 +912,7 @@ components: x-cfn-type-name: AWS::CE::AnomalyMonitor x-identifiers: - MonitorArn + x-type: get methods: update_resource: operation: @@ -735,24 +926,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CE::AnomalyMonitor" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/anomaly_monitor/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/anomaly_monitor/methods/delete_resource' - x-type: get config: views: select: @@ -800,10 +976,26 @@ components: x-cfn-type-name: AWS::CE::AnomalySubscription x-identifiers: - SubscriptionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AnomalySubscription&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CE::AnomalySubscription" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -816,7 +1008,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/anomaly_subscriptions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/anomaly_subscriptions/methods/delete_resource' config: views: select: @@ -842,6 +1035,7 @@ components: x-cfn-type-name: AWS::CE::AnomalySubscription x-identifiers: - SubscriptionArn + x-type: get methods: update_resource: operation: @@ -855,24 +1049,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CE::AnomalySubscription" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/anomaly_subscription/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/anomaly_subscription/methods/delete_resource' - x-type: get config: views: select: @@ -918,10 +1097,26 @@ components: x-cfn-type-name: AWS::CE::CostCategory x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CostCategory&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CE::CostCategory" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -934,7 +1129,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/cost_categories/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/cost_categories/methods/delete_resource' config: views: select: @@ -960,6 +1156,7 @@ components: x-cfn-type-name: AWS::CE::CostCategory x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -973,24 +1170,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CE::CostCategory" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cost_category/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cost_category/methods/delete_resource' - x-type: get config: views: select: @@ -1168,8 +1350,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AnomalyMonitor&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAnomalyMonitor + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAnomalyMonitorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AnomalySubscription&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAnomalySubscription + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAnomalySubscriptionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__CostCategory&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCostCategory + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCostCategoryRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/certificatemanager.yaml b/providers/src/aws/v00.00.00000/services/certificatemanager.yaml index 1ca8787e..36141381 100644 --- a/providers/src/aws/v00.00.00000/services/certificatemanager.yaml +++ b/providers/src/aws/v00.00.00000/services/certificatemanager.yaml @@ -425,6 +425,27 @@ components: delete: - acm:GetAccountConfiguration - acm:PutAccountConfiguration + CreateAccountRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ExpiryEventsConfiguration: + $ref: '#/components/schemas/ExpiryEventsConfiguration' + AccountId: + $ref: '#/components/schemas/AccountId' + x-stackQL-stringOnly: true + x-title: CreateAccountRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -440,10 +461,26 @@ components: x-cfn-type-name: AWS::CertificateManager::Account x-identifiers: - AccountId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Account&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CertificateManager::Account" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -456,6 +493,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/accounts/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/accounts/methods/delete_resource' account: name: account id: aws.certificatemanager.account @@ -463,6 +502,7 @@ components: x-cfn-type-name: AWS::CertificateManager::Account x-identifiers: - AccountId + x-type: get methods: update_resource: operation: @@ -476,24 +516,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CertificateManager::Account" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/account/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/account/methods/delete_resource' - x-type: get config: views: select: @@ -661,8 +686,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Account&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccount + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccountRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/chatbot.yaml b/providers/src/aws/v00.00.00000/services/chatbot.yaml index 7d9b0cec..b77917b6 100644 --- a/providers/src/aws/v00.00.00000/services/chatbot.yaml +++ b/providers/src/aws/v00.00.00000/services/chatbot.yaml @@ -569,6 +569,144 @@ components: - chatbot:DeleteSlackChannelConfiguration list: - chatbot:DescribeSlackChannelConfigurations + CreateMicrosoftTeamsChannelConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + TeamId: + description: The id of the Microsoft Teams team + type: string + pattern: ^[0-9A-Fa-f]{8}(?:-[0-9A-Fa-f]{4}){3}-[0-9A-Fa-f]{12}$ + minLength: 36 + maxLength: 36 + TeamsChannelId: + description: The id of the Microsoft Teams channel + type: string + pattern: ^([a-zA-Z0-9-_=+/.,])*%3[aA]([a-zA-Z0-9-_=+/.,])*%40([a-zA-Z0-9-_=+/.,])*$ + minLength: 1 + maxLength: 256 + TeamsTenantId: + description: The id of the Microsoft Teams tenant + type: string + pattern: ^[0-9A-Fa-f]{8}(?:-[0-9A-Fa-f]{4}){3}-[0-9A-Fa-f]{12}$ + minLength: 36 + maxLength: 36 + ConfigurationName: + description: The name of the configuration + type: string + pattern: ^[A-Za-z0-9-_]+$ + minLength: 1 + maxLength: 128 + IamRoleArn: + description: The ARN of the IAM role that defines the permissions for AWS Chatbot + type: string + pattern: ^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + SnsTopicArns: + description: ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications. + type: array + x-insertionOrder: false + items: + type: string + pattern: ^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + LoggingLevel: + description: Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs + type: string + pattern: ^(ERROR|INFO|NONE)$ + default: NONE + Arn: + description: Amazon Resource Name (ARN) of the configuration + type: string + pattern: ^arn:(aws[a-zA-Z-]*)?:chatbot:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + GuardrailPolicies: + description: The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set. + type: array + x-insertionOrder: false + items: + type: string + pattern: ^(^$|arn:aws:iam:[A-Za-z0-9_\/.-]{0,63}:[A-Za-z0-9_\/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_\/+=,@.-]{0,1023})$ + UserRoleRequired: + description: Enables use of a user role requirement in your chat configuration + type: boolean + default: false + x-stackQL-stringOnly: true + x-title: CreateMicrosoftTeamsChannelConfigurationRequest + type: object + required: [] + CreateSlackChannelConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + SlackWorkspaceId: + description: The id of the Slack workspace + type: string + pattern: ^[0-9A-Z]{1,255}$ + minLength: 1 + maxLength: 256 + SlackChannelId: + description: The id of the Slack channel + type: string + pattern: ^[A-Za-z0-9]+$ + minLength: 1 + maxLength: 256 + ConfigurationName: + description: The name of the configuration + type: string + pattern: ^[A-Za-z0-9-_]+$ + minLength: 1 + maxLength: 128 + IamRoleArn: + description: The ARN of the IAM role that defines the permissions for AWS Chatbot + type: string + pattern: ^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + SnsTopicArns: + description: ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications. + type: array + x-insertionOrder: false + items: + type: string + pattern: ^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + LoggingLevel: + description: Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs + type: string + pattern: ^(ERROR|INFO|NONE)$ + default: NONE + Arn: + description: Amazon Resource Name (ARN) of the configuration + type: string + pattern: ^arn:(aws[a-zA-Z-]*)?:chatbot:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + GuardrailPolicies: + description: The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set. + type: array + x-insertionOrder: false + items: + type: string + pattern: ^(^$|arn:aws:iam:[A-Za-z0-9_\/.-]{0,63}:[A-Za-z0-9_\/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_\/+=,@.-]{0,1023})$ + UserRoleRequired: + description: Enables use of a user role requirement in your chat configuration + type: boolean + default: false + x-stackQL-stringOnly: true + x-title: CreateSlackChannelConfigurationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -584,10 +722,26 @@ components: x-cfn-type-name: AWS::Chatbot::MicrosoftTeamsChannelConfiguration x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__MicrosoftTeamsChannelConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Chatbot::MicrosoftTeamsChannelConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -600,7 +754,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/microsoft_teams_channel_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/microsoft_teams_channel_configurations/methods/delete_resource' config: views: select: @@ -626,6 +781,7 @@ components: x-cfn-type-name: AWS::Chatbot::MicrosoftTeamsChannelConfiguration x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -639,24 +795,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Chatbot::MicrosoftTeamsChannelConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/microsoft_teams_channel_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/microsoft_teams_channel_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -704,10 +845,26 @@ components: x-cfn-type-name: AWS::Chatbot::SlackChannelConfiguration x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SlackChannelConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Chatbot::SlackChannelConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -720,7 +877,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/slack_channel_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/slack_channel_configurations/methods/delete_resource' config: views: select: @@ -746,6 +904,7 @@ components: x-cfn-type-name: AWS::Chatbot::SlackChannelConfiguration x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -759,24 +918,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Chatbot::SlackChannelConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/slack_channel_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/slack_channel_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -958,8 +1102,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__MicrosoftTeamsChannelConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMicrosoftTeamsChannelConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMicrosoftTeamsChannelConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SlackChannelConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSlackChannelConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSlackChannelConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/cleanrooms.yaml b/providers/src/aws/v00.00.00000/services/cleanrooms.yaml index 1d613541..d3ad03a1 100644 --- a/providers/src/aws/v00.00.00000/services/cleanrooms.yaml +++ b/providers/src/aws/v00.00.00000/services/cleanrooms.yaml @@ -1581,6 +1581,372 @@ components: - cleanrooms:UntagResource list: - cleanrooms:ListPrivacyBudgetTemplates + CreateAnalysisTemplateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 200 + CollaborationArn: + type: string + maxLength: 100 + CollaborationIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + Tags: + description: An arbitrary set of tags (key-value pairs) for this cleanrooms analysis template. + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + type: array + AnalysisParameters: + description: The member who can query can provide this placeholder for a literal data value in an analysis template + x-insertionOrder: false + items: + $ref: '#/components/schemas/AnalysisParameter' + type: array + minItems: 0 + maxItems: 10 + AnalysisTemplateIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + Description: + type: string + maxLength: 255 + pattern: ^[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t\r\n]*$ + MembershipArn: + type: string + maxLength: 100 + MembershipIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + Name: + type: string + maxLength: 128 + pattern: ^[a-zA-Z0-9_](([a-zA-Z0-9_ ]+-)*([a-zA-Z0-9_ ]+))?$ + Schema: + $ref: '#/components/schemas/AnalysisSchema' + Source: + $ref: '#/components/schemas/AnalysisSource' + Format: + type: string + enum: + - SQL + x-stackQL-stringOnly: true + x-title: CreateAnalysisTemplateRequest + type: object + required: [] + CreateCollaborationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 100 + Tags: + description: An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration. + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + uniqueItems: true + type: array + CollaborationIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + CreatorDisplayName: + $ref: '#/components/schemas/Name' + CreatorMemberAbilities: + $ref: '#/components/schemas/MemberAbilities' + DataEncryptionMetadata: + $ref: '#/components/schemas/DataEncryptionMetadata' + Description: + type: string + maxLength: 255 + minLength: 1 + pattern: ^(?!\s*$)[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t\r\n]*$ + Members: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/MemberSpecification' + maxItems: 9 + minItems: 0 + Name: + type: string + maxLength: 100 + minLength: 1 + pattern: ^(?!\s*$)[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t]*$ + QueryLogStatus: + $ref: '#/components/schemas/CollaborationQueryLogStatus' + CreatorPaymentConfiguration: + $ref: '#/components/schemas/PaymentConfiguration' + x-stackQL-stringOnly: true + x-title: CreateCollaborationRequest + type: object + required: [] + CreateConfiguredTableRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 100 + Tags: + description: An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration. + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + uniqueItems: true + type: array + AllowedColumns: + type: array + x-insertionOrder: false + items: + type: string + maxLength: 128 + pattern: ^[a-z0-9_](([a-z0-9_ ]+-)*([a-z0-9_ ]+))?$ + maxItems: 100 + minItems: 1 + AnalysisMethod: + $ref: '#/components/schemas/AnalysisMethod' + ConfiguredTableIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + Description: + type: string + maxLength: 255 + pattern: ^[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t\r\n]*$ + Name: + type: string + maxLength: 100 + minLength: 1 + pattern: ^(?!\s*$)[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t]*$ + AnalysisRules: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/AnalysisRule' + maxItems: 1 + minItems: 1 + TableReference: + $ref: '#/components/schemas/TableReference' + x-stackQL-stringOnly: true + x-title: CreateConfiguredTableRequest + type: object + required: [] + CreateConfiguredTableAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 100 + Tags: + description: An arbitrary set of tags (key-value pairs) for this cleanrooms collaboration. + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + type: array + ConfiguredTableAssociationIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + ConfiguredTableIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + Description: + type: string + maxLength: 255 + pattern: ^[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t\r\n]*$ + MembershipIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + Name: + type: string + maxLength: 128 + pattern: ^[a-zA-Z0-9_](([a-zA-Z0-9_ ]+-)*([a-zA-Z0-9_ ]+))?$ + RoleArn: + type: string + maxLength: 512 + minLength: 32 + x-stackQL-stringOnly: true + x-title: CreateConfiguredTableAssociationRequest + type: object + required: [] + CreateMembershipRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 100 + Tags: + description: An arbitrary set of tags (key-value pairs) for this cleanrooms membership. + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + uniqueItems: true + type: array + CollaborationArn: + type: string + maxLength: 100 + CollaborationCreatorAccountId: + type: string + maxLength: 12 + minLength: 12 + pattern: ^\d+$ + CollaborationIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + MembershipIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + QueryLogStatus: + $ref: '#/components/schemas/MembershipQueryLogStatus' + DefaultResultConfiguration: + $ref: '#/components/schemas/MembershipProtectedQueryResultConfiguration' + PaymentConfiguration: + $ref: '#/components/schemas/MembershipPaymentConfiguration' + x-stackQL-stringOnly: true + x-title: CreateMembershipRequest + type: object + required: [] + CreatePrivacyBudgetTemplateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 200 + CollaborationArn: + type: string + maxLength: 100 + CollaborationIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + PrivacyBudgetTemplateIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + Tags: + description: An arbitrary set of tags (key-value pairs) for this cleanrooms privacy budget template. + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + type: array + AutoRefresh: + type: string + enum: + - CALENDAR_MONTH + - NONE + PrivacyBudgetType: + type: string + enum: + - DIFFERENTIAL_PRIVACY + Parameters: + type: object + additionalProperties: false + properties: + Epsilon: + type: integer + minimum: 1 + maximum: 20 + UsersNoisePerQuery: + type: integer + minimum: 10 + maximum: 100 + required: + - Epsilon + - UsersNoisePerQuery + MembershipArn: + type: string + maxLength: 100 + MembershipIdentifier: + type: string + maxLength: 36 + minLength: 36 + pattern: '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' + x-stackQL-stringOnly: true + x-title: CreatePrivacyBudgetTemplateRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1597,10 +1963,26 @@ components: x-identifiers: - AnalysisTemplateIdentifier - MembershipIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AnalysisTemplate&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CleanRooms::AnalysisTemplate" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1613,7 +1995,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/analysis_templates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/analysis_templates/methods/delete_resource' config: views: select: @@ -1642,6 +2025,7 @@ components: x-identifiers: - AnalysisTemplateIdentifier - MembershipIdentifier + x-type: get methods: update_resource: operation: @@ -1655,24 +2039,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CleanRooms::AnalysisTemplate" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/analysis_template/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/analysis_template/methods/delete_resource' - x-type: get config: views: select: @@ -1726,10 +2095,26 @@ components: x-cfn-type-name: AWS::CleanRooms::Collaboration x-identifiers: - CollaborationIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Collaboration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CleanRooms::Collaboration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1742,7 +2127,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/collaborations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/collaborations/methods/delete_resource' config: views: select: @@ -1768,6 +2154,7 @@ components: x-cfn-type-name: AWS::CleanRooms::Collaboration x-identifiers: - CollaborationIdentifier + x-type: get methods: update_resource: operation: @@ -1781,24 +2168,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CleanRooms::Collaboration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/collaboration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/collaboration/methods/delete_resource' - x-type: get config: views: select: @@ -1848,10 +2220,26 @@ components: x-cfn-type-name: AWS::CleanRooms::ConfiguredTable x-identifiers: - ConfiguredTableIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConfiguredTable&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CleanRooms::ConfiguredTable" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1864,7 +2252,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/configured_tables/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/configured_tables/methods/delete_resource' config: views: select: @@ -1890,6 +2279,7 @@ components: x-cfn-type-name: AWS::CleanRooms::ConfiguredTable x-identifiers: - ConfiguredTableIdentifier + x-type: get methods: update_resource: operation: @@ -1903,24 +2293,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CleanRooms::ConfiguredTable" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/configured_table/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/configured_table/methods/delete_resource' - x-type: get config: views: select: @@ -1967,10 +2342,26 @@ components: x-identifiers: - ConfiguredTableAssociationIdentifier - MembershipIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConfiguredTableAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CleanRooms::ConfiguredTableAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1983,7 +2374,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/configured_table_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/configured_table_associations/methods/delete_resource' config: views: select: @@ -2012,6 +2404,7 @@ components: x-identifiers: - ConfiguredTableAssociationIdentifier - MembershipIdentifier + x-type: get methods: update_resource: operation: @@ -2025,24 +2418,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CleanRooms::ConfiguredTableAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/configured_table_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/configured_table_association/methods/delete_resource' - x-type: get config: views: select: @@ -2086,10 +2464,26 @@ components: x-cfn-type-name: AWS::CleanRooms::Membership x-identifiers: - MembershipIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Membership&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CleanRooms::Membership" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2102,7 +2496,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/memberships/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/memberships/methods/delete_resource' config: views: select: @@ -2128,6 +2523,7 @@ components: x-cfn-type-name: AWS::CleanRooms::Membership x-identifiers: - MembershipIdentifier + x-type: get methods: update_resource: operation: @@ -2141,24 +2537,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CleanRooms::Membership" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/membership/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/membership/methods/delete_resource' - x-type: get config: views: select: @@ -2205,10 +2586,26 @@ components: x-identifiers: - PrivacyBudgetTemplateIdentifier - MembershipIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PrivacyBudgetTemplate&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CleanRooms::PrivacyBudgetTemplate" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2221,7 +2618,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/privacy_budget_templates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/privacy_budget_templates/methods/delete_resource' config: views: select: @@ -2250,6 +2648,7 @@ components: x-identifiers: - PrivacyBudgetTemplateIdentifier - MembershipIdentifier + x-type: get methods: update_resource: operation: @@ -2263,24 +2662,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CleanRooms::PrivacyBudgetTemplate" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/privacy_budget_template/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/privacy_budget_template/methods/delete_resource' - x-type: get config: views: select: @@ -2464,8 +2848,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AnalysisTemplate&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAnalysisTemplate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAnalysisTemplateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Collaboration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCollaboration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCollaborationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ConfiguredTable&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConfiguredTable + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConfiguredTableRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ConfiguredTableAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConfiguredTableAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConfiguredTableAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Membership&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMembership + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMembershipRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PrivacyBudgetTemplate&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePrivacyBudgetTemplate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePrivacyBudgetTemplateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/cleanroomsml.yaml b/providers/src/aws/v00.00.00000/services/cleanroomsml.yaml index 4d908545..20f9aba3 100644 --- a/providers/src/aws/v00.00.00000/services/cleanroomsml.yaml +++ b/providers/src/aws/v00.00.00000/services/cleanroomsml.yaml @@ -572,6 +572,57 @@ components: update: - cleanrooms-ml:TagResource - cleanrooms-ml:UntagResource + CreateTrainingDatasetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 255 + pattern: ^[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t\r\n]*$ + Name: + type: string + maxLength: 63 + minLength: 1 + pattern: ^(?!\s*$)[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\t]*$ + RoleArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:aws[-a-z]*:iam::[0-9]{12}:role/.+$ + Tags: + description: An arbitrary set of tags (key-value pairs) for this cleanrooms-ml training dataset. + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + uniqueItems: true + type: array + TrainingData: + type: array + items: + $ref: '#/components/schemas/Dataset' + maxItems: 1 + minItems: 1 + TrainingDatasetArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:aws[-a-z]*:cleanrooms-ml:[-a-z0-9]+:[0-9]{12}:training-dataset/[-a-zA-Z0-9_/.]+$ + Status: + $ref: '#/components/schemas/TrainingDatasetStatus' + x-stackQL-stringOnly: true + x-title: CreateTrainingDatasetRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -587,10 +638,26 @@ components: x-cfn-type-name: AWS::CleanRoomsML::TrainingDataset x-identifiers: - TrainingDatasetArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TrainingDataset&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CleanRoomsML::TrainingDataset" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -603,7 +670,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/training_datasets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/training_datasets/methods/delete_resource' config: views: select: @@ -629,6 +697,7 @@ components: x-cfn-type-name: AWS::CleanRoomsML::TrainingDataset x-identifiers: - TrainingDatasetArn + x-type: get methods: update_resource: operation: @@ -642,24 +711,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CleanRoomsML::TrainingDataset" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/training_dataset/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/training_dataset/methods/delete_resource' - x-type: get config: views: select: @@ -837,8 +891,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__TrainingDataset&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTrainingDataset + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTrainingDatasetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/cloudformation.yaml b/providers/src/aws/v00.00.00000/services/cloudformation.yaml index 61bc1aab..8dfd18c3 100644 --- a/providers/src/aws/v00.00.00000/services/cloudformation.yaml +++ b/providers/src/aws/v00.00.00000/services/cloudformation.yaml @@ -1561,6 +1561,749 @@ components: - cloudformation:DescribeType list: - cloudformation:ListTypes + CreateHookDefaultVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + TypeVersionArn: + description: The Amazon Resource Name (ARN) of the type version. + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/hook/.+$ + type: string + TypeName: + description: |- + The name of the type being registered. + + We recommend that type names adhere to the following pattern: company_or_organization::service::type. + pattern: ^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$ + type: string + Arn: + description: The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a HookDefaultVersion + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/hook/.+$ + type: string + VersionId: + description: The ID of an existing version of the hook to set as the default. + pattern: ^[A-Za-z0-9-]{1,128}$ + type: string + x-stackQL-stringOnly: true + x-title: CreateHookDefaultVersionRequest + type: object + required: [] + CreateHookTypeConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + TypeArn: + description: The Amazon Resource Name (ARN) of the type without version number. + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/hook/.+$ + type: string + TypeName: + description: |- + The name of the type being registered. + + We recommend that type names adhere to the following pattern: company_or_organization::service::type. + pattern: ^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$ + type: string + ConfigurationArn: + description: The Amazon Resource Name (ARN) for the configuration data, in this account and region. + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type(-configuration)?/hook/.+$ + type: string + Configuration: + description: The configuration data for the extension, in this account and region. + pattern: '[\s\S]+' + type: string + ConfigurationAlias: + description: An alias by which to refer to this extension configuration data. + pattern: ^[a-zA-Z0-9]{1,256}$ + default: default + enum: + - default + type: string + x-stackQL-stringOnly: true + x-title: CreateHookTypeConfigRequest + type: object + required: [] + CreateHookVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the type, here the HookVersion. This is used to uniquely identify a HookVersion resource + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/hook/.+$ + type: string + TypeArn: + description: The Amazon Resource Name (ARN) of the type without the versionID. + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/hook/.+$ + type: string + ExecutionRoleArn: + description: The Amazon Resource Name (ARN) of the IAM execution role to use to register the type. If your resource type calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your resource type with the appropriate credentials. + pattern: arn:.+:iam::[0-9]{12}:role/.+ + maxLength: 256 + type: string + IsDefaultVersion: + description: Indicates if this type version is the current default version + type: boolean + LoggingConfig: + $ref: '#/components/schemas/LoggingConfig' + description: Specifies logging configuration information for a type. + SchemaHandlerPackage: + description: |- + A url to the S3 bucket containing the schema handler package that contains the schema, event handlers, and associated files for the type you want to register. + + For information on generating a schema handler package for the type you want to register, see submit in the CloudFormation CLI User Guide. + maxLength: 4096 + type: string + TypeName: + description: |- + The name of the type being registered. + + We recommend that type names adhere to the following pattern: company_or_organization::service::type. + pattern: ^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$ + type: string + VersionId: + description: The ID of the version of the type represented by this hook instance. + pattern: ^[A-Za-z0-9-]{1,128}$ + type: string + Visibility: + description: |- + The scope at which the type is visible and usable in CloudFormation operations. + + Valid values include: + + PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE. + + PUBLIC: The type is publically visible and usable within any Amazon account. + enum: + - PUBLIC + - PRIVATE + type: string + x-stackQL-stringOnly: true + x-title: CreateHookVersionRequest + type: object + required: [] + CreateModuleDefaultVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the module version to set as the default version. + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/module/.+/[0-9]{8}$ + type: string + ModuleName: + description: The name of a module existing in the registry. + pattern: ^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::MODULE + type: string + VersionId: + description: The ID of an existing version of the named module to set as the default. + pattern: ^[0-9]{8}$ + type: string + x-stackQL-stringOnly: true + x-title: CreateModuleDefaultVersionRequest + type: object + required: [] + CreateModuleVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the module. + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/module/.+$ + type: string + Description: + description: The description of the registered module. + maxLength: 1024 + minLength: 1 + type: string + DocumentationUrl: + description: The URL of a page providing detailed documentation for this module. + maxLength: 4096 + type: string + ModuleName: + description: |- + The name of the module being registered. + + Recommended module naming pattern: company_or_organization::service::type::MODULE. + pattern: ^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::MODULE + type: string + ModulePackage: + description: The url to the S3 bucket containing the schema and template fragment for the module you want to register. + type: string + IsDefaultVersion: + description: Indicator of whether this module version is the current default version + type: boolean + Schema: + description: The schema defining input parameters to and resources generated by the module. + maxLength: 16777216 + minLength: 1 + type: string + TimeCreated: + description: The time that the specified module version was registered. + type: string + VersionId: + description: The version ID of the module represented by this module instance. + pattern: ^[0-9]{8}$ + type: string + Visibility: + description: |- + The scope at which the type is visible and usable in CloudFormation operations. + + The only allowed value at present is: + + PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE. + enum: + - PRIVATE + type: string + x-stackQL-stringOnly: true + x-title: CreateModuleVersionRequest + type: object + required: [] + CreatePublicTypeVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Number (ARN) of the extension. + pattern: arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:[0-9]{12}:type/.+ + type: string + TypeVersionArn: + description: The Amazon Resource Number (ARN) of the extension with the versionId. + pattern: arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:[0-9]{12}:type/.+ + type: string + PublicVersionNumber: + description: The version number of a public third-party extension + type: string + minLength: 5 + maxLength: 64 + PublisherId: + description: The publisher id assigned by CloudFormation for publishing in this region. + pattern: '[0-9a-zA-Z]{40}' + type: string + minLength: 1 + maxLength: 40 + PublicTypeArn: + description: The Amazon Resource Number (ARN) assigned to the public extension upon publication + pattern: arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/.+ + type: string + maxLength: 1024 + TypeName: + description: |- + The name of the type being registered. + + We recommend that type names adhere to the following pattern: company_or_organization::service::type. + pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}(::MODULE){0,1}' + type: string + LogDeliveryBucket: + description: A url to the S3 bucket where logs for the testType run will be available + type: string + Type: + description: The kind of extension + enum: + - RESOURCE + - MODULE + - HOOK + type: string + x-stackQL-stringOnly: true + x-title: CreatePublicTypeVersionRequest + type: object + required: [] + CreatePublisherRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AcceptTermsAndConditions: + description: Whether you accept the terms and conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to publish public extensions to the CloudFormation registry. The terms and conditions can be found at https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf + type: boolean + PublisherId: + description: The publisher id assigned by CloudFormation for publishing in this region. + pattern: '[0-9a-zA-Z]{40}' + type: string + minLength: 1 + maxLength: 40 + ConnectionArn: + description: If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. + type: string + pattern: arn:aws(-[w]+)*:.+:.+:[0-9]{12}:.+ + PublisherStatus: + description: Whether the publisher is verified. + type: string + enum: + - VERIFIED + - UNVERIFIED + PublisherProfile: + description: The URL to the publisher's profile with the identity provider. + pattern: (http:|https:)+[^s]+[w] + type: string + maxLength: 1024 + IdentityProvider: + description: The type of account used as the identity provider when registering this publisher with CloudFormation. + type: string + enum: + - AWS_Marketplace + - GitHub + - Bitbucket + x-stackQL-stringOnly: true + x-title: CreatePublisherRequest + type: object + required: [] + CreateResourceDefaultVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + VersionId: + pattern: ^[A-Za-z0-9-]{1,128}$ + description: The ID of an existing version of the resource to set as the default. + type: string + TypeName: + pattern: ^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$ + description: |- + The name of the type being registered. + + We recommend that type names adhere to the following pattern: company_or_organization::service::type. + type: string + Arn: + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/resource/.+$ + description: The Amazon Resource Name (ARN) of the type. This is used to uniquely identify a ResourceDefaultVersion + type: string + TypeVersionArn: + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/resource/.+$ + description: The Amazon Resource Name (ARN) of the type version. + type: string + x-stackQL-stringOnly: true + x-title: CreateResourceDefaultVersionRequest + type: object + required: [] + CreateResourceVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the type, here the ResourceVersion. This is used to uniquely identify a ResourceVersion resource + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/resource/.+$ + type: string + TypeArn: + description: The Amazon Resource Name (ARN) of the type without the versionID. + pattern: ^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/resource/.+$ + type: string + ExecutionRoleArn: + description: The Amazon Resource Name (ARN) of the IAM execution role to use to register the type. If your resource type calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your resource type with the appropriate credentials. + type: string + IsDefaultVersion: + description: Indicates if this type version is the current default version + type: boolean + LoggingConfig: + $ref: '#/components/schemas/LoggingConfig' + description: Specifies logging configuration information for a type. + ProvisioningType: + description: The provisioning behavior of the type. AWS CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted. + enum: + - NON_PROVISIONABLE + - IMMUTABLE + - FULLY_MUTABLE + type: string + SchemaHandlerPackage: + description: |- + A url to the S3 bucket containing the schema handler package that contains the schema, event handlers, and associated files for the type you want to register. + + For information on generating a schema handler package for the type you want to register, see submit in the CloudFormation CLI User Guide. + type: string + TypeName: + description: |- + The name of the type being registered. + + We recommend that type names adhere to the following pattern: company_or_organization::service::type. + pattern: ^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$ + type: string + VersionId: + description: The ID of the version of the type represented by this resource instance. + pattern: ^[A-Za-z0-9-]{1,128}$ + type: string + Visibility: + description: |- + The scope at which the type is visible and usable in CloudFormation operations. + + Valid values include: + + PRIVATE: The type is only visible and usable within the account in which it is registered. Currently, AWS CloudFormation marks any types you register as PRIVATE. + + PUBLIC: The type is publically visible and usable within any Amazon account. + enum: + - PUBLIC + - PRIVATE + type: string + x-stackQL-stringOnly: true + x-title: CreateResourceVersionRequest + type: object + required: [] + CreateStackRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Capabilities: + type: array + uniqueItems: false + items: + type: string + enum: + - CAPABILITY_IAM + - CAPABILITY_NAMED_IAM + - CAPABILITY_AUTO_EXPAND + RoleARN: + type: string + Outputs: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Output' + Description: + type: string + minLength: 1 + maxLength: 1024 + DisableRollback: + type: boolean + EnableTerminationProtection: + type: boolean + NotificationARNs: + type: array + uniqueItems: false + items: + type: string + maxItems: 5 + Parameters: + type: object + additionalProperties: false + x-patternProperties: + '[a-zA-Z0-9]+': + type: string + ParentId: + type: string + RootId: + type: string + ChangeSetId: + type: string + StackName: + type: string + StackId: + type: string + StackPolicyBody: + type: object + StackPolicyURL: + type: string + StackStatus: + type: string + enum: + - CREATE_IN_PROGRESS + - CREATE_FAILED + - CREATE_COMPLETE + - ROLLBACK_IN_PROGRESS + - ROLLBACK_FAILED + - ROLLBACK_COMPLETE + - DELETE_IN_PROGRESS + - DELETE_FAILED + - DELETE_COMPLETE + - UPDATE_IN_PROGRESS + - UPDATE_COMPLETE_CLEANUP_IN_PROGRESS + - UPDATE_COMPLETE + - UPDATE_FAILED + - UPDATE_ROLLBACK_IN_PROGRESS + - UPDATE_ROLLBACK_FAILED + - UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS + - UPDATE_ROLLBACK_COMPLETE + - REVIEW_IN_PROGRESS + - IMPORT_IN_PROGRESS + - IMPORT_COMPLETE + - IMPORT_ROLLBACK_IN_PROGRESS + - IMPORT_ROLLBACK_FAILED + - IMPORT_ROLLBACK_COMPLETE + StackStatusReason: + type: string + Tags: + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + maxItems: 50 + TemplateBody: + type: object + TemplateURL: + type: string + minLength: 1 + maxLength: 1024 + TimeoutInMinutes: + type: integer + minimum: 1 + LastUpdateTime: + type: string + CreationTime: + type: string + x-stackQL-stringOnly: true + x-title: CreateStackRequest + type: object + required: [] + CreateStackSetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + StackSetName: + description: The name to associate with the stack set. The name must be unique in the Region where you create your stack set. + type: string + pattern: ^[a-zA-Z][a-zA-Z0-9\-]{0,127}$ + maxLength: 128 + StackSetId: + description: The ID of the stack set that you're creating. + type: string + AdministrationRoleARN: + description: The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. + type: string + minLength: 20 + maxLength: 2048 + AutoDeployment: + description: Describes whether StackSets automatically deploys to AWS Organizations accounts that are added to the target organization or organizational unit (OU). Specify only if PermissionModel is SERVICE_MANAGED. + $ref: '#/components/schemas/AutoDeployment' + Capabilities: + description: In some cases, you must explicitly acknowledge that your stack set template contains certain capabilities in order for AWS CloudFormation to create the stack set and related stack instances. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Capability' + Description: + description: A description of the stack set. You can use the description to identify the stack set's purpose or other important information. + type: string + minLength: 1 + maxLength: 1024 + ExecutionRoleName: + description: The name of the IAM execution role to use to create the stack set. If you do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole role for the stack set operation. + type: string + minLength: 1 + maxLength: 64 + OperationPreferences: + $ref: '#/components/schemas/OperationPreferences' + StackInstancesGroup: + description: A group of stack instances with parameters in some specific accounts and regions. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/StackInstances' + Parameters: + description: The input parameters for the stack set template. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Parameter' + PermissionModel: + description: Describes how the IAM roles required for stack set operations are created. By default, SELF-MANAGED is specified. + type: string + enum: + - SERVICE_MANAGED + - SELF_MANAGED + Tags: + description: The key-value pairs to associate with this stack set and the stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified. + type: array + uniqueItems: true + x-insertionOrder: false + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + TemplateBody: + description: The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. + type: string + minLength: 1 + maxLength: 51200 + TemplateURL: + description: 'Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket.' + type: string + minLength: 1 + maxLength: 5120 + CallAs: + description: Specifies the AWS account that you are acting from. By default, SELF is specified. For self-managed permissions, specify SELF; for service-managed permissions, if you are signed in to the organization's management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN. + type: string + enum: + - SELF + - DELEGATED_ADMIN + ManagedExecution: + description: Describes whether StackSets performs non-conflicting operations concurrently and queues conflicting operations. + type: object + properties: + Active: + $ref: '#/components/schemas/Active' + additionalProperties: false + x-stackQL-stringOnly: true + x-title: CreateStackSetRequest + type: object + required: [] + CreateTypeActivationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the extension. + pattern: arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/.+ + type: string + ExecutionRoleArn: + description: The Amazon Resource Name (ARN) of the IAM execution role to use to register the type. If your resource type calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your resource type with the appropriate credentials. + type: string + PublisherId: + description: The publisher id assigned by CloudFormation for publishing in this region. + pattern: '[0-9a-zA-Z]{40}' + type: string + minLength: 1 + maxLength: 40 + LoggingConfig: + $ref: '#/components/schemas/LoggingConfig' + description: Specifies logging configuration information for a type. + PublicTypeArn: + description: The Amazon Resource Number (ARN) assigned to the public extension upon publication + pattern: arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/.+ + type: string + maxLength: 1024 + AutoUpdate: + description: Whether to automatically update the extension in this account and region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. + type: boolean + TypeNameAlias: + description: An alias to assign to the public extension in this account and region. If you specify an alias for the extension, you must then use the alias to refer to the extension in your templates. + pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}(::MODULE){0,1}' + type: string + minLength: 10 + maxLength: 204 + VersionBump: + description: Manually updates a previously-enabled type to a new major or minor version, if available. You can also use this parameter to update the value of AutoUpdateEnabled + type: string + enum: + - MAJOR + - MINOR + MajorVersion: + description: The Major Version of the type you want to enable + type: string + minLength: 1 + maxLength: 100000 + TypeName: + description: |- + The name of the type being registered. + + We recommend that type names adhere to the following pattern: company_or_organization::service::type. + pattern: '[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}(::MODULE){0,1}' + type: string + Type: + description: The kind of extension + enum: + - RESOURCE + - MODULE + - HOOK + type: string + x-stackQL-stringOnly: true + x-title: CreateTypeActivationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1576,10 +2319,26 @@ components: x-cfn-type-name: AWS::CloudFormation::HookDefaultVersion x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__HookDefaultVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::HookDefaultVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1592,7 +2351,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/hook_default_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/hook_default_versions/methods/delete_resource' config: views: select: @@ -1618,6 +2378,7 @@ components: x-cfn-type-name: AWS::CloudFormation::HookDefaultVersion x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1631,24 +2392,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::HookDefaultVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/hook_default_version/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/hook_default_version/methods/delete_resource' - x-type: get config: views: select: @@ -1684,10 +2430,26 @@ components: x-cfn-type-name: AWS::CloudFormation::HookTypeConfig x-identifiers: - ConfigurationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__HookTypeConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::HookTypeConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1700,7 +2462,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/hook_type_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/hook_type_configs/methods/delete_resource' config: views: select: @@ -1726,6 +2489,7 @@ components: x-cfn-type-name: AWS::CloudFormation::HookTypeConfig x-identifiers: - ConfigurationArn + x-type: get methods: update_resource: operation: @@ -1739,24 +2503,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::HookTypeConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/hook_type_config/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/hook_type_config/methods/delete_resource' - x-type: get config: views: select: @@ -1794,10 +2543,26 @@ components: x-cfn-type-name: AWS::CloudFormation::HookVersion x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__HookVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::HookVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1810,7 +2575,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/hook_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/hook_versions/methods/delete_resource' config: views: select: @@ -1836,24 +2602,10 @@ components: x-cfn-type-name: AWS::CloudFormation::HookVersion x-identifiers: - Arn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::HookVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/hook_version/methods/delete_resource' - x-type: get config: views: select: @@ -1899,10 +2651,26 @@ components: x-cfn-type-name: AWS::CloudFormation::ModuleDefaultVersion x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ModuleDefaultVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::ModuleDefaultVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1915,7 +2683,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/module_default_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/module_default_versions/methods/delete_resource' config: views: select: @@ -1941,24 +2710,10 @@ components: x-cfn-type-name: AWS::CloudFormation::ModuleDefaultVersion x-identifiers: - Arn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::ModuleDefaultVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/module_default_version/methods/delete_resource' - x-type: get config: views: select: @@ -1992,10 +2747,14 @@ components: x-cfn-type-name: AWS::CloudFormation::ModuleVersion x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ModuleVersion&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2005,17 +2764,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/module_versions/methods/create_resource' - module_version: - name: module_version - id: aws.cloudformation.module_version - x-cfn-schema-name: ModuleVersion - x-cfn-type-name: AWS::CloudFormation::ModuleVersion - x-identifiers: - - Arn - methods: delete_resource: operation: $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' @@ -2029,10 +2777,21 @@ components: mediaType: application/json openAPIDocKey: '200' sqlVerbs: - update: [] + insert: + - $ref: '#/components/x-stackQL-resources/module_versions/methods/create_resource' delete: - - $ref: '#/components/x-stackQL-resources/module_version/methods/delete_resource' + - $ref: '#/components/x-stackQL-resources/module_versions/methods/delete_resource' + module_version: + name: module_version + id: aws.cloudformation.module_version + x-cfn-schema-name: ModuleVersion + x-cfn-type-name: AWS::CloudFormation::ModuleVersion + x-identifiers: + - Arn x-type: get + methods: {} + sqlVerbs: + update: [] config: views: select: @@ -2080,10 +2839,26 @@ components: x-cfn-type-name: AWS::CloudFormation::PublicTypeVersion x-identifiers: - PublicTypeArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PublicTypeVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::PublicTypeVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2096,7 +2871,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/public_type_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/public_type_versions/methods/delete_resource' config: views: select: @@ -2122,24 +2898,10 @@ components: x-cfn-type-name: AWS::CloudFormation::PublicTypeVersion x-identifiers: - PublicTypeArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::PublicTypeVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/public_type_version/methods/delete_resource' - x-type: get config: views: select: @@ -2183,10 +2945,26 @@ components: x-cfn-type-name: AWS::CloudFormation::Publisher x-identifiers: - PublisherId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Publisher&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::Publisher" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2199,7 +2977,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/publishers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/publishers/methods/delete_resource' config: views: select: @@ -2225,24 +3004,10 @@ components: x-cfn-type-name: AWS::CloudFormation::Publisher x-identifiers: - PublisherId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::Publisher" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/publisher/methods/delete_resource' - x-type: get config: views: select: @@ -2282,10 +3047,26 @@ components: x-cfn-type-name: AWS::CloudFormation::ResourceDefaultVersion x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourceDefaultVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::ResourceDefaultVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2298,7 +3079,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_default_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resource_default_versions/methods/delete_resource' config: views: select: @@ -2324,6 +3106,7 @@ components: x-cfn-type-name: AWS::CloudFormation::ResourceDefaultVersion x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -2337,24 +3120,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::ResourceDefaultVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resource_default_version/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resource_default_version/methods/delete_resource' - x-type: get config: views: select: @@ -2390,10 +3158,26 @@ components: x-cfn-type-name: AWS::CloudFormation::ResourceVersion x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourceVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::ResourceVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2406,7 +3190,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resource_versions/methods/delete_resource' config: views: select: @@ -2432,24 +3217,10 @@ components: x-cfn-type-name: AWS::CloudFormation::ResourceVersion x-identifiers: - Arn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::ResourceVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/resource_version/methods/delete_resource' - x-type: get config: views: select: @@ -2497,10 +3268,26 @@ components: x-cfn-type-name: AWS::CloudFormation::Stack x-identifiers: - StackId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Stack&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::Stack" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2513,7 +3300,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/stacks/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/stacks/methods/delete_resource' config: views: select: @@ -2539,6 +3327,7 @@ components: x-cfn-type-name: AWS::CloudFormation::Stack x-identifiers: - StackId + x-type: get methods: update_resource: operation: @@ -2552,24 +3341,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::Stack" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/stack/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/stack/methods/delete_resource' - x-type: get config: views: select: @@ -2643,10 +3417,26 @@ components: x-cfn-type-name: AWS::CloudFormation::StackSet x-identifiers: - StackSetId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StackSet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::StackSet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2659,7 +3449,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/stack_sets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/stack_sets/methods/delete_resource' config: views: select: @@ -2685,6 +3476,7 @@ components: x-cfn-type-name: AWS::CloudFormation::StackSet x-identifiers: - StackSetId + x-type: get methods: update_resource: operation: @@ -2698,24 +3490,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::StackSet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/stack_set/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/stack_set/methods/delete_resource' - x-type: get config: views: select: @@ -2775,10 +3552,26 @@ components: x-cfn-type-name: AWS::CloudFormation::TypeActivation x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TypeActivation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFormation::TypeActivation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2791,7 +3584,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/type_activations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/type_activations/methods/delete_resource' config: views: select: @@ -2817,6 +3611,7 @@ components: x-cfn-type-name: AWS::CloudFormation::TypeActivation x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -2830,24 +3625,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFormation::TypeActivation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/type_activation/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/type_activation/methods/delete_resource' - x-type: get config: views: select: @@ -2901,7 +3681,317 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: CreateResource + operationId: CreateResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/x-cloud-control-schemas/CreateResourceInput' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=DeleteResource&Version=2021-09-30: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: DeleteResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.DeleteResource + enum: + - CloudApiService.DeleteResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput' + description: Success + /?Action=UpdateResource&Version=2021-09-30: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: UpdateResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.UpdateResource + enum: + - CloudApiService.UpdateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + properties: + ClientName: + type: string + Identifier: + $ref: '#/components/x-cloud-control-schemas/Identifier' + PatchDocument: + type: string + RoleArn: + $ref: '#/components/x-cloud-control-schemas/RoleArn' + TypeName: + $ref: '#/components/x-cloud-control-schemas/TypeName' + TypeVersionId: + $ref: '#/components/x-cloud-control-schemas/TypeVersionId' + required: + - Identifier + - PatchDocument + type: object + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' + description: Success + /?Action=CreateResource&Version=2021-09-30&__HookDefaultVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateHookDefaultVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateHookDefaultVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__HookTypeConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateHookTypeConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateHookTypeConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__HookVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateHookVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateHookVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ModuleDefaultVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateModuleDefaultVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateModuleDefaultVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ModuleVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateModuleVersion parameters: - description: Action Header in: header @@ -2924,7 +4014,7 @@ paths: content: application/x-amz-json-1.0: schema: - $ref: '#/components/x-cloud-control-schemas/CreateResourceInput' + $ref: '#/components/schemas/CreateModuleVersionRequest' required: true responses: '200': @@ -2933,7 +4023,7 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success - /?Action=DeleteResource&Version=2021-09-30: + /?Action=CreateResource&Version=2021-09-30&__PublicTypeVersion&__detailTransformed=true: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' @@ -2943,16 +4033,16 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: DeleteResource + operationId: CreatePublicTypeVersion parameters: - description: Action Header in: header name: X-Amz-Target required: false schema: - default: CloudApiService.DeleteResource + default: CloudApiService.CreateResource enum: - - CloudApiService.DeleteResource + - CloudApiService.CreateResource type: string - in: header name: Content-Type @@ -2966,16 +4056,16 @@ paths: content: application/x-amz-json-1.0: schema: - $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput' + $ref: '#/components/schemas/CreatePublicTypeVersionRequest' required: true responses: '200': content: application/json: schema: - $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput' + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success - /?Action=UpdateResource&Version=2021-09-30: + /?Action=CreateResource&Version=2021-09-30&__Publisher&__detailTransformed=true: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' @@ -2985,16 +4075,16 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: UpdateResource + operationId: CreatePublisher parameters: - description: Action Header in: header name: X-Amz-Target required: false schema: - default: CloudApiService.UpdateResource + default: CloudApiService.CreateResource enum: - - CloudApiService.UpdateResource + - CloudApiService.CreateResource type: string - in: header name: Content-Type @@ -3008,33 +4098,229 @@ paths: content: application/x-amz-json-1.0: schema: - properties: - ClientName: - type: string - Identifier: - $ref: '#/components/x-cloud-control-schemas/Identifier' - PatchDocument: - type: string - RoleArn: - $ref: '#/components/x-cloud-control-schemas/RoleArn' - TypeName: - $ref: '#/components/x-cloud-control-schemas/TypeName' - TypeVersionId: - $ref: '#/components/x-cloud-control-schemas/TypeVersionId' - required: - - Identifier - - PatchDocument - type: object + $ref: '#/components/schemas/CreatePublisherRequest' required: true responses: '200': content: application/json: schema: - $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourceDefaultVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourceDefaultVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourceDefaultVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourceVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourceVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourceVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Stack&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStack + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStackRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StackSet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStackSet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStackSetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TypeActivation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTypeActivation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTypeActivationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/cloudfront.yaml b/providers/src/aws/v00.00.00000/services/cloudfront.yaml index f72964b8..1e3dbf57 100644 --- a/providers/src/aws/v00.00.00000/services/cloudfront.yaml +++ b/providers/src/aws/v00.00.00000/services/cloudfront.yaml @@ -2543,6 +2543,339 @@ components: update: - cloudfront:UpdateResponseHeadersPolicy - cloudfront:GetResponseHeadersPolicy + CreateCachePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CachePolicyConfig: + $ref: '#/components/schemas/CachePolicyConfig' + Id: + type: string + LastModifiedTime: + type: string + x-stackQL-stringOnly: true + x-title: CreateCachePolicyRequest + type: object + required: [] + CreateCloudFrontOriginAccessIdentityRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CloudFrontOriginAccessIdentityConfig: + $ref: '#/components/schemas/CloudFrontOriginAccessIdentityConfig' + Id: + type: string + S3CanonicalUserId: + type: string + x-stackQL-stringOnly: true + x-title: CreateCloudFrontOriginAccessIdentityRequest + type: object + required: [] + CreateContinuousDeploymentPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ContinuousDeploymentPolicyConfig: + $ref: '#/components/schemas/ContinuousDeploymentPolicyConfig' + Id: + type: string + LastModifiedTime: + type: string + x-stackQL-stringOnly: true + x-title: CreateContinuousDeploymentPolicyRequest + type: object + required: [] + CreateDistributionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DistributionConfig: + $ref: '#/components/schemas/DistributionConfig' + description: The distribution's configuration. + DomainName: + type: string + description: '' + Id: + type: string + description: '' + Tags: + items: + $ref: '#/components/schemas/Tag' + type: array + uniqueItems: false + description: A complex type that contains zero or more ``Tag`` elements. + x-stackQL-stringOnly: true + x-title: CreateDistributionRequest + type: object + required: [] + CreateFunctionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AutoPublish: + type: boolean + FunctionARN: + type: string + FunctionCode: + type: string + FunctionConfig: + $ref: '#/components/schemas/FunctionConfig' + FunctionMetadata: + $ref: '#/components/schemas/FunctionMetadata' + Name: + type: string + Stage: + type: string + x-stackQL-stringOnly: true + x-title: CreateFunctionRequest + type: object + required: [] + CreateKeyGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + KeyGroupConfig: + $ref: '#/components/schemas/KeyGroupConfig' + LastModifiedTime: + type: string + x-stackQL-stringOnly: true + x-title: CreateKeyGroupRequest + type: object + required: [] + CreateKeyValueStoreRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + Id: + type: string + Status: + type: string + Name: + type: string + Comment: + type: string + ImportSource: + $ref: '#/components/schemas/ImportSource' + x-stackQL-stringOnly: true + x-title: CreateKeyValueStoreRequest + type: object + required: [] + CreateMonitoringSubscriptionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DistributionId: + type: string + MonitoringSubscription: + $ref: '#/components/schemas/MonitoringSubscription' + x-stackQL-stringOnly: true + x-title: CreateMonitoringSubscriptionRequest + type: object + required: [] + CreateOriginAccessControlRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + OriginAccessControlConfig: + $ref: '#/components/schemas/OriginAccessControlConfig' + x-stackQL-stringOnly: true + x-title: CreateOriginAccessControlRequest + type: object + required: [] + CreateOriginRequestPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + LastModifiedTime: + type: string + OriginRequestPolicyConfig: + $ref: '#/components/schemas/OriginRequestPolicyConfig' + x-stackQL-stringOnly: true + x-title: CreateOriginRequestPolicyRequest + type: object + required: [] + CreatePublicKeyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CreatedTime: + type: string + Id: + type: string + PublicKeyConfig: + $ref: '#/components/schemas/PublicKeyConfig' + x-stackQL-stringOnly: true + x-title: CreatePublicKeyRequest + type: object + required: [] + CreateRealtimeLogConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + EndPoints: + items: + $ref: '#/components/schemas/EndPoint' + minItems: 1 + type: array + uniqueItems: false + Fields: + items: + type: string + minItems: 1 + type: array + uniqueItems: false + Name: + type: string + SamplingRate: + maximum: 100 + minimum: 1 + multipleOf: 1 + type: number + x-stackQL-stringOnly: true + x-title: CreateRealtimeLogConfigRequest + type: object + required: [] + CreateResponseHeadersPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + LastModifiedTime: + type: string + ResponseHeadersPolicyConfig: + $ref: '#/components/schemas/ResponseHeadersPolicyConfig' + x-stackQL-stringOnly: true + x-title: CreateResponseHeadersPolicyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -2558,10 +2891,26 @@ components: x-cfn-type-name: AWS::CloudFront::CachePolicy x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CachePolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::CachePolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2574,7 +2923,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/cache_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/cache_policies/methods/delete_resource' config: views: select: @@ -2600,6 +2950,7 @@ components: x-cfn-type-name: AWS::CloudFront::CachePolicy x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -2613,24 +2964,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::CachePolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cache_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cache_policy/methods/delete_resource' - x-type: get config: views: select: @@ -2664,10 +3000,26 @@ components: x-cfn-type-name: AWS::CloudFront::CloudFrontOriginAccessIdentity x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CloudFrontOriginAccessIdentity&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::CloudFrontOriginAccessIdentity" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2680,7 +3032,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/cloud_front_origin_access_identities/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/cloud_front_origin_access_identities/methods/delete_resource' config: views: select: @@ -2706,6 +3059,7 @@ components: x-cfn-type-name: AWS::CloudFront::CloudFrontOriginAccessIdentity x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -2719,24 +3073,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::CloudFrontOriginAccessIdentity" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cloud_front_origin_access_identity/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cloud_front_origin_access_identity/methods/delete_resource' - x-type: get config: views: select: @@ -2770,10 +3109,26 @@ components: x-cfn-type-name: AWS::CloudFront::ContinuousDeploymentPolicy x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ContinuousDeploymentPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::ContinuousDeploymentPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2786,7 +3141,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/continuous_deployment_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/continuous_deployment_policies/methods/delete_resource' config: views: select: @@ -2812,6 +3168,7 @@ components: x-cfn-type-name: AWS::CloudFront::ContinuousDeploymentPolicy x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -2825,24 +3182,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::ContinuousDeploymentPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/continuous_deployment_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/continuous_deployment_policy/methods/delete_resource' - x-type: get config: views: select: @@ -2876,10 +3218,26 @@ components: x-cfn-type-name: AWS::CloudFront::Distribution x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Distribution&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::Distribution" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2892,7 +3250,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/distributions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/distributions/methods/delete_resource' config: views: select: @@ -2918,6 +3277,7 @@ components: x-cfn-type-name: AWS::CloudFront::Distribution x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -2931,24 +3291,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::Distribution" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/distribution/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/distribution/methods/delete_resource' - x-type: get config: views: select: @@ -2984,10 +3329,26 @@ components: x-cfn-type-name: AWS::CloudFront::Function x-identifiers: - FunctionARN + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Function&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::Function" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3000,7 +3361,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/functions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/functions/methods/delete_resource' config: views: select: @@ -3026,6 +3388,7 @@ components: x-cfn-type-name: AWS::CloudFront::Function x-identifiers: - FunctionARN + x-type: get methods: update_resource: operation: @@ -3039,24 +3402,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::Function" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/function/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/function/methods/delete_resource' - x-type: get config: views: select: @@ -3098,10 +3446,26 @@ components: x-cfn-type-name: AWS::CloudFront::KeyGroup x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__KeyGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::KeyGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3114,7 +3478,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/key_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/key_groups/methods/delete_resource' config: views: select: @@ -3140,6 +3505,7 @@ components: x-cfn-type-name: AWS::CloudFront::KeyGroup x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -3153,24 +3519,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::KeyGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/key_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/key_group/methods/delete_resource' - x-type: get config: views: select: @@ -3204,10 +3555,26 @@ components: x-cfn-type-name: AWS::CloudFront::KeyValueStore x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__KeyValueStore&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::KeyValueStore" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3220,7 +3587,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/key_value_stores/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/key_value_stores/methods/delete_resource' config: views: select: @@ -3246,6 +3614,7 @@ components: x-cfn-type-name: AWS::CloudFront::KeyValueStore x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -3259,24 +3628,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::KeyValueStore" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/key_value_store/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/key_value_store/methods/delete_resource' - x-type: get config: views: select: @@ -3316,10 +3670,14 @@ components: x-cfn-type-name: AWS::CloudFront::MonitoringSubscription x-identifiers: - DistributionId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__MonitoringSubscription&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3329,17 +3687,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/monitoring_subscriptions/methods/create_resource' - monitoring_subscription: - name: monitoring_subscription - id: aws.cloudfront.monitoring_subscription - x-cfn-schema-name: MonitoringSubscription - x-cfn-type-name: AWS::CloudFront::MonitoringSubscription - x-identifiers: - - DistributionId - methods: delete_resource: operation: $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' @@ -3353,10 +3700,21 @@ components: mediaType: application/json openAPIDocKey: '200' sqlVerbs: - update: [] + insert: + - $ref: '#/components/x-stackQL-resources/monitoring_subscriptions/methods/create_resource' delete: - - $ref: '#/components/x-stackQL-resources/monitoring_subscription/methods/delete_resource' + - $ref: '#/components/x-stackQL-resources/monitoring_subscriptions/methods/delete_resource' + monitoring_subscription: + name: monitoring_subscription + id: aws.cloudfront.monitoring_subscription + x-cfn-schema-name: MonitoringSubscription + x-cfn-type-name: AWS::CloudFront::MonitoringSubscription + x-identifiers: + - DistributionId x-type: get + methods: {} + sqlVerbs: + update: [] config: views: select: @@ -3388,10 +3746,26 @@ components: x-cfn-type-name: AWS::CloudFront::OriginAccessControl x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__OriginAccessControl&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::OriginAccessControl" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3404,7 +3778,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/origin_access_controls/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/origin_access_controls/methods/delete_resource' config: views: select: @@ -3430,6 +3805,7 @@ components: x-cfn-type-name: AWS::CloudFront::OriginAccessControl x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -3443,24 +3819,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::OriginAccessControl" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/origin_access_control/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/origin_access_control/methods/delete_resource' - x-type: get config: views: select: @@ -3492,10 +3853,26 @@ components: x-cfn-type-name: AWS::CloudFront::OriginRequestPolicy x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__OriginRequestPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::OriginRequestPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3508,7 +3885,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/origin_request_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/origin_request_policies/methods/delete_resource' config: views: select: @@ -3534,6 +3912,7 @@ components: x-cfn-type-name: AWS::CloudFront::OriginRequestPolicy x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -3547,24 +3926,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::OriginRequestPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/origin_request_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/origin_request_policy/methods/delete_resource' - x-type: get config: views: select: @@ -3598,10 +3962,14 @@ components: x-cfn-type-name: AWS::CloudFront::PublicKey x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PublicKey&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3611,11 +3979,24 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/public_keys/methods/create_resource' - x-type: list - config: + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::PublicKey" + } + response: + mediaType: application/json + openAPIDocKey: '200' + sqlVerbs: + insert: + - $ref: '#/components/x-stackQL-resources/public_keys/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/public_keys/methods/delete_resource' + config: views: select: predicate: sqlDialect == "sqlite3" @@ -3640,6 +4021,7 @@ components: x-cfn-type-name: AWS::CloudFront::PublicKey x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -3653,24 +4035,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::PublicKey" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/public_key/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/public_key/methods/delete_resource' - x-type: get config: views: select: @@ -3704,10 +4071,26 @@ components: x-cfn-type-name: AWS::CloudFront::RealtimeLogConfig x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RealtimeLogConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::RealtimeLogConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3720,7 +4103,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/realtime_log_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/realtime_log_configs/methods/delete_resource' config: views: select: @@ -3746,6 +4130,7 @@ components: x-cfn-type-name: AWS::CloudFront::RealtimeLogConfig x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -3759,24 +4144,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::RealtimeLogConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/realtime_log_config/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/realtime_log_config/methods/delete_resource' - x-type: get config: views: select: @@ -3814,10 +4184,26 @@ components: x-cfn-type-name: AWS::CloudFront::ResponseHeadersPolicy x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResponseHeadersPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudFront::ResponseHeadersPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3830,7 +4216,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/response_headers_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/response_headers_policies/methods/delete_resource' config: views: select: @@ -3856,6 +4243,7 @@ components: x-cfn-type-name: AWS::CloudFront::ResponseHeadersPolicy x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -3869,24 +4257,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudFront::ResponseHeadersPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/response_headers_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/response_headers_policy/methods/delete_resource' - x-type: get config: views: select: @@ -4056,8 +4429,556 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__CachePolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCachePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCachePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__CloudFrontOriginAccessIdentity&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCloudFrontOriginAccessIdentity + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCloudFrontOriginAccessIdentityRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ContinuousDeploymentPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateContinuousDeploymentPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateContinuousDeploymentPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Distribution&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDistribution + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDistributionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Function&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFunction + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFunctionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__KeyGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateKeyGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateKeyGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__KeyValueStore&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateKeyValueStore + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateKeyValueStoreRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__MonitoringSubscription&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMonitoringSubscription + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMonitoringSubscriptionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__OriginAccessControl&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateOriginAccessControl + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateOriginAccessControlRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__OriginRequestPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateOriginRequestPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateOriginRequestPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PublicKey&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePublicKey + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePublicKeyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RealtimeLogConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRealtimeLogConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRealtimeLogConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResponseHeadersPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResponseHeadersPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResponseHeadersPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/cloudtrail.yaml b/providers/src/aws/v00.00.00000/services/cloudtrail.yaml index 800ecabf..f6f7a05a 100644 --- a/providers/src/aws/v00.00.00000/services/cloudtrail.yaml +++ b/providers/src/aws/v00.00.00000/services/cloudtrail.yaml @@ -970,6 +970,246 @@ components: - CloudTrail:GetEventSelectors - CloudTrail:GetInsightSelectors - CloudTrail:DescribeTrails + CreateChannelRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + $ref: '#/components/schemas/ChannelName' + Source: + description: The ARN of an on-premises storage solution or application, or a partner event source. + type: string + minLength: 1 + maxLength: 256 + pattern: (.*) + Destinations: + description: One or more resources to which events arriving through a channel are logged and stored. + type: array + items: + $ref: '#/components/schemas/Destination' + maxItems: 10 + uniqueItems: true + x-insertionOrder: false + ChannelArn: + $ref: '#/components/schemas/ChannelArn' + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateChannelRequest + type: object + required: [] + CreateEventDataStoreRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AdvancedEventSelectors: + description: The advanced event selectors that were used to select events for the data store. + type: array + items: + $ref: '#/components/schemas/AdvancedEventSelector' + uniqueItems: true + x-insertionOrder: false + CreatedTimestamp: + description: The timestamp of the event data store's creation. + $ref: '#/components/schemas/Timestamp' + EventDataStoreArn: + description: The ARN of the event data store. + type: string + FederationEnabled: + description: Indicates whether federation is enabled on an event data store. + type: boolean + FederationRoleArn: + description: The ARN of the role used for event data store federation. + type: string + MultiRegionEnabled: + description: Indicates whether the event data store includes events from all regions, or only from the region in which it was created. + type: boolean + Name: + description: The name of the event data store. + type: string + OrganizationEnabled: + description: Indicates that an event data store is collecting logged events for an organization. + type: boolean + BillingMode: + description: The mode that the event data store will use to charge for event storage. + type: string + RetentionPeriod: + description: The retention period, in days. + type: integer + Status: + description: The status of an event data store. Values are STARTING_INGESTION, ENABLED, STOPPING_INGESTION, STOPPED_INGESTION and PENDING_DELETION. + type: string + TerminationProtectionEnabled: + description: Indicates whether the event data store is protected from termination. + type: boolean + UpdatedTimestamp: + description: The timestamp showing when an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp. + $ref: '#/components/schemas/Timestamp' + KmsKeyId: + description: Specifies the KMS key ID to use to encrypt the events delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. + type: string + Tags: + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + InsightSelectors: + description: Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing event data store. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store. + type: array + items: + $ref: '#/components/schemas/InsightSelector' + uniqueItems: true + x-insertionOrder: false + InsightsDestination: + description: Specifies the ARN of the event data store that will collect Insights events. Both InsightSelectors and InsightsDestination need to have a value in order to enable Insights events on an event data store + type: string + IngestionEnabled: + description: Indicates whether the event data store is ingesting events. + type: boolean + x-stackQL-stringOnly: true + x-title: CreateEventDataStoreRequest + type: object + required: [] + CreateResourcePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceArn: + description: The ARN of the AWS CloudTrail resource to which the policy applies. + type: string + ResourcePolicy: + description: A policy document containing permissions to add to the specified resource. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM. + type: object + x-stackQL-stringOnly: true + x-title: CreateResourcePolicyRequest + type: object + required: [] + CreateTrailRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CloudWatchLogsLogGroupArn: + description: Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered. Not required unless you specify CloudWatchLogsRoleArn. + type: string + CloudWatchLogsRoleArn: + description: Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. + type: string + EnableLogFileValidation: + description: Specifies whether log file validation is enabled. The default is false. + type: boolean + AdvancedEventSelectors: + description: The advanced event selectors that were used to select events for the data store. + type: array + items: + $ref: '#/components/schemas/AdvancedEventSelector' + uniqueItems: true + x-insertionOrder: false + EventSelectors: + description: >- + Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the + trail doesn't log the event. You can configure up to five event selectors for a trail. + type: array + items: + $ref: '#/components/schemas/EventSelector' + maxItems: 5 + uniqueItems: true + x-insertionOrder: false + IncludeGlobalServiceEvents: + description: Specifies whether the trail is publishing events from global services such as IAM to the log files. + type: boolean + IsLogging: + description: Whether the CloudTrail is currently logging AWS API calls. + type: boolean + IsMultiRegionTrail: + description: >- + Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider using trails + that log events in all regions. + type: boolean + IsOrganizationTrail: + description: Specifies whether the trail is created for all accounts in an organization in AWS Organizations, or only for the current AWS account. The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the master account for an organization in AWS Organizations. + type: boolean + KMSKeyId: + description: Specifies the KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by 'alias/', a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. + type: string + S3BucketName: + description: Specifies the name of the Amazon S3 bucket designated for publishing log files. See Amazon S3 Bucket Naming Requirements. + type: string + S3KeyPrefix: + description: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files. The maximum length is 200 characters. + type: string + maxLength: 200 + SnsTopicName: + description: Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters. + type: string + maxLength: 256 + Tags: + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + TrailName: + type: string + pattern: (^[a-zA-Z0-9]$)|(^[a-zA-Z0-9]([a-zA-Z0-9\._-])*[a-zA-Z0-9]$) + minLength: 3 + maxLength: 128 + Arn: + type: string + SnsTopicArn: + type: string + InsightSelectors: + description: Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. + type: array + items: + $ref: '#/components/schemas/InsightSelector' + uniqueItems: true + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateTrailRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -985,10 +1225,26 @@ components: x-cfn-type-name: AWS::CloudTrail::Channel x-identifiers: - ChannelArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Channel&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudTrail::Channel" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1001,7 +1257,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/channels/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/channels/methods/delete_resource' config: views: select: @@ -1027,6 +1284,7 @@ components: x-cfn-type-name: AWS::CloudTrail::Channel x-identifiers: - ChannelArn + x-type: get methods: update_resource: operation: @@ -1040,24 +1298,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudTrail::Channel" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/channel/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/channel/methods/delete_resource' - x-type: get config: views: select: @@ -1095,10 +1338,26 @@ components: x-cfn-type-name: AWS::CloudTrail::EventDataStore x-identifiers: - EventDataStoreArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EventDataStore&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudTrail::EventDataStore" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1111,7 +1370,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/event_data_stores/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/event_data_stores/methods/delete_resource' config: views: select: @@ -1137,6 +1397,7 @@ components: x-cfn-type-name: AWS::CloudTrail::EventDataStore x-identifiers: - EventDataStoreArn + x-type: get methods: update_resource: operation: @@ -1150,24 +1411,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudTrail::EventDataStore" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/event_data_store/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/event_data_store/methods/delete_resource' - x-type: get config: views: select: @@ -1231,10 +1477,26 @@ components: x-cfn-type-name: AWS::CloudTrail::ResourcePolicy x-identifiers: - ResourceArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourcePolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudTrail::ResourcePolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1247,6 +1509,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_policies/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/resource_policies/methods/delete_resource' resource_policy: name: resource_policy id: aws.cloudtrail.resource_policy @@ -1254,6 +1518,7 @@ components: x-cfn-type-name: AWS::CloudTrail::ResourcePolicy x-identifiers: - ResourceArn + x-type: get methods: update_resource: operation: @@ -1267,24 +1532,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudTrail::ResourcePolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resource_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resource_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1316,10 +1566,26 @@ components: x-cfn-type-name: AWS::CloudTrail::Trail x-identifiers: - TrailName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Trail&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudTrail::Trail" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1332,7 +1598,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/trails/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/trails/methods/delete_resource' config: views: select: @@ -1358,6 +1625,7 @@ components: x-cfn-type-name: AWS::CloudTrail::Trail x-identifiers: - TrailName + x-type: get methods: update_resource: operation: @@ -1371,24 +1639,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudTrail::Trail" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/trail/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/trail/methods/delete_resource' - x-type: get config: views: select: @@ -1588,8 +1841,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Channel&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateChannel + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateChannelRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EventDataStore&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEventDataStore + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEventDataStoreRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourcePolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourcePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourcePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Trail&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTrail + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTrailRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/cloudwatch.yaml b/providers/src/aws/v00.00.00000/services/cloudwatch.yaml index c2b3b4af..7020c048 100644 --- a/providers/src/aws/v00.00.00000/services/cloudwatch.yaml +++ b/providers/src/aws/v00.00.00000/services/cloudwatch.yaml @@ -954,6 +954,313 @@ components: - cloudwatch:ListMetricStreams read: - cloudwatch:GetMetricStream + CreateAlarmRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ThresholdMetricId: + description: In an alarm based on an anomaly detection model, this is the ID of the ``ANOMALY_DETECTION_BAND`` function used as the threshold for the alarm. + type: string + EvaluateLowSampleCountPercentile: + description: Used only for alarms based on percentiles. If ``ignore``, the alarm state does not change during periods with too few data points to be statistically significant. If ``evaluate`` or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available. + type: string + ExtendedStatistic: + description: |- + The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. + For an alarm based on a metric, you must specify either ``Statistic`` or ``ExtendedStatistic`` but not both. + For an alarm based on a math expression, you can't specify ``ExtendedStatistic``. Instead, you use ``Metrics``. + type: string + ComparisonOperator: + description: The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand. + type: string + TreatMissingData: + description: |- + Sets how this alarm is to handle missing data points. Valid values are ``breaching``, ``notBreaching``, ``ignore``, and ``missing``. For more information, see [Configuring How Alarms Treat Missing Data](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data) in the *Amazon User Guide*. + If you omit this parameter, the default behavior of ``missing`` is used. + type: string + Dimensions: + description: The dimensions for the metric associated with the alarm. For an alarm based on a math expression, you can't specify ``Dimensions``. Instead, you use ``Metrics``. + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Dimension' + Period: + description: |- + The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. + For an alarm based on a math expression, you can't specify ``Period``, and instead you use the ``Metrics`` parameter. + *Minimum:* 10 + type: integer + EvaluationPeriods: + description: |- + The number of periods over which data is compared to the specified threshold. If you are setting an alarm that requires that a number of consecutive data points be breaching to trigger the alarm, this value specifies that number. If you are setting an "M out of N" alarm, this value is the N, and ``DatapointsToAlarm`` is the M. + For more information, see [Evaluating an Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation) in the *User Guide*. + type: integer + Unit: + description: |- + The unit of the metric associated with the alarm. Specify this only if you are creating an alarm based on a single metric. Do not specify this if you are specifying a ``Metrics`` array. + You can specify the following values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, or None. + type: string + Namespace: + description: |- + The namespace of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you can't specify ``Namespace`` and you use ``Metrics`` instead. + For a list of namespaces for metrics from AWS services, see [Services That Publish Metrics.](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) + type: string + OKActions: + description: The actions to execute when this alarm transitions to the ``OK`` state from any other state. Each action is specified as an Amazon Resource Name (ARN). + type: array + uniqueItems: false + items: + type: string + AlarmActions: + description: The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see [PutMetricAlarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricAlarm.html) in the *API Reference*. + type: array + uniqueItems: false + items: + type: string + MetricName: + description: The name of the metric associated with the alarm. This is required for an alarm based on a metric. For an alarm based on a math expression, you use ``Metrics`` instead and you can't specify ``MetricName``. + type: string + ActionsEnabled: + description: Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE. + type: boolean + default: true + Metrics: + description: |- + An array that enables you to create an alarm based on the result of a metric math expression. Each item in the array either retrieves a metric or performs a math expression. + If you specify the ``Metrics`` parameter, you cannot specify ``MetricName``, ``Dimensions``, ``Period``, ``Namespace``, ``Statistic``, ``ExtendedStatistic``, or ``Unit``. + type: array + uniqueItems: true + items: + $ref: '#/components/schemas/MetricDataQuery' + AlarmDescription: + description: The description of the alarm. + type: string + AlarmName: + description: |- + The name of the alarm. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the alarm name. + If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. + type: string + Statistic: + description: |- + The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ``ExtendedStatistic``. + For an alarm based on a metric, you must specify either ``Statistic`` or ``ExtendedStatistic`` but not both. + For an alarm based on a math expression, you can't specify ``Statistic``. Instead, you use ``Metrics``. + type: string + InsufficientDataActions: + description: The actions to execute when this alarm transitions to the ``INSUFFICIENT_DATA`` state from any other state. Each action is specified as an Amazon Resource Name (ARN). + type: array + uniqueItems: false + items: + type: string + Arn: + description: '' + type: string + DatapointsToAlarm: + description: |- + The number of datapoints that must be breaching to trigger the alarm. This is used only if you are setting an "M out of N" alarm. In that case, this value is the M, and the value that you set for ``EvaluationPeriods`` is the N value. For more information, see [Evaluating an Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluation) in the *User Guide*. + If you omit this parameter, CW uses the same value here that you set for ``EvaluationPeriods``, and the alarm goes to alarm state if that many consecutive periods are breaching. + type: integer + Threshold: + description: The value to compare with the specified statistic. + type: number + Tags: + description: '' + type: array + maxItems: 50 + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateAlarmRequest + type: object + required: [] + CreateCompositeAlarmRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description: Amazon Resource Name (ARN) of the alarm + minLength: 1 + maxLength: 1600 + AlarmName: + description: The name of the Composite Alarm + type: string + minLength: 1 + maxLength: 255 + AlarmRule: + type: string + description: Expression which aggregates the state of other Alarms (Metric or Composite Alarms) + minLength: 1 + maxLength: 10240 + AlarmDescription: + type: string + description: The description of the alarm + minLength: 0 + maxLength: 1024 + ActionsEnabled: + description: Indicates whether actions should be executed during any changes to the alarm state. The default is TRUE. + type: boolean + OKActions: + type: array + items: + type: string + description: Amazon Resource Name (ARN) of the action + minLength: 1 + maxLength: 1024 + description: The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). + maxItems: 5 + AlarmActions: + type: array + items: + type: string + description: Amazon Resource Name (ARN) of the action + minLength: 1 + maxLength: 1024 + description: The list of actions to execute when this alarm transitions into an ALARM state from any other state. Specify each action as an Amazon Resource Name (ARN). + maxItems: 5 + InsufficientDataActions: + type: array + items: + type: string + description: Amazon Resource Name (ARN) of the action + minLength: 1 + maxLength: 1024 + description: The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). + maxItems: 5 + ActionsSuppressor: + description: 'Actions will be suppressed if the suppressor alarm is in the ALARM state. ActionsSuppressor can be an AlarmName or an Amazon Resource Name (ARN) from an existing alarm. ' + type: string + minLength: 1 + maxLength: 1600 + ActionsSuppressorWaitPeriod: + description: Actions will be suppressed if ExtensionPeriod is active. The length of time that actions are suppressed is in seconds. + type: integer + minimum: 0 + ActionsSuppressorExtensionPeriod: + description: Actions will be suppressed if WaitPeriod is active. The length of time that actions are suppressed is in seconds. + type: integer + minimum: 0 + Tags: + description: A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm. + type: array + maxItems: 50 + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateCompositeAlarmRequest + type: object + required: [] + CreateMetricStreamRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: Amazon Resource Name of the metric stream. + type: string + minLength: 20 + maxLength: 2048 + CreationDate: + description: The date of creation of the metric stream. + type: string + anyOf: + - format: date-time + - format: timestamp + ExcludeFilters: + description: Define which metrics will be not streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null. + type: array + maxItems: 1000 + uniqueItems: true + items: + $ref: '#/components/schemas/MetricStreamFilter' + FirehoseArn: + description: The ARN of the Kinesis Firehose where to stream the data. + type: string + minLength: 20 + maxLength: 2048 + IncludeFilters: + description: Define which metrics will be streamed. Metrics matched by multiple instances of MetricStreamFilter are joined with an OR operation by default. If both IncludeFilters and ExcludeFilters are omitted, all metrics in the account will be streamed. IncludeFilters and ExcludeFilters are mutually exclusive. Default to null. + type: array + maxItems: 1000 + uniqueItems: true + items: + $ref: '#/components/schemas/MetricStreamFilter' + LastUpdateDate: + description: The date of the last update of the metric stream. + type: string + anyOf: + - format: date-time + - format: timestamp + Name: + description: Name of the metric stream. + type: string + minLength: 1 + maxLength: 255 + RoleArn: + description: The ARN of the role that provides access to the Kinesis Firehose. + type: string + minLength: 20 + maxLength: 2048 + State: + description: Displays the state of the Metric Stream. + type: string + minLength: 1 + maxLength: 255 + OutputFormat: + description: The output format of the data streamed to the Kinesis Firehose. + type: string + minLength: 1 + maxLength: 255 + StatisticsConfigurations: + description: By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT statistics for each metric that is streamed. You can use this parameter to have the metric stream also send additional statistics in the stream. This array can have up to 100 members. + type: array + maxItems: 100 + uniqueItems: true + items: + $ref: '#/components/schemas/MetricStreamStatisticsConfiguration' + Tags: + description: A set of tags to assign to the delivery stream. + type: array + maxItems: 50 + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + IncludeLinkedAccountsMetrics: + description: If you are creating a metric stream in a monitoring account, specify true to include metrics from source accounts that are linked to this monitoring account, in the metric stream. The default is false. + type: boolean + x-stackQL-stringOnly: true + x-title: CreateMetricStreamRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -969,10 +1276,26 @@ components: x-cfn-type-name: AWS::CloudWatch::Alarm x-identifiers: - AlarmName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Alarm&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudWatch::Alarm" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -985,7 +1308,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/alarms/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/alarms/methods/delete_resource' config: views: select: @@ -1011,6 +1335,7 @@ components: x-cfn-type-name: AWS::CloudWatch::Alarm x-identifiers: - AlarmName + x-type: get methods: update_resource: operation: @@ -1024,24 +1349,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudWatch::Alarm" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/alarm/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/alarm/methods/delete_resource' - x-type: get config: views: select: @@ -1115,10 +1425,26 @@ components: x-cfn-type-name: AWS::CloudWatch::CompositeAlarm x-identifiers: - AlarmName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CompositeAlarm&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudWatch::CompositeAlarm" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1131,7 +1457,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/composite_alarms/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/composite_alarms/methods/delete_resource' config: views: select: @@ -1157,6 +1484,7 @@ components: x-cfn-type-name: AWS::CloudWatch::CompositeAlarm x-identifiers: - AlarmName + x-type: get methods: update_resource: operation: @@ -1170,24 +1498,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudWatch::CompositeAlarm" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/composite_alarm/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/composite_alarm/methods/delete_resource' - x-type: get config: views: select: @@ -1239,10 +1552,26 @@ components: x-cfn-type-name: AWS::CloudWatch::MetricStream x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__MetricStream&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CloudWatch::MetricStream" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1255,7 +1584,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/metric_streams/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/metric_streams/methods/delete_resource' config: views: select: @@ -1281,6 +1611,7 @@ components: x-cfn-type-name: AWS::CloudWatch::MetricStream x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1294,24 +1625,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CloudWatch::MetricStream" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/metric_stream/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/metric_stream/methods/delete_resource' - x-type: get config: views: select: @@ -1501,8 +1817,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Alarm&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAlarm + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAlarmRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__CompositeAlarm&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCompositeAlarm + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCompositeAlarmRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__MetricStream&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMetricStream + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMetricStreamRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/codeartifact.yaml b/providers/src/aws/v00.00.00000/services/codeartifact.yaml index ee0535b8..c23cf0ce 100644 --- a/providers/src/aws/v00.00.00000/services/codeartifact.yaml +++ b/providers/src/aws/v00.00.00000/services/codeartifact.yaml @@ -722,6 +722,179 @@ components: - codeartifact:DescribeRepository list: - codeartifact:ListRepositories + CreateDomainRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DomainName: + description: The name of the domain. + type: string + pattern: ^([a-z][a-z0-9\-]{0,48}[a-z0-9])$ + minLength: 2 + maxLength: 50 + Name: + description: The name of the domain. This field is used for GetAtt + type: string + pattern: ^([a-z][a-z0-9\-]{0,48}[a-z0-9])$ + minLength: 2 + maxLength: 50 + Owner: + description: The 12-digit account ID of the AWS account that owns the domain. This field is used for GetAtt + pattern: '[0-9]{12}' + type: string + EncryptionKey: + description: The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain. + type: string + PermissionsPolicyDocument: + description: The access control resource policy on the provided domain. + type: object + minLength: 2 + maxLength: 5120 + Tags: + type: array + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + Arn: + description: The ARN of the domain. + type: string + minLength: 1 + maxLength: 2048 + x-stackQL-stringOnly: true + x-title: CreateDomainRequest + type: object + required: [] + CreatePackageGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DomainName: + description: The name of the domain that contains the package group. + type: string + pattern: ^([a-z][a-z0-9\-]{0,48}[a-z0-9])$ + minLength: 2 + maxLength: 50 + DomainOwner: + description: The 12-digit account ID of the AWS account that owns the domain. + pattern: '[0-9]{12}' + type: string + Pattern: + description: The package group pattern that is used to gather packages. + type: string + minLength: 2 + maxLength: 520 + ContactInfo: + description: The contact info of the package group. + type: string + maxLength: 1000 + Description: + description: The text description of the package group. + type: string + maxLength: 1000 + OriginConfiguration: + description: The package origin configuration of the package group. + type: object + $ref: '#/components/schemas/OriginConfiguration' + Tags: + type: array + description: An array of key-value pairs to apply to the package group. + items: + $ref: '#/components/schemas/Tag' + Arn: + description: The ARN of the package group. + type: string + minLength: 1 + maxLength: 2048 + x-stackQL-stringOnly: true + x-title: CreatePackageGroupRequest + type: object + required: [] + CreateRepositoryRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RepositoryName: + description: The name of the repository. + type: string + pattern: ^([A-Za-z0-9][A-Za-z0-9._\-]{1,99})$ + minLength: 2 + maxLength: 100 + Name: + description: The name of the repository. This is used for GetAtt + type: string + pattern: ^([A-Za-z0-9][A-Za-z0-9._\-]{1,99})$ + minLength: 2 + maxLength: 100 + DomainName: + description: The name of the domain that contains the repository. + type: string + pattern: ^([a-z][a-z0-9\-]{0,48}[a-z0-9])$ + minLength: 2 + maxLength: 50 + DomainOwner: + description: The 12-digit account ID of the AWS account that owns the domain. + pattern: '[0-9]{12}' + type: string + Description: + description: A text description of the repository. + type: string + maxLength: 1000 + Arn: + description: The ARN of the repository. + type: string + minLength: 1 + maxLength: 2048 + ExternalConnections: + description: A list of external connections associated with the repository. + type: array + items: + type: string + Upstreams: + description: A list of upstream repositories associated with the repository. + type: array + items: + type: string + PermissionsPolicyDocument: + description: The access control resource policy on the provided repository. + type: object + minLength: 2 + maxLength: 5120 + Tags: + type: array + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateRepositoryRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -737,10 +910,26 @@ components: x-cfn-type-name: AWS::CodeArtifact::Domain x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeArtifact::Domain" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -753,7 +942,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/domains/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/domains/methods/delete_resource' config: views: select: @@ -779,6 +969,7 @@ components: x-cfn-type-name: AWS::CodeArtifact::Domain x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -792,24 +983,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeArtifact::Domain" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/domain/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/domain/methods/delete_resource' - x-type: get config: views: select: @@ -851,10 +1027,26 @@ components: x-cfn-type-name: AWS::CodeArtifact::PackageGroup x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PackageGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeArtifact::PackageGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -867,7 +1059,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/package_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/package_groups/methods/delete_resource' config: views: select: @@ -893,6 +1086,7 @@ components: x-cfn-type-name: AWS::CodeArtifact::PackageGroup x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -906,24 +1100,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeArtifact::PackageGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/package_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/package_group/methods/delete_resource' - x-type: get config: views: select: @@ -967,10 +1146,26 @@ components: x-cfn-type-name: AWS::CodeArtifact::Repository x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Repository&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeArtifact::Repository" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -983,7 +1178,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/repositories/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/repositories/methods/delete_resource' config: views: select: @@ -1009,6 +1205,7 @@ components: x-cfn-type-name: AWS::CodeArtifact::Repository x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1022,24 +1219,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeArtifact::Repository" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/repository/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/repository/methods/delete_resource' - x-type: get config: views: select: @@ -1223,8 +1405,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDomain + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDomainRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PackageGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePackageGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePackageGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Repository&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRepository + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRepositoryRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/codebuild.yaml b/providers/src/aws/v00.00.00000/services/codebuild.yaml index 8d594f83..39cbfb14 100644 --- a/providers/src/aws/v00.00.00000/services/codebuild.yaml +++ b/providers/src/aws/v00.00.00000/services/codebuild.yaml @@ -464,6 +464,53 @@ components: update: - codebuild:BatchGetFleets - codebuild:UpdateFleet + CreateFleetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + type: string + minLength: 2 + maxLength: 128 + BaseCapacity: + type: integer + minimum: 1 + EnvironmentType: + type: string + enum: + - WINDOWS_SERVER_2019_CONTAINER + - WINDOWS_SERVER_2022_CONTAINER + - LINUX_CONTAINER + - LINUX_GPU_CONTAINER + - ARM_CONTAINER + ComputeType: + type: string + enum: + - BUILD_GENERAL1_SMALL + - BUILD_GENERAL1_MEDIUM + - BUILD_GENERAL1_LARGE + - BUILD_GENERAL1_2XLARGE + Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Arn: + type: string + minLength: 1 + x-stackQL-stringOnly: true + x-title: CreateFleetRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -479,10 +526,26 @@ components: x-cfn-type-name: AWS::CodeBuild::Fleet x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Fleet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeBuild::Fleet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -495,7 +558,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/fleets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/fleets/methods/delete_resource' config: views: select: @@ -521,6 +585,7 @@ components: x-cfn-type-name: AWS::CodeBuild::Fleet x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -534,24 +599,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeBuild::Fleet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/fleet/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/fleet/methods/delete_resource' - x-type: get config: views: select: @@ -727,8 +777,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Fleet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFleet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFleetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/codeconnections.yaml b/providers/src/aws/v00.00.00000/services/codeconnections.yaml index a65e954a..47d4dddc 100644 --- a/providers/src/aws/v00.00.00000/services/codeconnections.yaml +++ b/providers/src/aws/v00.00.00000/services/codeconnections.yaml @@ -480,6 +480,58 @@ components: list: - codeconnections:ListConnections - codeconnections:ListTagsForResource + CreateConnectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConnectionArn: + description: The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services. + type: string + minLength: 0 + maxLength: 256 + pattern: arn:aws(-[\w]+)*:.+:.+:[0-9]{12}:.+ + ConnectionName: + description: The name of the connection. Connection names must be unique in an AWS user account. + type: string + minLength: 1 + maxLength: 32 + ConnectionStatus: + description: The current status of the connection. + type: string + OwnerAccountId: + description: The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository. + type: string + minLength: 12 + maxLength: 12 + pattern: '[0-9]{12}' + ProviderType: + description: The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn. + type: string + HostArn: + description: The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn. + type: string + minLength: 0 + maxLength: 256 + pattern: arn:aws(-[\w]+)*:.+:.+:[0-9]{12}:.+ + Tags: + description: Specifies the tags applied to a connection. + type: array + items: + $ref: '#/components/schemas/Tag' + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateConnectionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -495,10 +547,26 @@ components: x-cfn-type-name: AWS::CodeConnections::Connection x-identifiers: - ConnectionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Connection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeConnections::Connection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -511,7 +579,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/connections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/connections/methods/delete_resource' config: views: select: @@ -537,6 +606,7 @@ components: x-cfn-type-name: AWS::CodeConnections::Connection x-identifiers: - ConnectionArn + x-type: get methods: update_resource: operation: @@ -550,24 +620,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeConnections::Connection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/connection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/connection/methods/delete_resource' - x-type: get config: views: select: @@ -745,8 +800,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Connection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConnection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConnectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/codedeploy.yaml b/providers/src/aws/v00.00.00000/services/codedeploy.yaml index 781c73eb..7e631800 100644 --- a/providers/src/aws/v00.00.00000/services/codedeploy.yaml +++ b/providers/src/aws/v00.00.00000/services/codedeploy.yaml @@ -554,6 +554,68 @@ components: - codedeploy:DeleteDeploymentConfig list: - codedeploy:ListDeploymentConfigs + CreateApplicationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ApplicationName: + description: A name for the application. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name. + type: string + ComputePlatform: + description: The compute platform that CodeDeploy deploys the application to. + type: string + Tags: + description: 'The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define. ' + type: array + items: + $ref: '#/components/schemas/Tag' + x-insertionOrder: false + uniqueItems: false + x-stackQL-stringOnly: true + x-title: CreateApplicationRequest + type: object + required: [] + CreateDeploymentConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ComputePlatform: + description: The destination platform type for the deployment (Lambda, Server, or ECS). + type: string + DeploymentConfigName: + description: A name for the deployment configuration. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the deployment configuration name. For more information, see Name Type. + type: string + MinimumHealthyHosts: + description: '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.' + $ref: '#/components/schemas/MinimumHealthyHosts' + ZonalConfig: + description: The zonal deployment config that specifies how the zonal deployment behaves + $ref: '#/components/schemas/ZonalConfig' + TrafficRoutingConfig: + description: The configuration that specifies how the deployment traffic is routed. + $ref: '#/components/schemas/TrafficRoutingConfig' + x-stackQL-stringOnly: true + x-title: CreateDeploymentConfigRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -569,10 +631,26 @@ components: x-cfn-type-name: AWS::CodeDeploy::Application x-identifiers: - ApplicationName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeDeploy::Application" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -585,7 +663,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource' config: views: select: @@ -611,6 +690,7 @@ components: x-cfn-type-name: AWS::CodeDeploy::Application x-identifiers: - ApplicationName + x-type: get methods: update_resource: operation: @@ -624,24 +704,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeDeploy::Application" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/application/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/application/methods/delete_resource' - x-type: get config: views: select: @@ -675,10 +740,26 @@ components: x-cfn-type-name: AWS::CodeDeploy::DeploymentConfig x-identifiers: - DeploymentConfigName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DeploymentConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeDeploy::DeploymentConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -691,7 +772,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/deployment_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/deployment_configs/methods/delete_resource' config: views: select: @@ -717,24 +799,10 @@ components: x-cfn-type-name: AWS::CodeDeploy::DeploymentConfig x-identifiers: - DeploymentConfigName - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeDeploy::DeploymentConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/deployment_config/methods/delete_resource' - x-type: get config: views: select: @@ -908,8 +976,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplication + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DeploymentConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDeploymentConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDeploymentConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/codeguruprofiler.yaml b/providers/src/aws/v00.00.00000/services/codeguruprofiler.yaml index 41a86d16..4c9d0781 100644 --- a/providers/src/aws/v00.00.00000/services/codeguruprofiler.yaml +++ b/providers/src/aws/v00.00.00000/services/codeguruprofiler.yaml @@ -511,6 +511,64 @@ components: list: - codeguru-profiler:ListProfilingGroups - codeguru-profiler:ListTagsForResource + CreateProfilingGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ProfilingGroupName: + description: The name of the profiling group. + type: string + minLength: 1 + maxLength: 255 + pattern: ^[\w-]+$ + ComputePlatform: + description: The compute platform of the profiling group. + type: string + enum: + - Default + - AWSLambda + AgentPermissions: + description: The agent permissions attached to this profiling group. + type: object + additionalProperties: false + required: + - Principals + properties: + Principals: + description: The principals for the agent permissions. + type: array + items: + $ref: '#/components/schemas/IamArn' + AnomalyDetectionNotificationConfiguration: + description: Configuration for Notification Channels for Anomaly Detection feature in CodeGuru Profiler which enables customers to detect anomalies in the application profile for those methods that represent the highest proportion of CPU time or latency + type: array + items: + $ref: '#/components/schemas/Channel' + Arn: + description: The Amazon Resource Name (ARN) of the specified profiling group. + $ref: '#/components/schemas/ProfilingGroupArn' + x-examples: + - arn:aws:codeguru-profiler:us-east-1:000000000000:profilingGroup/My-example-profiling-group + Tags: + description: The tags associated with a profiling group. + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 50 + uniqueItems: true + x-stackQL-stringOnly: true + x-title: CreateProfilingGroupRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -526,10 +584,26 @@ components: x-cfn-type-name: AWS::CodeGuruProfiler::ProfilingGroup x-identifiers: - ProfilingGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ProfilingGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeGuruProfiler::ProfilingGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -542,7 +616,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/profiling_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/profiling_groups/methods/delete_resource' config: views: select: @@ -568,6 +643,7 @@ components: x-cfn-type-name: AWS::CodeGuruProfiler::ProfilingGroup x-identifiers: - ProfilingGroupName + x-type: get methods: update_resource: operation: @@ -581,24 +657,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeGuruProfiler::ProfilingGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/profiling_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/profiling_group/methods/delete_resource' - x-type: get config: views: select: @@ -774,8 +835,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ProfilingGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProfilingGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProfilingGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/codegurureviewer.yaml b/providers/src/aws/v00.00.00000/services/codegurureviewer.yaml index a6da3214..42fcc3fc 100644 --- a/providers/src/aws/v00.00.00000/services/codegurureviewer.yaml +++ b/providers/src/aws/v00.00.00000/services/codegurureviewer.yaml @@ -502,6 +502,68 @@ components: - codestar-connections:ListTagsForResource list: - codeguru-reviewer:ListRepositoryAssociations + CreateRepositoryAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Name of the repository to be associated. + type: string + minLength: 1 + maxLength: 100 + pattern: ^\S[\w.-]*$ + Type: + description: The type of repository to be associated. + type: string + enum: + - CodeCommit + - Bitbucket + - GitHubEnterpriseServer + - S3Bucket + Owner: + description: The owner of the repository. For a Bitbucket repository, this is the username for the account that owns the repository. + type: string + minLength: 1 + maxLength: 100 + pattern: ^\S(.*\S)?$ + BucketName: + description: The name of the S3 bucket associated with an associated S3 repository. It must start with `codeguru-reviewer-`. + type: string + minLength: 3 + maxLength: 63 + pattern: ^\S(.*\S)?$ + ConnectionArn: + description: The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. + type: string + minLength: 0 + maxLength: 256 + pattern: arn:aws(-[\w]+)*:.+:.+:[0-9]{12}:.+ + AssociationArn: + description: The Amazon Resource Name (ARN) of the repository association. + type: string + minLength: 0 + maxLength: 256 + pattern: arn:aws(-[\w]+)*:.+:.+:[0-9]{12}:.+ + Tags: + description: The tags associated with a repository association. + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 50 + uniqueItems: false + x-stackQL-stringOnly: true + x-title: CreateRepositoryAssociationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -517,10 +579,26 @@ components: x-cfn-type-name: AWS::CodeGuruReviewer::RepositoryAssociation x-identifiers: - AssociationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RepositoryAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeGuruReviewer::RepositoryAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -533,7 +611,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/repository_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/repository_associations/methods/delete_resource' config: views: select: @@ -559,24 +638,10 @@ components: x-cfn-type-name: AWS::CodeGuruReviewer::RepositoryAssociation x-identifiers: - AssociationArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeGuruReviewer::RepositoryAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/repository_association/methods/delete_resource' - x-type: get config: views: select: @@ -754,8 +819,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__RepositoryAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRepositoryAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRepositoryAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/codepipeline.yaml b/providers/src/aws/v00.00.00000/services/codepipeline.yaml index 7e375e7a..9c6b2acb 100644 --- a/providers/src/aws/v00.00.00000/services/codepipeline.yaml +++ b/providers/src/aws/v00.00.00000/services/codepipeline.yaml @@ -551,6 +551,57 @@ components: - codepipeline:ListActionTypes list: - codepipeline:ListActionTypes + CreateCustomActionTypeRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Category: + description: The category of the custom action, such as a build action or a test action. + type: string + ConfigurationProperties: + description: The configuration properties for the custom action. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/ConfigurationProperties' + InputArtifactDetails: + description: The details of the input artifact for the action, such as its commit ID. + $ref: '#/components/schemas/ArtifactDetails' + OutputArtifactDetails: + description: The details of the output artifact of the action, such as its commit ID. + $ref: '#/components/schemas/ArtifactDetails' + Provider: + description: The provider of the service used in the custom action, such as AWS CodeDeploy. + type: string + Settings: + description: URLs that provide users information about this custom action. + $ref: '#/components/schemas/Settings' + Tags: + description: Any tags assigned to the custom action. + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Version: + description: The version identifier of the custom action. + type: string + Id: + type: string + x-stackQL-stringOnly: true + x-title: CreateCustomActionTypeRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -568,10 +619,26 @@ components: - Category - Provider - Version + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CustomActionType&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodePipeline::CustomActionType" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -584,7 +651,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/custom_action_types/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/custom_action_types/methods/delete_resource' config: views: select: @@ -616,6 +684,7 @@ components: - Category - Provider - Version + x-type: get methods: update_resource: operation: @@ -629,24 +698,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodePipeline::CustomActionType" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/custom_action_type/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/custom_action_type/methods/delete_resource' - x-type: get config: views: select: @@ -828,8 +882,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__CustomActionType&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCustomActionType + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCustomActionTypeRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/codestarconnections.yaml b/providers/src/aws/v00.00.00000/services/codestarconnections.yaml index f0fa1478..d0291057 100644 --- a/providers/src/aws/v00.00.00000/services/codestarconnections.yaml +++ b/providers/src/aws/v00.00.00000/services/codestarconnections.yaml @@ -675,6 +675,180 @@ components: list: - codestar-connections:ListSyncConfigurations - codestar-connections:ListRepositoryLinks + CreateConnectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConnectionArn: + description: The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services. + type: string + minLength: 0 + maxLength: 256 + pattern: arn:aws(-[\w]+)*:.+:.+:[0-9]{12}:.+ + ConnectionName: + description: The name of the connection. Connection names must be unique in an AWS user account. + type: string + minLength: 1 + maxLength: 32 + ConnectionStatus: + description: The current status of the connection. + type: string + OwnerAccountId: + description: The name of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository. + type: string + minLength: 12 + maxLength: 12 + pattern: '[0-9]{12}' + ProviderType: + description: The name of the external provider where your third-party code repository is configured. You must specify either a ProviderType or a HostArn. + type: string + HostArn: + description: The host arn configured to represent the infrastructure where your third-party provider is installed. You must specify either a ProviderType or a HostArn. + type: string + minLength: 0 + maxLength: 256 + pattern: arn:aws(-[\w]+)*:.+:.+:[0-9]{12}:.+ + Tags: + description: Specifies the tags applied to a connection. + type: array + items: + $ref: '#/components/schemas/Tag' + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateConnectionRequest + type: object + required: [] + CreateRepositoryLinkRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConnectionArn: + description: The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services. + type: string + pattern: arn:(aws|aws-us-gov|aws-cn):.+:.+:[0-9]{12}:.+ + ProviderType: + description: The name of the external provider where your third-party code repository is configured. + type: string + enum: + - GitHub + - Bitbucket + - GitHubEnterprise + - GitLab + - GitLabSelfManaged + OwnerId: + description: the ID of the entity that owns the repository. + type: string + pattern: '[a-za-z0-9_\.-]+' + RepositoryName: + description: The repository for which the link is being created. + type: string + pattern: '[a-za-z0-9_\.-]+' + EncryptionKeyArn: + description: The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used. + type: string + pattern: arn:(aws|aws-us-gov|aws-cn):.+:.+:[0-9]{12}:.+ + RepositoryLinkId: + description: A UUID that uniquely identifies the RepositoryLink. + type: string + pattern: '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}' + RepositoryLinkArn: + description: A unique Amazon Resource Name (ARN) to designate the repository link. + type: string + pattern: arn:(aws|aws-us-gov|aws-cn):.+:.+:[0-9]{12}:.+ + Tags: + description: Specifies the tags applied to a RepositoryLink. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateRepositoryLinkRequest + type: object + required: [] + CreateSyncConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + OwnerId: + description: the ID of the entity that owns the repository. + type: string + pattern: '[a-za-z0-9_\.-]+' + ResourceName: + description: The name of the resource that is being synchronized to the repository. + type: string + pattern: '[a-za-z0-9_\.-]+' + RepositoryName: + description: The name of the repository that is being synced to. + type: string + pattern: '[a-za-z0-9_\.-]+' + ProviderType: + description: The name of the external provider where your third-party code repository is configured. + type: string + enum: + - GitHub + - Bitbucket + - GitHubEnterprise + - GitLab + - GitLabSelfManaged + Branch: + description: The name of the branch of the repository from which resources are to be synchronized, + type: string + ConfigFile: + description: The source provider repository path of the sync configuration file of the respective SyncType. + type: string + SyncType: + description: The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC. + type: string + RoleArn: + description: The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository. + type: string + PublishDeploymentStatus: + description: Whether to enable or disable publishing of deployment status to source providers. + type: string + enum: + - ENABLED + - DISABLED + TriggerResourceUpdateOn: + description: When to trigger Git sync to begin the stack update. + type: string + enum: + - ANY_CHANGE + - FILE_CHANGE + RepositoryLinkId: + description: A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with. + type: string + pattern: '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}' + x-stackQL-stringOnly: true + x-title: CreateSyncConfigurationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -690,10 +864,26 @@ components: x-cfn-type-name: AWS::CodeStarConnections::Connection x-identifiers: - ConnectionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Connection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeStarConnections::Connection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -706,7 +896,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/connections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/connections/methods/delete_resource' config: views: select: @@ -732,6 +923,7 @@ components: x-cfn-type-name: AWS::CodeStarConnections::Connection x-identifiers: - ConnectionArn + x-type: get methods: update_resource: operation: @@ -745,24 +937,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeStarConnections::Connection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/connection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/connection/methods/delete_resource' - x-type: get config: views: select: @@ -804,10 +981,26 @@ components: x-cfn-type-name: AWS::CodeStarConnections::RepositoryLink x-identifiers: - RepositoryLinkArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RepositoryLink&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeStarConnections::RepositoryLink" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -820,7 +1013,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/repository_links/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/repository_links/methods/delete_resource' config: views: select: @@ -846,6 +1040,7 @@ components: x-cfn-type-name: AWS::CodeStarConnections::RepositoryLink x-identifiers: - RepositoryLinkArn + x-type: get methods: update_resource: operation: @@ -859,24 +1054,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeStarConnections::RepositoryLink" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/repository_link/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/repository_link/methods/delete_resource' - x-type: get config: views: select: @@ -921,10 +1101,26 @@ components: x-identifiers: - ResourceName - SyncType + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SyncConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeStarConnections::SyncConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -937,7 +1133,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/sync_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/sync_configurations/methods/delete_resource' config: views: select: @@ -966,6 +1163,7 @@ components: x-identifiers: - ResourceName - SyncType + x-type: get methods: update_resource: operation: @@ -979,24 +1177,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeStarConnections::SyncConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/sync_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/sync_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -1182,8 +1365,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Connection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConnection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConnectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RepositoryLink&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRepositoryLink + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRepositoryLinkRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SyncConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSyncConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSyncConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/codestarnotifications.yaml b/providers/src/aws/v00.00.00000/services/codestarnotifications.yaml index 5515f3d3..2bf1c91a 100644 --- a/providers/src/aws/v00.00.00000/services/codestarnotifications.yaml +++ b/providers/src/aws/v00.00.00000/services/codestarnotifications.yaml @@ -489,6 +489,75 @@ components: - codestar-notifications:updateNotificationRule - codestar-notifications:TagResource - codestar-notifications:UntagResource + CreateNotificationRuleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + EventTypeId: + type: string + minLength: 1 + maxLength: 2048 + CreatedBy: + type: string + minLength: 1 + maxLength: 2048 + TargetAddress: + type: string + minLength: 1 + maxLength: 2048 + EventTypeIds: + type: array + uniqueItems: false + items: + type: string + minLength: 1 + maxLength: 200 + Status: + type: string + enum: + - ENABLED + - DISABLED + DetailType: + type: string + enum: + - BASIC + - FULL + Resource: + type: string + pattern: ^arn:aws[^:\s]*:[^:\s]*:[^:\s]*:[0-9]{12}:[^\s]+$ + Targets: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Target' + maxItems: 10 + Tags: + type: object + additionalProperties: false + x-patternProperties: + .*: + type: string + Name: + type: string + pattern: '[A-Za-z0-9\-_ ]+$' + minLength: 1 + maxLength: 64 + Arn: + type: string + pattern: ^arn:aws[^:\s]*:codestar-notifications:[^:\s]+:\d{12}:notificationrule\/(.*\S)?$ + x-stackQL-stringOnly: true + x-title: CreateNotificationRuleRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -504,10 +573,26 @@ components: x-cfn-type-name: AWS::CodeStarNotifications::NotificationRule x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__NotificationRule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CodeStarNotifications::NotificationRule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -520,7 +605,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/notification_rules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/notification_rules/methods/delete_resource' config: views: select: @@ -546,6 +632,7 @@ components: x-cfn-type-name: AWS::CodeStarNotifications::NotificationRule x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -559,24 +646,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CodeStarNotifications::NotificationRule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/notification_rule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/notification_rule/methods/delete_resource' - x-type: get config: views: select: @@ -762,8 +834,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__NotificationRule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateNotificationRule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateNotificationRuleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/cognito.yaml b/providers/src/aws/v00.00.00000/services/cognito.yaml index 91bbb46f..0316c264 100644 --- a/providers/src/aws/v00.00.00000/services/cognito.yaml +++ b/providers/src/aws/v00.00.00000/services/cognito.yaml @@ -1523,6 +1523,452 @@ components: - cognito-idp:AdminListGroupsForUser read: - cognito-idp:AdminListGroupsForUser + CreateIdentityPoolRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PushSync: + $ref: '#/components/schemas/PushSync' + CognitoIdentityProviders: + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/CognitoIdentityProvider' + DeveloperProviderName: + type: string + CognitoStreams: + $ref: '#/components/schemas/CognitoStreams' + SupportedLoginProviders: + type: object + Name: + type: string + CognitoEvents: + type: object + Id: + type: string + IdentityPoolName: + type: string + AllowUnauthenticatedIdentities: + type: boolean + SamlProviderARNs: + type: array + uniqueItems: false + x-insertionOrder: false + items: + type: string + OpenIdConnectProviderARNs: + type: array + uniqueItems: false + x-insertionOrder: false + items: + type: string + AllowClassicFlow: + type: boolean + x-stackQL-stringOnly: true + x-title: CreateIdentityPoolRequest + type: object + required: [] + CreateIdentityPoolPrincipalTagRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + IdentityPoolId: + type: string + IdentityProviderName: + type: string + UseDefaults: + type: boolean + PrincipalTags: + type: object + x-stackQL-stringOnly: true + x-title: CreateIdentityPoolPrincipalTagRequest + type: object + required: [] + CreateIdentityPoolRoleAttachmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + IdentityPoolId: + type: string + Roles: + x-patternProperties: + ^.+$: + type: string + additionalProperties: false + Id: + type: string + RoleMappings: + x-patternProperties: + ^.+$: + $ref: '#/components/schemas/RoleMapping' + additionalProperties: false + x-stackQL-stringOnly: true + x-title: CreateIdentityPoolRoleAttachmentRequest + type: object + required: [] + CreateLogDeliveryConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + UserPoolId: + type: string + LogConfigurations: + $ref: '#/components/schemas/LogConfigurations' + x-stackQL-stringOnly: true + x-title: CreateLogDeliveryConfigurationRequest + type: object + required: [] + CreateUserPoolRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + UserPoolName: + type: string + minLength: 1 + maxLength: 128 + Policies: + $ref: '#/components/schemas/Policies' + AccountRecoverySetting: + $ref: '#/components/schemas/AccountRecoverySetting' + AdminCreateUserConfig: + $ref: '#/components/schemas/AdminCreateUserConfig' + AliasAttributes: + type: array + items: + type: string + UsernameAttributes: + type: array + items: + type: string + AutoVerifiedAttributes: + type: array + items: + type: string + DeviceConfiguration: + $ref: '#/components/schemas/DeviceConfiguration' + EmailConfiguration: + $ref: '#/components/schemas/EmailConfiguration' + EmailVerificationMessage: + type: string + minLength: 6 + maxLength: 20000 + EmailVerificationSubject: + type: string + minLength: 1 + maxLength: 140 + DeletionProtection: + type: string + LambdaConfig: + $ref: '#/components/schemas/LambdaConfig' + MfaConfiguration: + type: string + EnabledMfas: + type: array + items: + type: string + SmsAuthenticationMessage: + type: string + minLength: 6 + maxLength: 140 + SmsConfiguration: + $ref: '#/components/schemas/SmsConfiguration' + SmsVerificationMessage: + type: string + minLength: 6 + maxLength: 140 + Schema: + type: array + items: + $ref: '#/components/schemas/SchemaAttribute' + UsernameConfiguration: + $ref: '#/components/schemas/UsernameConfiguration' + UserAttributeUpdateSettings: + $ref: '#/components/schemas/UserAttributeUpdateSettings' + UserPoolTags: + type: object + x-patternProperties: + ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$: + type: string + additionalProperties: false + VerificationMessageTemplate: + $ref: '#/components/schemas/VerificationMessageTemplate' + UserPoolAddOns: + $ref: '#/components/schemas/UserPoolAddOns' + ProviderName: + type: string + ProviderURL: + type: string + Arn: + type: string + UserPoolId: + type: string + x-stackQL-stringOnly: true + x-title: CreateUserPoolRequest + type: object + required: [] + CreateUserPoolClientRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ClientName: + type: string + minLength: 1 + maxLength: 128 + ExplicitAuthFlows: + type: array + items: + type: string + GenerateSecret: + type: boolean + ReadAttributes: + type: array + items: + type: string + AuthSessionValidity: + type: integer + minimum: 3 + maximum: 15 + RefreshTokenValidity: + type: integer + minimum: 1 + maximum: 315360000 + AccessTokenValidity: + type: integer + minimum: 1 + maximum: 86400 + IdTokenValidity: + type: integer + minimum: 1 + maximum: 86400 + TokenValidityUnits: + $ref: '#/components/schemas/TokenValidityUnits' + UserPoolId: + type: string + WriteAttributes: + type: array + items: + type: string + AllowedOAuthFlows: + type: array + items: + type: string + AllowedOAuthFlowsUserPoolClient: + type: boolean + AllowedOAuthScopes: + type: array + items: + type: string + CallbackURLs: + type: array + items: + type: string + DefaultRedirectURI: + type: string + LogoutURLs: + type: array + items: + type: string + SupportedIdentityProviders: + type: array + items: + type: string + AnalyticsConfiguration: + $ref: '#/components/schemas/AnalyticsConfiguration' + PreventUserExistenceErrors: + type: string + EnableTokenRevocation: + type: boolean + EnablePropagateAdditionalUserContextData: + type: boolean + Name: + type: string + ClientSecret: + type: string + ClientId: + type: string + x-stackQL-stringOnly: true + x-title: CreateUserPoolClientRequest + type: object + required: [] + CreateUserPoolGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 2048 + GroupName: + type: string + Precedence: + type: integer + minimum: 0 + RoleArn: + type: string + UserPoolId: + type: string + x-stackQL-stringOnly: true + x-title: CreateUserPoolGroupRequest + type: object + required: [] + CreateUserPoolRiskConfigurationAttachmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + UserPoolId: + type: string + ClientId: + type: string + RiskExceptionConfiguration: + $ref: '#/components/schemas/RiskExceptionConfigurationType' + CompromisedCredentialsRiskConfiguration: + $ref: '#/components/schemas/CompromisedCredentialsRiskConfigurationType' + AccountTakeoverRiskConfiguration: + $ref: '#/components/schemas/AccountTakeoverRiskConfigurationType' + x-stackQL-stringOnly: true + x-title: CreateUserPoolRiskConfigurationAttachmentRequest + type: object + required: [] + CreateUserPoolUserRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DesiredDeliveryMediums: + type: array + items: + type: string + ForceAliasCreation: + type: boolean + UserAttributes: + type: array + items: + $ref: '#/components/schemas/AttributeType' + MessageAction: + type: string + Username: + type: string + UserPoolId: + type: string + ValidationData: + type: array + items: + $ref: '#/components/schemas/AttributeType' + ClientMetadata: + type: object + x-patternProperties: + ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$: + type: string + additionalProperties: false + x-stackQL-stringOnly: true + x-title: CreateUserPoolUserRequest + type: object + required: [] + CreateUserPoolUserToGroupAttachmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + UserPoolId: + type: string + Username: + type: string + GroupName: + type: string + x-stackQL-stringOnly: true + x-title: CreateUserPoolUserToGroupAttachmentRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1538,10 +1984,26 @@ components: x-cfn-type-name: AWS::Cognito::IdentityPool x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__IdentityPool&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cognito::IdentityPool" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1554,7 +2016,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/identity_pools/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/identity_pools/methods/delete_resource' config: views: select: @@ -1580,6 +2043,7 @@ components: x-cfn-type-name: AWS::Cognito::IdentityPool x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1593,24 +2057,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cognito::IdentityPool" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/identity_pool/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/identity_pool/methods/delete_resource' - x-type: get config: views: select: @@ -1665,10 +2114,26 @@ components: x-identifiers: - IdentityPoolId - IdentityProviderName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__IdentityPoolPrincipalTag&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cognito::IdentityPoolPrincipalTag" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1681,7 +2146,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/identity_pool_principal_tags/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/identity_pool_principal_tags/methods/delete_resource' config: views: select: @@ -1710,6 +2176,7 @@ components: x-identifiers: - IdentityPoolId - IdentityProviderName + x-type: get methods: update_resource: operation: @@ -1723,24 +2190,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cognito::IdentityPoolPrincipalTag" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/identity_pool_principal_tag/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/identity_pool_principal_tag/methods/delete_resource' - x-type: get config: views: select: @@ -1776,10 +2228,26 @@ components: x-cfn-type-name: AWS::Cognito::IdentityPoolRoleAttachment x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__IdentityPoolRoleAttachment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cognito::IdentityPoolRoleAttachment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1792,7 +2260,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/identity_pool_role_attachments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/identity_pool_role_attachments/methods/delete_resource' config: views: select: @@ -1818,6 +2287,7 @@ components: x-cfn-type-name: AWS::Cognito::IdentityPoolRoleAttachment x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1831,24 +2301,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cognito::IdentityPoolRoleAttachment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/identity_pool_role_attachment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/identity_pool_role_attachment/methods/delete_resource' - x-type: get config: views: select: @@ -1884,10 +2339,26 @@ components: x-cfn-type-name: AWS::Cognito::LogDeliveryConfiguration x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LogDeliveryConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cognito::LogDeliveryConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1900,6 +2371,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/log_delivery_configurations/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/log_delivery_configurations/methods/delete_resource' log_delivery_configuration: name: log_delivery_configuration id: aws.cognito.log_delivery_configuration @@ -1907,6 +2380,7 @@ components: x-cfn-type-name: AWS::Cognito::LogDeliveryConfiguration x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1920,24 +2394,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cognito::LogDeliveryConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/log_delivery_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/log_delivery_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -1971,10 +2430,26 @@ components: x-cfn-type-name: AWS::Cognito::UserPool x-identifiers: - UserPoolId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UserPool&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cognito::UserPool" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1987,7 +2462,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/user_pools/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/user_pools/methods/delete_resource' config: views: select: @@ -2013,6 +2489,7 @@ components: x-cfn-type-name: AWS::Cognito::UserPool x-identifiers: - UserPoolId + x-type: get methods: update_resource: operation: @@ -2026,24 +2503,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cognito::UserPool" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/user_pool/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/user_pool/methods/delete_resource' - x-type: get config: views: select: @@ -2128,10 +2590,26 @@ components: x-identifiers: - UserPoolId - ClientId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UserPoolClient&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cognito::UserPoolClient" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2144,7 +2622,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/user_pool_clients/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/user_pool_clients/methods/delete_resource' config: views: select: @@ -2173,6 +2652,7 @@ components: x-identifiers: - UserPoolId - ClientId + x-type: get methods: update_resource: operation: @@ -2186,24 +2666,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cognito::UserPoolClient" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/user_pool_client/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/user_pool_client/methods/delete_resource' - x-type: get config: views: select: @@ -2282,10 +2747,26 @@ components: x-identifiers: - UserPoolId - GroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UserPoolGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cognito::UserPoolGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2298,7 +2779,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/user_pool_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/user_pool_groups/methods/delete_resource' config: views: select: @@ -2327,6 +2809,7 @@ components: x-identifiers: - UserPoolId - GroupName + x-type: get methods: update_resource: operation: @@ -2340,24 +2823,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cognito::UserPoolGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/user_pool_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/user_pool_group/methods/delete_resource' - x-type: get config: views: select: @@ -2396,10 +2864,26 @@ components: x-identifiers: - UserPoolId - ClientId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UserPoolRiskConfigurationAttachment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cognito::UserPoolRiskConfigurationAttachment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2412,6 +2896,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/user_pool_risk_configuration_attachments/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/user_pool_risk_configuration_attachments/methods/delete_resource' user_pool_risk_configuration_attachment: name: user_pool_risk_configuration_attachment id: aws.cognito.user_pool_risk_configuration_attachment @@ -2420,6 +2906,7 @@ components: x-identifiers: - UserPoolId - ClientId + x-type: get methods: update_resource: operation: @@ -2433,24 +2920,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cognito::UserPoolRiskConfigurationAttachment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/user_pool_risk_configuration_attachment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/user_pool_risk_configuration_attachment/methods/delete_resource' - x-type: get config: views: select: @@ -2489,10 +2961,26 @@ components: x-identifiers: - UserPoolId - Username + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UserPoolUser&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Cognito::UserPoolUser" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2505,7 +2993,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/user_pool_users/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/user_pool_users/methods/delete_resource' config: views: select: @@ -2534,24 +3023,10 @@ components: x-identifiers: - UserPoolId - Username - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Cognito::UserPoolUser" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/user_pool_user/methods/delete_resource' - x-type: get config: views: select: @@ -2597,10 +3072,14 @@ components: - UserPoolId - GroupName - Username + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UserPoolUserToGroupAttachment&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2610,19 +3089,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/user_pool_user_to_group_attachments/methods/create_resource' - user_pool_user_to_group_attachment: - name: user_pool_user_to_group_attachment - id: aws.cognito.user_pool_user_to_group_attachment - x-cfn-schema-name: UserPoolUserToGroupAttachment - x-cfn-type-name: AWS::Cognito::UserPoolUserToGroupAttachment - x-identifiers: - - UserPoolId - - GroupName - - Username - methods: delete_resource: operation: $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' @@ -2636,10 +3102,23 @@ components: mediaType: application/json openAPIDocKey: '200' sqlVerbs: - update: [] + insert: + - $ref: '#/components/x-stackQL-resources/user_pool_user_to_group_attachments/methods/create_resource' delete: - - $ref: '#/components/x-stackQL-resources/user_pool_user_to_group_attachment/methods/delete_resource' + - $ref: '#/components/x-stackQL-resources/user_pool_user_to_group_attachments/methods/delete_resource' + user_pool_user_to_group_attachment: + name: user_pool_user_to_group_attachment + id: aws.cognito.user_pool_user_to_group_attachment + x-cfn-schema-name: UserPoolUserToGroupAttachment + x-cfn-type-name: AWS::Cognito::UserPoolUserToGroupAttachment + x-identifiers: + - UserPoolId + - GroupName + - Username x-type: get + methods: {} + sqlVerbs: + update: [] config: views: select: @@ -2809,8 +3288,430 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__IdentityPool&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIdentityPool + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIdentityPoolRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__IdentityPoolPrincipalTag&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIdentityPoolPrincipalTag + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIdentityPoolPrincipalTagRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__IdentityPoolRoleAttachment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIdentityPoolRoleAttachment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIdentityPoolRoleAttachmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LogDeliveryConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLogDeliveryConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLogDeliveryConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UserPool&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUserPool + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserPoolRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UserPoolClient&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUserPoolClient + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserPoolClientRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UserPoolGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUserPoolGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserPoolGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UserPoolRiskConfigurationAttachment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUserPoolRiskConfigurationAttachment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserPoolRiskConfigurationAttachmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UserPoolUser&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUserPoolUser + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserPoolUserRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UserPoolUserToGroupAttachment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUserPoolUserToGroupAttachment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserPoolUserToGroupAttachmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/comprehend.yaml b/providers/src/aws/v00.00.00000/services/comprehend.yaml index 3ad46606..42eeaee4 100644 --- a/providers/src/aws/v00.00.00000/services/comprehend.yaml +++ b/providers/src/aws/v00.00.00000/services/comprehend.yaml @@ -820,6 +820,133 @@ components: - comprehend:DescribeFlywheel list: - comprehend:ListFlywheels + CreateDocumentClassifierRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DataAccessRoleArn: + type: string + pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+ + minLength: 20 + maxLength: 2048 + InputDataConfig: + $ref: '#/components/schemas/DocumentClassifierInputDataConfig' + OutputDataConfig: + $ref: '#/components/schemas/DocumentClassifierOutputDataConfig' + LanguageCode: + type: string + enum: + - en + - es + - fr + - it + - de + - pt + ModelKmsKeyId: + $ref: '#/components/schemas/KmsKeyId' + ModelPolicy: + type: string + pattern: '[\u0009\u000A\u000D\u0020-\u00FF]+' + minLength: 1 + maxLength: 20000 + DocumentClassifierName: + type: string + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])*$ + minLength: 1 + maxLength: 63 + Mode: + type: string + enum: + - MULTI_CLASS + - MULTI_LABEL + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + x-insertionOrder: false + uniqueItems: true + VersionName: + type: string + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])*$ + minLength: 1 + maxLength: 63 + VolumeKmsKeyId: + $ref: '#/components/schemas/KmsKeyId' + VpcConfig: + $ref: '#/components/schemas/VpcConfig' + Arn: + type: string + pattern: arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:document-classifier/[a-zA-Z0-9](-*[a-zA-Z0-9])*(/version/[a-zA-Z0-9](-*[a-zA-Z0-9])*)? + minLength: 1 + maxLength: 256 + x-stackQL-stringOnly: true + x-title: CreateDocumentClassifierRequest + type: object + required: [] + CreateFlywheelRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ActiveModelArn: + type: string + pattern: arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document-classifier|entity-recognizer)/[a-zA-Z0-9](-*[a-zA-Z0-9])*(/version/[a-zA-Z0-9](-*[a-zA-Z0-9])*)? + maxLength: 256 + DataAccessRoleArn: + type: string + pattern: arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+ + minLength: 20 + maxLength: 2048 + DataLakeS3Uri: + type: string + pattern: s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)? + maxLength: 512 + DataSecurityConfig: + $ref: '#/components/schemas/DataSecurityConfig' + FlywheelName: + type: string + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])*$ + minLength: 1 + maxLength: 63 + ModelType: + type: string + enum: + - DOCUMENT_CLASSIFIER + - ENTITY_RECOGNIZER + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + x-insertionOrder: false + uniqueItems: true + TaskConfig: + $ref: '#/components/schemas/TaskConfig' + Arn: + type: string + pattern: arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:flywheel/[a-zA-Z0-9](-*[a-zA-Z0-9])* + minLength: 1 + maxLength: 256 + x-stackQL-stringOnly: true + x-title: CreateFlywheelRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -835,10 +962,26 @@ components: x-cfn-type-name: AWS::Comprehend::DocumentClassifier x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DocumentClassifier&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Comprehend::DocumentClassifier" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -851,7 +994,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/document_classifiers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/document_classifiers/methods/delete_resource' config: views: select: @@ -877,6 +1021,7 @@ components: x-cfn-type-name: AWS::Comprehend::DocumentClassifier x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -890,24 +1035,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Comprehend::DocumentClassifier" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/document_classifier/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/document_classifier/methods/delete_resource' - x-type: get config: views: select: @@ -961,10 +1091,26 @@ components: x-cfn-type-name: AWS::Comprehend::Flywheel x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Flywheel&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Comprehend::Flywheel" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -977,7 +1123,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/flywheels/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/flywheels/methods/delete_resource' config: views: select: @@ -1003,6 +1150,7 @@ components: x-cfn-type-name: AWS::Comprehend::Flywheel x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1016,24 +1164,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Comprehend::Flywheel" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/flywheel/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/flywheel/methods/delete_resource' - x-type: get config: views: select: @@ -1215,8 +1348,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__DocumentClassifier&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDocumentClassifier + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDocumentClassifierRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Flywheel&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFlywheel + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFlywheelRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/config.yaml b/providers/src/aws/v00.00.00000/services/config.yaml index 75465c27..d5d58b7b 100644 --- a/providers/src/aws/v00.00.00000/services/config.yaml +++ b/providers/src/aws/v00.00.00000/services/config.yaml @@ -1045,6 +1045,315 @@ components: - config:UntagResource list: - config:ListStoredQueries + CreateAggregationAuthorizationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AuthorizedAccountId: + description: The 12-digit account ID of the account authorized to aggregate data. + type: string + pattern: ^\d{12}$ + AuthorizedAwsRegion: + description: The region authorized to collect aggregated data. + type: string + minLength: 1 + maxLength: 64 + AggregationAuthorizationArn: + description: The ARN of the AggregationAuthorization. + type: string + Tags: + description: The tags for the AggregationAuthorization. + type: array + maxItems: 50 + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateAggregationAuthorizationRequest + type: object + required: [] + CreateConfigRuleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConfigRuleId: + type: string + description: '' + Description: + type: string + description: The description that you provide for the CC rule. + Scope: + description: |- + Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes. + The scope can be empty. + $ref: '#/components/schemas/Scope' + ConfigRuleName: + type: string + description: A name for the CC rule. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the rule name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html). + Arn: + type: string + description: '' + Compliance: + type: object + description: Indicates whether an AWS resource or CC rule is compliant and provides the number of contributors that affect the compliance. + additionalProperties: false + properties: + Type: + type: string + description: Compliance type determined by the Config rule + MaximumExecutionFrequency: + type: string + description: |- + The maximum frequency with which CC runs evaluations for a rule. You can specify a value for ``MaximumExecutionFrequency`` when: + + You are using an AWS managed rule that is triggered at a periodic frequency. + + Your custom rule is triggered when CC delivers the configuration snapshot. For more information, see [ConfigSnapshotDeliveryProperties](https://docs.aws.amazon.com/config/latest/APIReference/API_ConfigSnapshotDeliveryProperties.html). + + By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the ``MaximumExecutionFrequency`` parameter. + Source: + description: Provides the rule owner (```` for managed rules, ``CUSTOM_POLICY`` for Custom Policy rules, and ``CUSTOM_LAMBDA`` for Custom Lambda rules), the rule identifier, and the notifications that cause the function to evaluate your AWS resources. + $ref: '#/components/schemas/Source' + InputParameters: + type: object + description: A string, in JSON format, that is passed to the CC rule Lambda function. + EvaluationModes: + type: array + description: The modes the CC rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only. + uniqueItems: false + items: + description: Mode of evaluation of AWS Config rule + $ref: '#/components/schemas/EvaluationModeConfiguration' + x-stackQL-stringOnly: true + x-title: CreateConfigRuleRequest + type: object + required: [] + CreateConfigurationAggregatorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccountAggregationSources: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/AccountAggregationSource' + ConfigurationAggregatorName: + description: The name of the aggregator. + type: string + pattern: '[\w\-]+' + minLength: 1 + maxLength: 256 + ConfigurationAggregatorArn: + description: The Amazon Resource Name (ARN) of the aggregator. + type: string + OrganizationAggregationSource: + $ref: '#/components/schemas/OrganizationAggregationSource' + Tags: + description: The tags for the configuration aggregator. + type: array + maxItems: 50 + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateConfigurationAggregatorRequest + type: object + required: [] + CreateConformancePackRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConformancePackName: + description: Name of the conformance pack which will be assigned as the unique identifier. + type: string + pattern: '[a-zA-Z][-a-zA-Z0-9]*' + minLength: 1 + maxLength: 256 + DeliveryS3Bucket: + description: AWS Config stores intermediate files while processing conformance pack template. + type: string + minLength: 0 + maxLength: 63 + DeliveryS3KeyPrefix: + description: The prefix for delivery S3 bucket. + type: string + minLength: 0 + maxLength: 1024 + TemplateBody: + description: A string containing full conformance pack template body. You can only specify one of the template body or template S3Uri fields. + type: string + minLength: 1 + maxLength: 51200 + TemplateS3Uri: + description: Location of file containing the template body which points to the conformance pack template that is located in an Amazon S3 bucket. You can only specify one of the template body or template S3Uri fields. + type: string + pattern: s3://.* + minLength: 1 + maxLength: 1024 + TemplateSSMDocumentDetails: + description: The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document. + type: object + additionalProperties: false + properties: + DocumentName: + type: string + minLength: 3 + maxLength: 128 + DocumentVersion: + type: string + minLength: 1 + maxLength: 128 + ConformancePackInputParameters: + description: A list of ConformancePackInputParameter objects. + type: array + items: + $ref: '#/components/schemas/ConformancePackInputParameter' + minItems: 0 + maxItems: 60 + x-stackQL-stringOnly: true + x-title: CreateConformancePackRequest + type: object + required: [] + CreateOrganizationConformancePackRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + OrganizationConformancePackName: + description: The name of the organization conformance pack. + type: string + pattern: '[a-zA-Z][-a-zA-Z0-9]*' + minLength: 1 + maxLength: 128 + TemplateS3Uri: + description: Location of file containing the template body. + type: string + pattern: s3://.* + minLength: 1 + maxLength: 1024 + TemplateBody: + description: A string containing full conformance pack template body. + type: string + minLength: 1 + maxLength: 51200 + DeliveryS3Bucket: + description: AWS Config stores intermediate files while processing conformance pack template. + type: string + minLength: 0 + maxLength: 63 + DeliveryS3KeyPrefix: + description: The prefix for the delivery S3 bucket. + type: string + minLength: 0 + maxLength: 1024 + ConformancePackInputParameters: + description: A list of ConformancePackInputParameter objects. + type: array + items: + $ref: '#/components/schemas/ConformancePackInputParameter' + minItems: 0 + maxItems: 60 + ExcludedAccounts: + description: A list of AWS accounts to be excluded from an organization conformance pack while deploying a conformance pack. + type: array + items: + $ref: '#/components/schemas/AccountId' + minItems: 0 + maxItems: 1000 + x-stackQL-stringOnly: true + x-title: CreateOrganizationConformancePackRequest + type: object + required: [] + CreateStoredQueryRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + QueryArn: + type: string + minLength: 1 + maxLength: 500 + QueryId: + type: string + minLength: 1 + maxLength: 36 + pattern: ^\S+$ + QueryName: + type: string + minLength: 1 + maxLength: 64 + pattern: ^[a-zA-Z0-9-_]+$ + QueryDescription: + type: string + minLength: 0 + maxLength: 256 + pattern: '[\s\S]*' + QueryExpression: + type: string + minLength: 1 + maxLength: 4096 + pattern: '[\s\S]*' + Tags: + description: The tags for the stored query. + type: array + maxItems: 50 + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateStoredQueryRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1061,10 +1370,26 @@ components: x-identifiers: - AuthorizedAccountId - AuthorizedAwsRegion + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AggregationAuthorization&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Config::AggregationAuthorization" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1077,7 +1402,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/aggregation_authorizations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/aggregation_authorizations/methods/delete_resource' config: views: select: @@ -1106,6 +1432,7 @@ components: x-identifiers: - AuthorizedAccountId - AuthorizedAwsRegion + x-type: get methods: update_resource: operation: @@ -1119,24 +1446,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Config::AggregationAuthorization" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/aggregation_authorization/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/aggregation_authorization/methods/delete_resource' - x-type: get config: views: select: @@ -1172,10 +1484,26 @@ components: x-cfn-type-name: AWS::Config::ConfigRule x-identifiers: - ConfigRuleName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConfigRule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Config::ConfigRule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1188,7 +1516,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/config_rules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/config_rules/methods/delete_resource' config: views: select: @@ -1214,6 +1543,7 @@ components: x-cfn-type-name: AWS::Config::ConfigRule x-identifiers: - ConfigRuleName + x-type: get methods: update_resource: operation: @@ -1227,24 +1557,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Config::ConfigRule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/config_rule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/config_rule/methods/delete_resource' - x-type: get config: views: select: @@ -1292,10 +1607,26 @@ components: x-cfn-type-name: AWS::Config::ConfigurationAggregator x-identifiers: - ConfigurationAggregatorName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConfigurationAggregator&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Config::ConfigurationAggregator" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1308,7 +1639,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/configuration_aggregators/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/configuration_aggregators/methods/delete_resource' config: views: select: @@ -1334,6 +1666,7 @@ components: x-cfn-type-name: AWS::Config::ConfigurationAggregator x-identifiers: - ConfigurationAggregatorName + x-type: get methods: update_resource: operation: @@ -1347,24 +1680,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Config::ConfigurationAggregator" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/configuration_aggregator/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/configuration_aggregator/methods/delete_resource' - x-type: get config: views: select: @@ -1402,10 +1720,26 @@ components: x-cfn-type-name: AWS::Config::ConformancePack x-identifiers: - ConformancePackName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConformancePack&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Config::ConformancePack" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1418,7 +1752,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/conformance_packs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/conformance_packs/methods/delete_resource' config: views: select: @@ -1444,6 +1779,7 @@ components: x-cfn-type-name: AWS::Config::ConformancePack x-identifiers: - ConformancePackName + x-type: get methods: update_resource: operation: @@ -1457,24 +1793,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Config::ConformancePack" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/conformance_pack/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/conformance_pack/methods/delete_resource' - x-type: get config: views: select: @@ -1516,10 +1837,14 @@ components: x-cfn-type-name: AWS::Config::OrganizationConformancePack x-identifiers: - OrganizationConformancePackName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__OrganizationConformancePack&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1529,17 +1854,30 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/organization_conformance_packs/methods/create_resource' - x-type: list - config: - views: - select: - predicate: sqlDialect == "sqlite3" - ddl: |- - SELECT - region, + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Config::OrganizationConformancePack" + } + response: + mediaType: application/json + openAPIDocKey: '200' + sqlVerbs: + insert: + - $ref: '#/components/x-stackQL-resources/organization_conformance_packs/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/organization_conformance_packs/methods/delete_resource' + config: + views: + select: + predicate: sqlDialect == "sqlite3" + ddl: |- + SELECT + region, JSON_EXTRACT(Properties, '$.OrganizationConformancePackName') as organization_conformance_pack_name FROM aws.cloud_control.resources WHERE data__TypeName = 'AWS::Config::OrganizationConformancePack' AND region = 'us-east-1' @@ -1558,6 +1896,7 @@ components: x-cfn-type-name: AWS::Config::OrganizationConformancePack x-identifiers: - OrganizationConformancePackName + x-type: get methods: update_resource: operation: @@ -1571,24 +1910,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Config::OrganizationConformancePack" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/organization_conformance_pack/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/organization_conformance_pack/methods/delete_resource' - x-type: get config: views: select: @@ -1630,10 +1954,26 @@ components: x-cfn-type-name: AWS::Config::StoredQuery x-identifiers: - QueryName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StoredQuery&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Config::StoredQuery" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1646,7 +1986,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/stored_queries/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/stored_queries/methods/delete_resource' config: views: select: @@ -1672,6 +2013,7 @@ components: x-cfn-type-name: AWS::Config::StoredQuery x-identifiers: - QueryName + x-type: get methods: update_resource: operation: @@ -1685,24 +2027,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Config::StoredQuery" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/stored_query/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/stored_query/methods/delete_resource' - x-type: get config: views: select: @@ -1878,8 +2205,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AggregationAuthorization&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAggregationAuthorization + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAggregationAuthorizationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ConfigRule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConfigRule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConfigRuleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ConfigurationAggregator&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConfigurationAggregator + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConfigurationAggregatorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ConformancePack&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConformancePack + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConformancePackRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__OrganizationConformancePack&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateOrganizationConformancePack + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateOrganizationConformancePackRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StoredQuery&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStoredQuery + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStoredQueryRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/connect.yaml b/providers/src/aws/v00.00.00000/services/connect.yaml index 91fe7caa..3283c34d 100644 --- a/providers/src/aws/v00.00.00000/services/connect.yaml +++ b/providers/src/aws/v00.00.00000/services/connect.yaml @@ -3522,6 +3522,1218 @@ components: update: [] delete: - connect:DeleteViewVersion + CreateApprovedOriginRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Origin: + $ref: '#/components/schemas/Origin' + InstanceId: + $ref: '#/components/schemas/InstanceId' + x-stackQL-stringOnly: true + x-title: CreateApprovedOriginRequest + type: object + required: [] + CreateContactFlowRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance (ARN). + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + minLength: 1 + maxLength: 256 + ContactFlowArn: + description: The identifier of the contact flow (ARN). + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/contact-flow/[-a-zA-Z0-9]*$ + minLength: 1 + maxLength: 500 + Name: + description: The name of the contact flow. + type: string + minLength: 1 + maxLength: 127 + Content: + description: The content of the contact flow in JSON format. + type: string + minLength: 1 + maxLength: 256000 + Description: + description: The description of the contact flow. + type: string + maxLength: 500 + State: + type: string + description: The state of the contact flow. + enum: + - ACTIVE + - ARCHIVED + Type: + description: The type of the contact flow. + type: string + enum: + - CONTACT_FLOW + - CUSTOMER_QUEUE + - CUSTOMER_HOLD + - CUSTOMER_WHISPER + - AGENT_HOLD + - AGENT_WHISPER + - OUTBOUND_WHISPER + - AGENT_TRANSFER + - QUEUE_TRANSFER + Tags: + description: One or more tags. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateContactFlowRequest + type: object + required: [] + CreateContactFlowModuleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance (ARN). + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + minLength: 1 + maxLength: 256 + ContactFlowModuleArn: + description: The identifier of the contact flow module (ARN). + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/flow-module/[-a-zA-Z0-9]*$ + minLength: 1 + maxLength: 256 + Name: + description: The name of the contact flow module. + type: string + minLength: 1 + maxLength: 127 + pattern: .*\S.* + Content: + description: The content of the contact flow module in JSON format. + type: string + minLength: 1 + maxLength: 256000 + Description: + description: The description of the contact flow module. + type: string + maxLength: 500 + pattern: .*\S.* + State: + type: string + description: The state of the contact flow module. + maxLength: 500 + Status: + type: string + description: The status of the contact flow module. + maxLength: 500 + Tags: + description: One or more tags. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateContactFlowModuleRequest + type: object + required: [] + CreateEvaluationFormRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Title: + description: The title of the evaluation form. + type: string + minLength: 1 + maxLength: 128 + Description: + description: The description of the evaluation form. + type: string + maxLength: 1024 + EvaluationFormArn: + description: The Amazon Resource Name (ARN) for the evaluation form. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/evaluation-form/[-a-zA-Z0-9]*$ + InstanceArn: + description: The Amazon Resource Name (ARN) of the instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + Items: + description: The list of evaluation form items. + type: array + x-insertionOrder: true + minItems: 1 + maxItems: 200 + items: + $ref: '#/components/schemas/EvaluationFormBaseItem' + ScoringStrategy: + description: The scoring strategy. + $ref: '#/components/schemas/ScoringStrategy' + Status: + description: The status of the evaluation form. + type: string + default: DRAFT + enum: + - DRAFT + - ACTIVE + Tags: + description: One or more tags. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateEvaluationFormRequest + type: object + required: [] + CreateHoursOfOperationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + Name: + description: The name of the hours of operation. + type: string + minLength: 1 + maxLength: 127 + Description: + description: The description of the hours of operation. + type: string + minLength: 1 + maxLength: 250 + TimeZone: + description: The time zone of the hours of operation. + type: string + Config: + description: 'Configuration information for the hours of operation: day, start time, and end time.' + type: array + maxItems: 100 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/HoursOfOperationConfig' + HoursOfOperationArn: + description: The Amazon Resource Name (ARN) for the hours of operation. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/operating-hours/[-a-zA-Z0-9]*$ + Tags: + description: One or more tags. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateHoursOfOperationRequest + type: object + required: [] + CreateInstanceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: An instanceId is automatically generated on creation and assigned as the unique identifier. + type: string + Arn: + description: An instanceArn is automatically generated on creation based on instanceId. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + IdentityManagementType: + description: Specifies the type of directory integration for new instance. + type: string + enum: + - SAML + - CONNECT_MANAGED + - EXISTING_DIRECTORY + InstanceAlias: + description: Alias of the new directory created as part of new instance creation. + type: string + pattern: ^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$ + minLength: 1 + maxLength: 62 + CreatedTime: + description: Timestamp of instance creation logged as part of instance creation. + type: string + format: date-time + ServiceRole: + description: Service linked role created as part of instance creation. + type: string + InstanceStatus: + description: Specifies the creation status of new instance. + type: string + enum: + - CREATION_IN_PROGRESS + - CREATION_FAILED + - ACTIVE + DirectoryId: + description: Existing directoryId user wants to map to the new Connect instance. + type: string + pattern: ^d-[0-9a-f]{10}$ + minLength: 12 + maxLength: 12 + Attributes: + description: The attributes for the instance. + $ref: '#/components/schemas/Attributes' + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateInstanceRequest + type: object + required: [] + CreateInstanceStorageConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: Connect Instance ID with which the storage config will be associated + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + ResourceType: + $ref: '#/components/schemas/InstanceStorageResourceType' + AssociationId: + $ref: '#/components/schemas/AssociationId' + StorageType: + $ref: '#/components/schemas/StorageType' + S3Config: + $ref: '#/components/schemas/S3Config' + KinesisVideoStreamConfig: + $ref: '#/components/schemas/KinesisVideoStreamConfig' + KinesisStreamConfig: + $ref: '#/components/schemas/KinesisStreamConfig' + KinesisFirehoseConfig: + $ref: '#/components/schemas/KinesisFirehoseConfig' + x-stackQL-stringOnly: true + x-title: CreateInstanceStorageConfigRequest + type: object + required: [] + CreateIntegrationAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + IntegrationAssociationId: + $ref: '#/components/schemas/IntegrationAssociationId' + InstanceId: + $ref: '#/components/schemas/InstanceId' + IntegrationArn: + $ref: '#/components/schemas/IntegrationArn' + IntegrationType: + $ref: '#/components/schemas/IntegrationType' + x-stackQL-stringOnly: true + x-title: CreateIntegrationAssociationRequest + type: object + required: [] + CreatePredefinedAttributeRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + Name: + description: The name of the predefined attribute. + type: string + minLength: 1 + maxLength: 64 + Values: + description: The values of a predefined attribute. + type: object + properties: + StringList: + $ref: '#/components/schemas/StringList' + additionalProperties: false + LastModifiedRegion: + description: Last modified region. + type: string + pattern: '[a-z]{2}(-[a-z]+){1,2}(-[0-9])?' + LastModifiedTime: + description: Last modified time. + type: number + x-stackQL-stringOnly: true + x-title: CreatePredefinedAttributeRequest + type: object + required: [] + CreatePromptRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + Name: + description: The name of the prompt. + type: string + minLength: 1 + maxLength: 127 + Description: + description: The description of the prompt. + type: string + minLength: 1 + maxLength: 250 + S3Uri: + description: S3 URI of the customer's audio file for creating prompts resource.. + type: string + minLength: 1 + maxLength: 2000 + pattern: s3://\S+/.+|https://\S+\.s3(\.\S+)?\.amazonaws\.com/\S+ + PromptArn: + description: The Amazon Resource Name (ARN) for the prompt. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/prompt/[-a-zA-Z0-9]*$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreatePromptRequest + type: object + required: [] + CreateQueueRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + Description: + description: The description of the queue. + type: string + minLength: 1 + maxLength: 250 + HoursOfOperationArn: + description: The identifier for the hours of operation. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/operating-hours/[-a-zA-Z0-9]*$ + MaxContacts: + description: The maximum number of contacts that can be in the queue before it is considered full. + type: integer + minimum: 0 + Name: + description: The name of the queue. + type: string + minLength: 1 + maxLength: 127 + OutboundCallerConfig: + description: The outbound caller ID name, number, and outbound whisper flow. + $ref: '#/components/schemas/OutboundCallerConfig' + QueueArn: + description: The Amazon Resource Name (ARN) for the queue. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/queue/[-a-zA-Z0-9]*$ + Status: + description: The status of the queue. + type: string + enum: + - ENABLED + - DISABLED + QuickConnectArns: + description: The quick connects available to agents who are working the queue. + type: array + minItems: 1 + maxItems: 50 + x-insertionOrder: false + items: + $ref: '#/components/schemas/QuickConnectArn' + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + Type: + type: string + description: The type of queue. + enum: + - STANDARD + - AGENT + x-stackQL-stringOnly: true + x-title: CreateQueueRequest + type: object + required: [] + CreateQuickConnectRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + Name: + description: The name of the quick connect. + type: string + minLength: 1 + maxLength: 127 + Description: + description: The description of the quick connect. + type: string + minLength: 1 + maxLength: 250 + QuickConnectConfig: + description: Configuration settings for the quick connect. + $ref: '#/components/schemas/QuickConnectConfig' + QuickConnectArn: + description: The Amazon Resource Name (ARN) for the quick connect. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/transfer-destination/[-a-zA-Z0-9]*$ + Tags: + type: array + maxItems: 200 + uniqueItems: true + x-insertionOrder: false + description: One or more tags. + items: + $ref: '#/components/schemas/Tag' + QuickConnectType: + description: 'The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).' + type: string + enum: + - PHONE_NUMBER + - QUEUE + - USER + x-stackQL-stringOnly: true + x-title: CreateQuickConnectRequest + type: object + required: [] + CreateRoutingProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + Name: + description: The name of the routing profile. + type: string + minLength: 1 + maxLength: 127 + Description: + description: The description of the routing profile. + type: string + minLength: 1 + maxLength: 250 + MediaConcurrencies: + description: The channels agents can handle in the Contact Control Panel (CCP) for this routing profile. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/MediaConcurrency' + DefaultOutboundQueueArn: + description: The identifier of the default outbound queue for this routing profile. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/queue/[-a-zA-Z0-9]*$ + RoutingProfileArn: + description: The Amazon Resource Name (ARN) of the routing profile. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/routing-profile/[-a-zA-Z0-9]*$ + QueueConfigs: + description: The queues to associate with this routing profile. + type: array + minItems: 1 + maxItems: 10 + x-insertionOrder: false + items: + $ref: '#/components/schemas/RoutingProfileQueueConfig' + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + AgentAvailabilityTimer: + type: string + description: Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact. + enum: + - TIME_SINCE_LAST_ACTIVITY + - TIME_SINCE_LAST_INBOUND + x-stackQL-stringOnly: true + x-title: CreateRoutingProfileRequest + type: object + required: [] + CreateRuleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name of the rule. + type: string + pattern: ^[a-zA-Z0-9._-]{1,200}$ + RuleArn: + description: The Amazon Resource Name (ARN) of the rule. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/rule/[-a-zA-Z0-9]*$ + InstanceArn: + description: The Amazon Resource Name (ARN) of the instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + TriggerEventSource: + description: The event source that triggers the rule. + $ref: '#/components/schemas/RuleTriggerEventSource' + Function: + description: The conditions of a rule. + type: string + Actions: + description: The list of actions that will be executed when a rule is triggered. + $ref: '#/components/schemas/Actions' + PublishStatus: + description: The publish status of a rule, either draft or published. + type: string + enum: + - DRAFT + - PUBLISHED + Tags: + description: One or more tags. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateRuleRequest + type: object + required: [] + CreateSecurityKeyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Key: + $ref: '#/components/schemas/Key' + InstanceId: + $ref: '#/components/schemas/InstanceId' + AssociationId: + $ref: '#/components/schemas/AssociationId' + x-stackQL-stringOnly: true + x-title: CreateSecurityKeyRequest + type: object + required: [] + CreateSecurityProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AllowedAccessControlTags: + type: array + maxItems: 2 + uniqueItems: true + x-insertionOrder: false + description: The list of tags that a security profile uses to restrict access to resources in Amazon Connect. + items: + $ref: '#/components/schemas/Tag' + Description: + type: string + minLength: 0 + maxLength: 250 + description: The description of the security profile. + InstanceArn: + type: string + description: The identifier of the Amazon Connect instance. + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + Permissions: + type: array + maxItems: 500 + uniqueItems: true + x-insertionOrder: false + description: Permissions assigned to the security profile. + items: + $ref: '#/components/schemas/Permission' + SecurityProfileArn: + type: string + description: The Amazon Resource Name (ARN) for the security profile. + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/security-profile/[-a-zA-Z0-9]*$ + SecurityProfileName: + type: string + pattern: ^[ a-zA-Z0-9_@-]+$ + minLength: 1 + maxLength: 127 + description: The name of the security profile. + TagRestrictedResources: + type: array + maxItems: 10 + uniqueItems: true + x-insertionOrder: false + description: The list of resources that a security profile applies tag restrictions to in Amazon Connect. + items: + $ref: '#/components/schemas/ResourceName' + HierarchyRestrictedResources: + type: array + maxItems: 10 + uniqueItems: true + x-insertionOrder: false + description: The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. + items: + $ref: '#/components/schemas/ResourceName' + AllowedAccessControlHierarchyGroupId: + type: string + pattern: ^[a-zA-Z0-9-]+$ + minLength: 0 + maxLength: 127 + description: The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect. + Applications: + type: array + maxItems: 10 + uniqueItems: true + x-insertionOrder: false + description: A list of third-party applications that the security profile will give access to. + items: + $ref: '#/components/schemas/Application' + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: The tags used to organize, track, or control access for this resource. + items: + $ref: '#/components/schemas/Tag' + LastModifiedRegion: + type: string + pattern: '[a-z]{2}(-[a-z]+){1,2}(-[0-9])?' + description: The AWS Region where this resource was last modified. + LastModifiedTime: + type: number + description: The timestamp when this resource was last modified. + x-stackQL-stringOnly: true + x-title: CreateSecurityProfileRequest + type: object + required: [] + CreateTaskTemplateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The identifier (arn) of the task template. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/task-template/[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$ + InstanceArn: + description: The identifier (arn) of the instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + Name: + description: The name of the task template. + type: string + minLength: 1 + maxLength: 100 + Description: + description: The description of the task template. + type: string + minLength: 0 + maxLength: 255 + ContactFlowArn: + description: The identifier of the contact flow. + type: string + pattern: ^$|arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/contact-flow/[-a-zA-Z0-9]*$ + Constraints: + description: The constraints for the task template + type: object + additionalProperties: false + properties: + InvisibleFields: + $ref: '#/components/schemas/InvisibleTaskTemplateFields' + RequiredFields: + $ref: '#/components/schemas/RequiredTaskTemplateFields' + ReadOnlyFields: + $ref: '#/components/schemas/ReadOnlyTaskTemplateFields' + Defaults: + description: '' + type: array + maxItems: 50 + items: + $ref: '#/components/schemas/DefaultFieldValue' + Fields: + description: The list of task template's fields + type: array + maxItems: 50 + items: + $ref: '#/components/schemas/Field' + Status: + $ref: '#/components/schemas/Status' + ClientToken: + $ref: '#/components/schemas/ClientToken' + Tags: + description: One or more tags. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateTaskTemplateRequest + type: object + required: [] + CreateTrafficDistributionGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance that has been replicated. + type: string + pattern: ^arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0-9]{1,20}:instance/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$ + minLength: 1 + maxLength: 250 + TrafficDistributionGroupArn: + description: The identifier of the traffic distribution group. + type: string + pattern: ^arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0-9]{1,20}:traffic-distribution-group/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$ + Description: + description: A description for the traffic distribution group. + type: string + pattern: (^[\S].*[\S]$)|(^[\S]$) + minLength: 1 + maxLength: 250 + Name: + description: The name for the traffic distribution group. + type: string + pattern: (^[\S].*[\S]$)|(^[\S]$) + minLength: 1 + maxLength: 128 + Status: + description: The status of the traffic distribution group. + type: string + enum: + - CREATION_IN_PROGRESS + - ACTIVE + - CREATION_FAILED + - PENDING_DELETION + - DELETION_FAILED + - UPDATE_IN_PROGRESS + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: One or more tags. + items: + $ref: '#/components/schemas/Tag' + IsDefault: + description: If this is the default traffic distribution group. + type: boolean + x-stackQL-stringOnly: true + x-title: CreateTrafficDistributionGroupRequest + type: object + required: [] + CreateUserRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + DirectoryUserId: + description: The identifier of the user account in the directory used for identity management. + type: string + HierarchyGroupArn: + description: The identifier of the hierarchy group for the user. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/agent-group/[-a-zA-Z0-9]*$ + Username: + description: The user name for the account. + type: string + minLength: 1 + maxLength: 64 + pattern: '[a-zA-Z0-9\_\-\.\@]+' + Password: + description: The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password. + type: string + pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d\S]{8,64}$ + RoutingProfileArn: + description: The identifier of the routing profile for the user. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/routing-profile/[-a-zA-Z0-9]*$ + IdentityInfo: + description: The information about the identity of the user. + $ref: '#/components/schemas/UserIdentityInfo' + PhoneConfig: + description: The phone settings for the user. + $ref: '#/components/schemas/UserPhoneConfig' + SecurityProfileArns: + type: array + minItems: 1 + maxItems: 10 + uniqueItems: true + x-insertionOrder: false + description: One or more security profile arns for the user + items: + $ref: '#/components/schemas/SecurityProfileArn' + UserArn: + description: The Amazon Resource Name (ARN) for the user. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/agent/[-a-zA-Z0-9]*$ + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: One or more tags. + items: + $ref: '#/components/schemas/Tag' + UserProficiencies: + description: One or more predefined attributes assigned to a user, with a level that indicates how skilled they are. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/UserProficiency' + x-stackQL-stringOnly: true + x-title: CreateUserRequest + type: object + required: [] + CreateUserHierarchyGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The identifier of the Amazon Connect instance. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + UserHierarchyGroupArn: + description: The Amazon Resource Name (ARN) for the user hierarchy group. + $ref: '#/components/schemas/UserHierarchyGroupArn' + ParentGroupArn: + description: The Amazon Resource Name (ARN) for the parent user hierarchy group. + $ref: '#/components/schemas/UserHierarchyGroupArn' + Name: + description: The name of the user hierarchy group. + type: string + minLength: 1 + maxLength: 100 + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: One or more tags. + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateUserHierarchyGroupRequest + type: object + required: [] + CreateViewRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The Amazon Resource Name (ARN) of the instance. + type: string + minLength: 1 + maxLength: 100 + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + ViewArn: + description: The Amazon Resource Name (ARN) of the view. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/view/[-:$a-zA-Z0-9]*$ + minLength: 1 + maxLength: 255 + ViewId: + description: The view id of the view. + type: string + minLength: 1 + maxLength: 500 + pattern: ^[a-zA-Z0-9\_\-:\/$]+$ + Name: + description: The name of the view. + type: string + minLength: 1 + maxLength: 512 + pattern: ^([\p{L}\p{N}_.:\/=+\-@]+[\p{L}\p{Z}\p{N}_.:\/=+\-@]*)$ + Description: + description: The description of the view. + type: string + minLength: 0 + maxLength: 4096 + pattern: ^([\p{L}\p{N}_.:\/=+\-@,]+[\p{L}\p{Z}\p{N}_.:\/=+\-@,]*)$ + Template: + description: The template of the view as JSON. + type: object + Actions: + description: The actions of the view in an array. + type: array + x-insertionOrder: false + maxItems: 1000 + items: + type: string + minLength: 1 + maxLength: 255 + pattern: ^([\p{L}\p{N}_.:\/=+\-@]+[\p{L}\p{Z}\p{N}_.:\/=+\-@]*)$ + ViewContentSha256: + description: The view content hash. + type: string + pattern: ^[a-zA-Z0-9]{64}$ + Tags: + description: One or more tags. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateViewRequest + type: object + required: [] + CreateViewVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ViewArn: + description: The Amazon Resource Name (ARN) of the view for which a version is being created. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/view/[-:a-zA-Z0-9]*$ + minLength: 1 + maxLength: 255 + ViewVersionArn: + description: The Amazon Resource Name (ARN) of the created view version. + type: string + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*/view/[-:a-zA-Z0-9]*$ + minLength: 1 + maxLength: 255 + VersionDescription: + description: The description for the view version. + type: string + minLength: 1 + maxLength: 4096 + pattern: ^([\p{L}\p{N}_.:\/=+\-@,]+[\p{L}\p{Z}\p{N}_.:\/=+\-@,]*)$ + ViewContentSha256: + description: The view content hash to be checked. + type: string + minLength: 1 + maxLength: 64 + pattern: ^[a-zA-Z0-9]{64}$ + Version: + description: The version of the view. + type: integer + x-stackQL-stringOnly: true + x-title: CreateViewVersionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -3538,10 +4750,26 @@ components: x-identifiers: - InstanceId - Origin + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ApprovedOrigin&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::ApprovedOrigin" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3554,7 +4782,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/approved_origins/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/approved_origins/methods/delete_resource' config: views: select: @@ -3583,6 +4812,7 @@ components: x-identifiers: - InstanceId - Origin + x-type: get methods: update_resource: operation: @@ -3596,24 +4826,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::ApprovedOrigin" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/approved_origin/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/approved_origin/methods/delete_resource' - x-type: get config: views: select: @@ -3645,10 +4860,26 @@ components: x-cfn-type-name: AWS::Connect::ContactFlow x-identifiers: - ContactFlowArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ContactFlow&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::ContactFlow" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3661,7 +4892,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/contact_flows/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/contact_flows/methods/delete_resource' config: views: select: @@ -3687,6 +4919,7 @@ components: x-cfn-type-name: AWS::Connect::ContactFlow x-identifiers: - ContactFlowArn + x-type: get methods: update_resource: operation: @@ -3700,24 +4933,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::ContactFlow" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/contact_flow/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/contact_flow/methods/delete_resource' - x-type: get config: views: select: @@ -3761,10 +4979,26 @@ components: x-cfn-type-name: AWS::Connect::ContactFlowModule x-identifiers: - ContactFlowModuleArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ContactFlowModule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::ContactFlowModule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3777,7 +5011,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/contact_flow_modules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/contact_flow_modules/methods/delete_resource' config: views: select: @@ -3803,6 +5038,7 @@ components: x-cfn-type-name: AWS::Connect::ContactFlowModule x-identifiers: - ContactFlowModuleArn + x-type: get methods: update_resource: operation: @@ -3816,24 +5052,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::ContactFlowModule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/contact_flow_module/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/contact_flow_module/methods/delete_resource' - x-type: get config: views: select: @@ -3877,10 +5098,26 @@ components: x-cfn-type-name: AWS::Connect::EvaluationForm x-identifiers: - EvaluationFormArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EvaluationForm&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::EvaluationForm" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3893,7 +5130,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/evaluation_forms/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/evaluation_forms/methods/delete_resource' config: views: select: @@ -3919,6 +5157,7 @@ components: x-cfn-type-name: AWS::Connect::EvaluationForm x-identifiers: - EvaluationFormArn + x-type: get methods: update_resource: operation: @@ -3932,24 +5171,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::EvaluationForm" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/evaluation_form/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/evaluation_form/methods/delete_resource' - x-type: get config: views: select: @@ -3993,10 +5217,26 @@ components: x-cfn-type-name: AWS::Connect::HoursOfOperation x-identifiers: - HoursOfOperationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__HoursOfOperation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::HoursOfOperation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4009,7 +5249,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/hours_of_operations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/hours_of_operations/methods/delete_resource' config: views: select: @@ -4035,6 +5276,7 @@ components: x-cfn-type-name: AWS::Connect::HoursOfOperation x-identifiers: - HoursOfOperationArn + x-type: get methods: update_resource: operation: @@ -4048,24 +5290,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::HoursOfOperation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/hours_of_operation/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/hours_of_operation/methods/delete_resource' - x-type: get config: views: select: @@ -4107,10 +5334,26 @@ components: x-cfn-type-name: AWS::Connect::Instance x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Instance&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::Instance" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4123,7 +5366,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/instances/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/instances/methods/delete_resource' config: views: select: @@ -4149,6 +5393,7 @@ components: x-cfn-type-name: AWS::Connect::Instance x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -4162,24 +5407,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::Instance" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/instance/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/instance/methods/delete_resource' - x-type: get config: views: select: @@ -4229,10 +5459,26 @@ components: - InstanceArn - AssociationId - ResourceType + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__InstanceStorageConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::InstanceStorageConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4245,7 +5491,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/instance_storage_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/instance_storage_configs/methods/delete_resource' config: views: select: @@ -4277,6 +5524,7 @@ components: - InstanceArn - AssociationId - ResourceType + x-type: get methods: update_resource: operation: @@ -4290,24 +5538,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::InstanceStorageConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/instance_storage_config/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/instance_storage_config/methods/delete_resource' - x-type: get config: views: select: @@ -4353,10 +5586,26 @@ components: - InstanceId - IntegrationType - IntegrationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__IntegrationAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::IntegrationAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4369,7 +5618,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/integration_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/integration_associations/methods/delete_resource' config: views: select: @@ -4401,6 +5651,7 @@ components: - InstanceId - IntegrationType - IntegrationArn + x-type: get methods: update_resource: operation: @@ -4414,24 +5665,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::IntegrationAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/integration_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/integration_association/methods/delete_resource' - x-type: get config: views: select: @@ -4468,10 +5704,26 @@ components: x-identifiers: - InstanceArn - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PredefinedAttribute&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::PredefinedAttribute" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4484,7 +5736,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/predefined_attributes/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/predefined_attributes/methods/delete_resource' config: views: select: @@ -4513,6 +5766,7 @@ components: x-identifiers: - InstanceArn - Name + x-type: get methods: update_resource: operation: @@ -4526,24 +5780,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::PredefinedAttribute" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/predefined_attribute/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/predefined_attribute/methods/delete_resource' - x-type: get config: views: select: @@ -4581,10 +5820,26 @@ components: x-cfn-type-name: AWS::Connect::Prompt x-identifiers: - PromptArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Prompt&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::Prompt" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4597,7 +5852,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/prompts/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/prompts/methods/delete_resource' config: views: select: @@ -4623,22 +5879,11 @@ components: x-cfn-type-name: AWS::Connect::Prompt x-identifiers: - PromptArn + x-type: get methods: update_resource: operation: - $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::Prompt" - } - response: - mediaType: application/json - openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4651,9 +5896,6 @@ components: sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/prompt/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/prompt/methods/delete_resource' - x-type: get config: views: select: @@ -4693,10 +5935,26 @@ components: x-cfn-type-name: AWS::Connect::Queue x-identifiers: - QueueArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Queue&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::Queue" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4709,7 +5967,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/queues/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/queues/methods/delete_resource' config: views: select: @@ -4735,6 +5994,7 @@ components: x-cfn-type-name: AWS::Connect::Queue x-identifiers: - QueueArn + x-type: get methods: update_resource: operation: @@ -4748,24 +6008,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::Queue" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/queue/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/queue/methods/delete_resource' - x-type: get config: views: select: @@ -4815,10 +6060,26 @@ components: x-cfn-type-name: AWS::Connect::QuickConnect x-identifiers: - QuickConnectArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__QuickConnect&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::QuickConnect" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4831,7 +6092,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/quick_connects/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/quick_connects/methods/delete_resource' config: views: select: @@ -4857,6 +6119,7 @@ components: x-cfn-type-name: AWS::Connect::QuickConnect x-identifiers: - QuickConnectArn + x-type: get methods: update_resource: operation: @@ -4870,24 +6133,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::QuickConnect" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/quick_connect/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/quick_connect/methods/delete_resource' - x-type: get config: views: select: @@ -4929,10 +6177,26 @@ components: x-cfn-type-name: AWS::Connect::RoutingProfile x-identifiers: - RoutingProfileArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RoutingProfile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::RoutingProfile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4945,7 +6209,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/routing_profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/routing_profiles/methods/delete_resource' config: views: select: @@ -4971,6 +6236,7 @@ components: x-cfn-type-name: AWS::Connect::RoutingProfile x-identifiers: - RoutingProfileArn + x-type: get methods: update_resource: operation: @@ -4984,24 +6250,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::RoutingProfile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/routing_profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/routing_profile/methods/delete_resource' - x-type: get config: views: select: @@ -5047,10 +6298,26 @@ components: x-cfn-type-name: AWS::Connect::Rule x-identifiers: - RuleArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Rule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::Rule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5063,6 +6330,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/rules/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/rules/methods/delete_resource' rule: name: rule id: aws.connect.rule @@ -5070,6 +6339,7 @@ components: x-cfn-type-name: AWS::Connect::Rule x-identifiers: - RuleArn + x-type: get methods: update_resource: operation: @@ -5083,24 +6353,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::Rule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/rule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/rule/methods/delete_resource' - x-type: get config: views: select: @@ -5145,10 +6400,26 @@ components: x-identifiers: - InstanceId - AssociationId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SecurityKey&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::SecurityKey" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5161,7 +6432,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/security_keys/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/security_keys/methods/delete_resource' config: views: select: @@ -5190,6 +6462,7 @@ components: x-identifiers: - InstanceId - AssociationId + x-type: get methods: update_resource: operation: @@ -5203,24 +6476,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::SecurityKey" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/security_key/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/security_key/methods/delete_resource' - x-type: get config: views: select: @@ -5254,10 +6512,26 @@ components: x-cfn-type-name: AWS::Connect::SecurityProfile x-identifiers: - SecurityProfileArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SecurityProfile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::SecurityProfile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5270,7 +6544,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/security_profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/security_profiles/methods/delete_resource' config: views: select: @@ -5296,6 +6571,7 @@ components: x-cfn-type-name: AWS::Connect::SecurityProfile x-identifiers: - SecurityProfileArn + x-type: get methods: update_resource: operation: @@ -5309,24 +6585,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::SecurityProfile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/security_profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/security_profile/methods/delete_resource' - x-type: get config: views: select: @@ -5380,10 +6641,26 @@ components: x-cfn-type-name: AWS::Connect::TaskTemplate x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TaskTemplate&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::TaskTemplate" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5396,7 +6673,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/task_templates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/task_templates/methods/delete_resource' config: views: select: @@ -5422,6 +6700,7 @@ components: x-cfn-type-name: AWS::Connect::TaskTemplate x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -5435,24 +6714,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::TaskTemplate" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/task_template/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/task_template/methods/delete_resource' - x-type: get config: views: select: @@ -5502,10 +6766,26 @@ components: x-cfn-type-name: AWS::Connect::TrafficDistributionGroup x-identifiers: - TrafficDistributionGroupArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TrafficDistributionGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::TrafficDistributionGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5518,7 +6798,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/traffic_distribution_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/traffic_distribution_groups/methods/delete_resource' config: views: select: @@ -5544,6 +6825,7 @@ components: x-cfn-type-name: AWS::Connect::TrafficDistributionGroup x-identifiers: - TrafficDistributionGroupArn + x-type: get methods: update_resource: operation: @@ -5557,24 +6839,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::TrafficDistributionGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/traffic_distribution_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/traffic_distribution_group/methods/delete_resource' - x-type: get config: views: select: @@ -5616,10 +6883,26 @@ components: x-cfn-type-name: AWS::Connect::User x-identifiers: - UserArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__User&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::User" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5632,7 +6915,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/users/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/users/methods/delete_resource' config: views: select: @@ -5658,6 +6942,7 @@ components: x-cfn-type-name: AWS::Connect::User x-identifiers: - UserArn + x-type: get methods: update_resource: operation: @@ -5671,24 +6956,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::User" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/user/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/user/methods/delete_resource' - x-type: get config: views: select: @@ -5740,10 +7010,26 @@ components: x-cfn-type-name: AWS::Connect::UserHierarchyGroup x-identifiers: - UserHierarchyGroupArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UserHierarchyGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::UserHierarchyGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5756,7 +7042,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/user_hierarchy_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/user_hierarchy_groups/methods/delete_resource' config: views: select: @@ -5782,6 +7069,7 @@ components: x-cfn-type-name: AWS::Connect::UserHierarchyGroup x-identifiers: - UserHierarchyGroupArn + x-type: get methods: update_resource: operation: @@ -5795,24 +7083,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::UserHierarchyGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/user_hierarchy_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/user_hierarchy_group/methods/delete_resource' - x-type: get config: views: select: @@ -5850,10 +7123,26 @@ components: x-cfn-type-name: AWS::Connect::View x-identifiers: - ViewArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__View&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::View" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5866,7 +7155,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/views/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/views/methods/delete_resource' config: views: select: @@ -5892,6 +7182,7 @@ components: x-cfn-type-name: AWS::Connect::View x-identifiers: - ViewArn + x-type: get methods: update_resource: operation: @@ -5905,24 +7196,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::View" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/view/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/view/methods/delete_resource' - x-type: get config: views: select: @@ -5968,10 +7244,26 @@ components: x-cfn-type-name: AWS::Connect::ViewVersion x-identifiers: - ViewVersionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ViewVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Connect::ViewVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5984,7 +7276,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/view_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/view_versions/methods/delete_resource' config: views: select: @@ -6010,6 +7303,7 @@ components: x-cfn-type-name: AWS::Connect::ViewVersion x-identifiers: - ViewVersionArn + x-type: get methods: update_resource: operation: @@ -6023,24 +7317,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Connect::ViewVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/view_version/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/view_version/methods/delete_resource' - x-type: get config: views: select: @@ -6082,7 +7361,737 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: CreateResource + operationId: CreateResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/x-cloud-control-schemas/CreateResourceInput' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=DeleteResource&Version=2021-09-30: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: DeleteResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.DeleteResource + enum: + - CloudApiService.DeleteResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput' + description: Success + /?Action=UpdateResource&Version=2021-09-30: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: UpdateResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.UpdateResource + enum: + - CloudApiService.UpdateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + properties: + ClientName: + type: string + Identifier: + $ref: '#/components/x-cloud-control-schemas/Identifier' + PatchDocument: + type: string + RoleArn: + $ref: '#/components/x-cloud-control-schemas/RoleArn' + TypeName: + $ref: '#/components/x-cloud-control-schemas/TypeName' + TypeVersionId: + $ref: '#/components/x-cloud-control-schemas/TypeVersionId' + required: + - Identifier + - PatchDocument + type: object + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ApprovedOrigin&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApprovedOrigin + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApprovedOriginRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ContactFlow&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateContactFlow + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateContactFlowRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ContactFlowModule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateContactFlowModule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateContactFlowModuleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EvaluationForm&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEvaluationForm + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEvaluationFormRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__HoursOfOperation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateHoursOfOperation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateHoursOfOperationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Instance&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateInstance + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateInstanceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__InstanceStorageConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateInstanceStorageConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateInstanceStorageConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__IntegrationAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIntegrationAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIntegrationAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PredefinedAttribute&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePredefinedAttribute + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePredefinedAttributeRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Prompt&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePrompt + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePromptRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Queue&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateQueue + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateQueueRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__QuickConnect&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateQuickConnect + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateQuickConnectRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RoutingProfile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRoutingProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRoutingProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Rule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRuleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SecurityKey&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSecurityKey parameters: - description: Action Header in: header @@ -6105,7 +8114,7 @@ paths: content: application/x-amz-json-1.0: schema: - $ref: '#/components/x-cloud-control-schemas/CreateResourceInput' + $ref: '#/components/schemas/CreateSecurityKeyRequest' required: true responses: '200': @@ -6114,7 +8123,7 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success - /?Action=DeleteResource&Version=2021-09-30: + /?Action=CreateResource&Version=2021-09-30&__SecurityProfile&__detailTransformed=true: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' @@ -6124,16 +8133,16 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: DeleteResource + operationId: CreateSecurityProfile parameters: - description: Action Header in: header name: X-Amz-Target required: false schema: - default: CloudApiService.DeleteResource + default: CloudApiService.CreateResource enum: - - CloudApiService.DeleteResource + - CloudApiService.CreateResource type: string - in: header name: Content-Type @@ -6147,16 +8156,16 @@ paths: content: application/x-amz-json-1.0: schema: - $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput' + $ref: '#/components/schemas/CreateSecurityProfileRequest' required: true responses: '200': content: application/json: schema: - $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput' + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success - /?Action=UpdateResource&Version=2021-09-30: + /?Action=CreateResource&Version=2021-09-30&__TaskTemplate&__detailTransformed=true: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' @@ -6166,16 +8175,16 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: UpdateResource + operationId: CreateTaskTemplate parameters: - description: Action Header in: header name: X-Amz-Target required: false schema: - default: CloudApiService.UpdateResource + default: CloudApiService.CreateResource enum: - - CloudApiService.UpdateResource + - CloudApiService.CreateResource type: string - in: header name: Content-Type @@ -6189,33 +8198,229 @@ paths: content: application/x-amz-json-1.0: schema: - properties: - ClientName: - type: string - Identifier: - $ref: '#/components/x-cloud-control-schemas/Identifier' - PatchDocument: - type: string - RoleArn: - $ref: '#/components/x-cloud-control-schemas/RoleArn' - TypeName: - $ref: '#/components/x-cloud-control-schemas/TypeName' - TypeVersionId: - $ref: '#/components/x-cloud-control-schemas/TypeVersionId' - required: - - Identifier - - PatchDocument - type: object + $ref: '#/components/schemas/CreateTaskTemplateRequest' required: true responses: '200': content: application/json: schema: - $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TrafficDistributionGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTrafficDistributionGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTrafficDistributionGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__User&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUser + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UserHierarchyGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUserHierarchyGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserHierarchyGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__View&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateView + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateViewRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ViewVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateViewVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateViewVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/connectcampaigns.yaml b/providers/src/aws/v00.00.00000/services/connectcampaigns.yaml index 5cfc4864..5247b3e6 100644 --- a/providers/src/aws/v00.00.00000/services/connectcampaigns.yaml +++ b/providers/src/aws/v00.00.00000/services/connectcampaigns.yaml @@ -578,6 +578,52 @@ components: - connect-campaigns:TagResource - connect-campaigns:UntagResource - connect-campaigns:DescribeCampaign + CreateCampaignRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConnectInstanceArn: + type: string + maxLength: 256 + minLength: 0 + description: Amazon Connect Instance Arn + pattern: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ + DialerConfig: + $ref: '#/components/schemas/DialerConfig' + Arn: + type: string + maxLength: 256 + minLength: 0 + description: Amazon Connect Campaign Arn + pattern: ^arn:aws[-a-z0-9]*:connect-campaigns:[-a-z0-9]*:[0-9]{12}:campaign/[-a-zA-Z0-9]*$ + Name: + type: string + maxLength: 127 + minLength: 1 + description: Amazon Connect Campaign Name + OutboundCallConfig: + $ref: '#/components/schemas/OutboundCallConfig' + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: One or more tags. + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateCampaignRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -593,10 +639,26 @@ components: x-cfn-type-name: AWS::ConnectCampaigns::Campaign x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Campaign&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ConnectCampaigns::Campaign" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -609,7 +671,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/campaigns/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/campaigns/methods/delete_resource' config: views: select: @@ -635,6 +698,7 @@ components: x-cfn-type-name: AWS::ConnectCampaigns::Campaign x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -648,24 +712,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ConnectCampaigns::Campaign" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/campaign/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/campaign/methods/delete_resource' - x-type: get config: views: select: @@ -841,8 +890,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Campaign&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCampaign + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCampaignRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/controltower.yaml b/providers/src/aws/v00.00.00000/services/controltower.yaml index 5b082617..728d7174 100644 --- a/providers/src/aws/v00.00.00000/services/controltower.yaml +++ b/providers/src/aws/v00.00.00000/services/controltower.yaml @@ -841,6 +841,138 @@ components: - iam:DeleteRole list: - controltower:ListLandingZones + CreateEnabledBaselineRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + BaselineIdentifier: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:aws[0-9a-zA-Z_\-:\/]+$ + BaselineVersion: + type: string + pattern: ^\d+(?:\.\d+){0,2}$ + EnabledBaselineIdentifier: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:aws[0-9a-zA-Z_\-:\/]+$ + TargetIdentifier: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:aws[0-9a-zA-Z_\-:\/]+$ + Parameters: + type: array + items: + $ref: '#/components/schemas/Parameter' + x-insertionOrder: false + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateEnabledBaselineRequest + type: object + required: [] + CreateEnabledControlRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ControlIdentifier: + description: Arn of the control. + type: string + pattern: ^arn:aws[0-9a-zA-Z_\-:\/]+$ + minLength: 20 + maxLength: 2048 + TargetIdentifier: + description: Arn for Organizational unit to which the control needs to be applied + type: string + pattern: ^arn:aws[0-9a-zA-Z_\-:\/]+$ + minLength: 20 + maxLength: 2048 + Parameters: + description: Parameters to configure the enabled control behavior. + type: array + items: + $ref: '#/components/schemas/EnabledControlParameter' + minItems: 1 + x-insertionOrder: false + Tags: + description: A set of tags to assign to the enabled control. + type: array + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + minItems: 1 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateEnabledControlRequest + type: object + required: [] + CreateLandingZoneRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + LandingZoneIdentifier: + type: string + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:aws[0-9a-zA-Z_\-:\/]+$ + Status: + $ref: '#/components/schemas/LandingZoneStatus' + LatestAvailableVersion: + type: string + maxLength: 10 + minLength: 3 + pattern: \d+.\d+ + DriftStatus: + $ref: '#/components/schemas/LandingZoneDriftStatus' + Manifest: {} + Version: + type: string + maxLength: 10 + minLength: 3 + pattern: \d+.\d+ + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateLandingZoneRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -856,10 +988,26 @@ components: x-cfn-type-name: AWS::ControlTower::EnabledBaseline x-identifiers: - EnabledBaselineIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EnabledBaseline&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ControlTower::EnabledBaseline" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -872,7 +1020,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/enabled_baselines/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/enabled_baselines/methods/delete_resource' config: views: select: @@ -898,6 +1047,7 @@ components: x-cfn-type-name: AWS::ControlTower::EnabledBaseline x-identifiers: - EnabledBaselineIdentifier + x-type: get methods: update_resource: operation: @@ -911,24 +1061,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ControlTower::EnabledBaseline" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/enabled_baseline/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/enabled_baseline/methods/delete_resource' - x-type: get config: views: select: @@ -969,10 +1104,26 @@ components: x-identifiers: - TargetIdentifier - ControlIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EnabledControl&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ControlTower::EnabledControl" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -985,7 +1136,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/enabled_controls/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/enabled_controls/methods/delete_resource' config: views: select: @@ -1014,6 +1166,7 @@ components: x-identifiers: - TargetIdentifier - ControlIdentifier + x-type: get methods: update_resource: operation: @@ -1027,24 +1180,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ControlTower::EnabledControl" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/enabled_control/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/enabled_control/methods/delete_resource' - x-type: get config: views: select: @@ -1080,10 +1218,26 @@ components: x-cfn-type-name: AWS::ControlTower::LandingZone x-identifiers: - LandingZoneIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LandingZone&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ControlTower::LandingZone" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1096,7 +1250,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/landing_zones/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/landing_zones/methods/delete_resource' config: views: select: @@ -1122,6 +1277,7 @@ components: x-cfn-type-name: AWS::ControlTower::LandingZone x-identifiers: - LandingZoneIdentifier + x-type: get methods: update_resource: operation: @@ -1135,24 +1291,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ControlTower::LandingZone" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/landing_zone/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/landing_zone/methods/delete_resource' - x-type: get config: views: select: @@ -1332,8 +1473,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__EnabledBaseline&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnabledBaseline + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnabledBaselineRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EnabledControl&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnabledControl + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnabledControlRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LandingZone&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLandingZone + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLandingZoneRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/cur.yaml b/providers/src/aws/v00.00.00000/services/cur.yaml index 8db28663..fe4e9b6d 100644 --- a/providers/src/aws/v00.00.00000/services/cur.yaml +++ b/providers/src/aws/v00.00.00000/services/cur.yaml @@ -509,6 +509,100 @@ components: - cur:DeleteReportDefinition list: - cur:DescribeReportDefinitions + CreateReportDefinitionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ReportName: + description: The name of the report that you want to create. The name must be unique, is case sensitive, and can't include spaces. + type: string + minLength: 1 + maxLength: 256 + pattern: '[0-9A-Za-z!\-_.*\''()]+' + TimeUnit: + description: The granularity of the line items in the report. + type: string + enum: + - HOURLY + - DAILY + - MONTHLY + Format: + description: The format that AWS saves the report in. + type: string + enum: + - textORcsv + - Parquet + Compression: + description: The compression format that AWS uses for the report. + type: string + enum: + - ZIP + - GZIP + - Parquet + AdditionalSchemaElements: + description: A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs. + type: array + default: [] + items: + description: Whether or not AWS includes resource IDs in the report. + type: string + enum: + - RESOURCES + S3Bucket: + description: The S3 bucket where AWS delivers the report. + type: string + minLength: 1 + maxLength: 256 + pattern: '[A-Za-z0-9_\.\-]+' + S3Prefix: + description: The prefix that AWS adds to the report name when AWS delivers the report. Your prefix can't include spaces. + type: string + minLength: 1 + maxLength: 256 + pattern: '[0-9A-Za-z!\-_.*\''()/]*' + S3Region: + description: The region of the S3 bucket that AWS delivers the report into. + type: string + AdditionalArtifacts: + description: A list of manifests that you want Amazon Web Services to create for this report. + type: array + default: [] + items: + description: The types of manifest that you want AWS to create for this report. + type: string + enum: + - REDSHIFT + - QUICKSIGHT + - ATHENA + RefreshClosedReports: + description: Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees. + type: boolean + ReportVersioning: + description: Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions. + type: string + enum: + - CREATE_NEW_REPORT + - OVERWRITE_REPORT + BillingViewArn: + description: The Amazon resource name of the billing view. You can get this value by using the billing view service public APIs. + type: string + default: null + pattern: (arn:aws(-cn)?:billing::[0-9]{12}:billingview/)?[a-zA-Z0-9_\+=\.\-@].{1,30} + minLength: 1 + maxLength: 128 + x-stackQL-stringOnly: true + x-title: CreateReportDefinitionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -524,10 +618,26 @@ components: x-cfn-type-name: AWS::CUR::ReportDefinition x-identifiers: - ReportName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ReportDefinition&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CUR::ReportDefinition" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -540,7 +650,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/report_definitions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/report_definitions/methods/delete_resource' config: views: select: @@ -566,6 +677,7 @@ components: x-cfn-type-name: AWS::CUR::ReportDefinition x-identifiers: - ReportName + x-type: get methods: update_resource: operation: @@ -579,24 +691,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CUR::ReportDefinition" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/report_definition/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/report_definition/methods/delete_resource' - x-type: get config: views: select: @@ -784,8 +881,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ReportDefinition&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateReportDefinition + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateReportDefinitionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/customerprofiles.yaml b/providers/src/aws/v00.00.00000/services/customerprofiles.yaml index b9d32d09..63ad4111 100644 --- a/providers/src/aws/v00.00.00000/services/customerprofiles.yaml +++ b/providers/src/aws/v00.00.00000/services/customerprofiles.yaml @@ -1759,6 +1759,305 @@ components: - profile:DeleteProfileObjectType list: - profile:ListProfileObjectTypes + CreateCalculatedAttributeDefinitionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DomainName: + $ref: '#/components/schemas/DomainName' + CalculatedAttributeName: + $ref: '#/components/schemas/CalculatedAttributeName' + DisplayName: + $ref: '#/components/schemas/DisplayName' + Description: + $ref: '#/components/schemas/Description' + AttributeDetails: + $ref: '#/components/schemas/AttributeDetails' + Conditions: + $ref: '#/components/schemas/Conditions' + Statistic: + $ref: '#/components/schemas/Statistic' + CreatedAt: + description: The timestamp of when the calculated attribute definition was created. + type: string + LastUpdatedAt: + description: The timestamp of when the calculated attribute definition was most recently edited. + type: string + Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateCalculatedAttributeDefinitionRequest + type: object + required: [] + CreateDomainRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DomainName: + description: The unique name of the domain. + type: string + pattern: ^[a-zA-Z0-9_-]+$ + minLength: 1 + maxLength: 64 + DeadLetterQueueUrl: + description: The URL of the SQS dead letter queue + type: string + minLength: 0 + maxLength: 255 + DefaultEncryptionKey: + description: The default encryption key + type: string + minLength: 0 + maxLength: 255 + DefaultExpirationDays: + description: The default number of days until the data within the domain expires. + type: integer + minimum: 1 + maximum: 1098 + Matching: + $ref: '#/components/schemas/Matching' + RuleBasedMatching: + $ref: '#/components/schemas/RuleBasedMatching' + Stats: + $ref: '#/components/schemas/DomainStats' + Tags: + description: The tags (keys and values) associated with the domain + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 50 + CreatedAt: + description: The time of this integration got created + type: string + LastUpdatedAt: + description: The time of this integration got last updated at + type: string + x-stackQL-stringOnly: true + x-title: CreateDomainRequest + type: object + required: [] + CreateEventStreamRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DomainName: + description: The unique name of the domain. + type: string + pattern: ^[a-zA-Z0-9_-]+$ + minLength: 1 + maxLength: 64 + EventStreamName: + description: The name of the event stream. + type: string + pattern: ^[a-zA-Z0-9_-]+$ + minLength: 1 + maxLength: 255 + Uri: + $ref: '#/components/schemas/Uri' + EventStreamArn: + description: A unique identifier for the event stream. + type: string + minLength: 1 + maxLength: 255 + Tags: + description: The tags used to organize, track, or control access for this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 50 + CreatedAt: + description: The timestamp of when the export was created. + type: string + State: + description: The operational state of destination stream for export. + type: string + enum: + - RUNNING + - STOPPED + DestinationDetails: + description: Details regarding the Kinesis stream. + type: object + properties: + Uri: + $ref: '#/components/schemas/Uri' + Status: + $ref: '#/components/schemas/Status' + required: + - Uri + - Status + additionalProperties: false + x-stackQL-stringOnly: true + x-title: CreateEventStreamRequest + type: object + required: [] + CreateIntegrationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DomainName: + description: The unique name of the domain. + type: string + pattern: ^[a-zA-Z0-9_-]+$ + minLength: 1 + maxLength: 64 + Uri: + description: The URI of the S3 bucket or any other type of data source. + type: string + minLength: 1 + maxLength: 255 + FlowDefinition: + $ref: '#/components/schemas/FlowDefinition' + ObjectTypeName: + description: The name of the ObjectType defined for the 3rd party data in Profile Service + type: string + pattern: ^[a-zA-Z_][a-zA-Z_0-9-]*$ + minLength: 1 + maxLength: 255 + CreatedAt: + description: The time of this integration got created + type: string + LastUpdatedAt: + description: The time of this integration got last updated at + type: string + Tags: + description: The tags (keys and values) associated with the integration + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 50 + ObjectTypeNames: + description: The mapping between 3rd party event types and ObjectType names + type: array + items: + $ref: '#/components/schemas/ObjectTypeMapping' + x-stackQL-stringOnly: true + x-title: CreateIntegrationRequest + type: object + required: [] + CreateObjectTypeRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DomainName: + description: The unique name of the domain. + type: string + pattern: ^[a-zA-Z0-9_-]+$ + minLength: 1 + maxLength: 64 + ObjectTypeName: + description: The name of the profile object type. + type: string + pattern: ^[a-zA-Z_][a-zA-Z_0-9-]*$ + minLength: 1 + maxLength: 255 + AllowProfileCreation: + description: Indicates whether a profile should be created when data is received. + type: boolean + Description: + description: Description of the profile object type. + type: string + minLength: 1 + maxLength: 1000 + EncryptionKey: + description: The default encryption key + type: string + minLength: 0 + maxLength: 255 + ExpirationDays: + description: The default number of days until the data within the domain expires. + type: integer + minimum: 1 + maximum: 1098 + Fields: + description: A list of the name and ObjectType field. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/FieldMap' + Keys: + description: A list of unique keys that can be used to map data to the profile. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/KeyMap' + CreatedAt: + description: The time of this integration got created. + type: string + LastUpdatedAt: + description: The time of this integration got last updated at. + type: string + SourceLastUpdatedTimestampFormat: + description: The format of your sourceLastUpdatedTimestamp that was previously set up. + type: string + minLength: 1 + maxLength: 255 + Tags: + description: The tags (keys and values) associated with the integration. + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 50 + TemplateId: + description: A unique identifier for the object template. + type: string + pattern: ^[a-zA-Z0-9_-]+$ + minLength: 1 + maxLength: 64 + x-stackQL-stringOnly: true + x-title: CreateObjectTypeRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1775,10 +2074,26 @@ components: x-identifiers: - DomainName - CalculatedAttributeName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CalculatedAttributeDefinition&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CustomerProfiles::CalculatedAttributeDefinition" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1791,7 +2106,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/calculated_attribute_definitions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/calculated_attribute_definitions/methods/delete_resource' config: views: select: @@ -1820,6 +2136,7 @@ components: x-identifiers: - DomainName - CalculatedAttributeName + x-type: get methods: update_resource: operation: @@ -1833,24 +2150,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CustomerProfiles::CalculatedAttributeDefinition" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/calculated_attribute_definition/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/calculated_attribute_definition/methods/delete_resource' - x-type: get config: views: select: @@ -1898,10 +2200,26 @@ components: x-cfn-type-name: AWS::CustomerProfiles::Domain x-identifiers: - DomainName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CustomerProfiles::Domain" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1914,7 +2232,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/domains/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/domains/methods/delete_resource' config: views: select: @@ -1940,6 +2259,7 @@ components: x-cfn-type-name: AWS::CustomerProfiles::Domain x-identifiers: - DomainName + x-type: get methods: update_resource: operation: @@ -1953,24 +2273,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CustomerProfiles::Domain" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/domain/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/domain/methods/delete_resource' - x-type: get config: views: select: @@ -2019,10 +2324,26 @@ components: x-identifiers: - DomainName - EventStreamName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EventStream&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CustomerProfiles::EventStream" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2035,7 +2356,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/event_streams/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/event_streams/methods/delete_resource' config: views: select: @@ -2064,6 +2386,7 @@ components: x-identifiers: - DomainName - EventStreamName + x-type: get methods: update_resource: operation: @@ -2077,24 +2400,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CustomerProfiles::EventStream" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/event_stream/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/event_stream/methods/delete_resource' - x-type: get config: views: select: @@ -2139,10 +2447,26 @@ components: x-identifiers: - DomainName - Uri + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Integration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CustomerProfiles::Integration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2155,7 +2479,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/integrations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/integrations/methods/delete_resource' config: views: select: @@ -2184,6 +2509,7 @@ components: x-identifiers: - DomainName - Uri + x-type: get methods: update_resource: operation: @@ -2197,24 +2523,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CustomerProfiles::Integration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/integration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/integration/methods/delete_resource' - x-type: get config: views: select: @@ -2259,10 +2570,26 @@ components: x-identifiers: - DomainName - ObjectTypeName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ObjectType&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::CustomerProfiles::ObjectType" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2275,7 +2602,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/object_types/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/object_types/methods/delete_resource' config: views: select: @@ -2304,6 +2632,7 @@ components: x-identifiers: - DomainName - ObjectTypeName + x-type: get methods: update_resource: operation: @@ -2317,24 +2646,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::CustomerProfiles::ObjectType" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/object_type/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/object_type/methods/delete_resource' - x-type: get config: views: select: @@ -2524,8 +2838,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__CalculatedAttributeDefinition&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCalculatedAttributeDefinition + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCalculatedAttributeDefinitionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDomain + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDomainRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EventStream&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEventStream + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEventStreamRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Integration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIntegration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIntegrationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ObjectType&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateObjectType + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateObjectTypeRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/databrew.yaml b/providers/src/aws/v00.00.00000/services/databrew.yaml index 7c196bf9..94852335 100644 --- a/providers/src/aws/v00.00.00000/services/databrew.yaml +++ b/providers/src/aws/v00.00.00000/services/databrew.yaml @@ -1790,6 +1790,323 @@ components: - databrew:ListSchedules - databrew:ListTagsForResource - iam:ListRoles + CreateDatasetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Dataset name + type: string + minLength: 1 + maxLength: 255 + Format: + description: Dataset format + enum: + - CSV + - JSON + - PARQUET + - EXCEL + - ORC + type: string + FormatOptions: + description: Format options for dataset + $ref: '#/components/schemas/FormatOptions' + Input: + description: Input + $ref: '#/components/schemas/Input' + PathOptions: + description: PathOptions + $ref: '#/components/schemas/PathOptions' + Tags: + type: array + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateDatasetRequest + type: object + required: [] + CreateRecipeRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + description: Description of the recipe + minLength: 0 + maxLength: 1024 + type: string + Name: + description: Recipe name + type: string + minLength: 1 + maxLength: 255 + Steps: + type: array + x-insertionOrder: true + items: + type: object + $ref: '#/components/schemas/RecipeStep' + Tags: + type: array + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateRecipeRequest + type: object + required: [] + CreateJobRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DatasetName: + description: Dataset name + type: string + minLength: 1 + maxLength: 255 + EncryptionKeyArn: + description: Encryption Key Arn + type: string + minLength: 20 + maxLength: 2048 + EncryptionMode: + description: Encryption mode + enum: + - SSE-KMS + - SSE-S3 + type: string + Name: + description: Job name + type: string + minLength: 1 + maxLength: 255 + Type: + description: Job type + enum: + - PROFILE + - RECIPE + type: string + LogSubscription: + description: Log subscription + enum: + - ENABLE + - DISABLE + type: string + MaxCapacity: + description: Max capacity + type: integer + MaxRetries: + description: Max retries + type: integer + Outputs: + type: array + x-insertionOrder: true + items: + $ref: '#/components/schemas/Output' + DataCatalogOutputs: + type: array + x-insertionOrder: true + items: + $ref: '#/components/schemas/DataCatalogOutput' + DatabaseOutputs: + type: array + x-insertionOrder: true + items: + $ref: '#/components/schemas/DatabaseOutput' + OutputLocation: + description: Output location + $ref: '#/components/schemas/OutputLocation' + ProjectName: + description: Project name + type: string + minLength: 1 + maxLength: 255 + Recipe: + $ref: '#/components/schemas/Recipe' + RoleArn: + description: Role arn + type: string + Tags: + type: array + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + Timeout: + description: Timeout + type: integer + JobSample: + description: Job Sample + $ref: '#/components/schemas/JobSample' + ProfileConfiguration: + description: Profile Job configuration + $ref: '#/components/schemas/ProfileConfiguration' + ValidationConfigurations: + description: Data quality rules configuration + type: array + x-insertionOrder: true + items: + $ref: '#/components/schemas/ValidationConfiguration' + x-stackQL-stringOnly: true + x-title: CreateJobRequest + type: object + required: [] + CreateProjectRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DatasetName: + description: Dataset name + type: string + minLength: 1 + maxLength: 255 + Name: + description: Project name + type: string + minLength: 1 + maxLength: 255 + RecipeName: + description: Recipe name + type: string + minLength: 1 + maxLength: 255 + RoleArn: + description: Role arn + type: string + Sample: + description: Sample + $ref: '#/components/schemas/Sample' + Tags: + type: array + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateProjectRequest + type: object + required: [] + CreateRulesetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Name of the Ruleset + type: string + minLength: 1 + maxLength: 255 + Description: + description: Description of the Ruleset + type: string + maxLength: 1024 + TargetArn: + description: Arn of the target resource (dataset) to apply the ruleset to + type: string + minLength: 20 + maxLength: 2048 + Rules: + description: List of the data quality rules in the ruleset + type: array + x-insertionOrder: true + items: + $ref: '#/components/schemas/Rule' + minItems: 1 + Tags: + type: array + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateRulesetRequest + type: object + required: [] + CreateScheduleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + JobNames: + type: array + x-insertionOrder: true + uniqueItems: true + items: + $ref: '#/components/schemas/JobName' + CronExpression: + description: Schedule cron + type: string + minLength: 1 + maxLength: 512 + Name: + description: Schedule Name + type: string + minLength: 1 + maxLength: 255 + Tags: + type: array + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateScheduleRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1805,10 +2122,26 @@ components: x-cfn-type-name: AWS::DataBrew::Dataset x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Dataset&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataBrew::Dataset" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1821,7 +2154,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/datasets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/datasets/methods/delete_resource' config: views: select: @@ -1847,6 +2181,7 @@ components: x-cfn-type-name: AWS::DataBrew::Dataset x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1860,24 +2195,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataBrew::Dataset" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/dataset/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/dataset/methods/delete_resource' - x-type: get config: views: select: @@ -1917,10 +2237,26 @@ components: x-cfn-type-name: AWS::DataBrew::Recipe x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Recipe&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataBrew::Recipe" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1933,7 +2269,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/recipes/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/recipes/methods/delete_resource' config: views: select: @@ -1959,6 +2296,7 @@ components: x-cfn-type-name: AWS::DataBrew::Recipe x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1972,24 +2310,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataBrew::Recipe" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/recipe/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/recipe/methods/delete_resource' - x-type: get config: views: select: @@ -2025,10 +2348,26 @@ components: x-cfn-type-name: AWS::DataBrew::Job x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Job&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataBrew::Job" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2041,7 +2380,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/jobs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/jobs/methods/delete_resource' config: views: select: @@ -2067,6 +2407,7 @@ components: x-cfn-type-name: AWS::DataBrew::Job x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -2080,24 +2421,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataBrew::Job" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/job/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/job/methods/delete_resource' - x-type: get config: views: select: @@ -2165,10 +2491,26 @@ components: x-cfn-type-name: AWS::DataBrew::Project x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Project&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataBrew::Project" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2181,7 +2523,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/projects/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/projects/methods/delete_resource' config: views: select: @@ -2207,6 +2550,7 @@ components: x-cfn-type-name: AWS::DataBrew::Project x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -2220,24 +2564,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataBrew::Project" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/project/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/project/methods/delete_resource' - x-type: get config: views: select: @@ -2277,10 +2606,26 @@ components: x-cfn-type-name: AWS::DataBrew::Ruleset x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Ruleset&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataBrew::Ruleset" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2293,7 +2638,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/rulesets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/rulesets/methods/delete_resource' config: views: select: @@ -2319,6 +2665,7 @@ components: x-cfn-type-name: AWS::DataBrew::Ruleset x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -2332,24 +2679,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataBrew::Ruleset" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/ruleset/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/ruleset/methods/delete_resource' - x-type: get config: views: select: @@ -2387,10 +2719,26 @@ components: x-cfn-type-name: AWS::DataBrew::Schedule x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Schedule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataBrew::Schedule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2403,7 +2751,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/schedules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/schedules/methods/delete_resource' config: views: select: @@ -2429,6 +2778,7 @@ components: x-cfn-type-name: AWS::DataBrew::Schedule x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -2442,24 +2792,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataBrew::Schedule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/schedule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/schedule/methods/delete_resource' - x-type: get config: views: select: @@ -2631,8 +2966,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Dataset&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataset + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDatasetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Recipe&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRecipe + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRecipeRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Job&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateJob + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateJobRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Project&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProject + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProjectRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Ruleset&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRuleset + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRulesetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Schedule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSchedule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateScheduleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/datapipeline.yaml b/providers/src/aws/v00.00.00000/services/datapipeline.yaml index 0dc4070f..def89994 100644 --- a/providers/src/aws/v00.00.00000/services/datapipeline.yaml +++ b/providers/src/aws/v00.00.00000/services/datapipeline.yaml @@ -571,6 +571,62 @@ components: - datapipeline:RemoveTags list: - datapipeline:ListPipelines + CreatePipelineRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Activate: + description: Indicates whether to validate and start the pipeline or stop an active pipeline. By default, the value is set to true. + type: boolean + Description: + description: A description of the pipeline. + type: string + Name: + description: The name of the pipeline. + type: string + ParameterObjects: + description: The parameter objects used with the pipeline. + uniqueItems: false + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/ParameterObject' + ParameterValues: + description: The parameter values used with the pipeline. + uniqueItems: false + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/ParameterValue' + PipelineObjects: + description: The objects that define the pipeline. These objects overwrite the existing pipeline definition. Not all objects, fields, and values can be updated. For information about restrictions, see Editing Your Pipeline in the AWS Data Pipeline Developer Guide. + uniqueItems: false + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/PipelineObject' + PipelineTags: + description: A list of arbitrary tags (key-value pairs) to associate with the pipeline, which you can use to control permissions. For more information, see Controlling Access to Pipelines and Resources in the AWS Data Pipeline Developer Guide. + uniqueItems: false + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/PipelineTag' + PipelineId: + type: string + x-stackQL-stringOnly: true + x-title: CreatePipelineRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -586,10 +642,26 @@ components: x-cfn-type-name: AWS::DataPipeline::Pipeline x-identifiers: - PipelineId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Pipeline&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataPipeline::Pipeline" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -602,7 +674,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/pipelines/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/pipelines/methods/delete_resource' config: views: select: @@ -628,6 +701,7 @@ components: x-cfn-type-name: AWS::DataPipeline::Pipeline x-identifiers: - PipelineId + x-type: get methods: update_resource: operation: @@ -641,24 +715,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataPipeline::Pipeline" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/pipeline/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/pipeline/methods/delete_resource' - x-type: get config: views: select: @@ -838,8 +897,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Pipeline&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePipeline + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePipelineRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/datasync.yaml b/providers/src/aws/v00.00.00000/services/datasync.yaml index ad795c6e..423052b5 100644 --- a/providers/src/aws/v00.00.00000/services/datasync.yaml +++ b/providers/src/aws/v00.00.00000/services/datasync.yaml @@ -2407,6 +2407,993 @@ components: - iam:GetRole list: - datasync:ListTasks + CreateAgentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AgentName: + description: The name configured for the agent. Text reference used to identify the agent in the console. + type: string + pattern: ^[a-zA-Z0-9\s+=._:@/-]+$ + maxLength: 256 + minLength: 1 + ActivationKey: + description: Activation key of the Agent. + type: string + pattern: '[A-Z0-9]{5}(-[A-Z0-9]{5}){4}' + maxLength: 29 + SecurityGroupArns: + description: The ARNs of the security group used to protect your data transfer task subnets. + type: array + x-insertionOrder: false + items: + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$ + maxLength: 128 + SubnetArns: + description: The ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task. + type: array + x-insertionOrder: false + items: + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:subnet/.*$ + maxLength: 128 + VpcEndpointId: + description: The ID of the VPC endpoint that the agent has access to. + type: string + pattern: ^vpce-[0-9a-f]{17}$ + EndpointType: + description: The service endpoints that the agent will connect to. + type: string + enum: + - FIPS + - PUBLIC + - PRIVATE_LINK + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + AgentArn: + description: The DataSync Agent ARN. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:agent/agent-[0-9a-z]{17}$ + maxLength: 128 + x-stackQL-stringOnly: true + x-title: CreateAgentRequest + type: object + required: [] + CreateLocationAzureBlobRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AgentArns: + description: The Amazon Resource Names (ARNs) of agents to use for an Azure Blob Location. + type: array + items: + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:agent/agent-[0-9a-z]{17}$ + maxLength: 128 + minItems: 1 + maxItems: 4 + x-insertionOrder: false + AzureBlobAuthenticationType: + description: The specific authentication type that you want DataSync to use to access your Azure Blob Container. + type: string + enum: + - SAS + default: SAS + AzureBlobSasConfiguration: + $ref: '#/components/schemas/AzureBlobSasConfiguration' + AzureBlobContainerUrl: + description: The URL of the Azure Blob container that was described. + type: string + pattern: ^https://[A-Za-z0-9]((.|-+)?[A-Za-z0-9]){0,252}/[a-z0-9](-?[a-z0-9]){2,62}$ + maxLength: 325 + AzureBlobType: + description: Specifies a blob type for the objects you're transferring into your Azure Blob Storage container. + type: string + enum: + - BLOCK + default: BLOCK + AzureAccessTier: + description: Specifies an access tier for the objects you're transferring into your Azure Blob Storage container. + type: string + enum: + - HOT + - COOL + - ARCHIVE + default: HOT + Subdirectory: + description: The subdirectory in the Azure Blob Container that is used to read data from the Azure Blob Source Location. + type: string + maxLength: 1024 + pattern: ^[\p{L}\p{M}\p{Z}\p{S}\p{N}\p{P}\p{C}]*$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + LocationArn: + description: The Amazon Resource Name (ARN) of the Azure Blob Location that is created. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the Azure Blob Location that was described. + type: string + pattern: ^(azure-blob)://[a-zA-Z0-9./\-]+$ + maxLength: 4356 + x-stackQL-stringOnly: true + x-title: CreateLocationAzureBlobRequest + type: object + required: [] + CreateLocationEFSRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Ec2Config: + $ref: '#/components/schemas/Ec2Config' + EfsFilesystemArn: + description: The Amazon Resource Name (ARN) for the Amazon EFS file system. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):elasticfilesystem:[a-z\-0-9]*:[0-9]{12}:file-system/fs-.*$ + maxLength: 128 + AccessPointArn: + description: The Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):elasticfilesystem:[a-z\-0-9]+:[0-9]{12}:access-point/fsap-[0-9a-f]{8,40}$ + maxLength: 128 + FileSystemAccessRoleArn: + description: The Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):iam::[0-9]{12}:role/.*$ + maxLength: 128 + InTransitEncryption: + description: Protocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system. + type: string + enum: + - NONE + - TLS1_2 + Subdirectory: + description: A subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination. + type: string + maxLength: 4096 + pattern: ^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + LocationArn: + description: The Amazon Resource Name (ARN) of the Amazon EFS file system location that is created. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the EFS location that was described. + type: string + pattern: ^(efs|nfs|s3|smb|fsxw)://[a-zA-Z0-9.\-/]+$ + maxLength: 4356 + x-stackQL-stringOnly: true + x-title: CreateLocationEFSRequest + type: object + required: [] + CreateLocationFSxLustreRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FsxFilesystemArn: + description: The Amazon Resource Name (ARN) for the FSx for Lustre file system. + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):fsx:[a-z\-0-9]+:[0-9]{12}:file-system/fs-[0-9a-f]+$ + SecurityGroupArns: + description: The ARNs of the security groups that are to use to configure the FSx for Lustre file system. + type: array + items: + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/sg-[a-f0-9]+$ + maxItems: 5 + minItems: 1 + x-insertionOrder: false + Subdirectory: + description: A subdirectory in the location's path. + type: string + maxLength: 4096 + pattern: ^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + minItems: 0 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + LocationArn: + description: The Amazon Resource Name (ARN) of the Amazon FSx for Lustre file system location that is created. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the FSx for Lustre location that was described. + type: string + pattern: ^(efs|nfs|s3|smb|fsxw|hdfs|fsxl)://[a-zA-Z0-9.:/\-]+$ + maxLength: 4356 + x-stackQL-stringOnly: true + x-title: CreateLocationFSxLustreRequest + type: object + required: [] + CreateLocationFSxONTAPRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + StorageVirtualMachineArn: + description: The Amazon Resource Name (ARN) for the FSx ONTAP SVM. + type: string + maxLength: 162 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):fsx:[a-z\-0-9]+:[0-9]{12}:storage-virtual-machine/fs-[0-9a-f]+/svm-[0-9a-f]{17,}$ + FsxFilesystemArn: + description: The Amazon Resource Name (ARN) for the FSx ONAP file system. + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):fsx:[a-z\-0-9]+:[0-9]{12}:file-system/fs-[0-9a-f]+$ + SecurityGroupArns: + description: The ARNs of the security groups that are to use to configure the FSx ONTAP file system. + type: array + items: + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/sg-[a-f0-9]+$ + maxItems: 5 + minItems: 1 + x-insertionOrder: false + Protocol: + $ref: '#/components/schemas/Protocol' + Subdirectory: + description: A subdirectory in the location's path. + type: string + maxLength: 4096 + pattern: ^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + minItems: 0 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + LocationArn: + description: The Amazon Resource Name (ARN) of the Amazon FSx ONTAP file system location that is created. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the FSx ONTAP file system that was described. + type: string + pattern: ^(efs|nfs|s3|smb|hdfs|fsx[a-z0-9-]+)://[a-zA-Z0-9.:/\-]+$ + maxLength: 4360 + x-stackQL-stringOnly: true + x-title: CreateLocationFSxONTAPRequest + type: object + required: [] + CreateLocationFSxOpenZFSRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FsxFilesystemArn: + description: The Amazon Resource Name (ARN) for the FSx OpenZFS file system. + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):fsx:[a-z\-0-9]+:[0-9]{12}:file-system/fs-[0-9a-f]+$ + SecurityGroupArns: + description: The ARNs of the security groups that are to use to configure the FSx OpenZFS file system. + type: array + items: + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/sg-[a-f0-9]+$ + maxItems: 5 + minItems: 1 + x-insertionOrder: false + Protocol: + $ref: '#/components/schemas/Protocol' + Subdirectory: + description: A subdirectory in the location's path. + type: string + maxLength: 4096 + pattern: ^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + minItems: 0 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + LocationArn: + description: The Amazon Resource Name (ARN) of the Amazon FSx OpenZFS file system location that is created. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the FSx OpenZFS that was described. + type: string + pattern: ^(efs|nfs|s3|smb|fsxw|hdfs|fsxl|fsxz)://[a-zA-Z0-9.:/\-]+$ + maxLength: 4356 + x-stackQL-stringOnly: true + x-title: CreateLocationFSxOpenZFSRequest + type: object + required: [] + CreateLocationFSxWindowsRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Domain: + description: The name of the Windows domain that the FSx for Windows server belongs to. + type: string + maxLength: 253 + pattern: ^([A-Za-z0-9]+[A-Za-z0-9-.]*)*[A-Za-z0-9-]*[A-Za-z0-9]$ + FsxFilesystemArn: + description: The Amazon Resource Name (ARN) for the FSx for Windows file system. + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):fsx:[a-z\-0-9]*:[0-9]{12}:file-system/fs-.*$ + Password: + description: The password of the user who has the permissions to access files and folders in the FSx for Windows file system. + type: string + maxLength: 104 + pattern: ^.{0,104}$ + SecurityGroupArns: + description: The ARNs of the security groups that are to use to configure the FSx for Windows file system. + type: array + items: + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$ + x-insertionOrder: false + Subdirectory: + description: A subdirectory in the location's path. + type: string + maxLength: 4096 + pattern: ^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$ + User: + description: The user who has the permissions to access files and folders in the FSx for Windows file system. + type: string + maxLength: 104 + pattern: ^[^\x5B\x5D\\/:;|=,+*?]{1,104}$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + LocationArn: + description: The Amazon Resource Name (ARN) of the Amazon FSx for Windows file system location that is created. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the FSx for Windows location that was described. + type: string + pattern: ^(efs|nfs|s3|smb|fsxw)://[a-zA-Z0-9./\-]+$ + maxLength: 4356 + x-stackQL-stringOnly: true + x-title: CreateLocationFSxWindowsRequest + type: object + required: [] + CreateLocationHDFSRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + NameNodes: + description: An array of Name Node(s) of the HDFS location. + type: array + items: + $ref: '#/components/schemas/NameNode' + minItems: 1 + x-insertionOrder: false + BlockSize: + description: Size of chunks (blocks) in bytes that the data is divided into when stored in the HDFS cluster. + type: integer + format: int64 + minimum: 1048576 + maximum: 1073741824 + ReplicationFactor: + description: Number of copies of each block that exists inside the HDFS cluster. + type: integer + format: int64 + default: 3 + minimum: 1 + maximum: 512 + KmsKeyProviderUri: + description: The identifier for the Key Management Server where the encryption keys that encrypt data inside HDFS clusters are stored. + type: string + minLength: 1 + maxLength: 255 + pattern: ^kms:\/\/http[s]?@(([a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9\-]*[A-Za-z0-9])(;(([a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9\-]*[A-Za-z0-9]))*:[0-9]{1,5}\/kms$ + QopConfiguration: + $ref: '#/components/schemas/QopConfiguration' + AuthenticationType: + description: The authentication mode used to determine identity of user. + type: string + enum: + - SIMPLE + - KERBEROS + SimpleUser: + description: The user name that has read and write permissions on the specified HDFS cluster. + type: string + pattern: ^[_.A-Za-z0-9][-_.A-Za-z0-9]*$ + minLength: 1 + maxLength: 256 + KerberosPrincipal: + description: The unique identity, or principal, to which Kerberos can assign tickets. + type: string + pattern: ^.+$ + minLength: 1 + maxLength: 256 + KerberosKeytab: + description: The Base64 string representation of the Keytab file. + type: string + maxLength: 87384 + KerberosKrb5Conf: + description: The string representation of the Krb5Conf file, or the presigned URL to access the Krb5.conf file within an S3 bucket. + type: string + maxLength: 174764 + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + AgentArns: + description: ARN(s) of the agent(s) to use for an HDFS location. + type: array + items: + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:agent/agent-[0-9a-z]{17}$ + maxLength: 128 + minItems: 1 + maxItems: 4 + x-insertionOrder: false + Subdirectory: + description: The subdirectory in HDFS that is used to read data from the HDFS source location or write data to the HDFS destination. + type: string + maxLength: 4096 + pattern: ^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$ + LocationArn: + description: The Amazon Resource Name (ARN) of the HDFS location. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the HDFS location that was described. + type: string + pattern: ^(efs|nfs|s3|smb|fsxw|hdfs)://[a-zA-Z0-9.:/\-]+$ + maxLength: 4356 + x-stackQL-stringOnly: true + x-title: CreateLocationHDFSRequest + type: object + required: [] + CreateLocationNFSRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + MountOptions: + $ref: '#/components/schemas/MountOptions' + default: + Version: AUTOMATIC + OnPremConfig: + $ref: '#/components/schemas/OnPremConfig' + ServerHostname: + description: The name of the NFS server. This value is the IP address or DNS name of the NFS server. + type: string + pattern: ^(([a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9\-]*[A-Za-z0-9])$ + maxLength: 255 + Subdirectory: + description: The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination. + type: string + maxLength: 4096 + pattern: ^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + LocationArn: + description: The Amazon Resource Name (ARN) of the NFS location. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the NFS location that was described. + type: string + pattern: ^(efs|nfs|s3|smb|fsxw)://[a-zA-Z0-9./\-]+$ + maxLength: 4356 + x-stackQL-stringOnly: true + x-title: CreateLocationNFSRequest + type: object + required: [] + CreateLocationObjectStorageRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessKey: + description: Optional. The access key is used if credentials are required to access the self-managed object storage server. + type: string + minLength: 1 + maxLength: 200 + pattern: ^.+$ + AgentArns: + description: The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location. + type: array + items: + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:agent/agent-[0-9a-z]{17}$ + minItems: 1 + maxItems: 4 + x-insertionOrder: false + BucketName: + description: The name of the bucket on the self-managed object storage server. + type: string + maxLength: 63 + minLength: 3 + pattern: ^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$ + SecretKey: + description: Optional. The secret key is used if credentials are required to access the self-managed object storage server. + type: string + minLength: 8 + maxLength: 200 + pattern: ^.+$ + ServerCertificate: + description: X.509 PEM content containing a certificate authority or chain to trust. + type: string + maxLength: 32768 + ServerHostname: + description: The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. + type: string + maxLength: 255 + pattern: ^(([a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9\-]*[A-Za-z0-9])$ + ServerPort: + description: The port that your self-managed server accepts inbound network traffic on. + type: integer + minimum: 1 + maximum: 65536 + ServerProtocol: + description: The protocol that the object storage server uses to communicate. + type: string + enum: + - HTTPS + - HTTP + Subdirectory: + description: The subdirectory in the self-managed object storage server that is used to read data from. + type: string + maxLength: 4096 + pattern: ^[a-zA-Z0-9_\-\+\./\(\)\p{Zs}]*$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + LocationArn: + description: The Amazon Resource Name (ARN) of the location that is created. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the object storage location that was described. + type: string + pattern: ^(efs|nfs|s3|smb|fsxw|object-storage)://[a-zA-Z0-9./\-]+$ + maxLength: 4356 + x-stackQL-stringOnly: true + x-title: CreateLocationObjectStorageRequest + type: object + required: [] + CreateLocationS3Request: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + S3Config: + $ref: '#/components/schemas/S3Config' + S3BucketArn: + description: The Amazon Resource Name (ARN) of the Amazon S3 bucket. + type: string + maxLength: 156 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):s3:[a-z\-0-9]*:[0-9]*:.*$ + Subdirectory: + description: A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination. + type: string + maxLength: 1024 + pattern: ^[\p{L}\p{M}\p{Z}\p{S}\p{N}\p{P}\p{C}]*$ + S3StorageClass: + description: The Amazon S3 storage class you want to store your files in when this location is used as a task destination. + type: string + enum: + - STANDARD + - STANDARD_IA + - ONEZONE_IA + - INTELLIGENT_TIERING + - GLACIER + - GLACIER_INSTANT_RETRIEVAL + - DEEP_ARCHIVE + default: STANDARD + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + LocationArn: + description: The Amazon Resource Name (ARN) of the Amazon S3 bucket location. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the S3 location that was described. + type: string + pattern: ^(efs|nfs|s3|smb|fsxw)://[a-zA-Z0-9.\-/]+$ + maxLength: 4356 + x-stackQL-stringOnly: true + x-title: CreateLocationS3Request + type: object + required: [] + CreateLocationSMBRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AgentArns: + description: The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location. + type: array + items: + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:agent/agent-[0-9a-z]{17}$ + maxLength: 128 + minItems: 1 + maxItems: 4 + x-insertionOrder: false + Domain: + description: The name of the Windows domain that the SMB server belongs to. + type: string + maxLength: 253 + pattern: ^([A-Za-z0-9]+[A-Za-z0-9-.]*)*[A-Za-z0-9-]*[A-Za-z0-9]$ + MountOptions: + $ref: '#/components/schemas/MountOptions' + default: + Version: AUTOMATIC + Password: + description: The password of the user who can mount the share and has the permissions to access files and folders in the SMB share. + type: string + maxLength: 104 + pattern: ^.{0,104}$ + ServerHostname: + description: The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server. + type: string + maxLength: 255 + pattern: ^(([a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9\-]*[A-Za-z0-9])$ + Subdirectory: + description: The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination + type: string + maxLength: 4096 + pattern: ^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$ + User: + description: The user who can mount the share, has the permissions to access files and folders in the SMB share. + type: string + maxLength: 104 + pattern: ^[^\x5B\x5D\\/:;|=,+*?]{1,104}$ + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + LocationArn: + description: The Amazon Resource Name (ARN) of the SMB location that is created. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + maxLength: 128 + LocationUri: + description: The URL of the SMB location that was described. + type: string + pattern: ^(efs|nfs|s3|smb|fsxw)://[a-zA-Z0-9./\-]+$ + maxLength: 4356 + x-stackQL-stringOnly: true + x-title: CreateLocationSMBRequest + type: object + required: [] + CreateStorageSystemRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ServerConfiguration: + $ref: '#/components/schemas/ServerConfiguration' + ServerCredentials: + $ref: '#/components/schemas/ServerCredentials' + SecretsManagerArn: + description: The ARN of a secret stored by AWS Secrets Manager. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):secretsmanager:[a-z\-0-9]+:[0-9]{12}:secret:.* + maxLength: 2048 + SystemType: + description: The type of on-premises storage system that DataSync Discovery will analyze. + type: string + enum: + - NetAppONTAP + AgentArns: + description: The ARN of the DataSync agent that connects to and reads from the on-premises storage system's management interface. + type: array + items: + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:agent/agent-[0-9a-z]{17}$ + maxLength: 128 + minItems: 1 + maxItems: 1 + x-insertionOrder: false + CloudWatchLogGroupArn: + description: The ARN of the Amazon CloudWatch log group used to monitor and log discovery job events. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):logs:[a-z\-0-9]+:[0-9]{12}:log-group:([^:\*]*)(:\*)?$ + maxLength: 562 + Name: + description: A familiar name for the on-premises storage system. + type: string + pattern: ^[a-zA-Z0-9\s+=._:@/-]+$ + minLength: 1 + maxLength: 256 + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + StorageSystemArn: + description: The ARN of the on-premises storage system added to DataSync Discovery. + type: string + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:system/storage-system-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$ + maxLength: 128 + ConnectivityStatus: + description: Indicates whether the DataSync agent can access the on-premises storage system. + type: string + enum: + - PASS + - FAIL + - UNKNOWN + x-stackQL-stringOnly: true + x-title: CreateStorageSystemRequest + type: object + required: [] + CreateTaskRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Excludes: + type: array + minItems: 0 + maxItems: 1 + items: + $ref: '#/components/schemas/FilterRule' + x-insertionOrder: false + Includes: + type: array + minItems: 0 + maxItems: 1 + items: + $ref: '#/components/schemas/FilterRule' + x-insertionOrder: false + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + CloudWatchLogGroupArn: + description: The ARN of the Amazon CloudWatch log group that is used to monitor and log events in the task. + type: string + maxLength: 562 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):logs:[a-z\-0-9]*:[0-9]{12}:log-group:([^:\*]*)(:\*)?$ + DestinationLocationArn: + description: The ARN of an AWS storage resource's location. + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + Name: + description: The name of a task. This value is a text reference that is used to identify the task in the console. + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9\s+=._:@/-]+$ + Options: + $ref: '#/components/schemas/Options' + TaskReportConfig: + $ref: '#/components/schemas/TaskReportConfig' + ManifestConfig: + $ref: '#/components/schemas/ManifestConfig' + Schedule: + $ref: '#/components/schemas/TaskSchedule' + SourceLocationArn: + description: The ARN of the source location for the task. + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:location/loc-[0-9a-z]{17}$ + TaskArn: + description: The ARN of the task. + type: string + maxLength: 128 + pattern: ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]*:[0-9]{12}:task/task-[0-9a-f]{17}$ + Status: + description: The status of the task that was described. + type: string + enum: + - AVAILABLE + - CREATING + - QUEUED + - RUNNING + - UNAVAILABLE + SourceNetworkInterfaceArns: + $ref: '#/components/schemas/SourceNetworkInterfaceArns' + DestinationNetworkInterfaceArns: + $ref: '#/components/schemas/DestinationNetworkInterfaceArns' + x-stackQL-stringOnly: true + x-title: CreateTaskRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -2422,10 +3409,26 @@ components: x-cfn-type-name: AWS::DataSync::Agent x-identifiers: - AgentArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Agent&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataSync::Agent" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2438,7 +3441,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/agents/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/agents/methods/delete_resource' config: views: select: @@ -2464,6 +3468,7 @@ components: x-cfn-type-name: AWS::DataSync::Agent x-identifiers: - AgentArn + x-type: get methods: update_resource: operation: @@ -2477,24 +3482,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::Agent" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/agent/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/agent/methods/delete_resource' - x-type: get config: views: select: @@ -2538,10 +3528,26 @@ components: x-cfn-type-name: AWS::DataSync::LocationAzureBlob x-identifiers: - LocationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LocationAzureBlob&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataSync::LocationAzureBlob" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2554,7 +3560,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/location_azure_blobs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/location_azure_blobs/methods/delete_resource' config: views: select: @@ -2580,6 +3587,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationAzureBlob x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -2593,24 +3601,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationAzureBlob" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/location_azure_blob/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/location_azure_blob/methods/delete_resource' - x-type: get config: views: select: @@ -2658,6 +3651,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationEFS x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -2671,24 +3665,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationEFS" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/location_efs/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/location_efs/methods/delete_resource' - x-type: get config: views: select: @@ -2734,10 +3713,26 @@ components: x-cfn-type-name: AWS::DataSync::LocationFSxLustre x-identifiers: - LocationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LocationFSxLustre&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataSync::LocationFSxLustre" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2750,7 +3745,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/locationf_sx_lustres/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/locationf_sx_lustres/methods/delete_resource' config: views: select: @@ -2776,6 +3772,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationFSxLustre x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -2789,24 +3786,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationFSxLustre" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/locationf_sx_lustre/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/locationf_sx_lustre/methods/delete_resource' - x-type: get config: views: select: @@ -2846,10 +3828,26 @@ components: x-cfn-type-name: AWS::DataSync::LocationFSxONTAP x-identifiers: - LocationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LocationFSxONTAP&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataSync::LocationFSxONTAP" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2862,7 +3860,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/locationf_sx_ontaps/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/locationf_sx_ontaps/methods/delete_resource' config: views: select: @@ -2888,6 +3887,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationFSxONTAP x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -2901,24 +3901,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationFSxONTAP" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/locationf_sx_ontap/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/locationf_sx_ontap/methods/delete_resource' - x-type: get config: views: select: @@ -2962,6 +3947,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationFSxOpenZFS x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -2975,24 +3961,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationFSxOpenZFS" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/locationf_sx_open_zfs/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/locationf_sx_open_zfs/methods/delete_resource' - x-type: get config: views: select: @@ -3034,6 +4005,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationFSxWindows x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -3047,24 +4019,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationFSxWindows" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/locationf_sx_windows/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/locationf_sx_windows/methods/delete_resource' - x-type: get config: views: select: @@ -3110,6 +4067,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationHDFS x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -3123,24 +4081,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationHDFS" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/location_hdfs/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/location_hdfs/methods/delete_resource' - x-type: get config: views: select: @@ -3198,6 +4141,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationNFS x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -3211,24 +4155,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationNFS" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/location_nfs/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/location_nfs/methods/delete_resource' - x-type: get config: views: select: @@ -3270,10 +4199,26 @@ components: x-cfn-type-name: AWS::DataSync::LocationObjectStorage x-identifiers: - LocationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LocationObjectStorage&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataSync::LocationObjectStorage" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3286,7 +4231,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/location_object_storages/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/location_object_storages/methods/delete_resource' config: views: select: @@ -3312,6 +4258,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationObjectStorage x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -3325,24 +4272,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationObjectStorage" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/location_object_storage/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/location_object_storage/methods/delete_resource' - x-type: get config: views: select: @@ -3394,10 +4326,26 @@ components: x-cfn-type-name: AWS::DataSync::LocationS3 x-identifiers: - LocationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LocationS3&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataSync::LocationS3" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3410,7 +4358,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/location_s3s/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/location_s3s/methods/delete_resource' config: views: select: @@ -3436,6 +4385,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationS3 x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -3449,24 +4399,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationS3" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/location_s3/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/location_s3/methods/delete_resource' - x-type: get config: views: select: @@ -3508,10 +4443,26 @@ components: x-cfn-type-name: AWS::DataSync::LocationSMB x-identifiers: - LocationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LocationSMB&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataSync::LocationSMB" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3524,7 +4475,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/location_smbs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/location_smbs/methods/delete_resource' config: views: select: @@ -3550,6 +4502,7 @@ components: x-cfn-type-name: AWS::DataSync::LocationSMB x-identifiers: - LocationArn + x-type: get methods: update_resource: operation: @@ -3563,24 +4516,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::LocationSMB" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/location_smb/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/location_smb/methods/delete_resource' - x-type: get config: views: select: @@ -3628,10 +4566,26 @@ components: x-cfn-type-name: AWS::DataSync::StorageSystem x-identifiers: - StorageSystemArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StorageSystem&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataSync::StorageSystem" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3644,7 +4598,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/storage_systems/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/storage_systems/methods/delete_resource' config: views: select: @@ -3670,6 +4625,7 @@ components: x-cfn-type-name: AWS::DataSync::StorageSystem x-identifiers: - StorageSystemArn + x-type: get methods: update_resource: operation: @@ -3683,24 +4639,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::StorageSystem" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/storage_system/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/storage_system/methods/delete_resource' - x-type: get config: views: select: @@ -3748,10 +4689,26 @@ components: x-cfn-type-name: AWS::DataSync::Task x-identifiers: - TaskArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Task&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataSync::Task" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3764,7 +4721,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/tasks/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/tasks/methods/delete_resource' config: views: select: @@ -3790,6 +4748,7 @@ components: x-cfn-type-name: AWS::DataSync::Task x-identifiers: - TaskArn + x-type: get methods: update_resource: operation: @@ -3803,24 +4762,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataSync::Task" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/task/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/task/methods/delete_resource' - x-type: get config: views: select: @@ -4014,8 +4958,598 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Agent&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAgent + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAgentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationAzureBlob&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationAzureBlob + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationAzureBlobRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationEFS&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationEFS + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationEFSRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationFSxLustre&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationFSxLustre + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationFSxLustreRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationFSxONTAP&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationFSxONTAP + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationFSxONTAPRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationFSxOpenZFS&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationFSxOpenZFS + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationFSxOpenZFSRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationFSxWindows&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationFSxWindows + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationFSxWindowsRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationHDFS&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationHDFS + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationHDFSRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationNFS&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationNFS + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationNFSRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationObjectStorage&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationObjectStorage + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationObjectStorageRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationS3&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationS3 + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationS3Request' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LocationSMB&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLocationSMB + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLocationSMBRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StorageSystem&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStorageSystem + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStorageSystemRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Task&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTask + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTaskRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/datazone.yaml b/providers/src/aws/v00.00.00000/services/datazone.yaml index 5f029340..6faca251 100644 --- a/providers/src/aws/v00.00.00000/services/datazone.yaml +++ b/providers/src/aws/v00.00.00000/services/datazone.yaml @@ -1581,6 +1581,561 @@ components: - datazone:DeleteSubscriptionTarget list: - datazone:ListSubscriptionTargets + CreateDataSourceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AssetFormsInput: + type: array + description: The metadata forms that are to be attached to the assets that this data source works with. + items: + $ref: '#/components/schemas/FormInput' + maxItems: 10 + minItems: 0 + x-insertionOrder: false + CreatedAt: + type: string + description: The timestamp of when the data source was created. + format: date-time + Description: + type: string + description: The description of the data source. + maxLength: 2048 + DomainId: + type: string + description: The ID of the Amazon DataZone domain where the data source is created. + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + DomainIdentifier: + type: string + description: The ID of the Amazon DataZone domain where the data source is created. + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + EnableSetting: + description: Specifies whether the data source is enabled. + $ref: '#/components/schemas/EnableSetting' + EnvironmentId: + type: string + description: The unique identifier of the Amazon DataZone environment to which the data source publishes assets. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + EnvironmentIdentifier: + description: The unique identifier of the Amazon DataZone environment to which the data source publishes assets. + type: string + Id: + type: string + description: The unique identifier of the data source. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + Configuration: + description: Configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration. + $ref: '#/components/schemas/DataSourceConfigurationInput' + LastRunAssetCount: + description: The number of assets created by the data source during its last run. + type: number + LastRunAt: + type: string + description: The timestamp that specifies when the data source was last run. + LastRunStatus: + description: The status of the last run of this data source. + type: string + Name: + type: string + description: The name of the data source. + maxLength: 256 + minLength: 1 + ProjectId: + type: string + description: The ID of the Amazon DataZone project to which the data source is added. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + ProjectIdentifier: + type: string + description: The identifier of the Amazon DataZone project in which you want to add the data source. + PublishOnImport: + type: boolean + description: Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog. + Recommendation: + $ref: '#/components/schemas/RecommendationConfiguration' + description: Specifies whether the business name generation is to be enabled for this data source. + Schedule: + description: The schedule of the data source runs. + $ref: '#/components/schemas/ScheduleConfiguration' + Status: + description: The status of the data source. + $ref: '#/components/schemas/DataSourceStatus' + Type: + type: string + description: The type of the data source. + maxLength: 256 + minLength: 1 + UpdatedAt: + type: string + description: The timestamp of when this data source was updated. + format: date-time + x-stackQL-stringOnly: true + x-title: CreateDataSourceRequest + type: object + required: [] + CreateDomainRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description: The ARN of the Amazon DataZone domain. + pattern: ^arn:aws(|-cn|-us-gov):datazone:\w+(?:-\w+)+:\d{12}:domain/dzd[-_][a-zA-Z0-9_-]{1,36}$ + CreatedAt: + type: string + description: The timestamp of when the Amazon DataZone domain was last updated. + format: date-time + Description: + type: string + description: The description of the Amazon DataZone domain. + DomainExecutionRole: + type: string + description: The domain execution role that is created when an Amazon DataZone domain is created. The domain execution role is created in the AWS account that houses the Amazon DataZone domain. + pattern: ^arn:aws[^:]*:iam::\d{12}:(role|role/service-role)/[\w+=,.@-]*$ + Id: + type: string + description: The id of the Amazon DataZone domain. + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + KmsKeyIdentifier: + type: string + maxLength: 1024 + description: The identifier of the AWS Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data. + minLength: 1 + pattern: ^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$ + LastUpdatedAt: + type: string + description: The timestamp of when the Amazon DataZone domain was last updated. + format: date-time + ManagedAccountId: + type: string + description: The identifier of the AWS account that manages the domain. + Name: + type: string + description: The name of the Amazon DataZone domain. + PortalUrl: + type: string + description: The URL of the data portal for this Amazon DataZone domain. + SingleSignOn: + $ref: '#/components/schemas/SingleSignOn' + description: The single-sign on configuration of the Amazon DataZone domain. + Status: + $ref: '#/components/schemas/DomainStatus' + description: The status of the Amazon DataZone domain. + Tags: + type: array + description: The tags specified for the Amazon DataZone domain. + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateDomainRequest + type: object + required: [] + CreateEnvironmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AwsAccountId: + type: string + description: The AWS account in which the Amazon DataZone environment is created. + pattern: ^\d{12}$ + AwsAccountRegion: + type: string + description: The AWS region in which the Amazon DataZone environment is created. + pattern: ^[a-z]{2}-[a-z]{4,10}-\d$ + CreatedAt: + type: string + description: The timestamp of when the environment was created. + format: date-time + CreatedBy: + type: string + description: The Amazon DataZone user who created the environment. + Description: + type: string + description: The description of the Amazon DataZone environment. + maxLength: 2048 + DomainId: + type: string + description: The identifier of the Amazon DataZone domain in which the environment is created. + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + DomainIdentifier: + type: string + description: The identifier of the Amazon DataZone domain in which the environment would be created. + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + EnvironmentBlueprintId: + type: string + description: The ID of the blueprint with which the Amazon DataZone environment was created. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + EnvironmentProfileId: + type: string + description: The ID of the environment profile with which the Amazon DataZone environment was created. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + EnvironmentProfileIdentifier: + type: string + description: The ID of the environment profile with which the Amazon DataZone environment would be created. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + GlossaryTerms: + type: array + x-insertionOrder: false + description: The glossary terms that can be used in the Amazon DataZone environment. + items: + type: string + pattern: ^[a-zA-Z0-9_-]{1,36}$ + maxItems: 20 + minItems: 1 + Id: + type: string + description: The ID of the Amazon DataZone environment. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + Name: + type: string + description: The name of the environment. + maxLength: 64 + minLength: 1 + pattern: ^[\w -]+$ + ProjectId: + type: string + description: The ID of the Amazon DataZone project in which the environment is created. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + ProjectIdentifier: + type: string + description: The ID of the Amazon DataZone project in which the environment would be created. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + Provider: + type: string + description: The provider of the Amazon DataZone environment. + Status: + $ref: '#/components/schemas/EnvironmentStatus' + description: The status of the Amazon DataZone environment. + UpdatedAt: + type: string + description: The timestamp of when the environment was updated. + format: date-time + UserParameters: + type: array + x-insertionOrder: false + description: The user parameters of the Amazon DataZone environment. + items: + $ref: '#/components/schemas/EnvironmentParameter' + x-stackQL-stringOnly: true + x-title: CreateEnvironmentRequest + type: object + required: [] + CreateEnvironmentBlueprintConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RegionalParameters: + uniqueItems: true + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/RegionalParameter' + ProvisioningRoleArn: + pattern: ^arn:aws[^:]*:iam::\d{12}:(role|role/service-role)/[\w+=,.@-]*$ + type: string + DomainId: + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + type: string + CreatedAt: + format: date-time + type: string + EnabledRegions: + minItems: 0 + x-insertionOrder: false + type: array + items: + minLength: 4 + pattern: ^[a-z]{2}-?(iso|gov)?-{1}[a-z]*-{1}[0-9]$ + type: string + maxLength: 16 + EnvironmentBlueprintIdentifier: + pattern: ^[a-zA-Z0-9_-]{1,36}$ + type: string + EnvironmentBlueprintId: + pattern: ^[a-zA-Z0-9_-]{1,36}$ + type: string + UpdatedAt: + format: date-time + type: string + DomainIdentifier: + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + type: string + ManageAccessRoleArn: + pattern: ^arn:aws[^:]*:iam::\d{12}:(role|role/service-role)/[\w+=,.@-]*$ + type: string + x-stackQL-stringOnly: true + x-title: CreateEnvironmentBlueprintConfigurationRequest + type: object + required: [] + CreateEnvironmentProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AwsAccountId: + description: The AWS account in which the Amazon DataZone environment is created. + type: string + pattern: ^\d{12}$ + AwsAccountRegion: + description: The AWS region in which this environment profile is created. + type: string + pattern: ^[a-z]{2}-[a-z]{4,10}-\d$ + CreatedAt: + description: The timestamp of when this environment profile was created. + type: string + format: date-time + CreatedBy: + description: The Amazon DataZone user who created this environment profile. + type: string + Description: + description: The description of this Amazon DataZone environment profile. + type: string + maxLength: 2048 + DomainId: + description: The ID of the Amazon DataZone domain in which this environment profile is created. + type: string + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + DomainIdentifier: + description: The ID of the Amazon DataZone domain in which this environment profile is created. + type: string + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + EnvironmentBlueprintId: + description: The ID of the blueprint with which this environment profile is created. + type: string + pattern: ^[a-zA-Z0-9_-]{1,36}$ + EnvironmentBlueprintIdentifier: + description: The ID of the blueprint with which this environment profile is created. + type: string + pattern: ^[a-zA-Z0-9_-]{1,36}$ + Id: + description: The ID of this Amazon DataZone environment profile. + type: string + pattern: ^[a-zA-Z0-9_-]{1,36}$ + Name: + description: The name of this Amazon DataZone environment profile. + type: string + maxLength: 64 + minLength: 1 + pattern: ^[\w -]+$ + ProjectId: + description: The identifier of the project in which to create the environment profile. + type: string + pattern: ^[a-zA-Z0-9_-]{1,36}$ + ProjectIdentifier: + description: The identifier of the project in which to create the environment profile. + type: string + pattern: ^[a-zA-Z0-9_-]{1,36}$ + UpdatedAt: + description: The timestamp of when this environment profile was updated. + type: string + format: date-time + UserParameters: + description: The user parameters of this Amazon DataZone environment profile. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/EnvironmentParameter' + x-stackQL-stringOnly: true + x-title: CreateEnvironmentProfileRequest + type: object + required: [] + CreateProjectRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CreatedAt: + description: The timestamp of when the project was created. + type: string + format: date-time + CreatedBy: + description: The Amazon DataZone user who created the project. + type: string + Description: + description: The description of the Amazon DataZone project. + type: string + maxLength: 2048 + DomainId: + description: The identifier of the Amazon DataZone domain in which the project was created. + type: string + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + DomainIdentifier: + description: The ID of the Amazon DataZone domain in which this project is created. + type: string + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + GlossaryTerms: + description: The glossary terms that can be used in this Amazon DataZone project. + type: array + x-insertionOrder: false + items: + type: string + pattern: ^[a-zA-Z0-9_-]{1,36}$ + maxItems: 20 + minItems: 1 + Id: + description: The ID of the Amazon DataZone project. + type: string + pattern: ^[a-zA-Z0-9_-]{1,36}$ + LastUpdatedAt: + description: The timestamp of when the project was last updated. + type: string + format: date-time + Name: + description: The name of the Amazon DataZone project. + type: string + maxLength: 64 + minLength: 1 + pattern: ^[\w -]+$ + x-stackQL-stringOnly: true + x-title: CreateProjectRequest + type: object + required: [] + CreateSubscriptionTargetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ApplicableAssetTypes: + type: array + description: The asset types that can be included in the subscription target. + x-insertionOrder: false + items: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[^\.]* + AuthorizedPrincipals: + type: array + description: The authorized principals of the subscription target. + x-insertionOrder: false + items: + type: string + pattern: ^[a-zA-Z0-9:/_-]*$ + maxItems: 10 + minItems: 1 + CreatedAt: + type: string + description: The timestamp of when the subscription target was created. + format: date-time + CreatedBy: + type: string + description: The Amazon DataZone user who created the subscription target. + DomainId: + type: string + description: The ID of the Amazon DataZone domain in which subscription target is created. + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + DomainIdentifier: + type: string + description: The ID of the Amazon DataZone domain in which subscription target would be created. + pattern: ^dzd[-_][a-zA-Z0-9_-]{1,36}$ + EnvironmentId: + type: string + description: The ID of the environment in which subscription target is created. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + EnvironmentIdentifier: + type: string + description: The ID of the environment in which subscription target would be created. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + Id: + type: string + description: The ID of the subscription target. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + ManageAccessRole: + type: string + description: The manage access role that is used to create the subscription target. + Name: + type: string + description: The name of the subscription target. + maxLength: 256 + minLength: 1 + ProjectId: + type: string + description: The identifier of the project specified in the subscription target. + pattern: ^[a-zA-Z0-9_-]{1,36}$ + Provider: + type: string + description: The provider of the subscription target. + SubscriptionTargetConfig: + type: array + description: The configuration of the subscription target. + x-insertionOrder: false + items: + $ref: '#/components/schemas/SubscriptionTargetForm' + Type: + type: string + description: The type of the subscription target. + UpdatedAt: + type: string + description: The timestamp of when the subscription target was updated. + format: date-time + UpdatedBy: + type: string + description: The Amazon DataZone user who updated the subscription target. + x-stackQL-stringOnly: true + x-title: CreateSubscriptionTargetRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1597,10 +2152,26 @@ components: x-identifiers: - DomainId - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DataSource&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataZone::DataSource" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1613,7 +2184,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/data_sources/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/data_sources/methods/delete_resource' config: views: select: @@ -1642,6 +2214,7 @@ components: x-identifiers: - DomainId - Id + x-type: get methods: update_resource: operation: @@ -1655,24 +2228,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataZone::DataSource" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/data_source/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/data_source/methods/delete_resource' - x-type: get config: views: select: @@ -1744,10 +2302,26 @@ components: x-cfn-type-name: AWS::DataZone::Domain x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataZone::Domain" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1760,7 +2334,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/domains/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/domains/methods/delete_resource' config: views: select: @@ -1786,6 +2361,7 @@ components: x-cfn-type-name: AWS::DataZone::Domain x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1799,24 +2375,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataZone::Domain" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/domain/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/domain/methods/delete_resource' - x-type: get config: views: select: @@ -1871,10 +2432,26 @@ components: x-identifiers: - DomainId - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataZone::Environment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1887,7 +2464,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/environments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/environments/methods/delete_resource' config: views: select: @@ -1916,6 +2494,7 @@ components: x-identifiers: - DomainId - Id + x-type: get methods: update_resource: operation: @@ -1929,24 +2508,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataZone::Environment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/environment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/environment/methods/delete_resource' - x-type: get config: views: select: @@ -2013,10 +2577,26 @@ components: x-identifiers: - DomainId - EnvironmentBlueprintId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EnvironmentBlueprintConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataZone::EnvironmentBlueprintConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2029,7 +2609,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/environment_blueprint_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/environment_blueprint_configurations/methods/delete_resource' config: views: select: @@ -2058,6 +2639,7 @@ components: x-identifiers: - DomainId - EnvironmentBlueprintId + x-type: get methods: update_resource: operation: @@ -2071,24 +2653,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataZone::EnvironmentBlueprintConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/environment_blueprint_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/environment_blueprint_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -2137,10 +2704,26 @@ components: x-identifiers: - DomainId - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EnvironmentProfile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataZone::EnvironmentProfile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2153,7 +2736,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/environment_profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/environment_profiles/methods/delete_resource' config: views: select: @@ -2182,6 +2766,7 @@ components: x-identifiers: - DomainId - Id + x-type: get methods: update_resource: operation: @@ -2195,24 +2780,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataZone::EnvironmentProfile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/environment_profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/environment_profile/methods/delete_resource' - x-type: get config: views: select: @@ -2271,10 +2841,26 @@ components: x-identifiers: - DomainId - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Project&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataZone::Project" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2287,7 +2873,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/projects/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/projects/methods/delete_resource' config: views: select: @@ -2316,6 +2903,7 @@ components: x-identifiers: - DomainId - Id + x-type: get methods: update_resource: operation: @@ -2329,24 +2917,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataZone::Project" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/project/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/project/methods/delete_resource' - x-type: get config: views: select: @@ -2394,10 +2967,26 @@ components: - DomainId - EnvironmentId - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SubscriptionTarget&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DataZone::SubscriptionTarget" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2410,7 +2999,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/subscription_targets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/subscription_targets/methods/delete_resource' config: views: select: @@ -2442,6 +3032,7 @@ components: - DomainId - EnvironmentId - Id + x-type: get methods: update_resource: operation: @@ -2455,24 +3046,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DataZone::SubscriptionTarget" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/subscription_target/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/subscription_target/methods/delete_resource' - x-type: get config: views: select: @@ -2670,8 +3246,304 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__DataSource&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataSource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDataSourceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDomain + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDomainRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnvironment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnvironmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EnvironmentBlueprintConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnvironmentBlueprintConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnvironmentBlueprintConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EnvironmentProfile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnvironmentProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnvironmentProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Project&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProject + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProjectRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SubscriptionTarget&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSubscriptionTarget + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSubscriptionTargetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/deadline.yaml b/providers/src/aws/v00.00.00000/services/deadline.yaml index ae3de110..8ea388bd 100644 --- a/providers/src/aws/v00.00.00000/services/deadline.yaml +++ b/providers/src/aws/v00.00.00000/services/deadline.yaml @@ -1373,6 +1373,344 @@ components: list: - deadline:ListStorageProfiles - identitystore:ListGroupMembershipsForMember + CreateFarmRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + default: '' + maxLength: 100 + minLength: 0 + DisplayName: + type: string + maxLength: 100 + minLength: 1 + FarmId: + type: string + pattern: ^farm-[0-9a-f]{32}$ + KmsKeyArn: + type: string + pattern: ^arn:aws[-a-z]*:kms:.*:key/.* + Arn: + type: string + pattern: ^arn:(aws[a-zA-Z-]*):deadline:[a-z0-9-]+:[0-9]+:farm/.+? + x-stackQL-stringOnly: true + x-title: CreateFarmRequest + type: object + required: [] + CreateFleetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Capabilities: + $ref: '#/components/schemas/FleetCapabilities' + Configuration: + $ref: '#/components/schemas/FleetConfiguration' + Description: + type: string + default: '' + maxLength: 100 + minLength: 0 + DisplayName: + type: string + maxLength: 100 + minLength: 1 + FarmId: + type: string + pattern: ^farm-[0-9a-f]{32}$ + FleetId: + type: string + pattern: ^fleet-[0-9a-f]{32}$ + MaxWorkerCount: + type: integer + maximum: 2147483647 + minimum: 0 + MinWorkerCount: + type: integer + default: 0 + maximum: 2147483647 + minimum: 0 + RoleArn: + type: string + pattern: ^arn:(aws[a-zA-Z-]*):iam::\d{12}:role(/[!-.0-~]+)*/[\w+=,.@-]+$ + Status: + $ref: '#/components/schemas/FleetStatus' + WorkerCount: + type: integer + Arn: + type: string + pattern: ^arn:(aws[a-zA-Z-]*):deadline:[a-z0-9-]+:[0-9]+:farm/farm-[0-9a-z]{32}/fleet/fleet-[0-9a-z]{32} + x-stackQL-stringOnly: true + x-title: CreateFleetRequest + type: object + required: [] + CreateLicenseEndpointRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DnsName: + type: string + LicenseEndpointId: + type: string + pattern: ^le-[0-9a-f]{32}$ + SecurityGroupIds: + type: array + items: + type: string + maxItems: 10 + minItems: 1 + Status: + $ref: '#/components/schemas/LicenseEndpointStatus' + StatusMessage: + type: string + maxLength: 1024 + minLength: 0 + SubnetIds: + type: array + items: + type: string + maxLength: 32 + minLength: 1 + maxItems: 10 + minItems: 1 + VpcId: + type: string + maxLength: 32 + minLength: 1 + Arn: + type: string + pattern: ^arn:(aws[a-zA-Z-]*):deadline:[a-z0-9-]+:[0-9]{12}:license-endpoint/le-[0-9a-z]{32} + x-stackQL-stringOnly: true + x-title: CreateLicenseEndpointRequest + type: object + required: [] + CreateMeteredProductRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + LicenseEndpointId: + type: string + pattern: ^le-[0-9a-f]{32}$ + ProductId: + type: string + pattern: ^[0-9a-z]{1,32}-[.0-9a-z]{1,32}$ + Port: + type: integer + minimum: 1024 + maximum: 65535 + Family: + type: string + minLength: 1 + maxLength: 64 + Vendor: + type: string + minLength: 1 + maxLength: 64 + Arn: + type: string + pattern: ^arn:(aws[a-zA-Z-]*):deadline:[a-z0-9-]+:[0-9]{12}:license-endpoint/le-[0-9a-z]{32}/metered-product/[0-9a-z]{1,32}-[.0-9a-z]{1,32} + x-stackQL-stringOnly: true + x-title: CreateMeteredProductRequest + type: object + required: [] + CreateQueueRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AllowedStorageProfileIds: + type: array + items: + type: string + pattern: ^sp-[0-9a-f]{32}$ + maxItems: 20 + minItems: 0 + uniqueItems: true + DefaultBudgetAction: + $ref: '#/components/schemas/DefaultQueueBudgetAction' + Description: + type: string + default: '' + maxLength: 100 + minLength: 0 + DisplayName: + type: string + maxLength: 100 + minLength: 1 + FarmId: + type: string + pattern: ^farm-[0-9a-f]{32}$ + JobAttachmentSettings: + $ref: '#/components/schemas/JobAttachmentSettings' + JobRunAsUser: + $ref: '#/components/schemas/JobRunAsUser' + QueueId: + type: string + pattern: ^queue-[0-9a-f]{32}$ + RequiredFileSystemLocationNames: + type: array + items: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[0-9A-Za-z ]*$ + maxItems: 20 + minItems: 0 + uniqueItems: true + RoleArn: + type: string + pattern: ^arn:(aws[a-zA-Z-]*):iam::\d{12}:role(/[!-.0-~]+)*/[\w+=,.@-]+$ + Arn: + type: string + pattern: ^arn:* + x-stackQL-stringOnly: true + x-title: CreateQueueRequest + type: object + required: [] + CreateQueueEnvironmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FarmId: + type: string + pattern: ^farm-[0-9a-f]{32}$ + Name: + type: string + Priority: + type: integer + maximum: 10000 + minimum: 0 + QueueEnvironmentId: + type: string + pattern: ^queueenv-[0-9a-f]{32}$ + QueueId: + type: string + pattern: ^queue-[0-9a-f]{32}$ + Template: + type: string + maxLength: 15000 + minLength: 1 + TemplateType: + $ref: '#/components/schemas/EnvironmentTemplateType' + x-stackQL-stringOnly: true + x-title: CreateQueueEnvironmentRequest + type: object + required: [] + CreateQueueFleetAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FarmId: + type: string + pattern: ^farm-[0-9a-f]{32}$ + FleetId: + type: string + pattern: ^fleet-[0-9a-f]{32}$ + QueueId: + type: string + pattern: ^queue-[0-9a-f]{32}$ + x-stackQL-stringOnly: true + x-title: CreateQueueFleetAssociationRequest + type: object + required: [] + CreateStorageProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DisplayName: + type: string + maxLength: 100 + minLength: 1 + FarmId: + type: string + pattern: ^farm-[0-9a-f]{32}$ + FileSystemLocations: + type: array + items: + $ref: '#/components/schemas/FileSystemLocation' + maxItems: 20 + minItems: 0 + OsFamily: + $ref: '#/components/schemas/StorageProfileOperatingSystemFamily' + StorageProfileId: + type: string + pattern: ^sp-[0-9a-f]{32}$ + x-stackQL-stringOnly: true + x-title: CreateStorageProfileRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1388,10 +1726,26 @@ components: x-cfn-type-name: AWS::Deadline::Farm x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Farm&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Deadline::Farm" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1404,7 +1758,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/farms/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/farms/methods/delete_resource' config: views: select: @@ -1430,6 +1785,7 @@ components: x-cfn-type-name: AWS::Deadline::Farm x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1443,24 +1799,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Deadline::Farm" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/farm/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/farm/methods/delete_resource' - x-type: get config: views: select: @@ -1498,10 +1839,26 @@ components: x-cfn-type-name: AWS::Deadline::Fleet x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Fleet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Deadline::Fleet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1514,7 +1871,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/fleets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/fleets/methods/delete_resource' config: views: select: @@ -1540,6 +1898,7 @@ components: x-cfn-type-name: AWS::Deadline::Fleet x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1553,24 +1912,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Deadline::Fleet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/fleet/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/fleet/methods/delete_resource' - x-type: get config: views: select: @@ -1622,10 +1966,26 @@ components: x-cfn-type-name: AWS::Deadline::LicenseEndpoint x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LicenseEndpoint&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Deadline::LicenseEndpoint" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1638,7 +1998,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/license_endpoints/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/license_endpoints/methods/delete_resource' config: views: select: @@ -1664,24 +2025,10 @@ components: x-cfn-type-name: AWS::Deadline::LicenseEndpoint x-identifiers: - Arn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Deadline::LicenseEndpoint" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/license_endpoint/methods/delete_resource' - x-type: get config: views: select: @@ -1725,10 +2072,26 @@ components: x-cfn-type-name: AWS::Deadline::MeteredProduct x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__MeteredProduct&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Deadline::MeteredProduct" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1741,7 +2104,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/metered_products/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/metered_products/methods/delete_resource' config: views: select: @@ -1767,24 +2131,10 @@ components: x-cfn-type-name: AWS::Deadline::MeteredProduct x-identifiers: - Arn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Deadline::MeteredProduct" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/metered_product/methods/delete_resource' - x-type: get config: views: select: @@ -1824,10 +2174,26 @@ components: x-cfn-type-name: AWS::Deadline::Queue x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Queue&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Deadline::Queue" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1840,7 +2206,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/queues/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/queues/methods/delete_resource' config: views: select: @@ -1866,6 +2233,7 @@ components: x-cfn-type-name: AWS::Deadline::Queue x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1879,24 +2247,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Deadline::Queue" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/queue/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/queue/methods/delete_resource' - x-type: get config: views: select: @@ -1948,10 +2301,14 @@ components: - FarmId - QueueId - QueueEnvironmentId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__QueueEnvironment&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1961,13 +2318,26 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/queue_environments/methods/create_resource' - x-type: list - config: - views: - select: + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Deadline::QueueEnvironment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + sqlVerbs: + insert: + - $ref: '#/components/x-stackQL-resources/queue_environments/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/queue_environments/methods/delete_resource' + config: + views: + select: predicate: sqlDialect == "sqlite3" ddl: |- SELECT @@ -1996,6 +2366,7 @@ components: - FarmId - QueueId - QueueEnvironmentId + x-type: get methods: update_resource: operation: @@ -2009,24 +2380,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Deadline::QueueEnvironment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/queue_environment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/queue_environment/methods/delete_resource' - x-type: get config: views: select: @@ -2070,10 +2426,26 @@ components: - FarmId - FleetId - QueueId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__QueueFleetAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Deadline::QueueFleetAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2086,7 +2458,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/queue_fleet_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/queue_fleet_associations/methods/delete_resource' config: views: select: @@ -2118,24 +2491,10 @@ components: - FarmId - FleetId - QueueId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Deadline::QueueFleetAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/queue_fleet_association/methods/delete_resource' - x-type: get config: views: select: @@ -2170,10 +2529,26 @@ components: x-identifiers: - FarmId - StorageProfileId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StorageProfile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Deadline::StorageProfile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2186,7 +2561,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/storage_profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/storage_profiles/methods/delete_resource' config: views: select: @@ -2215,6 +2591,7 @@ components: x-identifiers: - FarmId - StorageProfileId + x-type: get methods: update_resource: operation: @@ -2228,24 +2605,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Deadline::StorageProfile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/storage_profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/storage_profile/methods/delete_resource' - x-type: get config: views: select: @@ -2419,8 +2781,346 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Farm&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFarm + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFarmRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Fleet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFleet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFleetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LicenseEndpoint&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLicenseEndpoint + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLicenseEndpointRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__MeteredProduct&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMeteredProduct + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMeteredProductRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Queue&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateQueue + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateQueueRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__QueueEnvironment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateQueueEnvironment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateQueueEnvironmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__QueueFleetAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateQueueFleetAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateQueueFleetAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StorageProfile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStorageProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStorageProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/detective.yaml b/providers/src/aws/v00.00.00000/services/detective.yaml index ed9d1562..c6b27b9d 100644 --- a/providers/src/aws/v00.00.00000/services/detective.yaml +++ b/providers/src/aws/v00.00.00000/services/detective.yaml @@ -548,6 +548,96 @@ components: list: - detective:ListOrganizationAdminAccount - organizations:DescribeOrganization + CreateGraphRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description: The Detective graph ARN + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + AutoEnableMembers: + type: boolean + default: false + description: Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph. + x-stackQL-stringOnly: true + x-title: CreateGraphRequest + type: object + required: [] + CreateMemberInvitationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + GraphArn: + description: The ARN of the graph to which the member account will be invited + type: string + pattern: arn:aws(-[\w]+)*:detective:(([a-z]+-)+[0-9]+):[0-9]{12}:graph:[0-9a-f]{32} + MemberId: + description: The AWS account ID to be invited to join the graph as a member + type: string + pattern: '[0-9]{12}' + MemberEmailAddress: + description: The root email address for the account to be invited, for validation. Updating this field has no effect. + type: string + pattern: .*@.* + DisableEmailNotification: + description: When set to true, invitation emails are not sent to the member accounts. Member accounts must still accept the invitation before they are added to the behavior graph. Updating this field has no effect. + type: boolean + default: false + Message: + description: A message to be included in the email invitation sent to the invited account. Updating this field has no effect. + type: string + minLength: 1 + maxLength: 1000 + x-stackQL-stringOnly: true + x-title: CreateMemberInvitationRequest + type: object + required: [] + CreateOrganizationAdminRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccountId: + description: The account ID of the account that should be registered as your Organization's delegated administrator for Detective + type: string + pattern: '[0-9]{12}' + GraphArn: + type: string + description: The Detective graph ARN + x-stackQL-stringOnly: true + x-title: CreateOrganizationAdminRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -563,10 +653,26 @@ components: x-cfn-type-name: AWS::Detective::Graph x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Graph&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Detective::Graph" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -579,7 +685,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/graphs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/graphs/methods/delete_resource' config: views: select: @@ -605,6 +712,7 @@ components: x-cfn-type-name: AWS::Detective::Graph x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -618,24 +726,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Detective::Graph" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/graph/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/graph/methods/delete_resource' - x-type: get config: views: select: @@ -670,10 +763,26 @@ components: x-identifiers: - GraphArn - MemberId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__MemberInvitation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Detective::MemberInvitation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -686,7 +795,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/member_invitations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/member_invitations/methods/delete_resource' config: views: select: @@ -715,6 +825,7 @@ components: x-identifiers: - GraphArn - MemberId + x-type: get methods: update_resource: operation: @@ -728,24 +839,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Detective::MemberInvitation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/member_invitation/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/member_invitation/methods/delete_resource' - x-type: get config: views: select: @@ -783,10 +879,26 @@ components: x-cfn-type-name: AWS::Detective::OrganizationAdmin x-identifiers: - AccountId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__OrganizationAdmin&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Detective::OrganizationAdmin" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -799,7 +911,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/organization_admins/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/organization_admins/methods/delete_resource' config: views: select: @@ -825,6 +938,7 @@ components: x-cfn-type-name: AWS::Detective::OrganizationAdmin x-identifiers: - AccountId + x-type: get methods: update_resource: operation: @@ -838,24 +952,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Detective::OrganizationAdmin" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/organization_admin/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/organization_admin/methods/delete_resource' - x-type: get config: views: select: @@ -1023,8 +1122,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Graph&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateGraph + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateGraphRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__MemberInvitation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMemberInvitation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMemberInvitationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__OrganizationAdmin&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateOrganizationAdmin + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateOrganizationAdminRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/devopsguru.yaml b/providers/src/aws/v00.00.00000/services/devopsguru.yaml index fdbd8e2c..0b5aa276 100644 --- a/providers/src/aws/v00.00.00000/services/devopsguru.yaml +++ b/providers/src/aws/v00.00.00000/services/devopsguru.yaml @@ -609,6 +609,75 @@ components: update: - devops-guru:UpdateResourceCollection - devops-guru:GetResourceCollection + CreateLogAnomalyDetectionIntegrationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccountId: + $ref: '#/components/schemas/AccountId' + x-stackQL-stringOnly: true + x-title: CreateLogAnomalyDetectionIntegrationRequest + type: object + required: [] + CreateNotificationChannelRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Config: + $ref: '#/components/schemas/NotificationChannelConfig' + Id: + description: The ID of a notification channel. + type: string + minLength: 36 + maxLength: 36 + pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$ + x-stackQL-stringOnly: true + x-title: CreateNotificationChannelRequest + type: object + required: [] + CreateResourceCollectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceCollectionFilter: + $ref: '#/components/schemas/ResourceCollectionFilter' + ResourceCollectionType: + description: The type of ResourceCollection + type: string + enum: + - AWS_CLOUD_FORMATION + - AWS_TAGS + x-stackQL-stringOnly: true + x-title: CreateResourceCollectionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -624,10 +693,26 @@ components: x-cfn-type-name: AWS::DevOpsGuru::LogAnomalyDetectionIntegration x-identifiers: - AccountId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LogAnomalyDetectionIntegration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DevOpsGuru::LogAnomalyDetectionIntegration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -640,7 +725,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/log_anomaly_detection_integrations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/log_anomaly_detection_integrations/methods/delete_resource' config: views: select: @@ -666,6 +752,7 @@ components: x-cfn-type-name: AWS::DevOpsGuru::LogAnomalyDetectionIntegration x-identifiers: - AccountId + x-type: get methods: update_resource: operation: @@ -679,24 +766,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DevOpsGuru::LogAnomalyDetectionIntegration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/log_anomaly_detection_integration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/log_anomaly_detection_integration/methods/delete_resource' - x-type: get config: views: select: @@ -726,10 +798,26 @@ components: x-cfn-type-name: AWS::DevOpsGuru::NotificationChannel x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__NotificationChannel&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DevOpsGuru::NotificationChannel" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -742,7 +830,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/notification_channels/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/notification_channels/methods/delete_resource' config: views: select: @@ -768,24 +857,10 @@ components: x-cfn-type-name: AWS::DevOpsGuru::NotificationChannel x-identifiers: - Id - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DevOpsGuru::NotificationChannel" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/notification_channel/methods/delete_resource' - x-type: get config: views: select: @@ -817,10 +892,26 @@ components: x-cfn-type-name: AWS::DevOpsGuru::ResourceCollection x-identifiers: - ResourceCollectionType + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourceCollection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DevOpsGuru::ResourceCollection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -833,7 +924,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_collections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resource_collections/methods/delete_resource' config: views: select: @@ -859,6 +951,7 @@ components: x-cfn-type-name: AWS::DevOpsGuru::ResourceCollection x-identifiers: - ResourceCollectionType + x-type: get methods: update_resource: operation: @@ -872,24 +965,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DevOpsGuru::ResourceCollection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resource_collection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resource_collection/methods/delete_resource' - x-type: get config: views: select: @@ -1057,8 +1135,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__LogAnomalyDetectionIntegration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLogAnomalyDetectionIntegration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLogAnomalyDetectionIntegrationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__NotificationChannel&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateNotificationChannel + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateNotificationChannelRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourceCollection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourceCollection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourceCollectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/directoryservice.yaml b/providers/src/aws/v00.00.00000/services/directoryservice.yaml index 552b7beb..fc60dd0f 100644 --- a/providers/src/aws/v00.00.00000/services/directoryservice.yaml +++ b/providers/src/aws/v00.00.00000/services/directoryservice.yaml @@ -507,6 +507,60 @@ components: - ec2:DeleteTags list: - ds:DescribeDirectories + CreateSimpleADRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DirectoryId: + description: The unique identifier for a directory. + type: string + Alias: + description: The alias for a directory. + type: string + DnsIpAddresses: + description: The IP addresses of the DNS servers for the directory, such as [ "172.31.3.154", "172.31.63.203" ]. + type: array + uniqueItems: false + x-insertionOrder: false + items: + type: string + CreateAlias: + description: The name of the configuration set. + type: boolean + Description: + description: Description for the directory. + type: string + EnableSso: + description: Whether to enable single sign-on for a Simple Active Directory in AWS. + type: boolean + Name: + description: The fully qualified domain name for the AWS Managed Simple AD directory. + type: string + Password: + description: The password for the default administrative user named Admin. + type: string + ShortName: + description: The NetBIOS name for your domain. + type: string + Size: + description: The size of the directory. + type: string + VpcSettings: + description: VPC settings of the Simple AD directory server in AWS. + $ref: '#/components/schemas/VpcSettings' + x-stackQL-stringOnly: true + x-title: CreateSimpleADRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -522,10 +576,26 @@ components: x-cfn-type-name: AWS::DirectoryService::SimpleAD x-identifiers: - DirectoryId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SimpleAD&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DirectoryService::SimpleAD" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -538,7 +608,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/simple_ads/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/simple_ads/methods/delete_resource' config: views: select: @@ -564,6 +635,7 @@ components: x-cfn-type-name: AWS::DirectoryService::SimpleAD x-identifiers: - DirectoryId + x-type: get methods: update_resource: operation: @@ -577,24 +649,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DirectoryService::SimpleAD" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/simple_ad/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/simple_ad/methods/delete_resource' - x-type: get config: views: select: @@ -780,8 +837,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__SimpleAD&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSimpleAD + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSimpleADRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/dms.yaml b/providers/src/aws/v00.00.00000/services/dms.yaml index 021f14fd..ecc79b38 100644 --- a/providers/src/aws/v00.00.00000/services/dms.yaml +++ b/providers/src/aws/v00.00.00000/services/dms.yaml @@ -946,6 +946,387 @@ components: - dms:ListTagsForResource - iam:DeleteServiceLinkedRole - iam:GetServiceLinkedRoleDeletionStatus + CreateDataProviderRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DataProviderName: + description: The property describes a name to identify the data provider. + type: string + minLength: 1 + maxLength: 255 + DataProviderIdentifier: + description: The property describes an identifier for the data provider. It is used for describing/deleting/modifying can be name/arn + type: string + minLength: 1 + maxLength: 255 + DataProviderArn: + description: The data provider ARN. + type: string + minLength: 1 + maxLength: 255 + DataProviderCreationTime: + description: The data provider creation time. + type: string + minLength: 1 + maxLength: 40 + Description: + description: The optional description of the data provider. + type: string + minLength: 1 + maxLength: 255 + Engine: + description: The property describes a data engine for the data provider. + type: string + enum: + - postgres + - mysql + - oracle + - sqlserver + - aurora + - aurora_postgresql + ExactSettings: + description: The property describes the exact settings which can be modified + type: boolean + default: false + Settings: + description: The property identifies the exact type of settings for the data provider. + type: object + anyOf: + - description: PostgreSqlSettings property identifier. + type: object + additionalProperties: false + properties: + PostgreSqlSettings: + type: object + additionalProperties: false + properties: + ServerName: + type: string + Port: + type: integer + DatabaseName: + type: string + SslMode: + type: object + $ref: '#/components/schemas/DmsSslModeValue' + CertificateArn: + type: string + - description: MySqlSettings property identifier. + type: object + additionalProperties: false + properties: + MySqlSettings: + type: object + additionalProperties: false + properties: + ServerName: + type: string + Port: + type: integer + SslMode: + type: object + $ref: '#/components/schemas/DmsSslModeValue' + CertificateArn: + type: string + - description: OracleSettings property identifier. + type: object + additionalProperties: false + properties: + OracleSettings: + type: object + additionalProperties: false + properties: + ServerName: + type: string + Port: + type: integer + DatabaseName: + type: string + SslMode: + type: object + $ref: '#/components/schemas/DmsSslModeValue' + CertificateArn: + type: string + AsmServer: + type: string + SecretsManagerOracleAsmSecretId: + type: string + SecretsManagerOracleAsmAccessRoleArn: + type: string + SecretsManagerSecurityDbEncryptionSecretId: + type: string + SecretsManagerSecurityDbEncryptionAccessRoleArn: + type: string + - description: MicrosoftSqlServerSettings property identifier. + type: object + additionalProperties: false + properties: + MicrosoftSqlServerSettings: + type: object + additionalProperties: false + properties: + ServerName: + type: string + Port: + type: integer + DatabaseName: + type: string + SslMode: + type: object + $ref: '#/components/schemas/DmsSslModeValue' + CertificateArn: + type: string + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateDataProviderRequest + type: object + required: [] + CreateInstanceProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceProfileArn: + description: The property describes an ARN of the instance profile. + type: string + minLength: 1 + maxLength: 255 + InstanceProfileIdentifier: + description: The property describes an identifier for the instance profile. It is used for describing/deleting/modifying. Can be name/arn + type: string + minLength: 1 + maxLength: 255 + AvailabilityZone: + description: The property describes an availability zone of the instance profile. + type: string + minLength: 1 + maxLength: 255 + Description: + description: The optional description of the instance profile. + type: string + minLength: 1 + maxLength: 255 + KmsKeyArn: + description: The property describes kms key arn for the instance profile. + type: string + minLength: 1 + maxLength: 255 + PubliclyAccessible: + description: The property describes the publicly accessible of the instance profile + type: boolean + default: false + NetworkType: + description: The property describes a network type for the instance profile. + type: string + enum: + - IPV4 + - IPV6 + - DUAL + InstanceProfileName: + description: The property describes a name for the instance profile. + type: string + minLength: 1 + maxLength: 255 + InstanceProfileCreationTime: + description: The property describes a creating time of the instance profile. + type: string + minLength: 1 + maxLength: 40 + SubnetGroupIdentifier: + description: The property describes a subnet group identifier for the instance profile. + type: string + minLength: 1 + maxLength: 255 + VpcSecurityGroups: + description: The property describes vps security groups for the instance profile. + type: array + uniqueItems: true + x-insertionOrder: false + items: + type: string + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateInstanceProfileRequest + type: object + required: [] + CreateMigrationProjectRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + MigrationProjectName: + description: The property describes a name to identify the migration project. + type: string + minLength: 1 + maxLength: 255 + MigrationProjectIdentifier: + description: The property describes an identifier for the migration project. It is used for describing/deleting/modifying can be name/arn + type: string + minLength: 1 + maxLength: 255 + MigrationProjectArn: + description: The property describes an ARN of the migration project. + type: string + minLength: 1 + maxLength: 255 + MigrationProjectCreationTime: + description: The property describes a creating time of the migration project. + type: string + minLength: 1 + maxLength: 40 + InstanceProfileIdentifier: + description: The property describes an instance profile identifier for the migration project. For create + type: string + minLength: 1 + maxLength: 255 + InstanceProfileName: + description: The property describes an instance profile name for the migration project. For read + type: string + minLength: 1 + maxLength: 255 + InstanceProfileArn: + description: The property describes an instance profile arn for the migration project. For read + type: string + minLength: 1 + maxLength: 255 + TransformationRules: + description: The property describes transformation rules for the migration project. + type: string + Description: + description: The optional description of the migration project. + type: string + minLength: 1 + maxLength: 255 + SchemaConversionApplicationAttributes: + description: The property describes schema conversion application attributes for the migration project. + type: object + additionalProperties: false + properties: + S3BucketPath: + type: string + S3BucketRoleArn: + type: string + SourceDataProviderDescriptors: + description: The property describes source data provider descriptors for the migration project. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/DataProviderDescriptor' + TargetDataProviderDescriptors: + description: The property describes target data provider descriptors for the migration project. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/DataProviderDescriptor' + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateMigrationProjectRequest + type: object + required: [] + CreateReplicationConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ReplicationConfigIdentifier: + description: A unique identifier of replication configuration + type: string + ReplicationConfigArn: + description: The Amazon Resource Name (ARN) of the Replication Config + type: string + SourceEndpointArn: + description: The Amazon Resource Name (ARN) of the source endpoint for this AWS DMS Serverless replication configuration + type: string + TargetEndpointArn: + description: The Amazon Resource Name (ARN) of the target endpoint for this AWS DMS Serverless replication configuration + type: string + ReplicationType: + description: The type of AWS DMS Serverless replication to provision using this replication configuration + type: string + enum: + - full-load + - full-load-and-cdc + - cdc + ComputeConfig: + $ref: '#/components/schemas/ComputeConfig' + ReplicationSettings: + description: JSON settings for Servereless replications that are provisioned using this replication configuration + type: object + SupplementalSettings: + description: JSON settings for specifying supplemental data + type: object + ResourceIdentifier: + description: A unique value or name that you get set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource + type: string + TableMappings: + description: JSON table mappings for AWS DMS Serverless replications that are provisioned using this replication configuration + type: object + Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 1 + description:
Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.
+ x-stackQL-stringOnly: true + x-title: CreateReplicationConfigRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -961,10 +1342,26 @@ components: x-cfn-type-name: AWS::DMS::DataProvider x-identifiers: - DataProviderArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DataProvider&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DMS::DataProvider" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -977,7 +1374,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/data_providers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/data_providers/methods/delete_resource' config: views: select: @@ -1003,6 +1401,7 @@ components: x-cfn-type-name: AWS::DMS::DataProvider x-identifiers: - DataProviderArn + x-type: get methods: update_resource: operation: @@ -1016,24 +1415,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DMS::DataProvider" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/data_provider/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/data_provider/methods/delete_resource' - x-type: get config: views: select: @@ -1079,10 +1463,26 @@ components: x-cfn-type-name: AWS::DMS::InstanceProfile x-identifiers: - InstanceProfileArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__InstanceProfile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DMS::InstanceProfile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1095,7 +1495,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/instance_profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/instance_profiles/methods/delete_resource' config: views: select: @@ -1121,6 +1522,7 @@ components: x-cfn-type-name: AWS::DMS::InstanceProfile x-identifiers: - InstanceProfileArn + x-type: get methods: update_resource: operation: @@ -1134,24 +1536,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DMS::InstanceProfile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/instance_profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/instance_profile/methods/delete_resource' - x-type: get config: views: select: @@ -1203,10 +1590,26 @@ components: x-cfn-type-name: AWS::DMS::MigrationProject x-identifiers: - MigrationProjectArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__MigrationProject&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DMS::MigrationProject" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1219,7 +1622,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/migration_projects/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/migration_projects/methods/delete_resource' config: views: select: @@ -1245,6 +1649,7 @@ components: x-cfn-type-name: AWS::DMS::MigrationProject x-identifiers: - MigrationProjectArn + x-type: get methods: update_resource: operation: @@ -1258,24 +1663,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DMS::MigrationProject" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/migration_project/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/migration_project/methods/delete_resource' - x-type: get config: views: select: @@ -1329,10 +1719,26 @@ components: x-cfn-type-name: AWS::DMS::ReplicationConfig x-identifiers: - ReplicationConfigArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ReplicationConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DMS::ReplicationConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1345,7 +1751,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/replication_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/replication_configs/methods/delete_resource' config: views: select: @@ -1371,6 +1778,7 @@ components: x-cfn-type-name: AWS::DMS::ReplicationConfig x-identifiers: - ReplicationConfigArn + x-type: get methods: update_resource: operation: @@ -1384,24 +1792,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DMS::ReplicationConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/replication_config/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/replication_config/methods/delete_resource' - x-type: get config: views: select: @@ -1587,8 +1980,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__DataProvider&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataProvider + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDataProviderRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__InstanceProfile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateInstanceProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateInstanceProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__MigrationProject&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMigrationProject + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMigrationProjectRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ReplicationConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateReplicationConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateReplicationConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/docdbelastic.yaml b/providers/src/aws/v00.00.00000/services/docdbelastic.yaml index 7c986e18..f46e0b48 100644 --- a/providers/src/aws/v00.00.00000/services/docdbelastic.yaml +++ b/providers/src/aws/v00.00.00000/services/docdbelastic.yaml @@ -551,6 +551,72 @@ components: - ec2:DescribeAvailabilityZones list: - docdb-elastic:ListClusters + CreateClusterRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ClusterName: + type: string + pattern: '[a-zA-z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*' + maxLength: 50 + minLength: 1 + ClusterArn: + type: string + ClusterEndpoint: + type: string + AdminUserName: + type: string + AdminUserPassword: + type: string + ShardCapacity: + type: integer + ShardCount: + type: integer + VpcSecurityGroupIds: + type: array + uniqueItems: false + x-insertionOrder: false + items: + type: string + SubnetIds: + type: array + uniqueItems: false + x-insertionOrder: false + items: + type: string + PreferredMaintenanceWindow: + type: string + PreferredBackupWindow: + type: string + BackupRetentionPeriod: + type: integer + ShardInstanceCount: + type: integer + KmsKeyId: + type: string + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + x-insertionOrder: false + uniqueItems: true + maxItems: 50 + minItems: 0 + AuthType: + type: string + x-stackQL-stringOnly: true + x-title: CreateClusterRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -566,10 +632,26 @@ components: x-cfn-type-name: AWS::DocDBElastic::Cluster x-identifiers: - ClusterArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Cluster&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DocDBElastic::Cluster" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -582,7 +664,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/clusters/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/clusters/methods/delete_resource' config: views: select: @@ -608,6 +691,7 @@ components: x-cfn-type-name: AWS::DocDBElastic::Cluster x-identifiers: - ClusterArn + x-type: get methods: update_resource: operation: @@ -621,24 +705,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DocDBElastic::Cluster" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cluster/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cluster/methods/delete_resource' - x-type: get config: views: select: @@ -834,8 +903,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Cluster&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCluster + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateClusterRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/dynamodb.yaml b/providers/src/aws/v00.00.00000/services/dynamodb.yaml index 2ad13ea3..6fdaaab6 100644 --- a/providers/src/aws/v00.00.00000/services/dynamodb.yaml +++ b/providers/src/aws/v00.00.00000/services/dynamodb.yaml @@ -1278,6 +1278,196 @@ components: delete: - dynamodb:DeleteTable - dynamodb:DescribeTable + CreateGlobalTableRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + TableId: + type: string + SSESpecification: + $ref: '#/components/schemas/SSESpecification' + StreamSpecification: + $ref: '#/components/schemas/StreamSpecification' + Replicas: + minItems: 1 + uniqueItems: true + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/ReplicaSpecification' + WriteProvisionedThroughputSettings: + $ref: '#/components/schemas/WriteProvisionedThroughputSettings' + TableName: + type: string + AttributeDefinitions: + minItems: 1 + uniqueItems: true + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/AttributeDefinition' + BillingMode: + type: string + GlobalSecondaryIndexes: + uniqueItems: true + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/GlobalSecondaryIndex' + KeySchema: + minItems: 1 + maxItems: 2 + uniqueItems: true + type: array + items: + $ref: '#/components/schemas/KeySchema' + LocalSecondaryIndexes: + uniqueItems: true + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/LocalSecondaryIndex' + Arn: + type: string + StreamArn: + type: string + TimeToLiveSpecification: + $ref: '#/components/schemas/TimeToLiveSpecification' + x-stackQL-stringOnly: true + x-title: CreateGlobalTableRequest + type: object + required: [] + CreateTableRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + SSESpecification: + description: Specifies the settings to enable server-side encryption. + $ref: '#/components/schemas/SSESpecification' + KinesisStreamSpecification: + description: The Kinesis Data Streams configuration for the specified table. + $ref: '#/components/schemas/KinesisStreamSpecification' + StreamSpecification: + description: The settings for the DDB table stream, which capture changes to items stored in the table. + $ref: '#/components/schemas/StreamSpecification' + ContributorInsightsSpecification: + description: The settings used to enable or disable CloudWatch Contributor Insights for the specified table. + $ref: '#/components/schemas/ContributorInsightsSpecification' + ImportSourceSpecification: + description: |- + Specifies the properties of data being imported from the S3 bucket source to the table. + If you specify the ``ImportSourceSpecification`` property, and also specify either the ``StreamSpecification``, the ``TableClass`` property, or the ``DeletionProtectionEnabled`` property, the IAM entity creating/updating stack must have ``UpdateTable`` permission. + $ref: '#/components/schemas/ImportSourceSpecification' + PointInTimeRecoverySpecification: + description: The settings used to enable point in time recovery. + $ref: '#/components/schemas/PointInTimeRecoverySpecification' + ProvisionedThroughput: + description: |- + Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits``. For more information about the contents of a provisioned throughput structure, see [Amazon DynamoDB Table ProvisionedThroughput](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html). + If you set ``BillingMode`` as ``PROVISIONED``, you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST``, you cannot specify this property. + $ref: '#/components/schemas/ProvisionedThroughput' + TableName: + description: |- + A name for the table. If you don't specify a name, CFNlong generates a unique physical ID and uses that ID for the table name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html). + If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. + type: string + AttributeDefinitions: + uniqueItems: true + description: |- + A list of attributes that describe the key schema for the table and indexes. + This property is required to create a DDB table. + Update requires: [Some interruptions](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt). Replacement if you edit an existing AttributeDefinition. + type: array + items: + $ref: '#/components/schemas/AttributeDefinition' + BillingMode: + description: |- + Specify how you are charged for read and write throughput and how you manage capacity. + Valid values include: + + ``PROVISIONED`` - We recommend using ``PROVISIONED`` for predictable workloads. ``PROVISIONED`` sets the billing mode to [Provisioned Mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.ProvisionedThroughput.Manual). + + ``PAY_PER_REQUEST`` - We recommend using ``PAY_PER_REQUEST`` for unpredictable workloads. ``PAY_PER_REQUEST`` sets the billing mode to [On-Demand Mode](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand). + + If not specified, the default is ``PROVISIONED``. + type: string + GlobalSecondaryIndexes: + uniqueItems: false + description: |- + Global secondary indexes to be created on the table. You can create up to 20 global secondary indexes. + If you update a table to include a new global secondary index, CFNlong initiates the index creation and then proceeds with the stack update. CFNlong doesn't wait for the index to complete creation because the backfilling phase can take a long time, depending on the size of the table. You can't use the index or update the table until the index's status is ``ACTIVE``. You can track its status by using the DynamoDB [DescribeTable](https://docs.aws.amazon.com/cli/latest/reference/dynamodb/describe-table.html) command. + If you add or delete an index during an update, we recommend that you don't update any other resources. If your stack fails to update and is rolled back while adding a new index, you must manually delete the index. + Updates are not supported. The following are exceptions: + + If you update either the contributor insights specification or the provisioned throughput values of global secondary indexes, you can update the table without interruption. + + You can delete or add one global secondary index without interruption. If you do both in the same update (for example, by changing the index's logical ID), the update fails. + type: array + items: + $ref: '#/components/schemas/GlobalSecondaryIndex' + ResourcePolicy: + description: >- + A resource-based policy document that contains permissions to add to the specified table. In a CFNshort template, you can provide the policy in JSON or YAML format because CFNshort converts YAML to JSON before submitting it to DDB. For more information about resource-based policies, see [Using resource-based policies for](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html) and [Resource-based policy + examples](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html). + When you attach a resource-based policy while creating a table, the policy creation is *strongly consistent*. For information about the considerations that you should keep in mind while attaching a resource-based policy, see [Resource-based policy considerations](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html). + $ref: '#/components/schemas/ResourcePolicy' + KeySchema: + oneOf: + - uniqueItems: true + type: array + items: + $ref: '#/components/schemas/KeySchema' + - type: object + description: Specifies the attributes that make up the primary key for the table. The attributes in the ``KeySchema`` property must also be defined in the ``AttributeDefinitions`` property. + LocalSecondaryIndexes: + uniqueItems: false + description: Local secondary indexes to be created on the table. You can create up to 5 local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes. + type: array + items: + $ref: '#/components/schemas/LocalSecondaryIndex' + Arn: + description: '' + type: string + StreamArn: + description: '' + type: string + DeletionProtectionEnabled: + description: Determines if a table is protected from deletion. When enabled, the table cannot be deleted by any user or process. This setting is disabled by default. For more information, see [Using deletion protection](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.Basics.html#WorkingWithTables.Basics.DeletionProtection) in the *Developer Guide*. + type: boolean + TableClass: + description: The table class of the new table. Valid values are ``STANDARD`` and ``STANDARD_INFREQUENT_ACCESS``. + type: string + Tags: + uniqueItems: false + description: |- + An array of key-value pairs to apply to this resource. + For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html). + type: array + items: + $ref: '#/components/schemas/Tag' + TimeToLiveSpecification: + description: |- + Specifies the Time to Live (TTL) settings for the table. + For detailed information about the limits in DynamoDB, see [Limits in Amazon DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the Amazon DynamoDB Developer Guide. + $ref: '#/components/schemas/TimeToLiveSpecification' + x-stackQL-stringOnly: true + x-title: CreateTableRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1293,10 +1483,26 @@ components: x-cfn-type-name: AWS::DynamoDB::GlobalTable x-identifiers: - TableName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__GlobalTable&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DynamoDB::GlobalTable" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1309,7 +1515,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/global_tables/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/global_tables/methods/delete_resource' config: views: select: @@ -1335,6 +1542,7 @@ components: x-cfn-type-name: AWS::DynamoDB::GlobalTable x-identifiers: - TableName + x-type: get methods: update_resource: operation: @@ -1348,24 +1556,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DynamoDB::GlobalTable" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/global_table/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/global_table/methods/delete_resource' - x-type: get config: views: select: @@ -1421,10 +1614,26 @@ components: x-cfn-type-name: AWS::DynamoDB::Table x-identifiers: - TableName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Table&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::DynamoDB::Table" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1437,7 +1646,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/tables/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/tables/methods/delete_resource' config: views: select: @@ -1463,6 +1673,7 @@ components: x-cfn-type-name: AWS::DynamoDB::Table x-identifiers: - TableName + x-type: get methods: update_resource: operation: @@ -1476,24 +1687,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::DynamoDB::Table" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/table/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/table/methods/delete_resource' - x-type: get config: views: select: @@ -1697,8 +1893,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__GlobalTable&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateGlobalTable + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateGlobalTableRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Table&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTable + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTableRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/ec2.yaml b/providers/src/aws/v00.00.00000/services/ec2.yaml index c0642ec2..7aa23dcd 100644 --- a/providers/src/aws/v00.00.00000/services/ec2.yaml +++ b/providers/src/aws/v00.00.00000/services/ec2.yaml @@ -9499,212 +9499,4243 @@ components: - ec2:DeleteVpnGateway list: - ec2:DescribeVpnGateways - region: - type: string - description: The AWS region - outpostArn: - type: string - description: The Amazon Resource Name (ARN) of the Outpost. - ownerId: - type: string - description: The ID of the Amazon Web Services account that owns the resource. - tagSet: - type: array - description: Any tags assigned to the resource. - snapshots: - description: List of snapshots by region (requires `aws` provider to be installed) + CreateCapacityReservationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Tenancy: + type: string + EndDateType: + type: string + TagSpecifications: + type: array + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/TagSpecification' + AvailabilityZone: + type: string + TotalInstanceCount: + type: integer + EndDate: + type: string + EbsOptimized: + type: boolean + OutPostArn: + type: string + InstanceCount: + type: integer + PlacementGroupArn: + type: string + AvailableInstanceCount: + type: integer + InstancePlatform: + type: string + Id: + type: string + InstanceType: + type: string + EphemeralStorage: + type: boolean + InstanceMatchCriteria: + type: string + x-stackQL-stringOnly: true + x-title: CreateCapacityReservationRequest type: object - additionalProperties: false + required: [] + CreateCapacityReservationFleetRequest: properties: - description: + ClientToken: type: string - description: The description for the snapshot. - dataEncryptionKeyId: + RoleArn: type: string - description: The data encryption key identifier for the snapshot. - encrypted: - type: boolean - description: Indicates whether the snapshot is encrypted. - kmsKeyId: + TypeName: type: string - description: The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the parent volume. - outpostArn: - $ref: '#/components/schemas/outpostArn' - ownerAlias: + TypeVersionId: type: string - description: The Amazon Web Services owner alias. - ownerId: - $ref: '#/components/schemas/ownerId' - progress: + DesiredState: + type: object + properties: + AllocationStrategy: + type: string + TagSpecifications: + type: array + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/TagSpecification' + InstanceTypeSpecifications: + type: array + x-insertionOrder: false + uniqueItems: true + maxItems: 50 + items: + $ref: '#/components/schemas/InstanceTypeSpecification' + TotalTargetCapacity: + type: integer + minimum: 1 + maximum: 25000 + EndDate: + type: string + InstanceMatchCriteria: + type: string + enum: + - open + CapacityReservationFleetId: + type: string + Tenancy: + type: string + enum: + - default + RemoveEndDate: + type: boolean + NoRemoveEndDate: + type: boolean + x-stackQL-stringOnly: true + x-title: CreateCapacityReservationFleetRequest + type: object + required: [] + CreateCarrierGatewayRequest: + properties: + ClientToken: type: string - description: The progress of the snapshot, as a percentage. - restoreExpiryTime: + RoleArn: type: string - description: Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived. - snapshotId: + TypeName: type: string - description: The ID of the snapshot. Each snapshot receives a unique identifier when it is created. - startTime: + TypeVersionId: type: string - description: The time stamp when the snapshot was initiated. - status: + DesiredState: + type: object + properties: + CarrierGatewayId: + description: The ID of the carrier gateway. + type: string + State: + description: The state of the carrier gateway. + type: string + VpcId: + description: The ID of the VPC. + type: string + OwnerId: + description: The ID of the owner. + type: string + Tags: + description: The tags for the carrier gateway. + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateCarrierGatewayRequest + type: object + required: [] + CreateCustomerGatewayRequest: + properties: + ClientToken: type: string - description: The snapshot state. - statusMessage: + RoleArn: type: string - description: Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper Key Management Service (KMS) permissions are not obtained) this field displays error state details. - storageTier: + TypeName: type: string - description: The storage tier in which the snapshot is stored. - tagSet: - $ref: '#/components/schemas/tagSet' - volumeId: + TypeVersionId: type: string - description: The ID of the volume that was used to create the snapshot. - volumeSize: - type: integer - description: The size of the volume, in GiB. - region: - $ref: '#/components/schemas/region' - x-example-where-clause: WHERE region = 'The Amazon Resource Name (ARN) associated with the resource.
+ ChannelGroupName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + ChannelName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + CreatedAt: + type: string + description:The date and time the channel was created.
+ format: date-time + Description: + type: string + maxLength: 1024 + minLength: 0 + description:Enter any descriptive text that helps you to identify the channel.
+ IngestEndpoints: + type: array + items: + $ref: '#/components/schemas/IngestEndpoint' + description:The list of ingest endpoints.
+ ModifiedAt: + type: string + description:The date and time the channel was modified.
+ format: date-time + Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateChannelRequest + type: object + required: [] + CreateChannelGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description:The Amazon Resource Name (ARN) associated with the resource.
+ ChannelGroupName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + CreatedAt: + type: string + description:The date and time the channel group was created.
+ format: date-time + Description: + type: string + maxLength: 1024 + minLength: 0 + description:Enter any descriptive text that helps you to identify the channel group.
+ EgressDomain: + type: string + description:The output domain where the source stream should be sent. Integrate the domain with a downstream CDN (such as Amazon CloudFront) or playback device.
+ ModifiedAt: + type: string + description:The date and time the channel group was modified.
+ format: date-time + Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateChannelGroupRequest + type: object + required: [] + CreateChannelPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ChannelGroupName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + ChannelName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + Policy: + type: object + x-stackQL-stringOnly: true + x-title: CreateChannelPolicyRequest + type: object + required: [] + CreateOriginEndpointRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description:The Amazon Resource Name (ARN) associated with the resource.
+ ChannelGroupName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + ChannelName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + ContainerType: + $ref: '#/components/schemas/ContainerType' + CreatedAt: + type: string + description:The date and time the origin endpoint was created.
+ format: date-time + Description: + type: string + maxLength: 1024 + minLength: 0 + description:Enter any descriptive text that helps you to identify the origin endpoint.
+ HlsManifests: + type: array + items: + $ref: '#/components/schemas/HlsManifestConfiguration' + description:An HTTP live streaming (HLS) manifest configuration.
+ LowLatencyHlsManifests: + type: array + items: + $ref: '#/components/schemas/LowLatencyHlsManifestConfiguration' + description:A low-latency HLS manifest configuration.
+ ModifiedAt: + type: string + description:The date and time the origin endpoint was modified.
+ format: date-time + OriginEndpointName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + Segment: + $ref: '#/components/schemas/Segment' + StartoverWindowSeconds: + type: integer + maximum: 1209600 + minimum: 60 + description:The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).
+ Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateOriginEndpointRequest + type: object + required: [] + CreateOriginEndpointPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ChannelGroupName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + ChannelName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + OriginEndpointName: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9_-]+$ + Policy: + type: object + x-stackQL-stringOnly: true + x-title: CreateOriginEndpointPolicyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1086,10 +1320,26 @@ components: x-cfn-type-name: AWS::MediaPackageV2::Channel x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Channel&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaPackageV2::Channel" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1102,7 +1352,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/channels/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/channels/methods/delete_resource' config: views: select: @@ -1128,6 +1379,7 @@ components: x-cfn-type-name: AWS::MediaPackageV2::Channel x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1141,24 +1393,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaPackageV2::Channel" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/channel/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/channel/methods/delete_resource' - x-type: get config: views: select: @@ -1202,10 +1439,26 @@ components: x-cfn-type-name: AWS::MediaPackageV2::ChannelGroup x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ChannelGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaPackageV2::ChannelGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1218,7 +1471,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/channel_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/channel_groups/methods/delete_resource' config: views: select: @@ -1244,6 +1498,7 @@ components: x-cfn-type-name: AWS::MediaPackageV2::ChannelGroup x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1257,24 +1512,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaPackageV2::ChannelGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/channel_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/channel_group/methods/delete_resource' - x-type: get config: views: select: @@ -1317,10 +1557,26 @@ components: x-identifiers: - ChannelGroupName - ChannelName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ChannelPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaPackageV2::ChannelPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1333,6 +1589,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/channel_policies/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/channel_policies/methods/delete_resource' channel_policy: name: channel_policy id: aws.mediapackagev2.channel_policy @@ -1341,6 +1599,7 @@ components: x-identifiers: - ChannelGroupName - ChannelName + x-type: get methods: update_resource: operation: @@ -1354,24 +1613,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaPackageV2::ChannelPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/channel_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/channel_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1405,10 +1649,26 @@ components: x-cfn-type-name: AWS::MediaPackageV2::OriginEndpoint x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__OriginEndpoint&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaPackageV2::OriginEndpoint" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1421,7 +1681,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/origin_endpoints/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/origin_endpoints/methods/delete_resource' config: views: select: @@ -1447,6 +1708,7 @@ components: x-cfn-type-name: AWS::MediaPackageV2::OriginEndpoint x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1460,24 +1722,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaPackageV2::OriginEndpoint" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/origin_endpoint/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/origin_endpoint/methods/delete_resource' - x-type: get config: views: select: @@ -1533,10 +1780,26 @@ components: - ChannelGroupName - ChannelName - OriginEndpointName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__OriginEndpointPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaPackageV2::OriginEndpointPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1549,6 +1812,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/origin_endpoint_policies/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/origin_endpoint_policies/methods/delete_resource' origin_endpoint_policy: name: origin_endpoint_policy id: aws.mediapackagev2.origin_endpoint_policy @@ -1558,6 +1823,7 @@ components: - ChannelGroupName - ChannelName - OriginEndpointName + x-type: get methods: update_resource: operation: @@ -1571,24 +1837,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaPackageV2::OriginEndpointPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/origin_endpoint_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/origin_endpoint_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1760,8 +2011,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Channel&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateChannel + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateChannelRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ChannelGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateChannelGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateChannelGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ChannelPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateChannelPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateChannelPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__OriginEndpoint&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateOriginEndpoint + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateOriginEndpointRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__OriginEndpointPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateOriginEndpointPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateOriginEndpointPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/mediatailor.yaml b/providers/src/aws/v00.00.00000/services/mediatailor.yaml index 99ba7470..2e022a69 100644 --- a/providers/src/aws/v00.00.00000/services/mediatailor.yaml +++ b/providers/src/aws/v00.00.00000/services/mediatailor.yaml @@ -1101,6 +1101,271 @@ components: - mediatailor:DescribeVodSource list: - mediatailor:ListVodSources + CreateChannelRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description:The ARN of the channel.
+ Audiences: + type: array + items: + type: string + description:The list of audiences defined in channel.
+ ChannelName: + type: string + FillerSlate: + $ref: '#/components/schemas/SlateSource' + LogConfiguration: + $ref: '#/components/schemas/LogConfigurationForChannel' + Outputs: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/RequestOutputItem' + description:The channel's output properties.
+ PlaybackMode: + $ref: '#/components/schemas/PlaybackMode' + Tags: + description: The tags to assign to the channel. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Tier: + $ref: '#/components/schemas/Tier' + TimeShiftConfiguration: + $ref: '#/components/schemas/TimeShiftConfiguration' + x-stackQL-stringOnly: true + x-title: CreateChannelRequest + type: object + required: [] + CreateChannelPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ChannelName: + type: string + Policy: + type: object + description:The IAM policy for the channel. IAM policies are used to control access to your channel.
+ x-stackQL-stringOnly: true + x-title: CreateChannelPolicyRequest + type: object + required: [] + CreateLiveSourceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description:The ARN of the live source.
+ HttpPackageConfigurations: + type: array + items: + $ref: '#/components/schemas/HttpPackageConfiguration' + description:A list of HTTP package configuration parameters for this live source.
+ LiveSourceName: + type: string + SourceLocationName: + type: string + Tags: + description: The tags to assign to the live source. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateLiveSourceRequest + type: object + required: [] + CreatePlaybackConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AdDecisionServerUrl: + description: The URL for the ad decision server (ADS). This includes the specification of static parameters and placeholders for dynamic parameters. AWS Elemental MediaTailor substitutes player-specific and session-specific parameters as needed when calling the ADS. Alternately, for testing you can provide a static VAST URL. The maximum length is 25,000 characters. + type: string + AvailSuppression: + description: The configuration for avail suppression, also known as ad suppression. For more information about ad suppression, see Ad Suppression (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html). + $ref: '#/components/schemas/AvailSuppression' + Bumper: + description: The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break. To learn more about bumpers, see Bumpers (https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html). + $ref: '#/components/schemas/Bumper' + CdnConfiguration: + description: The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management. + $ref: '#/components/schemas/CdnConfiguration' + ConfigurationAliases: + description: 'The player parameters and aliases used as dynamic variables during session initialization. For more information, see Domain Variables. ' + $ref: '#/components/schemas/ConfigurationAliases' + DashConfiguration: + description: The configuration for DASH content. + $ref: '#/components/schemas/DashConfiguration' + LivePreRollConfiguration: + description: The configuration for pre-roll ad insertion. + $ref: '#/components/schemas/LivePreRollConfiguration' + ManifestProcessingRules: + description: The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor. + $ref: '#/components/schemas/ManifestProcessingRules' + Name: + description: The identifier for the playback configuration. + type: string + pattern: ^[a-zA-Z0-9_-]+$ + maxLength: 64 + minLength: 1 + PersonalizationThresholdSeconds: + description: >- + Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, + see Ad Behavior in AWS Elemental MediaTailor (https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html). + type: integer + SessionInitializationEndpointPrefix: + description: The URL that the player uses to initialize a session that uses client-side reporting. + type: string + HlsConfiguration: + description: The configuration for HLS content. + $ref: '#/components/schemas/HlsConfiguration' + PlaybackConfigurationArn: + description: The Amazon Resource Name (ARN) for the playback configuration. + type: string + PlaybackEndpointPrefix: + description: The URL that the player accesses to get a manifest from MediaTailor. This session will use server-side reporting. + type: string + SlateAdUrl: + description: The URL for a high-quality video asset to transcode and use to fill in time that's not used by ads. AWS Elemental MediaTailor shows the slate to fill in gaps in media content. Configuring the slate is optional for non-VPAID configurations. For VPAID, the slate is required because MediaTailor provides it in the slots that are designated for dynamic ad content. The slate must be a high-quality asset that contains both audio and video. + type: string + Tags: + description: The tags to assign to the playback configuration. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + TranscodeProfileName: + description: The name that is used to associate this playback configuration with a custom transcode profile. This overrides the dynamic transcoding defaults of MediaTailor. Use this only if you have already set up custom profiles with the help of AWS Support. + type: string + VideoContentSourceUrl: + description: The URL prefix for the parent manifest for the stream, minus the asset ID. The maximum length is 512 characters. + type: string + x-stackQL-stringOnly: true + x-title: CreatePlaybackConfigurationRequest + type: object + required: [] + CreateSourceLocationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessConfiguration: + $ref: '#/components/schemas/AccessConfiguration' + Arn: + type: string + description:The ARN of the source location.
+ DefaultSegmentDeliveryConfiguration: + $ref: '#/components/schemas/DefaultSegmentDeliveryConfiguration' + HttpConfiguration: + $ref: '#/components/schemas/HttpConfiguration' + SegmentDeliveryConfigurations: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/SegmentDeliveryConfiguration' + description:A list of the segment delivery configurations associated with this resource.
+ SourceLocationName: + type: string + Tags: + description: The tags to assign to the source location. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateSourceLocationRequest + type: object + required: [] + CreateVodSourceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description:The ARN of the VOD source.
+ HttpPackageConfigurations: + type: array + items: + $ref: '#/components/schemas/HttpPackageConfiguration' + description:A list of HTTP package configuration parameters for this VOD source.
+ SourceLocationName: + type: string + Tags: + description: The tags to assign to the VOD source. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + VodSourceName: + type: string + x-stackQL-stringOnly: true + x-title: CreateVodSourceRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1116,10 +1381,26 @@ components: x-cfn-type-name: AWS::MediaTailor::Channel x-identifiers: - ChannelName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Channel&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaTailor::Channel" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1132,7 +1413,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/channels/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/channels/methods/delete_resource' config: views: select: @@ -1158,6 +1440,7 @@ components: x-cfn-type-name: AWS::MediaTailor::Channel x-identifiers: - ChannelName + x-type: get methods: update_resource: operation: @@ -1171,24 +1454,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaTailor::Channel" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/channel/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/channel/methods/delete_resource' - x-type: get config: views: select: @@ -1236,10 +1504,26 @@ components: x-cfn-type-name: AWS::MediaTailor::ChannelPolicy x-identifiers: - ChannelName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ChannelPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaTailor::ChannelPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1252,6 +1536,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/channel_policies/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/channel_policies/methods/delete_resource' channel_policy: name: channel_policy id: aws.mediatailor.channel_policy @@ -1259,6 +1545,7 @@ components: x-cfn-type-name: AWS::MediaTailor::ChannelPolicy x-identifiers: - ChannelName + x-type: get methods: update_resource: operation: @@ -1272,24 +1559,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaTailor::ChannelPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/channel_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/channel_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1322,10 +1594,26 @@ components: x-identifiers: - LiveSourceName - SourceLocationName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LiveSource&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaTailor::LiveSource" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1338,7 +1626,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/live_sources/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/live_sources/methods/delete_resource' config: views: select: @@ -1367,6 +1656,7 @@ components: x-identifiers: - LiveSourceName - SourceLocationName + x-type: get methods: update_resource: operation: @@ -1380,24 +1670,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaTailor::LiveSource" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/live_source/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/live_source/methods/delete_resource' - x-type: get config: views: select: @@ -1435,10 +1710,26 @@ components: x-cfn-type-name: AWS::MediaTailor::PlaybackConfiguration x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PlaybackConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaTailor::PlaybackConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1451,7 +1742,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/playback_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/playback_configurations/methods/delete_resource' config: views: select: @@ -1477,6 +1769,7 @@ components: x-cfn-type-name: AWS::MediaTailor::PlaybackConfiguration x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1490,24 +1783,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaTailor::PlaybackConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/playback_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/playback_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -1571,10 +1849,26 @@ components: x-cfn-type-name: AWS::MediaTailor::SourceLocation x-identifiers: - SourceLocationName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SourceLocation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaTailor::SourceLocation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1587,7 +1881,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/source_locations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/source_locations/methods/delete_resource' config: views: select: @@ -1613,6 +1908,7 @@ components: x-cfn-type-name: AWS::MediaTailor::SourceLocation x-identifiers: - SourceLocationName + x-type: get methods: update_resource: operation: @@ -1626,24 +1922,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaTailor::SourceLocation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/source_location/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/source_location/methods/delete_resource' - x-type: get config: views: select: @@ -1686,10 +1967,26 @@ components: x-identifiers: - SourceLocationName - VodSourceName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VodSource&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MediaTailor::VodSource" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1702,7 +1999,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/vod_sources/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/vod_sources/methods/delete_resource' config: views: select: @@ -1731,6 +2029,7 @@ components: x-identifiers: - SourceLocationName - VodSourceName + x-type: get methods: update_resource: operation: @@ -1744,24 +2043,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MediaTailor::VodSource" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/vod_source/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/vod_source/methods/delete_resource' - x-type: get config: views: select: @@ -1935,8 +2219,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Channel&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateChannel + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateChannelRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ChannelPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateChannelPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateChannelPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LiveSource&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLiveSource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLiveSourceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PlaybackConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePlaybackConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePlaybackConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SourceLocation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSourceLocation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSourceLocationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VodSource&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVodSource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVodSourceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/memorydb.yaml b/providers/src/aws/v00.00.00000/services/memorydb.yaml index 1d842a8b..8d3e7495 100644 --- a/providers/src/aws/v00.00.00000/services/memorydb.yaml +++ b/providers/src/aws/v00.00.00000/services/memorydb.yaml @@ -860,6 +860,312 @@ components: list: - memorydb:DescribeUsers - memorydb:ListTags + CreateACLRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Status: + description: Indicates acl status. Can be "creating", "active", "modifying", "deleting". + type: string + ACLName: + description: The name of the acl. + pattern: '[a-z][a-z0-9\\-]*' + type: string + UserNames: + type: array + x-$comment: List of users. + uniqueItems: true + x-insertionOrder: true + items: + type: string + description: List of users associated to this acl. + Arn: + description: The Amazon Resource Name (ARN) of the acl. + type: string + Tags: + description: An array of key-value pairs to apply to this cluster. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateACLRequest + type: object + required: [] + CreateClusterRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ClusterName: + description: The name of the cluster. This value must be unique as it also serves as the cluster identifier. + pattern: '[a-z][a-z0-9\-]*' + type: string + Description: + description: An optional description of the cluster. + type: string + Status: + description: The status of the cluster. For example, Available, Updating, Creating. + type: string + NodeType: + description: The compute and memory capacity of the nodes in the cluster. + type: string + NumShards: + description: The number of shards the cluster will contain. + type: integer + NumReplicasPerShard: + description: The number of replicas to apply to each shard. The limit is 5. + type: integer + SubnetGroupName: + description: The name of the subnet group to be used for the cluster. + type: string + SecurityGroupIds: + description: One or more Amazon VPC security groups associated with this cluster. + type: array + uniqueItems: false + x-insertionOrder: false + items: + type: string + MaintenanceWindow: + description: Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period. + type: string + ParameterGroupName: + description: The name of the parameter group associated with the cluster. + type: string + ParameterGroupStatus: + description: The status of the parameter group used by the cluster. + type: string + Port: + description: The port number on which each member of the cluster accepts connections. + type: integer + SnapshotRetentionLimit: + description: The number of days for which MemoryDB retains automatic snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted. + type: integer + SnapshotWindow: + description: The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster. + type: string + ACLName: + description: The name of the Access Control List to associate with the cluster. + type: string + pattern: '[a-zA-Z][a-zA-Z0-9\-]*' + SnsTopicArn: + description: The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic to which notifications are sent. + type: string + SnsTopicStatus: + description: The status of the Amazon SNS notification topic. Notifications are sent only if the status is enabled. + type: string + TLSEnabled: + description: |- + A flag that enables in-transit encryption when set to true. + + You cannot modify the value of TransitEncryptionEnabled after the cluster is created. To enable in-transit encryption on a cluster you must set TransitEncryptionEnabled to true when you create a cluster. + type: boolean + DataTiering: + type: object + description: Enables data tiering. Data tiering is only supported for clusters using the r6gd node type. This parameter must be set when using r6gd nodes. + $ref: '#/components/schemas/DataTieringStatus' + KmsKeyId: + description: The ID of the KMS key used to encrypt the cluster. + type: string + SnapshotArns: + description: A list of Amazon Resource Names (ARN) that uniquely identify the RDB snapshot files stored in Amazon S3. The snapshot files are used to populate the new cluster. The Amazon S3 object name in the ARN cannot contain any commas. + type: array + uniqueItems: false + x-insertionOrder: false + items: + type: string + SnapshotName: + description: The name of a snapshot from which to restore data into the new cluster. The snapshot status changes to restoring while the new cluster is being created. + type: string + FinalSnapshotName: + description: The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward. + type: string + ARN: + description: The Amazon Resource Name (ARN) of the cluster. + type: string + EngineVersion: + description: The Redis engine version used by the cluster. + type: string + ClusterEndpoint: + description: The cluster endpoint. + $ref: '#/components/schemas/Endpoint' + AutoMinorVersionUpgrade: + description: |- + A flag that enables automatic minor version upgrade when set to true. + + You cannot modify the value of AutoMinorVersionUpgrade after the cluster is created. To enable AutoMinorVersionUpgrade on a cluster you must set AutoMinorVersionUpgrade to true when you create a cluster. + type: boolean + Tags: + description: An array of key-value pairs to apply to this cluster. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateClusterRequest + type: object + required: [] + CreateParameterGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ParameterGroupName: + description: The name of the parameter group. + type: string + Family: + description: The name of the parameter group family that this parameter group is compatible with. + type: string + Description: + description: A description of the parameter group. + type: string + Tags: + description: An array of key-value pairs to apply to this parameter group. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Parameters: + description: An map of parameter names and values for the parameter update. You must supply at least one parameter name and value; subsequent arguments are optional. + type: object + ARN: + description: The Amazon Resource Name (ARN) of the parameter group. + type: string + x-stackQL-stringOnly: true + x-title: CreateParameterGroupRequest + type: object + required: [] + CreateSubnetGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + SubnetGroupName: + description: The name of the subnet group. This value must be unique as it also serves as the subnet group identifier. + pattern: '[a-z][a-z0-9\-]*' + type: string + Description: + description: An optional description of the subnet group. + type: string + SubnetIds: + description: A list of VPC subnet IDs for the subnet group. + type: array + uniqueItems: true + x-insertionOrder: false + items: + type: string + Tags: + description: An array of key-value pairs to apply to this subnet group. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + ARN: + description: The Amazon Resource Name (ARN) of the subnet group. + type: string + x-stackQL-stringOnly: true + x-title: CreateSubnetGroupRequest + type: object + required: [] + CreateUserRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Status: + description: Indicates the user status. Can be "active", "modifying" or "deleting". + type: string + UserName: + description: The name of the user. + pattern: '[a-z][a-z0-9\\-]*' + type: string + AccessString: + description: Access permissions string used for this user account. + type: string + AuthenticationMode: + type: object + properties: + Type: + type: string + description: Type of authentication strategy for this user. + enum: + - password + - iam + Passwords: + type: array + x-$comment: List of passwords. + uniqueItems: true + x-insertionOrder: true + maxItems: 2 + minItems: 1 + items: + type: string + description: Passwords used for this user account. You can create up to two passwords for each user. + additionalProperties: false + Arn: + description: The Amazon Resource Name (ARN) of the user account. + type: string + Tags: + description: An array of key-value pairs to apply to this user. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateUserRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -875,10 +1181,26 @@ components: x-cfn-type-name: AWS::MemoryDB::ACL x-identifiers: - ACLName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ACL&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MemoryDB::ACL" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -891,7 +1213,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/acls/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/acls/methods/delete_resource' config: views: select: @@ -917,6 +1240,7 @@ components: x-cfn-type-name: AWS::MemoryDB::ACL x-identifiers: - ACLName + x-type: get methods: update_resource: operation: @@ -930,24 +1254,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MemoryDB::ACL" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/acl/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/acl/methods/delete_resource' - x-type: get config: views: select: @@ -985,10 +1294,26 @@ components: x-cfn-type-name: AWS::MemoryDB::Cluster x-identifiers: - ClusterName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Cluster&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MemoryDB::Cluster" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1001,7 +1326,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/clusters/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/clusters/methods/delete_resource' config: views: select: @@ -1027,6 +1353,7 @@ components: x-cfn-type-name: AWS::MemoryDB::Cluster x-identifiers: - ClusterName + x-type: get methods: update_resource: operation: @@ -1040,24 +1367,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MemoryDB::Cluster" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cluster/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cluster/methods/delete_resource' - x-type: get config: views: select: @@ -1141,10 +1453,26 @@ components: x-cfn-type-name: AWS::MemoryDB::ParameterGroup x-identifiers: - ParameterGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ParameterGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MemoryDB::ParameterGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1157,7 +1485,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/parameter_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/parameter_groups/methods/delete_resource' config: views: select: @@ -1183,6 +1512,7 @@ components: x-cfn-type-name: AWS::MemoryDB::ParameterGroup x-identifiers: - ParameterGroupName + x-type: get methods: update_resource: operation: @@ -1196,24 +1526,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MemoryDB::ParameterGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/parameter_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/parameter_group/methods/delete_resource' - x-type: get config: views: select: @@ -1253,10 +1568,26 @@ components: x-cfn-type-name: AWS::MemoryDB::SubnetGroup x-identifiers: - SubnetGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SubnetGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MemoryDB::SubnetGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1269,7 +1600,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/subnet_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/subnet_groups/methods/delete_resource' config: views: select: @@ -1295,6 +1627,7 @@ components: x-cfn-type-name: AWS::MemoryDB::SubnetGroup x-identifiers: - SubnetGroupName + x-type: get methods: update_resource: operation: @@ -1308,24 +1641,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MemoryDB::SubnetGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/subnet_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/subnet_group/methods/delete_resource' - x-type: get config: views: select: @@ -1363,10 +1681,26 @@ components: x-cfn-type-name: AWS::MemoryDB::User x-identifiers: - UserName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__User&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MemoryDB::User" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1379,7 +1713,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/users/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/users/methods/delete_resource' config: views: select: @@ -1405,6 +1740,7 @@ components: x-cfn-type-name: AWS::MemoryDB::User x-identifiers: - UserName + x-type: get methods: update_resource: operation: @@ -1418,24 +1754,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MemoryDB::User" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/user/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/user/methods/delete_resource' - x-type: get config: views: select: @@ -1611,8 +1932,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ACL&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateACL + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateACLRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Cluster&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCluster + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateClusterRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ParameterGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateParameterGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateParameterGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SubnetGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSubnetGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSubnetGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__User&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUser + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/msk.yaml b/providers/src/aws/v00.00.00000/services/msk.yaml index d586db4f..26140f88 100644 --- a/providers/src/aws/v00.00.00000/services/msk.yaml +++ b/providers/src/aws/v00.00.00000/services/msk.yaml @@ -1503,6 +1503,285 @@ components: - kafka:ListVpcConnections - kms:CreateGrant - kms:DescribeKey + CreateBatchScramSecretRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ClusterArn: + type: string + SecretArnList: + $ref: '#/components/schemas/SecretArnList' + x-stackQL-stringOnly: true + x-title: CreateBatchScramSecretRequest + type: object + required: [] + CreateClusterRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + BrokerNodeGroupInfo: + $ref: '#/components/schemas/BrokerNodeGroupInfo' + EnhancedMonitoring: + type: string + minLength: 7 + maxLength: 23 + enum: + - DEFAULT + - PER_BROKER + - PER_TOPIC_PER_BROKER + - PER_TOPIC_PER_PARTITION + KafkaVersion: + type: string + minLength: 1 + maxLength: 128 + NumberOfBrokerNodes: + type: integer + EncryptionInfo: + $ref: '#/components/schemas/EncryptionInfo' + OpenMonitoring: + $ref: '#/components/schemas/OpenMonitoring' + ClusterName: + type: string + minLength: 1 + maxLength: 64 + Arn: + type: string + CurrentVersion: + description: The current version of the MSK cluster + type: string + ClientAuthentication: + $ref: '#/components/schemas/ClientAuthentication' + LoggingInfo: + $ref: '#/components/schemas/LoggingInfo' + Tags: + type: object + description: A key-value pair to associate with a resource. + x-patternProperties: + ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$: + type: string + additionalProperties: false + ConfigurationInfo: + $ref: '#/components/schemas/ConfigurationInfo' + StorageMode: + type: string + minLength: 5 + maxLength: 6 + enum: + - LOCAL + - TIERED + x-stackQL-stringOnly: true + x-title: CreateClusterRequest + type: object + required: [] + CreateClusterPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Policy: + description: A policy document containing permissions to add to the specified cluster. + type: object + ClusterArn: + description: The arn of the cluster for the resource policy. + type: string + pattern: ^arn:[\w-]+:kafka:[\w-]+:\d+:cluster.*\Z + CurrentVersion: + description: The current version of the policy attached to the specified cluster + type: string + pattern: ^(K)([a-zA-Z0-9]+)\Z + x-stackQL-stringOnly: true + x-title: CreateClusterPolicyRequest + type: object + required: [] + CreateConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + type: string + Description: + type: string + ServerProperties: + type: string + KafkaVersionsList: + $ref: '#/components/schemas/KafkaVersionsList' + Arn: + type: string + LatestRevision: + $ref: '#/components/schemas/LatestRevision' + x-stackQL-stringOnly: true + x-title: CreateConfigurationRequest + type: object + required: [] + CreateReplicatorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ReplicatorArn: + description: Amazon Resource Name for the created replicator. + type: string + pattern: arn:(aws|aws-us-gov|aws-cn):kafka:.* + ReplicatorName: + description: The name of the replicator. + type: string + minLength: 1 + maxLength: 128 + pattern: ^[0-9A-Za-z][0-9A-Za-z-]{0,}$ + CurrentVersion: + description: The current version of the MSK replicator. + type: string + Description: + description: A summary description of the replicator. + type: string + maxLength: 1024 + KafkaClusters: + description: Specifies a list of Kafka clusters which are targets of the replicator. + type: array + uniqueItems: true + x-insertionOrder: false + minItems: 2 + maxItems: 2 + items: + $ref: '#/components/schemas/KafkaCluster' + ReplicationInfoList: + description: A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow. + type: array + uniqueItems: true + x-insertionOrder: false + minItems: 1 + maxItems: 1 + items: + $ref: '#/components/schemas/ReplicationInfo' + ServiceExecutionRoleArn: + description: The Amazon Resource Name (ARN) of the IAM role used by the replicator to access external resources. + type: string + pattern: arn:(aws|aws-us-gov|aws-cn):iam:.* + Tags: + description: A collection of tags associated with a resource + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateReplicatorRequest + type: object + required: [] + CreateServerlessClusterRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + ClusterName: + type: string + minLength: 1 + maxLength: 64 + VpcConfigs: + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/VpcConfig' + ClientAuthentication: + $ref: '#/components/schemas/ClientAuthentication' + Tags: + type: object + description: A key-value pair to associate with a resource. + x-patternProperties: + ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$: + type: string + additionalProperties: false + x-stackQL-stringOnly: true + x-title: CreateServerlessClusterRequest + type: object + required: [] + CreateVpcConnectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + Authentication: + $ref: '#/components/schemas/Authentication' + ClientSubnets: + $ref: '#/components/schemas/ClientSubnets' + TargetClusterArn: + description: The Amazon Resource Name (ARN) of the target cluster + type: string + pattern: ^arn:[\w-]+:kafka:[\w-]+:\d+:cluster.*\Z + SecurityGroups: + $ref: '#/components/schemas/SecurityGroups' + Tags: + $ref: '#/components/schemas/Tags' + VpcId: + $ref: '#/components/schemas/VpcId' + x-stackQL-stringOnly: true + x-title: CreateVpcConnectionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1518,10 +1797,26 @@ components: x-cfn-type-name: AWS::MSK::BatchScramSecret x-identifiers: - ClusterArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BatchScramSecret&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MSK::BatchScramSecret" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1534,7 +1829,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/batch_scram_secrets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/batch_scram_secrets/methods/delete_resource' config: views: select: @@ -1560,6 +1856,7 @@ components: x-cfn-type-name: AWS::MSK::BatchScramSecret x-identifiers: - ClusterArn + x-type: get methods: update_resource: operation: @@ -1573,24 +1870,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MSK::BatchScramSecret" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/batch_scram_secret/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/batch_scram_secret/methods/delete_resource' - x-type: get config: views: select: @@ -1622,10 +1904,26 @@ components: x-cfn-type-name: AWS::MSK::Cluster x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Cluster&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MSK::Cluster" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1638,7 +1936,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/clusters/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/clusters/methods/delete_resource' config: views: select: @@ -1664,6 +1963,7 @@ components: x-cfn-type-name: AWS::MSK::Cluster x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1677,24 +1977,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MSK::Cluster" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cluster/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cluster/methods/delete_resource' - x-type: get config: views: select: @@ -1750,10 +2035,26 @@ components: x-cfn-type-name: AWS::MSK::ClusterPolicy x-identifiers: - ClusterArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ClusterPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MSK::ClusterPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1766,7 +2067,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/cluster_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/cluster_policies/methods/delete_resource' config: views: select: @@ -1792,6 +2094,7 @@ components: x-cfn-type-name: AWS::MSK::ClusterPolicy x-identifiers: - ClusterArn + x-type: get methods: update_resource: operation: @@ -1805,24 +2108,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MSK::ClusterPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cluster_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cluster_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1856,10 +2144,26 @@ components: x-cfn-type-name: AWS::MSK::Configuration x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Configuration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MSK::Configuration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1872,7 +2176,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/configurations/methods/delete_resource' config: views: select: @@ -1898,6 +2203,7 @@ components: x-cfn-type-name: AWS::MSK::Configuration x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1911,24 +2217,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MSK::Configuration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/configuration/methods/delete_resource' - x-type: get config: views: select: @@ -1968,10 +2259,26 @@ components: x-cfn-type-name: AWS::MSK::Replicator x-identifiers: - ReplicatorArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Replicator&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MSK::Replicator" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1984,7 +2291,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/replicators/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/replicators/methods/delete_resource' config: views: select: @@ -2010,6 +2318,7 @@ components: x-cfn-type-name: AWS::MSK::Replicator x-identifiers: - ReplicatorArn + x-type: get methods: update_resource: operation: @@ -2023,24 +2332,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MSK::Replicator" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/replicator/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/replicator/methods/delete_resource' - x-type: get config: views: select: @@ -2084,10 +2378,26 @@ components: x-cfn-type-name: AWS::MSK::ServerlessCluster x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ServerlessCluster&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MSK::ServerlessCluster" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2100,7 +2410,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/serverless_clusters/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/serverless_clusters/methods/delete_resource' config: views: select: @@ -2126,24 +2437,10 @@ components: x-cfn-type-name: AWS::MSK::ServerlessCluster x-identifiers: - Arn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MSK::ServerlessCluster" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/serverless_cluster/methods/delete_resource' - x-type: get config: views: select: @@ -2181,10 +2478,26 @@ components: x-cfn-type-name: AWS::MSK::VpcConnection x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcConnection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MSK::VpcConnection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2197,7 +2510,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/vpc_connections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/vpc_connections/methods/delete_resource' config: views: select: @@ -2223,6 +2537,7 @@ components: x-cfn-type-name: AWS::MSK::VpcConnection x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -2236,24 +2551,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MSK::VpcConnection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/vpc_connection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/vpc_connection/methods/delete_resource' - x-type: get config: views: select: @@ -2431,8 +2731,304 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__BatchScramSecret&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBatchScramSecret + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBatchScramSecretRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Cluster&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCluster + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateClusterRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ClusterPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateClusterPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateClusterPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Configuration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Replicator&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateReplicator + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateReplicatorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ServerlessCluster&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateServerlessCluster + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServerlessClusterRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VpcConnection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVpcConnection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVpcConnectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/mwaa.yaml b/providers/src/aws/v00.00.00000/services/mwaa.yaml index 87a49574..e16eb967 100644 --- a/providers/src/aws/v00.00.00000/services/mwaa.yaml +++ b/providers/src/aws/v00.00.00000/services/mwaa.yaml @@ -776,6 +776,90 @@ components: - airflow:DeleteEnvironment list: - airflow:ListEnvironments + CreateEnvironmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + $ref: '#/components/schemas/EnvironmentName' + Arn: + $ref: '#/components/schemas/EnvironmentArn' + WebserverUrl: + $ref: '#/components/schemas/WebserverUrl' + ExecutionRoleArn: + $ref: '#/components/schemas/ExecutionRoleArn' + KmsKey: + $ref: '#/components/schemas/KmsKey' + AirflowVersion: + $ref: '#/components/schemas/AirflowVersion' + SourceBucketArn: + $ref: '#/components/schemas/S3BucketArn' + DagS3Path: + $ref: '#/components/schemas/RelativePath' + PluginsS3Path: + $ref: '#/components/schemas/RelativePath' + PluginsS3ObjectVersion: + $ref: '#/components/schemas/S3ObjectVersion' + RequirementsS3Path: + $ref: '#/components/schemas/RelativePath' + RequirementsS3ObjectVersion: + $ref: '#/components/schemas/S3ObjectVersion' + StartupScriptS3Path: + $ref: '#/components/schemas/RelativePath' + StartupScriptS3ObjectVersion: + $ref: '#/components/schemas/S3ObjectVersion' + AirflowConfigurationOptions: + type: object + description: |- + Key/value pairs representing Airflow configuration variables. + Keys are prefixed by their section: + + [core] + dags_folder={AIRFLOW_HOME}/dags + + Would be represented as + + "core.dags_folder": "{AIRFLOW_HOME}/dags" + EnvironmentClass: + $ref: '#/components/schemas/EnvironmentClass' + MaxWorkers: + $ref: '#/components/schemas/MaxWorkers' + MinWorkers: + $ref: '#/components/schemas/MinWorkers' + Schedulers: + $ref: '#/components/schemas/Schedulers' + NetworkConfiguration: + $ref: '#/components/schemas/NetworkConfiguration' + LoggingConfiguration: + $ref: '#/components/schemas/LoggingConfiguration' + WeeklyMaintenanceWindowStart: + $ref: '#/components/schemas/WeeklyMaintenanceWindowStart' + Tags: + type: object + description: A map of tags for the environment. + WebserverAccessMode: + $ref: '#/components/schemas/WebserverAccessMode' + EndpointManagement: + $ref: '#/components/schemas/EndpointManagement' + CeleryExecutorQueue: + $ref: '#/components/schemas/CeleryExecutorQueue' + DatabaseVpcEndpointService: + $ref: '#/components/schemas/DatabaseVpcEndpointService' + WebserverVpcEndpointService: + $ref: '#/components/schemas/WebserverVpcEndpointService' + x-stackQL-stringOnly: true + x-title: CreateEnvironmentRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -791,10 +875,26 @@ components: x-cfn-type-name: AWS::MWAA::Environment x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::MWAA::Environment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -807,7 +907,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/environments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/environments/methods/delete_resource' config: views: select: @@ -833,6 +934,7 @@ components: x-cfn-type-name: AWS::MWAA::Environment x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -846,24 +948,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::MWAA::Environment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/environment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/environment/methods/delete_resource' - x-type: get config: views: select: @@ -1083,8 +1170,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnvironment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnvironmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/neptune.yaml b/providers/src/aws/v00.00.00000/services/neptune.yaml index c5dddd4c..49390c0d 100644 --- a/providers/src/aws/v00.00.00000/services/neptune.yaml +++ b/providers/src/aws/v00.00.00000/services/neptune.yaml @@ -665,6 +665,172 @@ components: - rds:DescribeDBClusters - rds:ListTagsForResource - kms:* + CreateDBClusterRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Endpoint: + description: 'The connection endpoint for the DB cluster. For example: `mystack-mydbcluster-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com`' + type: string + ReadEndpoint: + description: 'The reader endpoint for the DB cluster. For example: `mystack-mydbcluster-ro-1apw1j4phylrk.cg034hpkmmjt.us-east-2.rds.amazonaws.com`' + type: string + ClusterResourceId: + description: 'The resource id for the DB cluster. For example: `cluster-ABCD1234EFGH5678IJKL90MNOP`. The cluster ID uniquely identifies the cluster and is used in things like IAM authentication policies.' + type: string + AssociatedRoles: + description: Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf. + type: array + uniqueItems: true + x-insertionOrder: true + items: + $ref: '#/components/schemas/DBClusterRole' + AvailabilityZones: + description: Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in. + type: array + uniqueItems: true + x-insertionOrder: true + items: + type: string + BackupRetentionPeriod: + description: Specifies the number of days for which automatic DB snapshots are retained. + default: 1 + minimum: 1 + type: integer + CopyTagsToSnapshot: + description: A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default behaviour is not to copy them. + type: boolean + DBClusterIdentifier: + description: The DB cluster identifier. Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster stored as a lowercase string. + type: string + pattern: ^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$ + minLength: 1 + maxLength: 63 + DBClusterParameterGroupName: + description: Provides the name of the DB cluster parameter group. + type: string + DBInstanceParameterGroupName: + description: The name of the DB parameter group to apply to all instances of the DB cluster. Used only in case of a major EngineVersion upgrade request. + type: string + DBPort: + description: |- + The port number on which the DB instances in the DB cluster accept connections. + + If not specified, the default port used is `8182`. + + Note: `Port` property will soon be deprecated from this resource. Please update existing templates to rename it with new property `DBPort` having same functionalities. + type: integer + DBSubnetGroupName: + description: Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group. + type: string + DeletionProtection: + description: Indicates whether or not the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. + type: boolean + EnableCloudwatchLogsExports: + description: Specifies a list of log types that are enabled for export to CloudWatch Logs. + type: array + uniqueItems: true + x-insertionOrder: true + items: + type: string + EngineVersion: + description: Indicates the database engine version. + type: string + IamAuthEnabled: + description: True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false. + type: boolean + KmsKeyId: + description: If `StorageEncrypted` is true, the Amazon KMS key identifier for the encrypted DB cluster. + type: string + Port: + description: 'The port number on which the DB cluster accepts connections. For example: `8182`.' + type: string + PreferredBackupWindow: + description: Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod. + type: string + PreferredMaintenanceWindow: + description: Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). + type: string + RestoreToTime: + description: |- + Creates a new DB cluster from a DB snapshot or DB cluster snapshot. + + If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. + + If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. + type: string + RestoreType: + description: |- + Creates a new DB cluster from a DB snapshot or DB cluster snapshot. + + If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. + + If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. + type: string + default: full-copy + ServerlessScalingConfiguration: + description: Contains the scaling configuration used by the Neptune Serverless Instances within this DB cluster. + $ref: '#/components/schemas/ServerlessScalingConfiguration' + SnapshotIdentifier: + description: |- + Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot. + + After you restore a DB cluster using a SnapshotIdentifier, you must specify the same SnapshotIdentifier for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. + + However, if you don't specify the SnapshotIdentifier, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the SnapshotIdentifier, and the original DB cluster is deleted. + type: string + SourceDBClusterIdentifier: + description: |- + Creates a new DB cluster from a DB snapshot or DB cluster snapshot. + + If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. + + If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. + type: string + StorageEncrypted: + description: |- + Indicates whether the DB cluster is encrypted. + + If you specify the `DBClusterIdentifier`, `DBSnapshotIdentifier`, or `SourceDBInstanceIdentifier` property, don't specify this property. The value is inherited from the cluster, snapshot, or source DB instance. If you specify the KmsKeyId property, you must enable encryption. + + If you specify the KmsKeyId, you must enable encryption by setting StorageEncrypted to true. + type: boolean + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: The tags assigned to this cluster. + items: + $ref: '#/components/schemas/Tag' + UseLatestRestorableTime: + description: |- + Creates a new DB cluster from a DB snapshot or DB cluster snapshot. + + If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. + + If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group. + type: boolean + VpcSecurityGroupIds: + description: Provides a list of VPC security groups that the DB cluster belongs to. + uniqueItems: true + x-insertionOrder: true + items: + type: string + type: array + x-stackQL-stringOnly: true + x-title: CreateDBClusterRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -680,10 +846,26 @@ components: x-cfn-type-name: AWS::Neptune::DBCluster x-identifiers: - DBClusterIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DBCluster&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Neptune::DBCluster" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -696,7 +878,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/db_clusters/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/db_clusters/methods/delete_resource' config: views: select: @@ -722,6 +905,7 @@ components: x-cfn-type-name: AWS::Neptune::DBCluster x-identifiers: - DBClusterIdentifier + x-type: get methods: update_resource: operation: @@ -735,24 +919,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Neptune::DBCluster" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/db_cluster/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/db_cluster/methods/delete_resource' - x-type: get config: views: select: @@ -974,8 +1143,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__DBCluster&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDBCluster + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDBClusterRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/neptunegraph.yaml b/providers/src/aws/v00.00.00000/services/neptunegraph.yaml index 898ca59a..b099ca2c 100644 --- a/providers/src/aws/v00.00.00000/services/neptunegraph.yaml +++ b/providers/src/aws/v00.00.00000/services/neptunegraph.yaml @@ -634,6 +634,125 @@ components: list: - neptune-graph:GetPrivateGraphEndpoint - neptune-graph:ListPrivateGraphEndpoints + CreateGraphRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DeletionProtection: + description: |- + Value that indicates whether the Graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled. + + _Default_: If not specified, the default value is true. + type: boolean + GraphName: + description: |- + Contains a user-supplied name for the Graph. + + If you don't specify a name, we generate a unique Graph Name using a combination of Stack Name and a UUID comprising of 4 characters. + + _Important_: If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. + type: string + pattern: ^[a-zA-z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*$ + minLength: 1 + maxLength: 63 + ProvisionedMemory: + description: Memory for the Graph. + type: integer + PublicConnectivity: + description: |- + Specifies whether the Graph can be reached over the internet. Access to all graphs requires IAM authentication. + + When the Graph is publicly reachable, its Domain Name System (DNS) endpoint resolves to the public IP address from the internet. + + When the Graph isn't publicly reachable, you need to create a PrivateGraphEndpoint in a given VPC to ensure the DNS name resolves to a private IP address that is reachable from the VPC. + + _Default_: If not specified, the default value is false. + type: boolean + ReplicaCount: + description: |- + Specifies the number of replicas you want when finished. All replicas will be provisioned in different availability zones. + + Replica Count should always be less than or equal to 2. + + _Default_: If not specified, the default value is 1. + type: integer + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: The tags associated with this graph. + items: + $ref: '#/components/schemas/Tag' + VectorSearchConfiguration: + description: Vector Search Configuration + $ref: '#/components/schemas/VectorSearchConfiguration' + Endpoint: + description: 'The connection endpoint for the graph. For example: `g-12a3bcdef4.us-east-1.neptune-graph.amazonaws.com`' + type: string + GraphArn: + description: Graph resource ARN + type: string + GraphId: + description: The auto-generated id assigned by the service. + type: string + x-stackQL-stringOnly: true + x-title: CreateGraphRequest + type: object + required: [] + CreatePrivateGraphEndpointRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + GraphIdentifier: + description: The auto-generated Graph Id assigned by the service. + type: string + SecurityGroupIds: + description: The security group Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC. + type: array + x-insertionOrder: false + items: + type: string + SubnetIds: + description: The subnet Ids associated with the VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC. + type: array + x-insertionOrder: false + items: + type: string + VpcId: + description: The VPC where you want the private graph endpoint to be created, ie, the graph will be reachable from within the VPC. + type: string + PrivateGraphEndpointIdentifier: + description: |- + PrivateGraphEndpoint resource identifier generated by concatenating the associated GraphIdentifier and VpcId with an underscore separator. + + For example, if GraphIdentifier is `g-12a3bcdef4` and VpcId is `vpc-0a12bc34567de8f90`, the generated PrivateGraphEndpointIdentifier will be `g-12a3bcdef4_vpc-0a12bc34567de8f90` + type: string + VpcEndpointId: + description: VPC endpoint that provides a private connection between the Graph and specified VPC. + type: string + x-stackQL-stringOnly: true + x-title: CreatePrivateGraphEndpointRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -649,10 +768,26 @@ components: x-cfn-type-name: AWS::NeptuneGraph::Graph x-identifiers: - GraphId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Graph&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NeptuneGraph::Graph" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -665,7 +800,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/graphs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/graphs/methods/delete_resource' config: views: select: @@ -691,6 +827,7 @@ components: x-cfn-type-name: AWS::NeptuneGraph::Graph x-identifiers: - GraphId + x-type: get methods: update_resource: operation: @@ -704,24 +841,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NeptuneGraph::Graph" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/graph/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/graph/methods/delete_resource' - x-type: get config: views: select: @@ -769,10 +891,26 @@ components: x-cfn-type-name: AWS::NeptuneGraph::PrivateGraphEndpoint x-identifiers: - PrivateGraphEndpointIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PrivateGraphEndpoint&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NeptuneGraph::PrivateGraphEndpoint" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -785,7 +923,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/private_graph_endpoints/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/private_graph_endpoints/methods/delete_resource' config: views: select: @@ -811,6 +950,7 @@ components: x-cfn-type-name: AWS::NeptuneGraph::PrivateGraphEndpoint x-identifiers: - PrivateGraphEndpointIdentifier + x-type: get methods: update_resource: operation: @@ -824,24 +964,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NeptuneGraph::PrivateGraphEndpoint" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/private_graph_endpoint/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/private_graph_endpoint/methods/delete_resource' - x-type: get config: views: select: @@ -1017,8 +1142,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Graph&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateGraph + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateGraphRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PrivateGraphEndpoint&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePrivateGraphEndpoint + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePrivateGraphEndpointRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/networkfirewall.yaml b/providers/src/aws/v00.00.00000/services/networkfirewall.yaml index a09b816e..de330c9e 100644 --- a/providers/src/aws/v00.00.00000/services/networkfirewall.yaml +++ b/providers/src/aws/v00.00.00000/services/networkfirewall.yaml @@ -1391,6 +1391,229 @@ components: items: $ref: '#/components/schemas/ProtocolNumber' additionalProperties: false + CreateFirewallRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FirewallName: + type: string + minLength: 1 + maxLength: 128 + pattern: ^[a-zA-Z0-9-]+$ + FirewallArn: + $ref: '#/components/schemas/ResourceArn' + FirewallId: + type: string + minLength: 36 + maxLength: 36 + pattern: ^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$ + FirewallPolicyArn: + $ref: '#/components/schemas/ResourceArn' + VpcId: + type: string + minLength: 1 + maxLength: 128 + pattern: ^vpc-[0-9a-f]+$ + SubnetMappings: + type: array + minItems: 1 + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/SubnetMapping' + DeleteProtection: + type: boolean + SubnetChangeProtection: + type: boolean + FirewallPolicyChangeProtection: + type: boolean + Description: + type: string + maxLength: 512 + pattern: ^.*$ + EndpointIds: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/EndpointId' + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateFirewallRequest + type: object + required: [] + CreateFirewallPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FirewallPolicyName: + type: string + minLength: 1 + maxLength: 128 + pattern: ^[a-zA-Z0-9-]+$ + FirewallPolicyArn: + $ref: '#/components/schemas/ResourceArn' + FirewallPolicy: + $ref: '#/components/schemas/FirewallPolicy' + FirewallPolicyId: + type: string + minLength: 36 + maxLength: 36 + pattern: ^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$ + Description: + type: string + minLength: 1 + maxLength: 512 + pattern: ^.*$ + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateFirewallPolicyRequest + type: object + required: [] + CreateLoggingConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FirewallName: + type: string + minLength: 1 + maxLength: 128 + pattern: ^[a-zA-Z0-9-]+$ + FirewallArn: + $ref: '#/components/schemas/ResourceArn' + LoggingConfiguration: + $ref: '#/components/schemas/LoggingConfiguration' + x-stackQL-stringOnly: true + x-title: CreateLoggingConfigurationRequest + type: object + required: [] + CreateRuleGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RuleGroupName: + type: string + minLength: 1 + maxLength: 128 + pattern: ^[a-zA-Z0-9-]+$ + RuleGroupArn: + $ref: '#/components/schemas/ResourceArn' + RuleGroupId: + type: string + minLength: 36 + maxLength: 36 + pattern: ^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$ + RuleGroup: + $ref: '#/components/schemas/RuleGroup' + Type: + type: string + enum: + - STATELESS + - STATEFUL + Capacity: + type: integer + Description: + type: string + minLength: 1 + maxLength: 512 + pattern: ^.*$ + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateRuleGroupRequest + type: object + required: [] + CreateTLSInspectionConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + TLSInspectionConfigurationName: + type: string + minLength: 1 + maxLength: 128 + pattern: ^[a-zA-Z0-9-]+$ + TLSInspectionConfigurationArn: + $ref: '#/components/schemas/ResourceArn' + TLSInspectionConfiguration: + $ref: '#/components/schemas/TLSInspectionConfiguration' + TLSInspectionConfigurationId: + type: string + minLength: 36 + maxLength: 36 + pattern: ^([0-9a-f]{8})-([0-9a-f]{4}-){3}([0-9a-f]{12})$ + Description: + type: string + minLength: 1 + maxLength: 512 + pattern: ^.*$ + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateTLSInspectionConfigurationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1406,10 +1629,26 @@ components: x-cfn-type-name: AWS::NetworkFirewall::Firewall x-identifiers: - FirewallArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Firewall&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkFirewall::Firewall" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1422,7 +1661,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/firewalls/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/firewalls/methods/delete_resource' config: views: select: @@ -1448,6 +1688,7 @@ components: x-cfn-type-name: AWS::NetworkFirewall::Firewall x-identifiers: - FirewallArn + x-type: get methods: update_resource: operation: @@ -1461,24 +1702,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkFirewall::Firewall" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/firewall/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/firewall/methods/delete_resource' - x-type: get config: views: select: @@ -1530,10 +1756,26 @@ components: x-cfn-type-name: AWS::NetworkFirewall::FirewallPolicy x-identifiers: - FirewallPolicyArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__FirewallPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkFirewall::FirewallPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1546,7 +1788,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/firewall_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/firewall_policies/methods/delete_resource' config: views: select: @@ -1572,6 +1815,7 @@ components: x-cfn-type-name: AWS::NetworkFirewall::FirewallPolicy x-identifiers: - FirewallPolicyArn + x-type: get methods: update_resource: operation: @@ -1585,24 +1829,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkFirewall::FirewallPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/firewall_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/firewall_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1642,10 +1871,26 @@ components: x-cfn-type-name: AWS::NetworkFirewall::LoggingConfiguration x-identifiers: - FirewallArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LoggingConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkFirewall::LoggingConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1658,7 +1903,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/logging_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/logging_configurations/methods/delete_resource' config: views: select: @@ -1684,6 +1930,7 @@ components: x-cfn-type-name: AWS::NetworkFirewall::LoggingConfiguration x-identifiers: - FirewallArn + x-type: get methods: update_resource: operation: @@ -1697,24 +1944,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkFirewall::LoggingConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/logging_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/logging_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -1748,10 +1980,26 @@ components: x-cfn-type-name: AWS::NetworkFirewall::RuleGroup x-identifiers: - RuleGroupArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RuleGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkFirewall::RuleGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1764,7 +2012,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/rule_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/rule_groups/methods/delete_resource' config: views: select: @@ -1790,6 +2039,7 @@ components: x-cfn-type-name: AWS::NetworkFirewall::RuleGroup x-identifiers: - RuleGroupArn + x-type: get methods: update_resource: operation: @@ -1803,24 +2053,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkFirewall::RuleGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/rule_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/rule_group/methods/delete_resource' - x-type: get config: views: select: @@ -1864,10 +2099,26 @@ components: x-cfn-type-name: AWS::NetworkFirewall::TLSInspectionConfiguration x-identifiers: - TLSInspectionConfigurationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TLSInspectionConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkFirewall::TLSInspectionConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1880,7 +2131,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/tls_inspection_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/tls_inspection_configurations/methods/delete_resource' config: views: select: @@ -1906,6 +2158,7 @@ components: x-cfn-type-name: AWS::NetworkFirewall::TLSInspectionConfiguration x-identifiers: - TLSInspectionConfigurationArn + x-type: get methods: update_resource: operation: @@ -1919,24 +2172,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkFirewall::TLSInspectionConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/tls_inspection_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/tls_inspection_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -2112,8 +2350,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Firewall&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFirewall + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFirewallRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__FirewallPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFirewallPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFirewallPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LoggingConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLoggingConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLoggingConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RuleGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRuleGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRuleGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TLSInspectionConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTLSInspectionConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTLSInspectionConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/networkmanager.yaml b/providers/src/aws/v00.00.00000/services/networkmanager.yaml index 59cbe405..1c76c0ff 100644 --- a/providers/src/aws/v00.00.00000/services/networkmanager.yaml +++ b/providers/src/aws/v00.00.00000/services/networkmanager.yaml @@ -1764,6 +1764,744 @@ components: - ec2:DescribeRegions list: - networkmanager:ListAttachments + CreateConnectAttachmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CoreNetworkId: + description: ID of the CoreNetwork that the attachment will be attached to. + type: string + CoreNetworkArn: + description: The ARN of a core network. + type: string + AttachmentId: + description: The ID of the attachment. + type: string + OwnerAccountId: + description: The ID of the attachment account owner. + type: string + AttachmentType: + description: The type of attachment. + type: string + State: + description: State of the attachment. + type: string + EdgeLocation: + description: Edge location of the attachment. + type: string + ResourceArn: + description: The attachment resource ARN. + type: string + AttachmentPolicyRuleNumber: + description: The policy rule number associated with the attachment. + type: integer + SegmentName: + description: The name of the segment attachment. + type: string + ProposedSegmentChange: + description: The attachment to move from one segment to another. + $ref: '#/components/schemas/ProposedSegmentChange' + Tags: + description: Tags for the attachment. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + CreatedAt: + description: Creation time of the attachment. + type: string + UpdatedAt: + description: Last update time of the attachment. + type: string + TransportAttachmentId: + description: Id of transport attachment + type: string + Options: + description: Protocol options for connect attachment + $ref: '#/components/schemas/ConnectAttachmentOptions' + x-stackQL-stringOnly: true + x-title: CreateConnectAttachmentRequest + type: object + required: [] + CreateConnectPeerRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PeerAddress: + description: The IP address of the Connect peer. + type: string + CoreNetworkAddress: + description: The IP address of a core network. + type: string + BgpOptions: + description: Bgp options for connect peer. + $ref: '#/components/schemas/BgpOptions' + InsideCidrBlocks: + description: The inside IP addresses used for a Connect peer configuration. + type: array + x-insertionOrder: false + items: + type: string + CoreNetworkId: + description: The ID of the core network. + type: string + ConnectAttachmentId: + description: The ID of the attachment to connect. + type: string + ConnectPeerId: + description: The ID of the Connect peer. + type: string + EdgeLocation: + description: The Connect peer Regions where edges are located. + type: string + State: + description: State of the connect peer. + type: string + CreatedAt: + description: Connect peer creation time. + type: string + Configuration: + description: Configuration of the connect peer. + $ref: '#/components/schemas/ConnectPeerConfiguration' + SubnetArn: + description: The subnet ARN for the connect peer. + type: string + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateConnectPeerRequest + type: object + required: [] + CreateCoreNetworkRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + GlobalNetworkId: + description: The ID of the global network that your core network is a part of. + type: string + CoreNetworkId: + description: The Id of core network + type: string + CoreNetworkArn: + description: The ARN (Amazon resource name) of core network + type: string + PolicyDocument: + description: Live policy document for the core network, you must provide PolicyDocument in Json Format + type: object + Description: + description: The description of core network + type: string + CreatedAt: + description: The creation time of core network + type: string + State: + description: The state of core network + type: string + Segments: + description: The segments within a core network. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/CoreNetworkSegment' + Edges: + description: The edges within a core network. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/CoreNetworkEdge' + OwnerAccount: + description: Owner of the core network + type: string + Tags: + description: The tags for the global network. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateCoreNetworkRequest + type: object + required: [] + CreateCustomerGatewayAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + GlobalNetworkId: + description: The ID of the global network. + type: string + CustomerGatewayArn: + description: The Amazon Resource Name (ARN) of the customer gateway. + type: string + DeviceId: + description: The ID of the device + type: string + LinkId: + description: The ID of the link + type: string + x-stackQL-stringOnly: true + x-title: CreateCustomerGatewayAssociationRequest + type: object + required: [] + CreateDeviceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DeviceArn: + description: The Amazon Resource Name (ARN) of the device. + type: string + DeviceId: + description: The ID of the device. + type: string + Description: + description: The description of the device. + type: string + Tags: + description: The tags for the device. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + GlobalNetworkId: + description: The ID of the global network. + type: string + AWSLocation: + description: The Amazon Web Services location of the device, if applicable. + $ref: '#/components/schemas/AWSLocation' + Location: + description: The site location. + $ref: '#/components/schemas/Location' + Model: + description: The device model + type: string + SerialNumber: + description: The device serial number. + type: string + SiteId: + description: The site ID. + type: string + Type: + description: The device type. + type: string + Vendor: + description: The device vendor. + type: string + CreatedAt: + description: The date and time that the device was created. + type: string + State: + description: The state of the device. + type: string + x-stackQL-stringOnly: true + x-title: CreateDeviceRequest + type: object + required: [] + CreateGlobalNetworkRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the global network. + type: string + Id: + description: The ID of the global network. + type: string + Description: + description: The description of the global network. + type: string + Tags: + description: The tags for the global network. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + CreatedAt: + description: The date and time that the global network was created. + type: string + State: + description: The state of the global network. + type: string + x-stackQL-stringOnly: true + x-title: CreateGlobalNetworkRequest + type: object + required: [] + CreateLinkRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + LinkArn: + description: The Amazon Resource Name (ARN) of the link. + type: string + LinkId: + description: The ID of the link. + type: string + GlobalNetworkId: + description: The ID of the global network. + type: string + SiteId: + description: The ID of the site + type: string + Bandwidth: + description: The Bandwidth for the link. + $ref: '#/components/schemas/Bandwidth' + Provider: + description: The provider of the link. + type: string + Description: + description: The description of the link. + type: string + Tags: + description: The tags for the link. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Type: + description: The type of the link. + type: string + CreatedAt: + description: The date and time that the device was created. + type: string + State: + description: The state of the link. + type: string + x-stackQL-stringOnly: true + x-title: CreateLinkRequest + type: object + required: [] + CreateLinkAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + GlobalNetworkId: + description: The ID of the global network. + type: string + DeviceId: + description: The ID of the device + type: string + LinkId: + description: The ID of the link + type: string + x-stackQL-stringOnly: true + x-title: CreateLinkAssociationRequest + type: object + required: [] + CreateSiteRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + SiteArn: + description: The Amazon Resource Name (ARN) of the site. + type: string + SiteId: + description: The ID of the site. + type: string + Description: + description: The description of the site. + type: string + Tags: + description: The tags for the site. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + GlobalNetworkId: + description: The ID of the global network. + type: string + Location: + description: The location of the site. + $ref: '#/components/schemas/Location' + CreatedAt: + description: The date and time that the device was created. + type: string + State: + description: The state of the site. + type: string + x-stackQL-stringOnly: true + x-title: CreateSiteRequest + type: object + required: [] + CreateSiteToSiteVpnAttachmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CoreNetworkId: + description: The ID of a core network where you're creating a site-to-site VPN attachment. + type: string + CoreNetworkArn: + description: The ARN of a core network for the VPC attachment. + type: string + AttachmentId: + description: The ID of the attachment. + type: string + OwnerAccountId: + description: Owner account of the attachment. + type: string + AttachmentType: + description: The type of attachment. + type: string + State: + description: The state of the attachment. + type: string + EdgeLocation: + description: The Region where the edge is located. + type: string + ResourceArn: + description: The ARN of the Resource. + type: string + AttachmentPolicyRuleNumber: + description: The policy rule number associated with the attachment. + type: integer + SegmentName: + description: The name of the segment that attachment is in. + type: string + ProposedSegmentChange: + description: The attachment to move from one segment to another. + $ref: '#/components/schemas/ProposedSegmentChange' + Tags: + description: Tags for the attachment. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + CreatedAt: + description: Creation time of the attachment. + type: string + UpdatedAt: + description: Last update time of the attachment. + type: string + VpnConnectionArn: + description: The ARN of the site-to-site VPN attachment. + type: string + x-stackQL-stringOnly: true + x-title: CreateSiteToSiteVpnAttachmentRequest + type: object + required: [] + CreateTransitGatewayPeeringRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CoreNetworkId: + description: The Id of the core network that you want to peer a transit gateway to. + type: string + CoreNetworkArn: + description: The ARN (Amazon Resource Name) of the core network that you want to peer a transit gateway to. + type: string + TransitGatewayArn: + description: The ARN (Amazon Resource Name) of the transit gateway that you will peer to a core network + type: string + TransitGatewayPeeringAttachmentId: + description: The ID of the TransitGatewayPeeringAttachment + type: string + PeeringId: + description: The Id of the transit gateway peering + type: string + State: + description: The state of the transit gateway peering + type: string + EdgeLocation: + description: The location of the transit gateway peering + type: string + ResourceArn: + description: The ARN (Amazon Resource Name) of the resource that you will peer to a core network + type: string + OwnerAccountId: + description: Peering owner account Id + type: string + PeeringType: + description: Peering type (TransitGatewayPeering) + type: string + CreatedAt: + description: The creation time of the transit gateway peering + type: string + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateTransitGatewayPeeringRequest + type: object + required: [] + CreateTransitGatewayRegistrationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + GlobalNetworkId: + description: The ID of the global network. + type: string + TransitGatewayArn: + description: The Amazon Resource Name (ARN) of the transit gateway. + type: string + x-stackQL-stringOnly: true + x-title: CreateTransitGatewayRegistrationRequest + type: object + required: [] + CreateTransitGatewayRouteTableAttachmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PeeringId: + description: The Id of peering between transit gateway and core network. + type: string + TransitGatewayRouteTableArn: + description: The Arn of transit gateway route table. + type: string + CoreNetworkId: + description: The ID of a core network where you're creating a site-to-site VPN attachment. + type: string + CoreNetworkArn: + description: The ARN of a core network for the VPC attachment. + type: string + AttachmentId: + description: The ID of the attachment. + type: string + OwnerAccountId: + description: Owner account of the attachment. + type: string + AttachmentType: + description: The type of attachment. + type: string + State: + description: The state of the attachment. + type: string + EdgeLocation: + description: The Region where the edge is located. + type: string + ResourceArn: + description: The ARN of the Resource. + type: string + AttachmentPolicyRuleNumber: + description: The policy rule number associated with the attachment. + type: integer + SegmentName: + description: The name of the segment that attachment is in. + type: string + ProposedSegmentChange: + description: The attachment to move from one segment to another. + $ref: '#/components/schemas/ProposedSegmentChange' + CreatedAt: + description: Creation time of the attachment. + type: string + UpdatedAt: + description: Last update time of the attachment. + type: string + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateTransitGatewayRouteTableAttachmentRequest + type: object + required: [] + CreateVpcAttachmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CoreNetworkId: + description: The ID of a core network for the VPC attachment. + type: string + CoreNetworkArn: + description: The ARN of a core network for the VPC attachment. + type: string + AttachmentId: + description: Id of the attachment. + type: string + OwnerAccountId: + description: Owner account of the attachment. + type: string + AttachmentType: + description: Attachment type. + type: string + State: + description: State of the attachment. + type: string + EdgeLocation: + description: The Region where the edge is located. + type: string + VpcArn: + description: The ARN of the VPC. + type: string + ResourceArn: + description: The ARN of the Resource. + type: string + AttachmentPolicyRuleNumber: + description: The policy rule number associated with the attachment. + type: integer + SegmentName: + description: The name of the segment attachment.. + type: string + ProposedSegmentChange: + description: The attachment to move from one segment to another. + $ref: '#/components/schemas/ProposedSegmentChange' + Tags: + description: Tags for the attachment. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + CreatedAt: + description: Creation time of the attachment. + type: string + UpdatedAt: + description: Last update time of the attachment. + type: string + SubnetArns: + description: Subnet Arn list + type: array + x-insertionOrder: false + items: + type: string + Options: + description: Vpc options of the attachment. + $ref: '#/components/schemas/VpcOptions' + x-stackQL-stringOnly: true + x-title: CreateVpcAttachmentRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1779,10 +2517,26 @@ components: x-cfn-type-name: AWS::NetworkManager::ConnectAttachment x-identifiers: - AttachmentId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConnectAttachment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::ConnectAttachment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1795,7 +2549,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/connect_attachments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/connect_attachments/methods/delete_resource' config: views: select: @@ -1821,6 +2576,7 @@ components: x-cfn-type-name: AWS::NetworkManager::ConnectAttachment x-identifiers: - AttachmentId + x-type: get methods: update_resource: operation: @@ -1834,24 +2590,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::ConnectAttachment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/connect_attachment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/connect_attachment/methods/delete_resource' - x-type: get config: views: select: @@ -1911,10 +2652,26 @@ components: x-cfn-type-name: AWS::NetworkManager::ConnectPeer x-identifiers: - ConnectPeerId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConnectPeer&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::ConnectPeer" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1927,7 +2684,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/connect_peers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/connect_peers/methods/delete_resource' config: views: select: @@ -1953,6 +2711,7 @@ components: x-cfn-type-name: AWS::NetworkManager::ConnectPeer x-identifiers: - ConnectPeerId + x-type: get methods: update_resource: operation: @@ -1966,24 +2725,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::ConnectPeer" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/connect_peer/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/connect_peer/methods/delete_resource' - x-type: get config: views: select: @@ -2037,10 +2781,26 @@ components: x-cfn-type-name: AWS::NetworkManager::CoreNetwork x-identifiers: - CoreNetworkId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CoreNetwork&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::CoreNetwork" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2053,7 +2813,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/core_networks/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/core_networks/methods/delete_resource' config: views: select: @@ -2079,6 +2840,7 @@ components: x-cfn-type-name: AWS::NetworkManager::CoreNetwork x-identifiers: - CoreNetworkId + x-type: get methods: update_resource: operation: @@ -2092,24 +2854,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::CoreNetwork" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/core_network/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/core_network/methods/delete_resource' - x-type: get config: views: select: @@ -2160,10 +2907,26 @@ components: x-identifiers: - GlobalNetworkId - CustomerGatewayArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CustomerGatewayAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::CustomerGatewayAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2176,7 +2939,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/customer_gateway_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/customer_gateway_associations/methods/delete_resource' config: views: select: @@ -2205,24 +2969,10 @@ components: x-identifiers: - GlobalNetworkId - CustomerGatewayArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::CustomerGatewayAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/customer_gateway_association/methods/delete_resource' - x-type: get config: views: select: @@ -2259,10 +3009,26 @@ components: x-identifiers: - GlobalNetworkId - DeviceId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Device&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::Device" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2275,7 +3041,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/devices/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/devices/methods/delete_resource' config: views: select: @@ -2304,6 +3071,7 @@ components: x-identifiers: - GlobalNetworkId - DeviceId + x-type: get methods: update_resource: operation: @@ -2317,24 +3085,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::Device" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/device/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/device/methods/delete_resource' - x-type: get config: views: select: @@ -2390,10 +3143,26 @@ components: x-cfn-type-name: AWS::NetworkManager::GlobalNetwork x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__GlobalNetwork&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::GlobalNetwork" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2406,7 +3175,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/global_networks/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/global_networks/methods/delete_resource' config: views: select: @@ -2432,6 +3202,7 @@ components: x-cfn-type-name: AWS::NetworkManager::GlobalNetwork x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -2445,24 +3216,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::GlobalNetwork" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/global_network/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/global_network/methods/delete_resource' - x-type: get config: views: select: @@ -2503,10 +3259,26 @@ components: x-identifiers: - GlobalNetworkId - LinkId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Link&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::Link" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2519,7 +3291,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/links/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/links/methods/delete_resource' config: views: select: @@ -2548,6 +3321,7 @@ components: x-identifiers: - GlobalNetworkId - LinkId + x-type: get methods: update_resource: operation: @@ -2561,24 +3335,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::Link" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/link/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/link/methods/delete_resource' - x-type: get config: views: select: @@ -2630,10 +3389,26 @@ components: - GlobalNetworkId - DeviceId - LinkId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LinkAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::LinkAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2646,7 +3421,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/link_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/link_associations/methods/delete_resource' config: views: select: @@ -2678,24 +3454,10 @@ components: - GlobalNetworkId - DeviceId - LinkId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::LinkAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/link_association/methods/delete_resource' - x-type: get config: views: select: @@ -2730,10 +3492,26 @@ components: x-identifiers: - GlobalNetworkId - SiteId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Site&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::Site" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2746,7 +3524,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/sites/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/sites/methods/delete_resource' config: views: select: @@ -2775,6 +3554,7 @@ components: x-identifiers: - GlobalNetworkId - SiteId + x-type: get methods: update_resource: operation: @@ -2788,24 +3568,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::Site" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/site/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/site/methods/delete_resource' - x-type: get config: views: select: @@ -2849,10 +3614,26 @@ components: x-cfn-type-name: AWS::NetworkManager::SiteToSiteVpnAttachment x-identifiers: - AttachmentId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SiteToSiteVpnAttachment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::SiteToSiteVpnAttachment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2865,7 +3646,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/site_to_site_vpn_attachments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/site_to_site_vpn_attachments/methods/delete_resource' config: views: select: @@ -2891,6 +3673,7 @@ components: x-cfn-type-name: AWS::NetworkManager::SiteToSiteVpnAttachment x-identifiers: - AttachmentId + x-type: get methods: update_resource: operation: @@ -2904,24 +3687,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::SiteToSiteVpnAttachment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/site_to_site_vpn_attachment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/site_to_site_vpn_attachment/methods/delete_resource' - x-type: get config: views: select: @@ -2979,10 +3747,26 @@ components: x-cfn-type-name: AWS::NetworkManager::TransitGatewayPeering x-identifiers: - PeeringId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TransitGatewayPeering&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::TransitGatewayPeering" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2995,7 +3779,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/transit_gateway_peerings/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/transit_gateway_peerings/methods/delete_resource' config: views: select: @@ -3021,6 +3806,7 @@ components: x-cfn-type-name: AWS::NetworkManager::TransitGatewayPeering x-identifiers: - PeeringId + x-type: get methods: update_resource: operation: @@ -3034,24 +3820,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::TransitGatewayPeering" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/transit_gateway_peering/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/transit_gateway_peering/methods/delete_resource' - x-type: get config: views: select: @@ -3104,10 +3875,14 @@ components: x-identifiers: - GlobalNetworkId - TransitGatewayArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TransitGatewayRegistration&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3117,16 +3892,29 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/transit_gateway_registrations/methods/create_resource' - x-type: list - config: - views: - select: - predicate: sqlDialect == "sqlite3" - ddl: |- - SELECT + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::TransitGatewayRegistration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + sqlVerbs: + insert: + - $ref: '#/components/x-stackQL-resources/transit_gateway_registrations/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/transit_gateway_registrations/methods/delete_resource' + config: + views: + select: + predicate: sqlDialect == "sqlite3" + ddl: |- + SELECT region, JSON_EXTRACT(Properties, '$.GlobalNetworkId') as global_network_id, JSON_EXTRACT(Properties, '$.TransitGatewayArn') as transit_gateway_arn @@ -3149,24 +3937,10 @@ components: x-identifiers: - GlobalNetworkId - TransitGatewayArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::TransitGatewayRegistration" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/transit_gateway_registration/methods/delete_resource' - x-type: get config: views: select: @@ -3198,10 +3972,26 @@ components: x-cfn-type-name: AWS::NetworkManager::TransitGatewayRouteTableAttachment x-identifiers: - AttachmentId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TransitGatewayRouteTableAttachment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::TransitGatewayRouteTableAttachment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3214,7 +4004,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/transit_gateway_route_table_attachments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/transit_gateway_route_table_attachments/methods/delete_resource' config: views: select: @@ -3240,6 +4031,7 @@ components: x-cfn-type-name: AWS::NetworkManager::TransitGatewayRouteTableAttachment x-identifiers: - AttachmentId + x-type: get methods: update_resource: operation: @@ -3253,24 +4045,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::TransitGatewayRouteTableAttachment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/transit_gateway_route_table_attachment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/transit_gateway_route_table_attachment/methods/delete_resource' - x-type: get config: views: select: @@ -3330,10 +4107,26 @@ components: x-cfn-type-name: AWS::NetworkManager::VpcAttachment x-identifiers: - AttachmentId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcAttachment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NetworkManager::VpcAttachment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3346,7 +4139,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/vpc_attachments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/vpc_attachments/methods/delete_resource' config: views: select: @@ -3372,6 +4166,7 @@ components: x-cfn-type-name: AWS::NetworkManager::VpcAttachment x-identifiers: - AttachmentId + x-type: get methods: update_resource: operation: @@ -3385,24 +4180,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NetworkManager::VpcAttachment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/vpc_attachment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/vpc_attachment/methods/delete_resource' - x-type: get config: views: select: @@ -3600,8 +4380,598 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ConnectAttachment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConnectAttachment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConnectAttachmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ConnectPeer&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConnectPeer + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConnectPeerRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__CoreNetwork&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCoreNetwork + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCoreNetworkRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__CustomerGatewayAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCustomerGatewayAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCustomerGatewayAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Device&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDevice + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDeviceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__GlobalNetwork&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateGlobalNetwork + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateGlobalNetworkRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Link&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLink + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLinkRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LinkAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLinkAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLinkAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Site&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSite + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSiteRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SiteToSiteVpnAttachment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSiteToSiteVpnAttachment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSiteToSiteVpnAttachmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TransitGatewayPeering&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTransitGatewayPeering + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTransitGatewayPeeringRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TransitGatewayRegistration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTransitGatewayRegistration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTransitGatewayRegistrationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TransitGatewayRouteTableAttachment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTransitGatewayRouteTableAttachment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTransitGatewayRouteTableAttachmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VpcAttachment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVpcAttachment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVpcAttachmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/nimblestudio.yaml b/providers/src/aws/v00.00.00000/services/nimblestudio.yaml index 3ba67b65..e5017913 100644 --- a/providers/src/aws/v00.00.00000/services/nimblestudio.yaml +++ b/providers/src/aws/v00.00.00000/services/nimblestudio.yaml @@ -1230,6 +1230,244 @@ components: - ds:UnauthorizeApplication list: - nimble:ListStudioComponents + CreateLaunchProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 256 + minLength: 0 + description:The description.
+ Ec2SubnetIds: + type: array + items: + type: string + maxItems: 6 + minItems: 0 + description: |- +Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. + These subnets must support the specified instance types.
+ LaunchProfileId: + type: string + LaunchProfileProtocolVersions: + type: array + items: + type: string + maxLength: 10 + minLength: 0 + pattern: ^2021\-03\-31$ + description: |- +The version number of the protocol that is used by the launch profile. The only valid + version is "2021-03-31".
+ description: |- +The version number of the protocol that is used by the launch profile. The only valid + version is "2021-03-31".
+ Name: + type: string + maxLength: 64 + minLength: 1 + description:The name for the launch profile.
+ StreamConfiguration: + $ref: '#/components/schemas/StreamConfiguration' + StudioComponentIds: + type: array + items: + type: string + maxItems: 100 + minItems: 1 + description: |- +Unique identifiers for a collection of studio components that can be used with this + launch profile.
+ StudioId: + type: string + description:The studio ID.
+ Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateLaunchProfileRequest + type: object + required: [] + CreateStreamingImageRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 256 + minLength: 0 + description:A human-readable description of the streaming image.
+ Ec2ImageId: + type: string + pattern: ^ami-[0-9A-z]+$ + description:The ID of an EC2 machine image with which to create this streaming image.
+ EncryptionConfiguration: + $ref: '#/components/schemas/StreamingImageEncryptionConfiguration' + EulaIds: + type: array + items: + type: string + description:The list of EULAs that must be accepted before a Streaming Session can be started using this streaming image.
+ Name: + type: string + maxLength: 64 + minLength: 0 + description:A friendly name for a streaming image resource.
+ Owner: + type: string + description:The owner of the streaming image, either the studioId that contains the streaming image, or 'amazon' for images that are provided by Amazon Nimble Studio.
+ Platform: + type: string + pattern: ^[a-zA-Z]*$ + description:The platform of the streaming image, either WINDOWS or LINUX.
+ StreamingImageId: + type: string + StudioId: + type: string + description:The studioId.
+ Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateStreamingImageRequest + type: object + required: [] + CreateStudioRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AdminRoleArn: + type: string + description:The IAM role that Studio Admins will assume when logging in to the Nimble Studio portal.
+ DisplayName: + type: string + maxLength: 64 + minLength: 0 + description:A friendly name for the studio.
+ HomeRegion: + type: string + maxLength: 50 + minLength: 0 + pattern: '[a-z]{2}-?(iso|gov)?-{1}[a-z]*-{1}[0-9]' + description:The Amazon Web Services Region where the studio resource is located.
+ SsoClientId: + type: string + description:The Amazon Web Services SSO application client ID used to integrate with Amazon Web Services SSO to enable Amazon Web Services SSO users to log in to Nimble Studio portal.
+ StudioEncryptionConfiguration: + $ref: '#/components/schemas/StudioEncryptionConfiguration' + StudioId: + type: string + StudioName: + type: string + maxLength: 64 + minLength: 3 + pattern: ^[a-z0-9]*$ + description:The studio name that is used in the URL of the Nimble Studio portal when accessed by Nimble Studio users.
+ StudioUrl: + type: string + description:The address of the web page for the studio.
+ Tags: + $ref: '#/components/schemas/Tags' + UserRoleArn: + type: string + description:The IAM role that Studio Users will assume when logging in to the Nimble Studio portal.
+ x-stackQL-stringOnly: true + x-title: CreateStudioRequest + type: object + required: [] + CreateStudioComponentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Configuration: + $ref: '#/components/schemas/StudioComponentConfiguration' + Description: + type: string + maxLength: 256 + minLength: 0 + description:The description.
+ Ec2SecurityGroupIds: + type: array + items: + type: string + maxItems: 30 + minItems: 0 + description:The EC2 security groups that control access to the studio component.
+ InitializationScripts: + type: array + items: + $ref: '#/components/schemas/StudioComponentInitializationScript' + description:Initialization scripts for studio components.
+ Name: + type: string + maxLength: 64 + minLength: 0 + description:The name for the studio component.
+ RuntimeRoleArn: + type: string + maxLength: 2048 + minLength: 0 + ScriptParameters: + type: array + items: + $ref: '#/components/schemas/ScriptParameterKeyValue' + maxItems: 30 + minItems: 0 + description:Parameters for the studio component scripts.
+ SecureInitializationRoleArn: + type: string + maxLength: 2048 + minLength: 0 + StudioComponentId: + type: string + StudioId: + type: string + description:The studio ID.
+ Subtype: + $ref: '#/components/schemas/StudioComponentSubtype' + Tags: + $ref: '#/components/schemas/Tags' + Type: + $ref: '#/components/schemas/StudioComponentType' + x-stackQL-stringOnly: true + x-title: CreateStudioComponentRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1246,10 +1484,26 @@ components: x-identifiers: - LaunchProfileId - StudioId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LaunchProfile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NimbleStudio::LaunchProfile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1262,7 +1516,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/launch_profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/launch_profiles/methods/delete_resource' config: views: select: @@ -1291,6 +1546,7 @@ components: x-identifiers: - LaunchProfileId - StudioId + x-type: get methods: update_resource: operation: @@ -1304,24 +1560,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NimbleStudio::LaunchProfile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/launch_profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/launch_profile/methods/delete_resource' - x-type: get config: views: select: @@ -1368,10 +1609,26 @@ components: x-identifiers: - StudioId - StreamingImageId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StreamingImage&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NimbleStudio::StreamingImage" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1384,7 +1641,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/streaming_images/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/streaming_images/methods/delete_resource' config: views: select: @@ -1413,6 +1671,7 @@ components: x-identifiers: - StudioId - StreamingImageId + x-type: get methods: update_resource: operation: @@ -1426,24 +1685,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NimbleStudio::StreamingImage" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/streaming_image/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/streaming_image/methods/delete_resource' - x-type: get config: views: select: @@ -1491,10 +1735,26 @@ components: x-cfn-type-name: AWS::NimbleStudio::Studio x-identifiers: - StudioId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Studio&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NimbleStudio::Studio" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1507,7 +1767,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/studios/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/studios/methods/delete_resource' config: views: select: @@ -1533,6 +1794,7 @@ components: x-cfn-type-name: AWS::NimbleStudio::Studio x-identifiers: - StudioId + x-type: get methods: update_resource: operation: @@ -1546,24 +1808,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NimbleStudio::Studio" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/studio/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/studio/methods/delete_resource' - x-type: get config: views: select: @@ -1612,10 +1859,26 @@ components: x-identifiers: - StudioComponentId - StudioId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StudioComponent&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::NimbleStudio::StudioComponent" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1628,7 +1891,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/studio_components/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/studio_components/methods/delete_resource' config: views: select: @@ -1657,6 +1921,7 @@ components: x-identifiers: - StudioComponentId - StudioId + x-type: get methods: update_resource: operation: @@ -1670,24 +1935,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::NimbleStudio::StudioComponent" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/studio_component/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/studio_component/methods/delete_resource' - x-type: get config: views: select: @@ -1877,8 +2127,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__LaunchProfile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLaunchProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLaunchProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StreamingImage&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStreamingImage + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStreamingImageRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Studio&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStudio + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStudioRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StudioComponent&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStudioComponent + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStudioComponentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/oam.yaml b/providers/src/aws/v00.00.00000/services/oam.yaml index 80855495..50acfc68 100644 --- a/providers/src/aws/v00.00.00000/services/oam.yaml +++ b/providers/src/aws/v00.00.00000/services/oam.yaml @@ -565,6 +565,98 @@ components: - oam:GetSink - oam:TagResource - oam:UntagResource + CreateLinkRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 2048 + Label: + type: string + LabelTemplate: + type: string + maxLength: 64 + minLength: 1 + ResourceTypes: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/ResourceType' + maxItems: 50 + minItems: 1 + uniqueItems: true + SinkIdentifier: + type: string + maxLength: 2048 + minLength: 1 + LinkConfiguration: + $ref: '#/components/schemas/LinkConfiguration' + Tags: + description: Tags to apply to the link + type: object + additionalProperties: false + x-patternProperties: + ^(?!aws:.*)[a-zA-Z0-9\s\_\.\/\=\+\-]{1,128}$: + type: string + description: 'The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.' + pattern: ^(?!aws:.*)[a-zA-Z0-9\s\_\.\/\=\+\-]{0,256}$ + minLength: 0 + maxLength: 256 + x-stackQL-stringOnly: true + x-title: CreateLinkRequest + type: object + required: [] + CreateSinkRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon resource name (ARN) of the ObservabilityAccessManager Sink + type: string + maxLength: 2048 + Name: + description: The name of the ObservabilityAccessManager Sink. + type: string + minLength: 1 + maxLength: 255 + pattern: ^[a-zA-Z0-9_.-]+$ + Policy: + description: The policy of this ObservabilityAccessManager Sink. + type: object + Tags: + description: Tags to apply to the sink + type: object + additionalProperties: false + x-patternProperties: + ^(?!aws:.*)[a-zA-Z0-9\s\_\.\/\=\+\-]{1,128}$: + type: string + description: 'The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.' + pattern: ^(?!aws:.*)[a-zA-Z0-9\s\_\.\/\=\+\-]{0,256}$ + minLength: 0 + maxLength: 256 + x-stackQL-stringOnly: true + x-title: CreateSinkRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -580,10 +672,26 @@ components: x-cfn-type-name: AWS::Oam::Link x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Link&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Oam::Link" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -596,7 +704,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/links/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/links/methods/delete_resource' config: views: select: @@ -622,6 +731,7 @@ components: x-cfn-type-name: AWS::Oam::Link x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -635,24 +745,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Oam::Link" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/link/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/link/methods/delete_resource' - x-type: get config: views: select: @@ -694,10 +789,26 @@ components: x-cfn-type-name: AWS::Oam::Sink x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Sink&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Oam::Sink" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -710,7 +821,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/sinks/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/sinks/methods/delete_resource' config: views: select: @@ -736,6 +848,7 @@ components: x-cfn-type-name: AWS::Oam::Sink x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -749,24 +862,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Oam::Sink" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/sink/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/sink/methods/delete_resource' - x-type: get config: views: select: @@ -938,8 +1036,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Link&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLink + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLinkRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Sink&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSink + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSinkRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/omics.yaml b/providers/src/aws/v00.00.00000/services/omics.yaml index e2e6e81a..ee89dce3 100644 --- a/providers/src/aws/v00.00.00000/services/omics.yaml +++ b/providers/src/aws/v00.00.00000/services/omics.yaml @@ -1077,6 +1077,344 @@ components: - omics:GetWorkflow list: - omics:ListWorkflows + CreateAnnotationStoreRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CreationTime: + type: string + format: date-time + Description: + type: string + maxLength: 500 + minLength: 0 + Id: + type: string + pattern: ^[a-f0-9]{12}$ + Name: + type: string + pattern: ^([a-z]){1}([a-z0-9_]){2,254} + Reference: + $ref: '#/components/schemas/ReferenceItem' + SseConfig: + $ref: '#/components/schemas/SseConfig' + Status: + $ref: '#/components/schemas/StoreStatus' + StatusMessage: + type: string + maxLength: 1000 + minLength: 0 + StoreArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: |- + ^arn:([^: + ]*):([^: + ]*):([^: + ]*):([0-9]{12}):([^: + ]*)$ + StoreFormat: + $ref: '#/components/schemas/StoreFormat' + StoreOptions: + $ref: '#/components/schemas/StoreOptions' + StoreSizeBytes: + type: number + Tags: + $ref: '#/components/schemas/TagMap' + UpdateTime: + type: string + format: date-time + x-stackQL-stringOnly: true + x-title: CreateAnnotationStoreRequest + type: object + required: [] + CreateReferenceStoreRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 127 + minLength: 1 + pattern: ^arn:.+$ + description: The store's ARN. + CreationTime: + type: string + description: When the store was created. + format: date-time + Description: + type: string + maxLength: 255 + minLength: 1 + pattern: ^[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+$ + description: A description for the store. + Name: + type: string + maxLength: 127 + minLength: 1 + pattern: ^[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+$ + description: A name for the store. + ReferenceStoreId: + type: string + maxLength: 36 + minLength: 10 + pattern: ^[0-9]+$ + SseConfig: + $ref: '#/components/schemas/SseConfig' + Tags: + $ref: '#/components/schemas/TagMap' + x-stackQL-stringOnly: true + x-title: CreateReferenceStoreRequest + type: object + required: [] + CreateRunGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 128 + minLength: 1 + pattern: ^arn:.+$ + CreationTime: + type: string + format: date-time + Id: + type: string + maxLength: 18 + minLength: 1 + pattern: ^[0-9]+$ + MaxCpus: + type: number + maximum: 100000 + minimum: 1 + MaxGpus: + type: number + maximum: 100000 + minimum: 1 + MaxDuration: + type: number + maximum: 100000 + minimum: 1 + MaxRuns: + type: number + maximum: 100000 + minimum: 1 + Name: + type: string + maxLength: 128 + minLength: 1 + pattern: ^[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+$ + Tags: + $ref: '#/components/schemas/TagMap' + x-stackQL-stringOnly: true + x-title: CreateRunGroupRequest + type: object + required: [] + CreateSequenceStoreRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 127 + minLength: 1 + pattern: ^arn:.+$ + description: The store's ARN. + CreationTime: + type: string + description: When the store was created. + format: date-time + Description: + type: string + maxLength: 255 + minLength: 1 + pattern: ^[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+$ + description: A description for the store. + Name: + type: string + maxLength: 127 + minLength: 1 + pattern: ^[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+$ + description: A name for the store. + FallbackLocation: + type: string + minLength: 1 + pattern: ^s3:\/\/([a-z0-9][a-z0-9-.]{1,61}[a-z0-9])\/?((.{1,1024})\/)?$ + description: An S3 URI representing the bucket and folder to store failed read set uploads. + SequenceStoreId: + type: string + maxLength: 36 + minLength: 10 + pattern: ^[0-9]+$ + SseConfig: + $ref: '#/components/schemas/SseConfig' + Tags: + $ref: '#/components/schemas/TagMap' + x-stackQL-stringOnly: true + x-title: CreateSequenceStoreRequest + type: object + required: [] + CreateVariantStoreRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CreationTime: + type: string + format: date-time + Description: + type: string + maxLength: 500 + minLength: 0 + Id: + type: string + pattern: ^[a-f0-9]{12}$ + Name: + type: string + pattern: ^([a-z]){1}([a-z0-9_]){2,254} + Reference: + $ref: '#/components/schemas/ReferenceItem' + SseConfig: + $ref: '#/components/schemas/SseConfig' + Status: + $ref: '#/components/schemas/StoreStatus' + StatusMessage: + type: string + maxLength: 1000 + minLength: 0 + StoreArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: |- + ^arn:([^: + ]*):([^: + ]*):([^: + ]*):([0-9]{12}):([^: + ]*)$ + StoreSizeBytes: + type: number + Tags: + $ref: '#/components/schemas/TagMap' + UpdateTime: + type: string + format: date-time + x-stackQL-stringOnly: true + x-title: CreateVariantStoreRequest + type: object + required: [] + CreateWorkflowRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 128 + minLength: 1 + pattern: ^arn:.+$ + CreationTime: + type: string + format: date-time + DefinitionUri: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+$ + Description: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+$ + Engine: + $ref: '#/components/schemas/WorkflowEngine' + Id: + type: string + maxLength: 18 + minLength: 1 + pattern: ^[0-9]+$ + Main: + type: string + maxLength: 128 + minLength: 1 + pattern: ^[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+$ + Name: + type: string + maxLength: 128 + minLength: 1 + pattern: ^[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+$ + ParameterTemplate: + $ref: '#/components/schemas/WorkflowParameterTemplate' + Status: + $ref: '#/components/schemas/WorkflowStatus' + Accelerators: + $ref: '#/components/schemas/Accelerators' + StorageCapacity: + type: number + maximum: 100000 + minimum: 0 + Tags: + $ref: '#/components/schemas/TagMap' + Type: + $ref: '#/components/schemas/WorkflowType' + x-stackQL-stringOnly: true + x-title: CreateWorkflowRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1092,10 +1430,26 @@ components: x-cfn-type-name: AWS::Omics::AnnotationStore x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AnnotationStore&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Omics::AnnotationStore" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1108,7 +1462,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/annotation_stores/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/annotation_stores/methods/delete_resource' config: views: select: @@ -1134,6 +1489,7 @@ components: x-cfn-type-name: AWS::Omics::AnnotationStore x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1147,24 +1503,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Omics::AnnotationStore" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/annotation_store/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/annotation_store/methods/delete_resource' - x-type: get config: views: select: @@ -1220,10 +1561,26 @@ components: x-cfn-type-name: AWS::Omics::ReferenceStore x-identifiers: - ReferenceStoreId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ReferenceStore&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Omics::ReferenceStore" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1236,7 +1593,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/reference_stores/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/reference_stores/methods/delete_resource' config: views: select: @@ -1262,24 +1620,10 @@ components: x-cfn-type-name: AWS::Omics::ReferenceStore x-identifiers: - ReferenceStoreId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Omics::ReferenceStore" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/reference_store/methods/delete_resource' - x-type: get config: views: select: @@ -1321,10 +1665,26 @@ components: x-cfn-type-name: AWS::Omics::RunGroup x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RunGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Omics::RunGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1337,7 +1697,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/run_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/run_groups/methods/delete_resource' config: views: select: @@ -1363,6 +1724,7 @@ components: x-cfn-type-name: AWS::Omics::RunGroup x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1376,24 +1738,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Omics::RunGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/run_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/run_group/methods/delete_resource' - x-type: get config: views: select: @@ -1439,10 +1786,26 @@ components: x-cfn-type-name: AWS::Omics::SequenceStore x-identifiers: - SequenceStoreId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SequenceStore&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Omics::SequenceStore" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1455,7 +1818,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/sequence_stores/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/sequence_stores/methods/delete_resource' config: views: select: @@ -1481,24 +1845,10 @@ components: x-cfn-type-name: AWS::Omics::SequenceStore x-identifiers: - SequenceStoreId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Omics::SequenceStore" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/sequence_store/methods/delete_resource' - x-type: get config: views: select: @@ -1542,10 +1892,26 @@ components: x-cfn-type-name: AWS::Omics::VariantStore x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VariantStore&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Omics::VariantStore" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1558,7 +1924,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/variant_stores/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/variant_stores/methods/delete_resource' config: views: select: @@ -1584,6 +1951,7 @@ components: x-cfn-type-name: AWS::Omics::VariantStore x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1597,24 +1965,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Omics::VariantStore" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/variant_store/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/variant_store/methods/delete_resource' - x-type: get config: views: select: @@ -1666,10 +2019,26 @@ components: x-cfn-type-name: AWS::Omics::Workflow x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Workflow&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Omics::Workflow" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1682,7 +2051,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/workflows/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/workflows/methods/delete_resource' config: views: select: @@ -1708,6 +2078,7 @@ components: x-cfn-type-name: AWS::Omics::Workflow x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1721,24 +2092,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Omics::Workflow" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/workflow/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/workflow/methods/delete_resource' - x-type: get config: views: select: @@ -1930,8 +2286,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AnnotationStore&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAnnotationStore + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAnnotationStoreRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ReferenceStore&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateReferenceStore + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateReferenceStoreRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RunGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRunGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRunGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SequenceStore&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSequenceStore + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSequenceStoreRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VariantStore&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVariantStore + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVariantStoreRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Workflow&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateWorkflow + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateWorkflowRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/opensearchserverless.yaml b/providers/src/aws/v00.00.00000/services/opensearchserverless.yaml index 9205f0f0..4156e281 100644 --- a/providers/src/aws/v00.00.00000/services/opensearchserverless.yaml +++ b/providers/src/aws/v00.00.00000/services/opensearchserverless.yaml @@ -917,6 +917,268 @@ components: list: - aoss:ListVpcEndpoints - ec2:DescribeVpcEndpoints + CreateAccessPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + type: string + maxLength: 32 + minLength: 3 + pattern: ^[a-z][a-z0-9-]{2,31}$ + description: The name of the policy + Type: + $ref: '#/components/schemas/AccessPolicyType' + Description: + type: string + maxLength: 1000 + minLength: 1 + description: The description of the policy + Policy: + type: string + minLength: 1 + maxLength: 20480 + pattern: '[\u0009\u000A\u000D\u0020-\u007E\u00A1-\u00FF]+' + description: The JSON policy document that is the content for the policy + x-stackQL-stringOnly: true + x-title: CreateAccessPolicyRequest + type: object + required: [] + CreateCollectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 1000 + description: The description of the collection + Id: + type: string + maxLength: 40 + minLength: 3 + description: The identifier of the collection + Name: + type: string + maxLength: 32 + minLength: 3 + pattern: ^[a-z][a-z0-9-]{2,31}$ + description: | + The name of the collection. + + The name must meet the following criteria: + Unique to your account and AWS Region + Starts with a lowercase letter + Contains only lowercase letters a-z, the numbers 0-9 and the hyphen (-) + Contains between 3 and 32 characters + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 50 + minItems: 0 + x-insertionOrder: false + description: List of tags to be added to the resource + Arn: + description: The Amazon Resource Name (ARN) of the collection. + type: string + CollectionEndpoint: + description: The endpoint for the collection. + type: string + DashboardEndpoint: + description: The OpenSearch Dashboards endpoint for the collection. + type: string + Type: + $ref: '#/components/schemas/CollectionType' + StandbyReplicas: + $ref: '#/components/schemas/StandbyReplicas' + x-stackQL-stringOnly: true + x-title: CreateCollectionRequest + type: object + required: [] + CreateLifecyclePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + type: string + maxLength: 32 + minLength: 3 + pattern: ^[a-z][a-z0-9-]+$ + description: The name of the policy + Type: + $ref: '#/components/schemas/LifecyclePolicyType' + Description: + type: string + maxLength: 1000 + minLength: 0 + description: The description of the policy + Policy: + type: string + minLength: 1 + maxLength: 20480 + pattern: '[\u0009\u000A\u000D\u0020-\u007E\u00A1-\u00FF]+' + description: The JSON policy document that is the content for the policy + x-stackQL-stringOnly: true + x-title: CreateLifecyclePolicyRequest + type: object + required: [] + CreateSecurityConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 1000 + minLength: 1 + description: Security config description + Id: + type: string + maxLength: 100 + minLength: 1 + description: The identifier of the security config + Name: + type: string + maxLength: 32 + minLength: 3 + pattern: ^[a-z][a-z0-9-]{2,31}$ + description: The friendly name of the security config + SamlOptions: + $ref: '#/components/schemas/SamlConfigOptions' + Type: + $ref: '#/components/schemas/SecurityConfigType' + x-stackQL-stringOnly: true + x-title: CreateSecurityConfigRequest + type: object + required: [] + CreateSecurityPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 1000 + minLength: 1 + description: The description of the policy + Policy: + type: string + maxLength: 20480 + minLength: 1 + pattern: '[\u0009\u000A\u000D\u0020-\u007E\u00A1-\u00FF]+' + description: The JSON policy document that is the content for the policy + Name: + type: string + maxLength: 32 + minLength: 3 + pattern: ^[a-z][a-z0-9-]{2,31}$ + description: The name of the policy + Type: + $ref: '#/components/schemas/SecurityPolicyType' + x-stackQL-stringOnly: true + x-title: CreateSecurityPolicyRequest + type: object + required: [] + CreateVpcEndpointRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + maxLength: 255 + minLength: 1 + pattern: ^vpce-[0-9a-z]*$ + description: The identifier of the VPC Endpoint + Name: + type: string + maxLength: 32 + minLength: 3 + pattern: ^[a-z][a-z0-9-]{2,31}$ + description: The name of the VPC Endpoint + SecurityGroupIds: + type: array + x-insertionOrder: false + items: + type: string + maxLength: 128 + minLength: 1 + pattern: ^[\w+\-]+$ + maxItems: 5 + minItems: 1 + description: The ID of one or more security groups to associate with the endpoint network interface + SubnetIds: + type: array + x-insertionOrder: false + items: + type: string + maxLength: 32 + minLength: 1 + pattern: ^subnet-([0-9a-f]{8}|[0-9a-f]{17})$ + maxItems: 6 + minItems: 1 + description: The ID of one or more subnets in which to create an endpoint network interface + VpcId: + type: string + maxLength: 255 + minLength: 1 + pattern: ^vpc-[0-9a-z]*$ + description: The ID of the VPC in which the endpoint will be used. + x-stackQL-stringOnly: true + x-title: CreateVpcEndpointRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -933,10 +1195,26 @@ components: x-identifiers: - Type - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AccessPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::OpenSearchServerless::AccessPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -949,7 +1227,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/access_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/access_policies/methods/delete_resource' config: views: select: @@ -978,6 +1257,7 @@ components: x-identifiers: - Type - Name + x-type: get methods: update_resource: operation: @@ -991,24 +1271,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::OpenSearchServerless::AccessPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/access_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/access_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1044,10 +1309,26 @@ components: x-cfn-type-name: AWS::OpenSearchServerless::Collection x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Collection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::OpenSearchServerless::Collection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1060,7 +1341,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/collections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/collections/methods/delete_resource' config: views: select: @@ -1086,6 +1368,7 @@ components: x-cfn-type-name: AWS::OpenSearchServerless::Collection x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1099,24 +1382,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::OpenSearchServerless::Collection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/collection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/collection/methods/delete_resource' - x-type: get config: views: select: @@ -1163,10 +1431,26 @@ components: x-identifiers: - Type - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LifecyclePolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::OpenSearchServerless::LifecyclePolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1179,7 +1463,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/lifecycle_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/lifecycle_policies/methods/delete_resource' config: views: select: @@ -1208,6 +1493,7 @@ components: x-identifiers: - Type - Name + x-type: get methods: update_resource: operation: @@ -1221,24 +1507,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::OpenSearchServerless::LifecyclePolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/lifecycle_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/lifecycle_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1274,10 +1545,26 @@ components: x-cfn-type-name: AWS::OpenSearchServerless::SecurityConfig x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SecurityConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::OpenSearchServerless::SecurityConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1290,7 +1577,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/security_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/security_configs/methods/delete_resource' config: views: select: @@ -1316,6 +1604,7 @@ components: x-cfn-type-name: AWS::OpenSearchServerless::SecurityConfig x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1329,24 +1618,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::OpenSearchServerless::SecurityConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/security_config/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/security_config/methods/delete_resource' - x-type: get config: views: select: @@ -1385,10 +1659,26 @@ components: x-identifiers: - Type - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SecurityPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::OpenSearchServerless::SecurityPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1401,7 +1691,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/security_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/security_policies/methods/delete_resource' config: views: select: @@ -1430,6 +1721,7 @@ components: x-identifiers: - Type - Name + x-type: get methods: update_resource: operation: @@ -1443,24 +1735,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::OpenSearchServerless::SecurityPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/security_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/security_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1496,10 +1773,26 @@ components: x-cfn-type-name: AWS::OpenSearchServerless::VpcEndpoint x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VpcEndpoint&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::OpenSearchServerless::VpcEndpoint" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1512,7 +1805,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/vpc_endpoints/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/vpc_endpoints/methods/delete_resource' config: views: select: @@ -1538,6 +1832,7 @@ components: x-cfn-type-name: AWS::OpenSearchServerless::VpcEndpoint x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1551,24 +1846,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::OpenSearchServerless::VpcEndpoint" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/vpc_endpoint/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/vpc_endpoint/methods/delete_resource' - x-type: get config: views: select: @@ -1742,8 +2022,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AccessPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccessPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccessPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Collection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCollection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCollectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LifecyclePolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLifecyclePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLifecyclePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SecurityConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSecurityConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSecurityConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SecurityPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSecurityPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSecurityPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VpcEndpoint&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVpcEndpoint + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVpcEndpointRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/opensearchservice.yaml b/providers/src/aws/v00.00.00000/services/opensearchservice.yaml index 88842f43..0f7e4cd7 100644 --- a/providers/src/aws/v00.00.00000/services/opensearchservice.yaml +++ b/providers/src/aws/v00.00.00000/services/opensearchservice.yaml @@ -748,6 +748,89 @@ components: delete: - es:DeleteDomain - es:DescribeDomain + CreateDomainRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ClusterConfig: + $ref: '#/components/schemas/ClusterConfig' + DomainName: + type: string + AccessPolicies: + type: object + IPAddressType: + type: string + EngineVersion: + type: string + AdvancedOptions: + type: object + additionalProperties: false + x-patternProperties: + '[a-zA-Z0-9]+': + type: string + LogPublishingOptions: + type: object + additionalProperties: false + x-patternProperties: + '[a-zA-Z0-9]+': + $ref: '#/components/schemas/LogPublishingOption' + SnapshotOptions: + $ref: '#/components/schemas/SnapshotOptions' + VPCOptions: + $ref: '#/components/schemas/VPCOptions' + NodeToNodeEncryptionOptions: + $ref: '#/components/schemas/NodeToNodeEncryptionOptions' + DomainEndpointOptions: + $ref: '#/components/schemas/DomainEndpointOptions' + CognitoOptions: + $ref: '#/components/schemas/CognitoOptions' + AdvancedSecurityOptions: + $ref: '#/components/schemas/AdvancedSecurityOptionsInput' + DomainEndpoint: + type: string + DomainEndpointV2: + type: string + DomainEndpoints: + type: object + additionalProperties: false + x-patternProperties: + ^.*$: + type: string + EBSOptions: + $ref: '#/components/schemas/EBSOptions' + Id: + type: string + Arn: + type: string + DomainArn: + type: string + EncryptionAtRestOptions: + $ref: '#/components/schemas/EncryptionAtRestOptions' + Tags: + description: An arbitrary set of tags (key-value pairs) for this Domain. + items: + $ref: '#/components/schemas/Tag' + type: array + uniqueItems: true + ServiceSoftwareOptions: + $ref: '#/components/schemas/ServiceSoftwareOptions' + OffPeakWindowOptions: + $ref: '#/components/schemas/OffPeakWindowOptions' + SoftwareUpdateOptions: + $ref: '#/components/schemas/SoftwareUpdateOptions' + x-stackQL-stringOnly: true + x-title: CreateDomainRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -763,10 +846,26 @@ components: x-cfn-type-name: AWS::OpenSearchService::Domain x-identifiers: - DomainName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::OpenSearchService::Domain" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -779,6 +878,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/domains/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/domains/methods/delete_resource' domain: name: domain id: aws.opensearchservice.domain @@ -786,6 +887,7 @@ components: x-cfn-type-name: AWS::OpenSearchService::Domain x-identifiers: - DomainName + x-type: get methods: update_resource: operation: @@ -799,24 +901,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::OpenSearchService::Domain" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/domain/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/domain/methods/delete_resource' - x-type: get config: views: select: @@ -1030,8 +1117,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDomain + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDomainRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/opsworkscm.yaml b/providers/src/aws/v00.00.00000/services/opsworkscm.yaml index 0ffdcd99..24eba88e 100644 --- a/providers/src/aws/v00.00.00000/services/opsworkscm.yaml +++ b/providers/src/aws/v00.00.00000/services/opsworkscm.yaml @@ -565,6 +565,111 @@ components: - opsworks-cm:ListTagsForResource read: - opsworks-cm:DescribeServers + CreateServerRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + KeyPair: + type: string + pattern: .* + maxLength: 10000 + EngineVersion: + type: string + maxLength: 10000 + ServiceRoleArn: + type: string + pattern: arn:aws:iam::[0-9]{12}:role/.* + maxLength: 10000 + DisableAutomatedBackup: + type: boolean + BackupId: + type: string + pattern: '[a-zA-Z][a-zA-Z0-9\-\.\:]*' + maxLength: 79 + EngineModel: + type: string + maxLength: 10000 + PreferredMaintenanceWindow: + type: string + pattern: ^((Mon|Tue|Wed|Thu|Fri|Sat|Sun):)?([0-1][0-9]|2[0-3]):[0-5][0-9]$ + maxLength: 10000 + AssociatePublicIpAddress: + type: boolean + InstanceProfileArn: + type: string + pattern: arn:aws:iam::[0-9]{12}:instance-profile/.* + maxLength: 10000 + CustomCertificate: + type: string + pattern: (?s)\s*-----BEGIN CERTIFICATE-----.+-----END CERTIFICATE-----\s* + maxLength: 2097152 + PreferredBackupWindow: + type: string + pattern: ^((Mon|Tue|Wed|Thu|Fri|Sat|Sun):)?([0-1][0-9]|2[0-3]):[0-5][0-9]$ + maxLength: 10000 + SecurityGroupIds: + type: array + uniqueItems: false + items: + type: string + maxLength: 10000 + SubnetIds: + type: array + uniqueItems: false + items: + type: string + maxLength: 10000 + CustomDomain: + type: string + pattern: ^(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9])\.)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])$ + maxLength: 253 + Endpoint: + type: string + maxLength: 10000 + CustomPrivateKey: + type: string + pattern: (?ms)\s*^-----BEGIN (?-s:.*)PRIVATE KEY-----$.*?^-----END (?-s:.*)PRIVATE KEY-----$\s* + maxLength: 4096 + ServerName: + type: string + minLength: 1 + maxLength: 40 + pattern: '[a-zA-Z][a-zA-Z0-9\-]*' + EngineAttributes: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/EngineAttribute' + BackupRetentionCount: + type: integer + minLength: 1 + Arn: + type: string + maxLength: 10000 + InstanceType: + type: string + maxLength: 10000 + Tags: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + Engine: + type: string + maxLength: 10000 + x-stackQL-stringOnly: true + x-title: CreateServerRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -580,10 +685,26 @@ components: x-cfn-type-name: AWS::OpsWorksCM::Server x-identifiers: - ServerName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Server&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::OpsWorksCM::Server" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -596,7 +717,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/servers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/servers/methods/delete_resource' config: views: select: @@ -622,6 +744,7 @@ components: x-cfn-type-name: AWS::OpsWorksCM::Server x-identifiers: - ServerName + x-type: get methods: update_resource: operation: @@ -635,24 +758,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::OpsWorksCM::Server" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/server/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/server/methods/delete_resource' - x-type: get config: views: select: @@ -862,8 +970,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Server&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateServer + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServerRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/organizations.yaml b/providers/src/aws/v00.00.00000/services/organizations.yaml index 2cdb687b..857e60e3 100644 --- a/providers/src/aws/v00.00.00000/services/organizations.yaml +++ b/providers/src/aws/v00.00.00000/services/organizations.yaml @@ -825,6 +825,285 @@ components: - organizations:DeleteResourcePolicy list: - organizations:DescribeResourcePolicy + CreateAccountRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccountName: + description: The friendly name of the member account. + type: string + pattern: '[\u0020-\u007E]+' + minLength: 1 + maxLength: 50 + Email: + description: The email address of the owner to assign to the new member account. + type: string + pattern: '[^\s@]+@[^\s@]+\.[^\s@]+' + minLength: 6 + maxLength: 64 + RoleName: + description: The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified. + type: string + default: OrganizationAccountAccessRole + pattern: '[\w+=,.@-]{1,64}' + minLength: 1 + maxLength: 64 + ParentIds: + description: List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root. + type: array + x-insertionOrder: false + uniqueItems: true + items: + type: string + pattern: ^(r-[0-9a-z]{4,32})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$ + Tags: + description: A list of tags that you want to attach to the newly created account. For each tag in the list, you must specify both a tag key and a value. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + AccountId: + description: If the account was created successfully, the unique identifier (ID) of the new account. + type: string + pattern: ^\d{12}$ + maxLength: 12 + Arn: + description: The Amazon Resource Name (ARN) of the account. + type: string + pattern: ^arn:aws.*:organizations::\d{12}:account\/o-[a-z0-9]{10,32}\/\d{12} + JoinedMethod: + description: The method by which the account joined the organization. + type: string + enum: + - INVITED + - CREATED + JoinedTimestamp: + description: The date the account became a part of the organization. + type: string + Status: + description: The status of the account in the organization. + type: string + enum: + - ACTIVE + - SUSPENDED + - PENDING_CLOSURE + x-stackQL-stringOnly: true + x-title: CreateAccountRequest + type: object + required: [] + CreateOrganizationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: The unique identifier (ID) of an organization. + type: string + pattern: ^o-[a-z0-9]{10,32}$ + Arn: + description: The Amazon Resource Name (ARN) of an organization. + type: string + pattern: ^arn:aws.*:organizations::\d{12}:organization\/o-[a-z0-9]{10,32} + FeatureSet: + description: Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality. + type: string + enum: + - ALL + - CONSOLIDATED_BILLING + default: ALL + ManagementAccountArn: + description: The Amazon Resource Name (ARN) of the account that is designated as the management account for the organization. + type: string + pattern: ^arn:aws.*:organizations::\d{12}:account\/o-[a-z0-9]{10,32}\/\d{12} + ManagementAccountId: + description: The unique identifier (ID) of the management account of an organization. + type: string + pattern: ^\d{12}$ + ManagementAccountEmail: + description: The email address that is associated with the AWS account that is designated as the management account for the organization. + type: string + pattern: '[^\s@]+@[^\s@]+\.[^\s@]+' + minLength: 6 + maxLength: 64 + RootId: + description: The unique identifier (ID) for the root. + type: string + pattern: ^r-[0-9a-z]{4,32}$ + maxLength: 64 + x-stackQL-stringOnly: true + x-title: CreateOrganizationRequest + type: object + required: [] + CreateOrganizationalUnitRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of this OU. + type: string + pattern: ^arn:aws.*:organizations::\d{12}:ou/o-[a-z0-9]{10,32}/ou-[0-9a-z]{4,32}-[0-9a-z]{8,32} + Id: + description: The unique identifier (ID) associated with this OU. + type: string + pattern: ^ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}$ + maxLength: 68 + Name: + description: The friendly name of this OU. + type: string + pattern: '[\s\S]*' + minLength: 1 + maxLength: 128 + ParentId: + description: The unique identifier (ID) of the parent root or OU that you want to create the new OU in. + type: string + pattern: ^(r-[0-9a-z]{4,32})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$ + maxLength: 100 + Tags: + description: A list of tags that you want to attach to the newly created OU. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateOrganizationalUnitRequest + type: object + required: [] + CreatePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Name of the Policy + type: string + pattern: '[\s\S]*' + minLength: 1 + maxLength: 128 + Type: + description: 'The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY' + type: string + enum: + - SERVICE_CONTROL_POLICY + - AISERVICES_OPT_OUT_POLICY + - BACKUP_POLICY + - TAG_POLICY + Content: + description: The Policy text content. For AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it. + type: object + pattern: '[\s\S]*' + minLength: 1 + maxLength: 1000000 + Description: + description: Human readable description of the policy + pattern: '[\s\S]*' + type: string + maxLength: 512 + TargetIds: + description: List of unique identifiers (IDs) of the root, OU, or account that you want to attach the policy to + type: array + x-insertionOrder: false + uniqueItems: true + items: + type: string + pattern: ^(r-[0-9a-z]{4,32})|(\d{12})|(ou-[0-9a-z]{4,32}-[a-z0-9]{8,32})$ + Tags: + description: A list of tags that you want to attach to the newly created policy. For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Id: + description: Id of the Policy + type: string + pattern: ^p-[0-9a-zA-Z_]{8,128}$ + maxLength: 130 + Arn: + description: ARN of the Policy + type: string + pattern: ^arn:aws.*:organizations::[0-9]{12}:policy/o-[a-z0-9]{10}/(service_control|tag|backup|aiservices_opt_out)_policy/p-[a-z0-9]{8} + AwsManaged: + description: A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it. + type: boolean + x-stackQL-stringOnly: true + x-title: CreatePolicyRequest + type: object + required: [] + CreateResourcePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: The unique identifier (ID) associated with this resource policy. + type: string + pattern: ^rp-[0-9a-zA-Z_]{4,128}$ + maxLength: 131 + Arn: + description: The Amazon Resource Name (ARN) of the resource policy. + type: string + pattern: ^arn:aws.*:organizations::\d{12}:resourcepolicy\/o-[a-z0-9]{10,32}\/rp-[0-9a-zA-Z_]{4,128} + Content: + description: The policy document. For AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it. + type: object + pattern: '[\s\S]*' + minLength: 1 + maxLength: 40000 + Tags: + description: A list of tags that you want to attach to the resource policy + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateResourcePolicyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -840,10 +1119,26 @@ components: x-cfn-type-name: AWS::Organizations::Account x-identifiers: - AccountId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Account&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Organizations::Account" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -856,7 +1151,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/accounts/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/accounts/methods/delete_resource' config: views: select: @@ -882,6 +1178,7 @@ components: x-cfn-type-name: AWS::Organizations::Account x-identifiers: - AccountId + x-type: get methods: update_resource: operation: @@ -895,24 +1192,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Organizations::Account" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/account/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/account/methods/delete_resource' - x-type: get config: views: select: @@ -960,10 +1242,26 @@ components: x-cfn-type-name: AWS::Organizations::Organization x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Organization&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Organizations::Organization" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -976,7 +1274,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/organizations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/organizations/methods/delete_resource' config: views: select: @@ -1002,6 +1301,7 @@ components: x-cfn-type-name: AWS::Organizations::Organization x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1015,24 +1315,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Organizations::Organization" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/organization/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/organization/methods/delete_resource' - x-type: get config: views: select: @@ -1074,10 +1359,26 @@ components: x-cfn-type-name: AWS::Organizations::OrganizationalUnit x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__OrganizationalUnit&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Organizations::OrganizationalUnit" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1090,7 +1391,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/organizational_units/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/organizational_units/methods/delete_resource' config: views: select: @@ -1116,6 +1418,7 @@ components: x-cfn-type-name: AWS::Organizations::OrganizationalUnit x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1129,24 +1432,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Organizations::OrganizationalUnit" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/organizational_unit/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/organizational_unit/methods/delete_resource' - x-type: get config: views: select: @@ -1184,10 +1472,26 @@ components: x-cfn-type-name: AWS::Organizations::Policy x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Policy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Organizations::Policy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1200,7 +1504,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/policies/methods/delete_resource' config: views: select: @@ -1226,6 +1531,7 @@ components: x-cfn-type-name: AWS::Organizations::Policy x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1239,24 +1545,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Organizations::Policy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/policy/methods/delete_resource' - x-type: get config: views: select: @@ -1302,10 +1593,26 @@ components: x-cfn-type-name: AWS::Organizations::ResourcePolicy x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourcePolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Organizations::ResourcePolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1318,7 +1625,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resource_policies/methods/delete_resource' config: views: select: @@ -1344,6 +1652,7 @@ components: x-cfn-type-name: AWS::Organizations::ResourcePolicy x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1357,24 +1666,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Organizations::ResourcePolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resource_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resource_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1546,8 +1840,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Account&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccount + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccountRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Organization&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateOrganization + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateOrganizationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__OrganizationalUnit&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateOrganizationalUnit + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateOrganizationalUnitRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Policy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourcePolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourcePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourcePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/osis.yaml b/providers/src/aws/v00.00.00000/services/osis.yaml index 2a7611c5..113f3133 100644 --- a/providers/src/aws/v00.00.00000/services/osis.yaml +++ b/providers/src/aws/v00.00.00000/services/osis.yaml @@ -599,6 +599,77 @@ components: - logs:ListLogDeliveries list: - osis:ListPipelines + CreatePipelineRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + BufferOptions: + $ref: '#/components/schemas/BufferOptions' + EncryptionAtRestOptions: + $ref: '#/components/schemas/EncryptionAtRestOptions' + LogPublishingOptions: + $ref: '#/components/schemas/LogPublishingOptions' + MaxUnits: + description: The maximum pipeline capacity, in Ingestion OpenSearch Compute Units (OCUs). + type: integer + minimum: 1 + maximum: 384 + MinUnits: + description: The minimum pipeline capacity, in Ingestion OpenSearch Compute Units (OCUs). + type: integer + minimum: 1 + maximum: 384 + PipelineConfigurationBody: + description: The Data Prepper pipeline configuration. + type: string + minLength: 1 + maxLength: 24000 + PipelineName: + description: Name of the OpenSearch Ingestion Service pipeline to create. Pipeline names are unique across the pipelines owned by an account within an AWS Region. + type: string + minLength: 3 + maxLength: 28 + pattern: '[a-z][a-z0-9\-]+' + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + VpcOptions: + $ref: '#/components/schemas/VpcOptions' + VpcEndpoints: + type: array + x-insertionOrder: false + description: The VPC interface endpoints that have access to the pipeline. + items: + $ref: '#/components/schemas/VpcEndpoint' + PipelineArn: + description: The Amazon Resource Name (ARN) of the pipeline. + type: string + minLength: 46 + maxLength: 76 + pattern: ^arn:(aws|aws\-cn|aws\-us\-gov|aws\-iso|aws\-iso\-b):osis:.+:pipeline\/.+$ + IngestEndpointUrls: + type: array + x-insertionOrder: false + description: A list of endpoints that can be used for ingesting data into a pipeline + items: + type: string + x-stackQL-stringOnly: true + x-title: CreatePipelineRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -614,10 +685,26 @@ components: x-cfn-type-name: AWS::OSIS::Pipeline x-identifiers: - PipelineArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Pipeline&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::OSIS::Pipeline" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -630,7 +717,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/pipelines/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/pipelines/methods/delete_resource' config: views: select: @@ -656,6 +744,7 @@ components: x-cfn-type-name: AWS::OSIS::Pipeline x-identifiers: - PipelineArn + x-type: get methods: update_resource: operation: @@ -669,24 +758,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::OSIS::Pipeline" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/pipeline/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/pipeline/methods/delete_resource' - x-type: get config: views: select: @@ -874,8 +948,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Pipeline&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePipeline + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePipelineRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/panorama.yaml b/providers/src/aws/v00.00.00000/services/panorama.yaml index 46e28b1b..eb1b8dbf 100644 --- a/providers/src/aws/v00.00.00000/services/panorama.yaml +++ b/providers/src/aws/v00.00.00000/services/panorama.yaml @@ -830,6 +830,125 @@ components: - s3:ListBucket - s3:GetObject - s3:GetObjectVersion + CreateApplicationInstanceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DefaultRuntimeContextDeviceName: + $ref: '#/components/schemas/DeviceName' + Status: + $ref: '#/components/schemas/ApplicationInstanceStatus' + DefaultRuntimeContextDevice: + $ref: '#/components/schemas/DefaultRuntimeContextDevice' + Description: + $ref: '#/components/schemas/Description' + ApplicationInstanceIdToReplace: + $ref: '#/components/schemas/ApplicationInstanceId' + CreatedTime: + $ref: '#/components/schemas/Timestamp' + HealthStatus: + $ref: '#/components/schemas/ApplicationInstanceHealthStatus' + ManifestOverridesPayload: + $ref: '#/components/schemas/ManifestOverridesPayload' + LastUpdatedTime: + $ref: '#/components/schemas/Timestamp' + RuntimeRoleArn: + $ref: '#/components/schemas/RuntimeRoleArn' + Name: + $ref: '#/components/schemas/Name' + ApplicationInstanceId: + $ref: '#/components/schemas/ApplicationInstanceId' + StatusDescription: + $ref: '#/components/schemas/ApplicationInstanceStatusDescription' + ManifestPayload: + $ref: '#/components/schemas/ManifestPayload' + Arn: + $ref: '#/components/schemas/ApplicationInstanceArn' + Tags: + $ref: '#/components/schemas/TagList' + x-stackQL-stringOnly: true + x-title: CreateApplicationInstanceRequest + type: object + required: [] + CreatePackageRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PackageName: + $ref: '#/components/schemas/NodePackageName' + PackageId: + $ref: '#/components/schemas/NodePackageId' + Arn: + $ref: '#/components/schemas/NodePackageArn' + StorageLocation: + $ref: '#/components/schemas/StorageLocation' + CreatedTime: + $ref: '#/components/schemas/Timestamp' + Tags: + $ref: '#/components/schemas/TagList' + x-stackQL-stringOnly: true + x-title: CreatePackageRequest + type: object + required: [] + CreatePackageVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + OwnerAccount: + $ref: '#/components/schemas/PackageOwnerAccount' + PackageId: + $ref: '#/components/schemas/NodePackageId' + PackageArn: + $ref: '#/components/schemas/NodePackageArn' + PackageVersion: + $ref: '#/components/schemas/NodePackageVersion' + PatchVersion: + $ref: '#/components/schemas/NodePackagePatchVersion' + MarkLatest: + type: boolean + IsLatestPatch: + type: boolean + PackageName: + $ref: '#/components/schemas/NodePackageName' + Status: + $ref: '#/components/schemas/PackageVersionStatus' + StatusDescription: + $ref: '#/components/schemas/PackageVersionStatusDescription' + RegisteredTime: + $ref: '#/components/schemas/TimeStamp' + UpdatedLatestPatchVersion: + $ref: '#/components/schemas/NodePackagePatchVersion' + x-stackQL-stringOnly: true + x-title: CreatePackageVersionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -845,10 +964,26 @@ components: x-cfn-type-name: AWS::Panorama::ApplicationInstance x-identifiers: - ApplicationInstanceId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ApplicationInstance&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Panorama::ApplicationInstance" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -861,7 +996,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/application_instances/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/application_instances/methods/delete_resource' config: views: select: @@ -887,6 +1023,7 @@ components: x-cfn-type-name: AWS::Panorama::ApplicationInstance x-identifiers: - ApplicationInstanceId + x-type: get methods: update_resource: operation: @@ -900,24 +1037,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Panorama::ApplicationInstance" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/application_instance/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/application_instance/methods/delete_resource' - x-type: get config: views: select: @@ -977,10 +1099,26 @@ components: x-cfn-type-name: AWS::Panorama::Package x-identifiers: - PackageId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Package&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Panorama::Package" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -993,7 +1131,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/packages/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/packages/methods/delete_resource' config: views: select: @@ -1019,6 +1158,7 @@ components: x-cfn-type-name: AWS::Panorama::Package x-identifiers: - PackageId + x-type: get methods: update_resource: operation: @@ -1032,24 +1172,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Panorama::Package" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/package/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/package/methods/delete_resource' - x-type: get config: views: select: @@ -1091,10 +1216,26 @@ components: - PackageId - PackageVersion - PatchVersion + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PackageVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Panorama::PackageVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1107,6 +1248,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/package_versions/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/package_versions/methods/delete_resource' package_version: name: package_version id: aws.panorama.package_version @@ -1116,6 +1259,7 @@ components: - PackageId - PackageVersion - PatchVersion + x-type: get methods: update_resource: operation: @@ -1129,24 +1273,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Panorama::PackageVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/package_version/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/package_version/methods/delete_resource' - x-type: get config: views: select: @@ -1334,8 +1463,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ApplicationInstance&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplicationInstance + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationInstanceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Package&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePackage + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePackageRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PackageVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePackageVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePackageVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/pcaconnectorad.yaml b/providers/src/aws/v00.00.00000/services/pcaconnectorad.yaml index 7a2be9ab..512d79fe 100644 --- a/providers/src/aws/v00.00.00000/services/pcaconnectorad.yaml +++ b/providers/src/aws/v00.00.00000/services/pcaconnectorad.yaml @@ -1376,6 +1376,166 @@ components: - pca-connector-ad:GetTemplateGroupAccessControlEntry list: - pca-connector-ad:ListTemplateGroupAccessControlEntries + CreateConnectorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CertificateAuthorityArn: + type: string + maxLength: 200 + minLength: 5 + pattern: ^arn:[\w-]+:acm-pca:[\w-]+:[0-9]+:certificate-authority(\/[\w-]+)$ + ConnectorArn: + type: string + maxLength: 200 + minLength: 5 + pattern: ^arn:[\w-]+:pca-connector-ad:[\w-]+:[0-9]+:connector(\/[\w-]+)$ + DirectoryId: + type: string + pattern: ^d-[0-9a-f]{10}$ + Tags: + $ref: '#/components/schemas/Tags' + VpcInformation: + $ref: '#/components/schemas/VpcInformation' + x-stackQL-stringOnly: true + x-title: CreateConnectorRequest + type: object + required: [] + CreateDirectoryRegistrationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DirectoryId: + type: string + pattern: ^d-[0-9a-f]{10}$ + DirectoryRegistrationArn: + type: string + maxLength: 200 + minLength: 5 + pattern: ^arn:[\w-]+:pca-connector-ad:[\w-]+:[0-9]+:directory-registration(\/[\w-]+)$ + Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateDirectoryRegistrationRequest + type: object + required: [] + CreateServicePrincipalNameRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConnectorArn: + type: string + maxLength: 200 + minLength: 5 + pattern: ^arn:[\w-]+:pca-connector-ad:[\w-]+:[0-9]+:connector(\/[\w-]+)$ + DirectoryRegistrationArn: + type: string + maxLength: 200 + minLength: 5 + pattern: ^arn:[\w-]+:pca-connector-ad:[\w-]+:[0-9]+:directory-registration(\/[\w-]+)$ + x-stackQL-stringOnly: true + x-title: CreateServicePrincipalNameRequest + type: object + required: [] + CreateTemplateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ConnectorArn: + type: string + maxLength: 200 + minLength: 5 + pattern: ^arn:[\w-]+:pca-connector-ad:[\w-]+:[0-9]+:connector\/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$ + Definition: + $ref: '#/components/schemas/TemplateDefinition' + Name: + type: string + maxLength: 64 + minLength: 1 + pattern: ^(?!^\s+$)((?![\x5c'\x2b,;<=>#\x22])([\x20-\x7E]))+$ + ReenrollAllCertificateHolders: + type: boolean + Tags: + $ref: '#/components/schemas/Tags' + TemplateArn: + type: string + maxLength: 200 + minLength: 5 + pattern: ^arn:[\w-]+:pca-connector-ad:[\w-]+:[0-9]+:connector\/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}\/template\/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$ + x-stackQL-stringOnly: true + x-title: CreateTemplateRequest + type: object + required: [] + CreateTemplateGroupAccessControlEntryRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessRights: + $ref: '#/components/schemas/AccessRights' + GroupDisplayName: + type: string + maxLength: 256 + minLength: 0 + pattern: ^[\x20-\x7E]+$ + GroupSecurityIdentifier: + type: string + maxLength: 256 + minLength: 7 + pattern: ^S-[0-9]-([0-9]+-){1,14}[0-9]+$ + TemplateArn: + type: string + maxLength: 200 + minLength: 5 + pattern: ^arn:[\w-]+:pca-connector-ad:[\w-]+:[0-9]+:connector(\/[\w-]+)\/template(\/[\w-]+)$ + x-stackQL-stringOnly: true + x-title: CreateTemplateGroupAccessControlEntryRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1391,10 +1551,26 @@ components: x-cfn-type-name: AWS::PCAConnectorAD::Connector x-identifiers: - ConnectorArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Connector&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::PCAConnectorAD::Connector" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1407,7 +1583,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/connectors/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/connectors/methods/delete_resource' config: views: select: @@ -1433,6 +1610,7 @@ components: x-cfn-type-name: AWS::PCAConnectorAD::Connector x-identifiers: - ConnectorArn + x-type: get methods: update_resource: operation: @@ -1446,24 +1624,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::PCAConnectorAD::Connector" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/connector/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/connector/methods/delete_resource' - x-type: get config: views: select: @@ -1501,10 +1664,26 @@ components: x-cfn-type-name: AWS::PCAConnectorAD::DirectoryRegistration x-identifiers: - DirectoryRegistrationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DirectoryRegistration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::PCAConnectorAD::DirectoryRegistration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1517,7 +1696,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/directory_registrations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/directory_registrations/methods/delete_resource' config: views: select: @@ -1543,6 +1723,7 @@ components: x-cfn-type-name: AWS::PCAConnectorAD::DirectoryRegistration x-identifiers: - DirectoryRegistrationArn + x-type: get methods: update_resource: operation: @@ -1556,24 +1737,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::PCAConnectorAD::DirectoryRegistration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/directory_registration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/directory_registration/methods/delete_resource' - x-type: get config: views: select: @@ -1608,10 +1774,26 @@ components: x-identifiers: - ConnectorArn - DirectoryRegistrationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ServicePrincipalName&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::PCAConnectorAD::ServicePrincipalName" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1624,7 +1806,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/service_principal_names/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/service_principal_names/methods/delete_resource' config: views: select: @@ -1653,24 +1836,10 @@ components: x-identifiers: - ConnectorArn - DirectoryRegistrationArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::PCAConnectorAD::ServicePrincipalName" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/service_principal_name/methods/delete_resource' - x-type: get config: views: select: @@ -1702,10 +1871,26 @@ components: x-cfn-type-name: AWS::PCAConnectorAD::Template x-identifiers: - TemplateArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Template&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::PCAConnectorAD::Template" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1718,7 +1903,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/templates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/templates/methods/delete_resource' config: views: select: @@ -1744,6 +1930,7 @@ components: x-cfn-type-name: AWS::PCAConnectorAD::Template x-identifiers: - TemplateArn + x-type: get methods: update_resource: operation: @@ -1757,24 +1944,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::PCAConnectorAD::Template" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/template/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/template/methods/delete_resource' - x-type: get config: views: select: @@ -1815,10 +1987,26 @@ components: x-identifiers: - GroupSecurityIdentifier - TemplateArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TemplateGroupAccessControlEntry&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::PCAConnectorAD::TemplateGroupAccessControlEntry" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1831,7 +2019,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/template_group_access_control_entries/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/template_group_access_control_entries/methods/delete_resource' config: views: select: @@ -1860,6 +2049,7 @@ components: x-identifiers: - GroupSecurityIdentifier - TemplateArn + x-type: get methods: update_resource: operation: @@ -1873,24 +2063,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::PCAConnectorAD::TemplateGroupAccessControlEntry" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/template_group_access_control_entry/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/template_group_access_control_entry/methods/delete_resource' - x-type: get config: views: select: @@ -2062,8 +2237,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Connector&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConnector + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConnectorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DirectoryRegistration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDirectoryRegistration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDirectoryRegistrationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ServicePrincipalName&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateServicePrincipalName + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServicePrincipalNameRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Template&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTemplate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTemplateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TemplateGroupAccessControlEntry&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTemplateGroupAccessControlEntry + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTemplateGroupAccessControlEntryRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/personalize.yaml b/providers/src/aws/v00.00.00000/services/personalize.yaml index 34ac739f..303d695c 100644 --- a/providers/src/aws/v00.00.00000/services/personalize.yaml +++ b/providers/src/aws/v00.00.00000/services/personalize.yaml @@ -835,6 +835,184 @@ components: - personalize:DescribeSolution list: - personalize:ListSolutions + CreateDatasetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name for the dataset + type: string + pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]* + minLength: 1 + maxLength: 63 + DatasetArn: + description: The ARN of the dataset + type: string + pattern: arn:([a-z\d-]+):personalize:.*:.*:.+ + maxLength: 256 + DatasetType: + description: The type of dataset + type: string + enum: + - Interactions + - Items + - Users + maxLength: 256 + DatasetGroupArn: + description: The Amazon Resource Name (ARN) of the dataset group to add the dataset to + type: string + maxLength: 256 + pattern: arn:([a-z\d-]+):personalize:.*:.*:.+ + SchemaArn: + description: The ARN of the schema to associate with the dataset. The schema defines the dataset fields. + type: string + maxLength: 256 + pattern: arn:([a-z\d-]+):personalize:.*:.*:.+ + DatasetImportJob: + $ref: '#/components/schemas/DatasetImportJob' + x-stackQL-stringOnly: true + x-title: CreateDatasetRequest + type: object + required: [] + CreateDatasetGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DatasetGroupArn: + description: The Amazon Resource Name (ARN) of the dataset group. + type: string + pattern: arn:([a-z\d-]+):personalize:.*:.*:.+ + maxLength: 256 + Name: + description: The name for the new dataset group. + type: string + minLength: 1 + maxLength: 63 + pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]* + KmsKeyArn: + description: The Amazon Resource Name(ARN) of a AWS Key Management Service (KMS) key used to encrypt the datasets. + type: string + maxLength: 2048 + pattern: arn:aws.*:kms:.*:[0-9]{12}:key/.* + RoleArn: + description: The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key. + type: string + pattern: arn:([a-z\d-]+):iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+ + minLength: 0 + maxLength: 256 + Domain: + description: The domain of a Domain dataset group. + type: string + enum: + - ECOMMERCE + - VIDEO_ON_DEMAND + x-stackQL-stringOnly: true + x-title: CreateDatasetGroupRequest + type: object + required: [] + CreateSchemaRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Name for the schema. + type: string + minLength: 1 + maxLength: 63 + pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]* + SchemaArn: + description: Arn for the schema. + type: string + maxLength: 256 + pattern: arn:([a-z\d-]+):personalize:.*:.*:.+ + Schema: + description: A schema in Avro JSON format. + type: string + maxLength: 10000 + Domain: + description: The domain of a Domain dataset group. + type: string + enum: + - ECOMMERCE + - VIDEO_ON_DEMAND + x-stackQL-stringOnly: true + x-title: CreateSchemaRequest + type: object + required: [] + CreateSolutionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name for the solution + type: string + minLength: 1 + maxLength: 63 + pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]* + SolutionArn: + $ref: '#/components/schemas/SolutionArn' + EventType: + description: When your have multiple event types (using an EVENT_TYPE schema field), this parameter specifies which event type (for example, 'click' or 'like') is used for training the model. If you do not provide an eventType, Amazon Personalize will use all interactions for training with equal weight regardless of type. + type: string + maxLength: 256 + DatasetGroupArn: + description: The ARN of the dataset group that provides the training data. + type: string + maxLength: 256 + pattern: arn:([a-z\d-]+):personalize:.*:.*:.+ + PerformAutoML: + description: Whether to perform automated machine learning (AutoML). The default is false. For this case, you must specify recipeArn. + type: boolean + PerformHPO: + description: Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe. The default is false. When performing AutoML, this parameter is always true and you should not set it to false. + type: boolean + RecipeArn: + description: The ARN of the recipe to use for model training. Only specified when performAutoML is false. + type: string + maxLength: 256 + pattern: arn:([a-z\d-]+):personalize:.*:.*:.+ + SolutionConfig: + $ref: '#/components/schemas/SolutionConfig' + x-stackQL-stringOnly: true + x-title: CreateSolutionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -850,10 +1028,26 @@ components: x-cfn-type-name: AWS::Personalize::Dataset x-identifiers: - DatasetArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Dataset&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Personalize::Dataset" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -866,7 +1060,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/datasets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/datasets/methods/delete_resource' config: views: select: @@ -892,6 +1087,7 @@ components: x-cfn-type-name: AWS::Personalize::Dataset x-identifiers: - DatasetArn + x-type: get methods: update_resource: operation: @@ -905,24 +1101,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Personalize::Dataset" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/dataset/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/dataset/methods/delete_resource' - x-type: get config: views: select: @@ -962,10 +1143,26 @@ components: x-cfn-type-name: AWS::Personalize::DatasetGroup x-identifiers: - DatasetGroupArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DatasetGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Personalize::DatasetGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -978,7 +1175,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/dataset_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/dataset_groups/methods/delete_resource' config: views: select: @@ -1004,24 +1202,10 @@ components: x-cfn-type-name: AWS::Personalize::DatasetGroup x-identifiers: - DatasetGroupArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Personalize::DatasetGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/dataset_group/methods/delete_resource' - x-type: get config: views: select: @@ -1059,10 +1243,26 @@ components: x-cfn-type-name: AWS::Personalize::Schema x-identifiers: - SchemaArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Schema&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Personalize::Schema" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1075,7 +1275,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/schemata/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/schemata/methods/delete_resource' config: views: select: @@ -1101,24 +1302,10 @@ components: x-cfn-type-name: AWS::Personalize::Schema x-identifiers: - SchemaArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Personalize::Schema" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/schema/methods/delete_resource' - x-type: get config: views: select: @@ -1154,10 +1341,26 @@ components: x-cfn-type-name: AWS::Personalize::Solution x-identifiers: - SolutionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Solution&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Personalize::Solution" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1170,7 +1373,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/solutions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/solutions/methods/delete_resource' config: views: select: @@ -1196,24 +1400,10 @@ components: x-cfn-type-name: AWS::Personalize::Solution x-identifiers: - SolutionArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Personalize::Solution" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/solution/methods/delete_resource' - x-type: get config: views: select: @@ -1393,8 +1583,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Dataset&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataset + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDatasetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DatasetGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDatasetGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDatasetGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Schema&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSchema + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSchemaRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Solution&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSolution + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSolutionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/pinpoint.yaml b/providers/src/aws/v00.00.00000/services/pinpoint.yaml index 31c39967..dc2dd60d 100644 --- a/providers/src/aws/v00.00.00000/services/pinpoint.yaml +++ b/providers/src/aws/v00.00.00000/services/pinpoint.yaml @@ -527,6 +527,47 @@ components: update: - mobiletargeting:UpdateInAppTemplate - mobiletargeting:GetInAppTemplate + CreateInAppTemplateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + Content: + x-insertionOrder: true + items: + $ref: '#/components/schemas/InAppMessageContent' + type: array + CustomConfig: + type: object + Layout: + enum: + - BOTTOM_BANNER + - TOP_BANNER + - OVERLAYS + - MOBILE_FEED + - MIDDLE_BANNER + - CAROUSEL + type: string + Tags: + type: object + TemplateDescription: + type: string + TemplateName: + type: string + x-stackQL-stringOnly: true + x-title: CreateInAppTemplateRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -542,10 +583,26 @@ components: x-cfn-type-name: AWS::Pinpoint::InAppTemplate x-identifiers: - TemplateName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__InAppTemplate&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Pinpoint::InAppTemplate" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -558,7 +615,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/in_app_templates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/in_app_templates/methods/delete_resource' config: views: select: @@ -584,6 +642,7 @@ components: x-cfn-type-name: AWS::Pinpoint::InAppTemplate x-identifiers: - TemplateName + x-type: get methods: update_resource: operation: @@ -597,24 +656,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Pinpoint::InAppTemplate" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/in_app_template/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/in_app_template/methods/delete_resource' - x-type: get config: views: select: @@ -792,8 +836,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__InAppTemplate&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateInAppTemplate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateInAppTemplateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/pipes.yaml b/providers/src/aws/v00.00.00000/services/pipes.yaml index 32a16bc5..b86be717 100644 --- a/providers/src/aws/v00.00.00000/services/pipes.yaml +++ b/providers/src/aws/v00.00.00000/services/pipes.yaml @@ -1649,6 +1649,83 @@ components: - logs:ListLogDeliveries list: - pipes:ListPipes + CreatePipeRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 1600 + minLength: 1 + pattern: ^arn:aws([a-z]|\-)*:([a-zA-Z0-9\-]+):([a-z]|\d|\-)*:([0-9]{12})?:(.+)$ + CreationTime: + type: string + format: date-time + CurrentState: + $ref: '#/components/schemas/PipeState' + Description: + type: string + maxLength: 512 + minLength: 0 + pattern: ^.*$ + DesiredState: + $ref: '#/components/schemas/RequestedPipeState' + Enrichment: + type: string + maxLength: 1600 + minLength: 0 + pattern: ^$|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1})?:(\d{12})?:(.+)$ + EnrichmentParameters: + $ref: '#/components/schemas/PipeEnrichmentParameters' + LastModifiedTime: + type: string + format: date-time + LogConfiguration: + $ref: '#/components/schemas/PipeLogConfiguration' + Name: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[\.\-_A-Za-z0-9]+$ + RoleArn: + type: string + maxLength: 1600 + minLength: 1 + pattern: ^arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z0-9+=,.@\-_/]+$ + Source: + type: string + maxLength: 1600 + minLength: 1 + pattern: ^smk://(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9]):[0-9]{1,5}|arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1})?:(\d{12})?:(.+)$ + SourceParameters: + $ref: '#/components/schemas/PipeSourceParameters' + StateReason: + type: string + maxLength: 512 + minLength: 0 + pattern: ^.*$ + Tags: + $ref: '#/components/schemas/TagMap' + Target: + type: string + maxLength: 1600 + minLength: 1 + pattern: ^arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-]+):([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1})?:(\d{12})?:(.+)$ + TargetParameters: + $ref: '#/components/schemas/PipeTargetParameters' + x-stackQL-stringOnly: true + x-title: CreatePipeRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1664,10 +1741,26 @@ components: x-cfn-type-name: AWS::Pipes::Pipe x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Pipe&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Pipes::Pipe" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1680,7 +1773,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/pipes/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/pipes/methods/delete_resource' config: views: select: @@ -1706,6 +1800,7 @@ components: x-cfn-type-name: AWS::Pipes::Pipe x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1719,24 +1814,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Pipes::Pipe" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/pipe/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/pipe/methods/delete_resource' - x-type: get config: views: select: @@ -1934,8 +2014,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Pipe&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePipe + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePipeRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/proton.yaml b/providers/src/aws/v00.00.00000/services/proton.yaml index c3a49cfa..1962ded7 100644 --- a/providers/src/aws/v00.00.00000/services/proton.yaml +++ b/providers/src/aws/v00.00.00000/services/proton.yaml @@ -683,6 +683,186 @@ components: - proton:GetServiceTemplate list: - proton:ListServiceTemplates + CreateEnvironmentAccountConnectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the environment account connection. + type: string + CodebuildRoleArn: + description: The Amazon Resource Name (ARN) of an IAM service role in the environment account. AWS Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account. + type: string + minLength: 1 + maxLength: 200 + pattern: ^arn:(aws|aws-cn|aws-us-gov):iam::\d{12}:role/([\w+=,.@-]{1,512}[/:])*([\w+=,.@-]{1,64})$ + ComponentRoleArn: + description: The Amazon Resource Name (ARN) of the IAM service role that AWS Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account. + type: string + minLength: 1 + maxLength: 200 + pattern: ^arn:(aws|aws-cn|aws-us-gov):iam::\d{12}:role/([\w+=,.@-]{1,512}[/:])*([\w+=,.@-]{1,64})$ + EnvironmentAccountId: + description: The environment account that's connected to the environment account connection. + type: string + pattern: ^\d{12}$ + EnvironmentName: + description: The name of the AWS Proton environment that's created in the associated management account. + type: string + pattern: ^[0-9A-Za-z]+[0-9A-Za-z_\-]*$ + minLength: 1 + maxLength: 100 + Id: + description: The ID of the environment account connection. + type: string + pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ + ManagementAccountId: + description: The ID of the management account that accepts or rejects the environment account connection. You create an manage the AWS Proton environment in this account. If the management account accepts the environment account connection, AWS Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account. + type: string + pattern: ^\d{12}$ + RoleArn: + description: The Amazon Resource Name (ARN) of the IAM service role that's created in the environment account. AWS Proton uses this role to provision infrastructure resources in the associated environment account. + type: string + minLength: 1 + maxLength: 200 + pattern: ^arn:(aws|aws-cn|aws-us-gov):iam::\d{12}:role/([\w+=,.@-]{1,512}[/:])*([\w+=,.@-]{1,64})$ + Status: + description: The status of the environment account connection. + $ref: '#/components/schemas/Status' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + uniqueItems: true + x-insertionOrder: false + description: |- +An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair.
+For more information, see Proton resources and tagging in the + Proton User Guide.
+ x-stackQL-stringOnly: true + x-title: CreateEnvironmentAccountConnectionRequest + type: object + required: [] + CreateEnvironmentTemplateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description:The Amazon Resource Name (ARN) of the environment template.
+ Description: + type: string + maxLength: 500 + minLength: 0 + description:A description of the environment template.
+ DisplayName: + type: string + maxLength: 100 + minLength: 1 + description:The environment template name as displayed in the developer interface.
+ EncryptionKey: + type: string + maxLength: 200 + minLength: 1 + pattern: ^arn:(aws|aws-cn|aws-us-gov):[a-zA-Z0-9-]+:[a-zA-Z0-9-]*:\d{12}:([\w+=,.@-]+[/:])*[\w+=,.@-]+$ + description:A customer provided encryption key that Proton uses to encrypt data.
+ Name: + type: string + maxLength: 100 + minLength: 1 + pattern: ^[0-9A-Za-z]+[0-9A-Za-z_\-]*$ + Provisioning: + $ref: '#/components/schemas/Provisioning' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 50 + minItems: 0 + uniqueItems: true + description: |- +An optional list of metadata items that you can associate with the Proton environment template. A tag is a key-value pair.
+For more information, see Proton resources and tagging in the + Proton User Guide.
+ x-stackQL-stringOnly: true + x-title: CreateEnvironmentTemplateRequest + type: object + required: [] + CreateServiceTemplateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 200 + minLength: 1 + pattern: ^arn:(aws|aws-cn|aws-us-gov):[a-zA-Z0-9-]+:[a-zA-Z0-9-]*:\d{12}:([\w+=,.@-]+[/:])*[\w+=,.@-]+$ + description:The Amazon Resource Name (ARN) of the service template.
+ Description: + type: string + maxLength: 500 + minLength: 0 + description:A description of the service template.
+ DisplayName: + type: string + maxLength: 100 + minLength: 1 + description:The name of the service template as displayed in the developer interface.
+ EncryptionKey: + type: string + maxLength: 200 + minLength: 1 + pattern: ^arn:(aws|aws-cn|aws-us-gov):[a-zA-Z0-9-]+:[a-zA-Z0-9-]*:\d{12}:([\w+=,.@-]+[/:])*[\w+=,.@-]+$ + description:A customer provided encryption key that's used to encrypt data.
+ Name: + type: string + maxLength: 100 + minLength: 1 + pattern: ^[0-9A-Za-z]+[0-9A-Za-z_\-]*$ + PipelineProvisioning: + $ref: '#/components/schemas/Provisioning' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 50 + minItems: 0 + uniqueItems: true + description: |- +An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.
+For more information, see Proton resources and tagging in the + Proton User Guide.
+ x-stackQL-stringOnly: true + x-title: CreateServiceTemplateRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -698,10 +878,26 @@ components: x-cfn-type-name: AWS::Proton::EnvironmentAccountConnection x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EnvironmentAccountConnection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Proton::EnvironmentAccountConnection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -714,7 +910,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/environment_account_connections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/environment_account_connections/methods/delete_resource' config: views: select: @@ -740,6 +937,7 @@ components: x-cfn-type-name: AWS::Proton::EnvironmentAccountConnection x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -753,24 +951,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Proton::EnvironmentAccountConnection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/environment_account_connection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/environment_account_connection/methods/delete_resource' - x-type: get config: views: select: @@ -818,10 +1001,26 @@ components: x-cfn-type-name: AWS::Proton::EnvironmentTemplate x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EnvironmentTemplate&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Proton::EnvironmentTemplate" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -834,7 +1033,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/environment_templates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/environment_templates/methods/delete_resource' config: views: select: @@ -860,6 +1060,7 @@ components: x-cfn-type-name: AWS::Proton::EnvironmentTemplate x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -873,24 +1074,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Proton::EnvironmentTemplate" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/environment_template/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/environment_template/methods/delete_resource' - x-type: get config: views: select: @@ -932,10 +1118,26 @@ components: x-cfn-type-name: AWS::Proton::ServiceTemplate x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ServiceTemplate&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Proton::ServiceTemplate" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -948,7 +1150,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/service_templates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/service_templates/methods/delete_resource' config: views: select: @@ -974,6 +1177,7 @@ components: x-cfn-type-name: AWS::Proton::ServiceTemplate x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -987,24 +1191,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Proton::ServiceTemplate" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/service_template/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/service_template/methods/delete_resource' - x-type: get config: views: select: @@ -1182,8 +1371,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__EnvironmentAccountConnection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnvironmentAccountConnection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnvironmentAccountConnectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EnvironmentTemplate&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnvironmentTemplate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnvironmentTemplateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ServiceTemplate&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateServiceTemplate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServiceTemplateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/qldb.yaml b/providers/src/aws/v00.00.00000/services/qldb.yaml index a1ee2447..bbcc4dcb 100644 --- a/providers/src/aws/v00.00.00000/services/qldb.yaml +++ b/providers/src/aws/v00.00.00000/services/qldb.yaml @@ -487,6 +487,47 @@ components: - qldb:TagResource list: - qldb:listJournalKinesisStreamsForLedger + CreateStreamRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + LedgerName: + type: string + StreamName: + type: string + RoleArn: + $ref: '#/components/schemas/Arn' + InclusiveStartTime: + type: string + ExclusiveEndTime: + type: string + KinesisConfiguration: + $ref: '#/components/schemas/KinesisConfiguration' + Tags: + type: array + maxItems: 50 + x-insertionOrder: false + uniqueItems: true + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + Arn: + $ref: '#/components/schemas/Arn' + Id: + type: string + x-stackQL-stringOnly: true + x-title: CreateStreamRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -503,10 +544,26 @@ components: x-identifiers: - LedgerName - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Stream&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::QLDB::Stream" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -519,7 +576,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/streams/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/streams/methods/delete_resource' config: views: select: @@ -548,6 +606,7 @@ components: x-identifiers: - LedgerName - Id + x-type: get methods: update_resource: operation: @@ -561,24 +620,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::QLDB::Stream" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/qldb_stream/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/qldb_stream/methods/delete_resource' - x-type: get config: views: select: @@ -760,8 +804,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Stream&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStream + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStreamRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/quicksight.yaml b/providers/src/aws/v00.00.00000/services/quicksight.yaml index de1c316a..c0cf2768 100644 --- a/providers/src/aws/v00.00.00000/services/quicksight.yaml +++ b/providers/src/aws/v00.00.00000/services/quicksight.yaml @@ -12071,6 +12071,611 @@ components: - iam:PassRole list: - quicksight:ListVPCConnections + CreateAnalysisRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AnalysisId: + type: string + maxLength: 512 + minLength: 1 + pattern: '[\w\-]+' + Arn: + type: string + AwsAccountId: + type: string + maxLength: 12 + minLength: 12 + pattern: ^[0-9]{12}$ + CreatedTime: + type: string + format: date-time + DataSetArns: + type: array + items: + type: string + maxItems: 100 + minItems: 0 + Definition: + $ref: '#/components/schemas/AnalysisDefinition' + Errors: + type: array + items: + $ref: '#/components/schemas/AnalysisError' + minItems: 1 + LastUpdatedTime: + type: string + format: date-time + Name: + type: string + maxLength: 2048 + minLength: 1 + Parameters: + $ref: '#/components/schemas/Parameters' + Permissions: + type: array + items: + $ref: '#/components/schemas/ResourcePermission' + maxItems: 64 + minItems: 1 + Sheets: + type: array + items: + $ref: '#/components/schemas/Sheet' + maxItems: 20 + minItems: 0 + SourceEntity: + $ref: '#/components/schemas/AnalysisSourceEntity' + Status: + $ref: '#/components/schemas/ResourceStatus' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 1 + ThemeArn: + type: string + ValidationStrategy: + $ref: '#/components/schemas/ValidationStrategy' + x-stackQL-stringOnly: true + x-title: CreateAnalysisRequest + type: object + required: [] + CreateDashboardRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + AwsAccountId: + type: string + maxLength: 12 + minLength: 12 + pattern: ^[0-9]{12}$ + CreatedTime: + type: string + format: date-time + DashboardId: + type: string + maxLength: 512 + minLength: 1 + pattern: '[\w\-]+' + DashboardPublishOptions: + $ref: '#/components/schemas/DashboardPublishOptions' + Definition: + $ref: '#/components/schemas/DashboardVersionDefinition' + LastPublishedTime: + type: string + format: date-time + LastUpdatedTime: + type: string + format: date-time + LinkEntities: + type: array + items: + type: string + maxLength: 1024 + minLength: 1 + pattern: ^arn:aws[\w\-]*:quicksight:[\w\-]+:\d+:analysis/[\w\-]{1,512} + maxItems: 5 + minItems: 0 + LinkSharingConfiguration: + $ref: '#/components/schemas/LinkSharingConfiguration' + Name: + type: string + maxLength: 2048 + minLength: 1 + Parameters: + $ref: '#/components/schemas/Parameters' + Permissions: + type: array + items: + $ref: '#/components/schemas/ResourcePermission' + maxItems: 64 + minItems: 1 + SourceEntity: + $ref: '#/components/schemas/DashboardSourceEntity' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 1 + ThemeArn: + type: string + ValidationStrategy: + $ref: '#/components/schemas/ValidationStrategy' + Version: + $ref: '#/components/schemas/DashboardVersion' + VersionDescription: + type: string + maxLength: 512 + minLength: 1 + x-stackQL-stringOnly: true + x-title: CreateDashboardRequest + type: object + required: [] + CreateDataSetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description:The Amazon Resource Name (ARN) of the resource.
+ AwsAccountId: + type: string + maxLength: 12 + minLength: 12 + pattern: ^[0-9]{12}$ + ColumnGroups: + type: array + items: + $ref: '#/components/schemas/ColumnGroup' + maxItems: 8 + minItems: 1 + description:Groupings of columns that work together in certain QuickSight features. Currently, only geospatial hierarchy is supported.
+ ColumnLevelPermissionRules: + type: array + items: + $ref: '#/components/schemas/ColumnLevelPermissionRule' + minItems: 1 + ConsumedSpiceCapacityInBytes: + type: number + description: |- +The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't + imported into SPICE.
+ CreatedTime: + type: string + description:The time that this dataset was created.
+ format: string + DataSetId: + type: string + DatasetParameters: + type: array + items: + $ref: '#/components/schemas/DatasetParameter' + maxItems: 32 + minItems: 1 + description:The parameters declared in the dataset.
+ FieldFolders: + $ref: '#/components/schemas/FieldFolderMap' + ImportMode: + $ref: '#/components/schemas/DataSetImportMode' + LastUpdatedTime: + type: string + description:The last time that this dataset was updated.
+ format: string + LogicalTableMap: + $ref: '#/components/schemas/LogicalTableMap' + Name: + type: string + maxLength: 128 + minLength: 1 + description:The display name for the dataset.
+ OutputColumns: + type: array + items: + $ref: '#/components/schemas/OutputColumn' + description: |- +The list of columns after all transforms. These columns are available in templates, + analyses, and dashboards.
+ Permissions: + type: array + items: + $ref: '#/components/schemas/ResourcePermission' + maxItems: 64 + minItems: 1 + description:A list of resource permissions on the dataset.
+ PhysicalTableMap: + $ref: '#/components/schemas/PhysicalTableMap' + RowLevelPermissionDataSet: + $ref: '#/components/schemas/RowLevelPermissionDataSet' + RowLevelPermissionTagConfiguration: + $ref: '#/components/schemas/RowLevelPermissionTagConfiguration' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 1 + description:Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.
+ IngestionWaitPolicy: + $ref: '#/components/schemas/IngestionWaitPolicy' + DataSetUsageConfiguration: + $ref: '#/components/schemas/DataSetUsageConfiguration' + DataSetRefreshProperties: + $ref: '#/components/schemas/DataSetRefreshProperties' + x-stackQL-stringOnly: true + x-title: CreateDataSetRequest + type: object + required: [] + CreateDataSourceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AlternateDataSourceParameters: + type: array + items: + $ref: '#/components/schemas/DataSourceParameters' + maxItems: 50 + minItems: 1 + description: |- +A set of alternate data source parameters that you want to share for the credentials
+ stored with this data source. The credentials are applied in tandem with the data source
+ parameters when you copy a data source by using a create or update request. The API
+ operation compares the DataSourceParameters
structure that's in the request
+ with the structures in the AlternateDataSourceParameters
allow list. If the
+ structures are an exact match, the request is allowed to use the credentials from this
+ existing data source. If the AlternateDataSourceParameters
list is null,
+ the Credentials
originally used with this DataSourceParameters
+ are automatically allowed.
The Amazon Resource Name (ARN) of the data source.
+ AwsAccountId: + type: string + maxLength: 12 + minLength: 12 + pattern: ^[0-9]{12}$ + CreatedTime: + type: string + description:The time that this data source was created.
+ format: date-time + Credentials: + $ref: '#/components/schemas/DataSourceCredentials' + DataSourceId: + type: string + DataSourceParameters: + $ref: '#/components/schemas/DataSourceParameters' + ErrorInfo: + $ref: '#/components/schemas/DataSourceErrorInfo' + LastUpdatedTime: + type: string + description:The last time that this data source was updated.
+ format: date-time + Name: + type: string + maxLength: 128 + minLength: 1 + description:A display name for the data source.
+ Permissions: + type: array + items: + $ref: '#/components/schemas/ResourcePermission' + maxItems: 64 + minItems: 1 + description:A list of resource permissions on the data source.
+ SslProperties: + $ref: '#/components/schemas/SslProperties' + Status: + $ref: '#/components/schemas/ResourceStatus' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 1 + description:Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
+ Type: + $ref: '#/components/schemas/DataSourceType' + VpcConnectionProperties: + $ref: '#/components/schemas/VpcConnectionProperties' + x-stackQL-stringOnly: true + x-title: CreateDataSourceRequest + type: object + required: [] + CreateRefreshScheduleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + description:The Amazon Resource Name (ARN) of the data source.
+ AwsAccountId: + type: string + maxLength: 12 + minLength: 12 + pattern: ^[0-9]{12}$ + DataSetId: + type: string + Schedule: + $ref: '#/components/schemas/RefreshScheduleMap' + x-stackQL-stringOnly: true + x-title: CreateRefreshScheduleRequest + type: object + required: [] + CreateTemplateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + AwsAccountId: + type: string + maxLength: 12 + minLength: 12 + pattern: ^[0-9]{12}$ + CreatedTime: + type: string + format: date-time + Definition: + $ref: '#/components/schemas/TemplateVersionDefinition' + LastUpdatedTime: + type: string + format: date-time + Name: + type: string + maxLength: 2048 + minLength: 1 + Permissions: + type: array + items: + $ref: '#/components/schemas/ResourcePermission' + maxItems: 64 + minItems: 1 + SourceEntity: + $ref: '#/components/schemas/TemplateSourceEntity' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 1 + TemplateId: + type: string + maxLength: 512 + minLength: 1 + pattern: '[\w\-]+' + ValidationStrategy: + $ref: '#/components/schemas/ValidationStrategy' + Version: + $ref: '#/components/schemas/TemplateVersion' + VersionDescription: + type: string + maxLength: 512 + minLength: 1 + x-stackQL-stringOnly: true + x-title: CreateTemplateRequest + type: object + required: [] + CreateThemeRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + AwsAccountId: + type: string + maxLength: 12 + minLength: 12 + pattern: ^[0-9]{12}$ + BaseThemeId: + type: string + maxLength: 512 + minLength: 1 + pattern: '[\w\-]+' + Configuration: + $ref: '#/components/schemas/ThemeConfiguration' + CreatedTime: + type: string + format: date-time + LastUpdatedTime: + type: string + format: date-time + Name: + type: string + maxLength: 2048 + minLength: 1 + Permissions: + type: array + items: + $ref: '#/components/schemas/ResourcePermission' + maxItems: 64 + minItems: 1 + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 1 + ThemeId: + type: string + maxLength: 512 + minLength: 1 + pattern: '[\w\-]+' + Type: + $ref: '#/components/schemas/ThemeType' + Version: + $ref: '#/components/schemas/ThemeVersion' + VersionDescription: + type: string + maxLength: 512 + minLength: 1 + x-stackQL-stringOnly: true + x-title: CreateThemeRequest + type: object + required: [] + CreateTopicRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + AwsAccountId: + type: string + maxLength: 12 + minLength: 12 + pattern: ^[0-9]{12}$ + DataSets: + type: array + items: + $ref: '#/components/schemas/DatasetMetadata' + Description: + type: string + maxLength: 256 + minLength: 0 + Name: + type: string + maxLength: 128 + minLength: 1 + TopicId: + type: string + maxLength: 256 + minLength: 0 + pattern: ^[A-Za-z0-9-_.\\+]*$ + UserExperienceVersion: + $ref: '#/components/schemas/TopicUserExperienceVersion' + x-stackQL-stringOnly: true + x-title: CreateTopicRequest + type: object + required: [] + CreateVPCConnectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/Arn' + AwsAccountId: + type: string + maxLength: 12 + minLength: 12 + pattern: ^[0-9]{12}$ + Name: + type: string + maxLength: 128 + minLength: 1 + VPCConnectionId: + $ref: '#/components/schemas/VPCConnectionId' + VPCId: + $ref: '#/components/schemas/VPCId' + SecurityGroupIds: + $ref: '#/components/schemas/SecurityGroupIds' + SubnetIds: + $ref: '#/components/schemas/SubnetIds' + DnsResolvers: + $ref: '#/components/schemas/DnsResolvers' + Status: + $ref: '#/components/schemas/VPCConnectionResourceStatus' + AvailabilityStatus: + $ref: '#/components/schemas/VPCConnectionAvailabilityStatus' + NetworkInterfaces: + $ref: '#/components/schemas/NetworkInterfaces' + RoleArn: + $ref: '#/components/schemas/RoleArn' + CreatedTime: + type: string + format: date-time + LastUpdatedTime: + type: string + format: date-time + Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateVPCConnectionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -12087,10 +12692,26 @@ components: x-identifiers: - AnalysisId - AwsAccountId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Analysis&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::QuickSight::Analysis" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -12103,7 +12724,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/analyses/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/analyses/methods/delete_resource' config: views: select: @@ -12132,6 +12754,7 @@ components: x-identifiers: - AnalysisId - AwsAccountId + x-type: get methods: update_resource: operation: @@ -12145,24 +12768,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::QuickSight::Analysis" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/analysis/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/analysis/methods/delete_resource' - x-type: get config: views: select: @@ -12225,10 +12833,26 @@ components: x-identifiers: - AwsAccountId - DashboardId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Dashboard&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::QuickSight::Dashboard" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -12241,7 +12865,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/dashboards/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/dashboards/methods/delete_resource' config: views: select: @@ -12270,6 +12895,7 @@ components: x-identifiers: - AwsAccountId - DashboardId + x-type: get methods: update_resource: operation: @@ -12283,24 +12909,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::QuickSight::Dashboard" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/dashboard/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/dashboard/methods/delete_resource' - x-type: get config: views: select: @@ -12367,10 +12978,26 @@ components: x-identifiers: - AwsAccountId - DataSetId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DataSet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::QuickSight::DataSet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -12383,7 +13010,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/data_sets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/data_sets/methods/delete_resource' config: views: select: @@ -12412,6 +13040,7 @@ components: x-identifiers: - AwsAccountId - DataSetId + x-type: get methods: update_resource: operation: @@ -12425,24 +13054,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::QuickSight::DataSet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/data_set/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/data_set/methods/delete_resource' - x-type: get config: views: select: @@ -12515,10 +13129,26 @@ components: x-identifiers: - AwsAccountId - DataSourceId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DataSource&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::QuickSight::DataSource" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -12531,7 +13161,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/data_sources/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/data_sources/methods/delete_resource' config: views: select: @@ -12560,6 +13191,7 @@ components: x-identifiers: - AwsAccountId - DataSourceId + x-type: get methods: update_resource: operation: @@ -12573,24 +13205,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::QuickSight::DataSource" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/data_source/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/data_source/methods/delete_resource' - x-type: get config: views: select: @@ -12652,10 +13269,26 @@ components: - AwsAccountId - DataSetId - Schedule/ScheduleId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RefreshSchedule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::QuickSight::RefreshSchedule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -12668,7 +13301,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/refresh_schedules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/refresh_schedules/methods/delete_resource' config: views: select: @@ -12700,6 +13334,7 @@ components: - AwsAccountId - DataSetId - Schedule/ScheduleId + x-type: get methods: update_resource: operation: @@ -12713,24 +13348,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::QuickSight::RefreshSchedule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/refresh_schedule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/refresh_schedule/methods/delete_resource' - x-type: get config: views: select: @@ -12767,10 +13387,26 @@ components: x-identifiers: - AwsAccountId - TemplateId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Template&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::QuickSight::Template" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -12783,7 +13419,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/templates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/templates/methods/delete_resource' config: views: select: @@ -12812,6 +13449,7 @@ components: x-identifiers: - AwsAccountId - TemplateId + x-type: get methods: update_resource: operation: @@ -12825,24 +13463,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::QuickSight::Template" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/template/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/template/methods/delete_resource' - x-type: get config: views: select: @@ -12897,10 +13520,26 @@ components: x-identifiers: - ThemeId - AwsAccountId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Theme&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::QuickSight::Theme" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -12913,7 +13552,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/themes/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/themes/methods/delete_resource' config: views: select: @@ -12942,6 +13582,7 @@ components: x-identifiers: - ThemeId - AwsAccountId + x-type: get methods: update_resource: operation: @@ -12955,24 +13596,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::QuickSight::Theme" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/theme/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/theme/methods/delete_resource' - x-type: get config: views: select: @@ -13027,10 +13653,26 @@ components: x-identifiers: - AwsAccountId - TopicId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Topic&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::QuickSight::Topic" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -13043,7 +13685,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/topics/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/topics/methods/delete_resource' config: views: select: @@ -13072,6 +13715,7 @@ components: x-identifiers: - AwsAccountId - TopicId + x-type: get methods: update_resource: operation: @@ -13085,24 +13729,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::QuickSight::Topic" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/topic/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/topic/methods/delete_resource' - x-type: get config: views: select: @@ -13145,10 +13774,26 @@ components: x-identifiers: - AwsAccountId - VPCConnectionId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__VPCConnection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::QuickSight::VPCConnection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -13161,7 +13806,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/vpc_connections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/vpc_connections/methods/delete_resource' config: views: select: @@ -13190,6 +13836,7 @@ components: x-identifiers: - AwsAccountId - VPCConnectionId + x-type: get methods: update_resource: operation: @@ -13203,24 +13850,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::QuickSight::VPCConnection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/vpc_connection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/vpc_connection/methods/delete_resource' - x-type: get config: views: select: @@ -13414,8 +14046,388 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Analysis&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAnalysis + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAnalysisRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Dashboard&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDashboard + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDashboardRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DataSet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataSet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDataSetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DataSource&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataSource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDataSourceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RefreshSchedule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRefreshSchedule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRefreshScheduleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Template&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTemplate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTemplateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Theme&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTheme + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateThemeRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Topic&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTopic + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTopicRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VPCConnection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVPCConnection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVPCConnectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/ram.yaml b/providers/src/aws/v00.00.00000/services/ram.yaml index b0164a08..58bf5b13 100644 --- a/providers/src/aws/v00.00.00000/services/ram.yaml +++ b/providers/src/aws/v00.00.00000/services/ram.yaml @@ -479,6 +479,48 @@ components: list: - ram:ListPermissions - ram:ListPermissionVersions + CreatePermissionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + Name: + description: The name of the permission. + type: string + Version: + description: Version of the permission. + type: string + IsResourceTypeDefault: + description: Set to true to use this as the default permission. + type: boolean + PermissionType: + type: string + ResourceType: + description: The resource type this permission can be used with. + type: string + PolicyTemplate: + description: Policy template for the permission. + type: object + Tags: + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreatePermissionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -494,10 +536,26 @@ components: x-cfn-type-name: AWS::RAM::Permission x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Permission&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RAM::Permission" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -510,7 +568,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/permissions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/permissions/methods/delete_resource' config: views: select: @@ -536,6 +595,7 @@ components: x-cfn-type-name: AWS::RAM::Permission x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -549,24 +609,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RAM::Permission" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/permission/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/permission/methods/delete_resource' - x-type: get config: views: select: @@ -746,8 +791,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Permission&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePermission + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePermissionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/rds.yaml b/providers/src/aws/v00.00.00000/services/rds.yaml index 7949607c..ffa1440d 100644 --- a/providers/src/aws/v00.00.00000/services/rds.yaml +++ b/providers/src/aws/v00.00.00000/services/rds.yaml @@ -2725,6 +2725,1519 @@ components: - rds:RemoveTagsFromResource list: - rds:DescribeOptionGroups + CreateCustomDBEngineVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DatabaseInstallationFilesS3BucketName: + type: string + description: The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid bucket name is `my-custom-installation-files`. + minLength: 3 + maxLength: 63 + DatabaseInstallationFilesS3Prefix: + type: string + description: The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid bucket name is `123456789012/cev1`. If this setting isn't specified, no prefix is assumed. + minLength: 1 + maxLength: 255 + Description: + type: string + description: An optional description of your CEV. + minLength: 1 + maxLength: 1000 + Engine: + type: string + description: The database engine to use for your custom engine version (CEV). The only supported value is `custom-oracle-ee`. + minLength: 1 + maxLength: 35 + EngineVersion: + type: string + description: The name of your CEV. The name format is 19.customized_string . For example, a valid name is 19.my_cev1. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The combination of Engine and EngineVersion is unique per customer per Region. + minLength: 1 + maxLength: 60 + KMSKeyId: + type: string + description: The AWS KMS key identifier for an encrypted CEV. A symmetric KMS key is required for RDS Custom, but optional for Amazon RDS. + minLength: 1 + maxLength: 2048 + Manifest: + type: string + description: The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which they are listed. + minLength: 1 + maxLength: 51000 + DBEngineVersionArn: + type: string + description: The ARN of the custom engine version. + SourceCustomDbEngineVersionIdentifier: + type: string + description: The identifier of the source custom engine version. + UseAwsProvidedLatestImage: + type: boolean + description: A value that indicates whether AWS provided latest image is applied automatically to the Custom Engine Version. By default, AWS provided latest image is applied automatically. This value is only applied on create. + ImageId: + type: string + description: The identifier of Amazon Machine Image (AMI) used for CEV. + Status: + type: string + description: The availability status to be assigned to the CEV. + default: available + enum: + - available + - inactive + - inactive-except-restore + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateCustomDBEngineVersionRequest + type: object + required: [] + CreateDBClusterRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Endpoint: + $ref: '#/components/schemas/Endpoint' + ReadEndpoint: + $ref: '#/components/schemas/ReadEndpoint' + AllocatedStorage: + description: The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. + type: integer + AssociatedRoles: + description: Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf. + type: array + uniqueItems: true + items: + $ref: '#/components/schemas/DBClusterRole' + AvailabilityZones: + description: A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see Choosing the Regions and Availability Zones in the Amazon Aurora User Guide. + type: array + uniqueItems: true + items: + type: string + AutoMinorVersionUpgrade: + description: A value that indicates whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically. + type: boolean + BacktrackWindow: + description: The target backtrack window, in seconds. To disable backtracking, set this value to 0. + default: 0 + minimum: 0 + type: integer + BackupRetentionPeriod: + description: The number of days for which automated backups are retained. + default: 1 + minimum: 1 + type: integer + CopyTagsToSnapshot: + description: A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster. The default is not to copy them. + type: boolean + DatabaseName: + description: The name of your database. If you don't provide a name, then Amazon RDS won't create a database in this DB cluster. For naming constraints, see Naming Constraints in the Amazon RDS User Guide. + type: string + DBClusterArn: + type: string + description: The Amazon Resource Name (ARN) for the DB cluster. + DBClusterInstanceClass: + description: The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge. + type: string + DBClusterResourceId: + description: The AWS Region-unique, immutable identifier for the DB cluster. + type: string + DBInstanceParameterGroupName: + description: The name of the DB parameter group to apply to all instances of the DB cluster. + type: string + DBSystemId: + description: Reserved for future use. + type: string + GlobalClusterIdentifier: + description: |- + If you are configuring an Aurora global database cluster and want your Aurora DB cluster to be a secondary member in the global database cluster, specify the global cluster ID of the global database cluster. To define the primary database cluster of the global cluster, use the AWS::RDS::GlobalCluster resource. + + If you aren't configuring a global database cluster, don't specify this property. + type: string + pattern: ^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$ + minLength: 0 + maxLength: 63 + DBClusterIdentifier: + description: The DB cluster identifier. This parameter is stored as a lowercase string. + type: string + pattern: ^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$ + minLength: 1 + maxLength: 63 + DBClusterParameterGroupName: + description: The name of the DB cluster parameter group to associate with this DB cluster. + type: string + default: default.aurora5.6 + DBSubnetGroupName: + description: A DB subnet group that you want to associate with this DB cluster. + type: string + DeletionProtection: + description: A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. + type: boolean + Domain: + description: The Active Directory directory ID to create the DB cluster in. + type: string + DomainIAMRoleName: + description: Specify the name of the IAM role to be used when making API calls to the Directory Service. + type: string + EnableCloudwatchLogsExports: + description: The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide. + type: array + uniqueItems: true + items: + type: string + EnableGlobalWriteForwarding: + description: Specifies whether to enable this DB cluster to forward write operations to the primary cluster of a global cluster (Aurora global database). By default, write operations are not allowed on Aurora DB clusters that are secondary clusters in an Aurora global database. + type: boolean + EnableHttpEndpoint: + description: A value that indicates whether to enable the HTTP endpoint for DB cluster. By default, the HTTP endpoint is disabled. + type: boolean + EnableIAMDatabaseAuthentication: + description: A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. + type: boolean + Engine: + description: 'The name of the database engine to be used for this DB cluster. Valid Values: aurora (for MySQL 5.6-compatible Aurora), aurora-mysql (for MySQL 5.7-compatible Aurora), and aurora-postgresql' + type: string + EngineMode: + description: The DB engine mode of the DB cluster, either provisioned, serverless, parallelquery, global, or multimaster. + type: string + EngineVersion: + description: The version number of the database engine to use. + type: string + ManageMasterUserPassword: + description: A value that indicates whether to manage the master user password with AWS Secrets Manager. + type: boolean + Iops: + description: The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. + type: integer + KmsKeyId: + description: The Amazon Resource Name (ARN) of the AWS Key Management Service master key that is used to encrypt the database instances in the DB cluster, such as arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef. If you enable the StorageEncrypted property but don't specify this property, the default master key is used. If you specify this property, you must set the StorageEncrypted property to true. + type: string + MasterUsername: + description: The name of the master user for the DB cluster. You must specify MasterUsername, unless you specify SnapshotIdentifier. In that case, don't specify MasterUsername. + type: string + pattern: ^[a-zA-Z]{1}[a-zA-Z0-9_]*$ + minLength: 1 + MasterUserPassword: + description: The master password for the DB instance. + type: string + MasterUserSecret: + $ref: '#/components/schemas/MasterUserSecret' + description: Contains the secret managed by RDS in AWS Secrets Manager for the master user password. + MonitoringInterval: + description: The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0. The default is 0. + type: integer + default: 0 + MonitoringRoleArn: + description: The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs. + type: string + NetworkType: + description: The network type of the DB cluster. + type: string + PerformanceInsightsEnabled: + description: A value that indicates whether to turn on Performance Insights for the DB cluster. + type: boolean + PerformanceInsightsKmsKeyId: + description: The Amazon Web Services KMS key identifier for encryption of Performance Insights data. + type: string + PerformanceInsightsRetentionPeriod: + description: The amount of time, in days, to retain Performance Insights data. + type: integer + Port: + description: 'The port number on which the instances in the DB cluster accept connections. Default: 3306 if engine is set as aurora or 5432 if set to aurora-postgresql.' + type: integer + PreferredBackupWindow: + description: The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide. + type: string + PreferredMaintenanceWindow: + description: The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. To see the time blocks available, see Adjusting the Preferred DB Cluster Maintenance Window in the Amazon Aurora User Guide. + type: string + PubliclyAccessible: + description: A value that indicates whether the DB cluster is publicly accessible. + type: boolean + ReplicationSourceIdentifier: + description: The Amazon Resource Name (ARN) of the source DB instance or DB cluster if this DB cluster is created as a Read Replica. + type: string + RestoreToTime: + description: 'The date and time to restore the DB cluster to. Value must be a time in Universal Coordinated Time (UTC) format. An example: 2015-03-07T23:45:00Z' + type: string + RestoreType: + description: |- + The type of restore to be performed. You can specify one of the following values: + full-copy - The new DB cluster is restored as a full copy of the source DB cluster. + copy-on-write - The new DB cluster is restored as a clone of the source DB cluster. + type: string + default: full-copy + ServerlessV2ScalingConfiguration: + description: Contains the scaling configuration of an Aurora Serverless v2 DB cluster. + $ref: '#/components/schemas/ServerlessV2ScalingConfiguration' + ScalingConfiguration: + description: The ScalingConfiguration property type specifies the scaling configuration of an Aurora Serverless DB cluster. + $ref: '#/components/schemas/ScalingConfiguration' + SnapshotIdentifier: + description: >- + The identifier for the DB snapshot or DB cluster snapshot to restore from. + + You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB snapshot. + + After you restore a DB cluster with a SnapshotIdentifier property, you must specify the same SnapshotIdentifier property for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed. However, if you don't specify the SnapshotIdentifier property, an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is + different from the previous snapshot restore property, the DB cluster is restored from the specified SnapshotIdentifier property, and the original DB cluster is deleted. + type: string + SourceDBClusterIdentifier: + description: The identifier of the source DB cluster from which to restore. + type: string + SourceRegion: + description: The AWS Region which contains the source DB cluster when replicating a DB cluster. For example, us-east-1. + type: string + StorageEncrypted: + description: |- + Indicates whether the DB instance is encrypted. + If you specify the DBClusterIdentifier, SnapshotIdentifier, or SourceDBInstanceIdentifier property, don't specify this property. The value is inherited from the cluster, snapshot, or source DB instance. + type: boolean + StorageThroughput: + description: Specifies the storage throughput value for the DB cluster. This setting applies only to the gp3 storage type. + type: integer + StorageType: + description: Specifies the storage type to be associated with the DB cluster. + type: string + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + UseLatestRestorableTime: + description: A value that indicates whether to restore the DB cluster to the latest restorable backup time. By default, the DB cluster is not restored to the latest restorable backup time. + type: boolean + VpcSecurityGroupIds: + description: A list of EC2 VPC security groups to associate with this DB cluster. + uniqueItems: true + items: + type: string + type: array + x-stackQL-stringOnly: true + x-title: CreateDBClusterRequest + type: object + required: [] + CreateDBClusterParameterGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + description: A friendly description for this DB cluster parameter group. + type: string + Family: + description: The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a DB engine and engine version compatible with that DB cluster parameter group family. + type: string + Parameters: + description: An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request. + type: object + DBClusterParameterGroupName: + type: string + pattern: ^[a-zA-Z]{1}(?:-?[a-zA-Z0-9])*$ + Tags: + description: The list of tags for the cluster parameter group. + type: array + maxItems: 50 + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateDBClusterParameterGroupRequest + type: object + required: [] + CreateDBInstanceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AllocatedStorage: + type: string + description: |- + The amount of storage in gibibytes (GiB) to be initially allocated for the database instance. + If any value is set in the ``Iops`` parameter, ``AllocatedStorage`` must be at least 100 GiB, which corresponds to the minimum Iops value of 1,000. If you increase the ``Iops`` value (in 1,000 IOPS increments), then you must also increase the ``AllocatedStorage`` value (in 100-GiB increments). + *Amazon Aurora* + Not applicable. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume. + *Db2* + Constraints to the amount of storage for each storage type are the following: + + General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. + + Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. + + *MySQL* + Constraints to the amount of storage for each storage type are the following: + + General Purpose (SSD) storage (gp2): Must be an integer fro + pattern: ^[0-9]*$ + AllowMajorVersionUpgrade: + type: boolean + description: |- + A value that indicates whether major version upgrades are allowed. Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. + Constraints: Major version upgrades must be allowed when specifying a value for the ``EngineVersion`` parameter that is a different major version than the DB instance's current version. + AssociatedRoles: + type: array + items: + $ref: '#/components/schemas/DBInstanceRole' + description: |- + The IAMlong (IAM) roles associated with the DB instance. + *Amazon Aurora* + Not applicable. The associated roles are managed by the DB cluster. + AutoMinorVersionUpgrade: + type: boolean + description: A value that indicates whether minor engine upgrades are applied automatically to the DB instance during the maintenance window. By default, minor engine upgrades are applied automatically. + AutomaticBackupReplicationRegion: + type: string + description: The destination region for the backup replication of the DB instance. For more info, see [Replicating automated backups to another Region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReplicateBackups.html) in the *Amazon RDS User Guide*. + AvailabilityZone: + type: string + description: |- + The Availability Zone (AZ) where the database will be created. For information on AWS-Regions and Availability Zones, see [Regions and Availability Zones](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). + For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one. + Default: A random, system-chosen Availability Zone in the endpoint's AWS-Region. + Constraints: + + The ``AvailabilityZone`` parameter can't be specified if the DB instance is a Multi-AZ deployment. + + The specified Availability Zone must be in the same AWS-Region as the current endpoint. + + Example: ``us-east-1d`` + BackupRetentionPeriod: + type: integer + minimum: 0 + default: 1 + description: |- + The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. + *Amazon Aurora* + Not applicable. The retention period for automated backups is managed by the DB cluster. + Default: 1 + Constraints: + + Must be a value from 0 to 35 + + Can't be set to 0 if the DB instance is a source to read replicas + CACertificateIdentifier: + type: string + description: |- + The identifier of the CA certificate for this DB instance. + For more information, see [Using SSL/TLS to encrypt a connection to a DB instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html) in the *Amazon RDS User Guide* and [Using SSL/TLS to encrypt a connection to a DB cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL.html) in the *Amazon Aurora User Guide*. + CertificateDetails: + $ref: '#/components/schemas/CertificateDetails' + description: The details of the DB instance's server certificate. + CertificateRotationRestart: + type: boolean + description: |- + Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. + By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted. + Set this parameter only if you are *not* using SSL/TLS to connect to the DB instance. + If you are using SSL/TLS to connect to the DB instance, follow the appropriate instructions for your DB engine to rotate your SSL/TLS certificate: + + For more information about rotating your SSL/TLS certificate for RDS DB engines, see [Rotating Your SSL/TLS Certificate.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html) in the *Amazon RDS User Guide.* + + For more information about rotating your SSL/TLS certificate for Aurora DB engines, see [Rotating Your SSL/TLS Certificate](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.SSL-certificate-rotation.html) in the *Amazon Aurora User Gui + CharacterSetName: + type: string + description: |- + For supported engines, indicates that the DB instance should be associated with the specified character set. + *Amazon Aurora* + Not applicable. The character set is managed by the DB cluster. For more information, see [AWS::RDS::DBCluster](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html). + CopyTagsToSnapshot: + type: boolean + description: |- + Specifies whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied. + This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this value for an Aurora DB instance has no effect on the DB cluster setting. + CustomIAMInstanceProfile: + type: string + description: |- + The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. + This setting is required for RDS Custom. + Constraints: + + The profile must exist in your account. + + The profile must have an IAM role that Amazon EC2 has permissions to assume. + + The instance profile name and the associated IAM role name must start with the prefix ``AWSRDSCustom``. + + For the list of permissions required for the IAM role, see [Configure IAM and your VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-setup-orcl.html#custom-setup-orcl.iam-vpc) in the *Amazon RDS User Guide*. + DBClusterIdentifier: + type: string + description: The identifier of the DB cluster that the instance will belong to. + DBClusterSnapshotIdentifier: + type: string + description: |- + The identifier for the RDS for MySQL Multi-AZ DB cluster snapshot to restore from. + For more information on Multi-AZ DB clusters, see [Multi-AZ DB cluster deployments](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) in the *Amazon RDS User Guide*. + Constraints: + + Must match the identifier of an existing Multi-AZ DB cluster snapshot. + + Can't be specified when ``DBSnapshotIdentifier`` is specified. + + Must be specified when ``DBSnapshotIdentifier`` isn't specified. + + If you are restoring from a shared manual Multi-AZ DB cluster snapshot, the ``DBClusterSnapshotIdentifier`` must be the ARN of the shared snapshot. + + Can't be the identifier of an Aurora DB cluster snapshot. + + Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB cluster snapshot. + DBInstanceArn: + type: string + description: '' + DBInstanceClass: + type: string + description: |- + The compute and memory capacity of the DB instance, for example, ``db.m4.large``. Not all DB instance classes are available in all AWS Regions, or for all database engines. + For the full list of DB instance classes, and availability for your engine, see [DB Instance Class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the *Amazon RDS User Guide.* For more information about DB instance class pricing and AWS Region support for DB instance classes, see [Amazon RDS Pricing](https://docs.aws.amazon.com/rds/pricing/). + DBInstanceIdentifier: + type: string + pattern: ^$|^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$ + minLength: 1 + maxLength: 63 + description: |- + A name for the DB instance. If you specify a name, AWS CloudFormation converts it to lowercase. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the DB instance. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html). + For information about constraints that apply to DB instance identifiers, see [Naming constraints in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) in the *Amazon RDS User Guide*. + If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. + DbiResourceId: + type: string + description: '' + DBName: + type: string + description: |- + The meaning of this parameter differs according to the database engine you use. + If you specify the ``DBSnapshotIdentifier`` property, this property only applies to RDS for Oracle. + *Amazon Aurora* + Not applicable. The database name is managed by the DB cluster. + *Db2* + The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. + Constraints: + + Must contain 1 to 64 letters or numbers. + + Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9). + + Can't be a word reserved by the specified database engine. + + *MySQL* + The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. + Constraints: + + Must contain 1 to 64 letters or numbers. + + Can't be a word reserved by the specified database engine + + *MariaDB* + The name of the database to create when the DB instance is + DBParameterGroupName: + type: string + description: |- + The name of an existing DB parameter group or a reference to an [AWS::RDS::DBParameterGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html) resource created in the template. + To list all of the available DB parameter group names, use the following command: + ``aws rds describe-db-parameter-groups --query "DBParameterGroups[].DBParameterGroupName" --output text`` + If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot. + If you don't specify a value for ``DBParameterGroupName`` property, the default DB parameter group for the specified engine and engine version is used. + DBSecurityGroups: + type: array + uniqueItems: true + items: + type: string + description: |- + A list of the DB security groups to assign to the DB instance. The list can include both the name of existing DB security groups or references to AWS::RDS::DBSecurityGroup resources created in the template. + If you set DBSecurityGroups, you must not set VPCSecurityGroups, and vice versa. Also, note that the DBSecurityGroups property exists only for backwards compatibility with older regions and is no longer recommended for providing security information to an RDS DB instance. Instead, use VPCSecurityGroups. + If you specify this property, AWS CloudFormation sends only the following properties (if specified) to Amazon RDS during create operations: + + ``AllocatedStorage`` + + ``AutoMinorVersionUpgrade`` + + ``AvailabilityZone`` + + ``BackupRetentionPeriod`` + + ``CharacterSetName`` + + ``DBInstanceClass`` + + ``DBName`` + + ``DBParameterGroupName`` + + ``DBSecurityGroups`` + + ``DBSubnetGroupName`` + + ``Engine`` + + ``EngineVersion`` + + ``Iops`` + + ``LicenseModel`` + + + DBSnapshotIdentifier: + type: string + description: |- + The name or Amazon Resource Name (ARN) of the DB snapshot that's used to restore the DB instance. If you're restoring from a shared manual DB snapshot, you must specify the ARN of the snapshot. + By specifying this property, you can create a DB instance from the specified DB snapshot. If the ``DBSnapshotIdentifier`` property is an empty string or the ``AWS::RDS::DBInstance`` declaration has no ``DBSnapshotIdentifier`` property, AWS CloudFormation creates a new database. If the property contains a value (other than an empty string), AWS CloudFormation creates a database from the specified snapshot. If a snapshot with the specified name doesn't exist, AWS CloudFormation can't create the database and it rolls back the stack. + Some DB instance properties aren't valid when you restore from a snapshot, such as the ``MasterUsername`` and ``MasterUserPassword`` properties. For information about the properties that you can specify, see the ``RestoreDBInstanceFromDBSnapshot`` action in the *Amazo + DBSubnetGroupName: + type: string + description: |- + A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new VPC. + If there's no DB subnet group, then the DB instance isn't a VPC DB instance. + For more information about using Amazon RDS in a VPC, see [Using Amazon RDS with Amazon Virtual Private Cloud (VPC)](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html) in the *Amazon RDS User Guide*. + *Amazon Aurora* + Not applicable. The DB subnet group is managed by the DB cluster. If specified, the setting must match the DB cluster setting. + DBSystemId: + type: string + description: The Oracle system identifier (SID), which is the name of the Oracle database instance that manages your database files. In this context, the term "Oracle database instance" refers exclusively to the system global area (SGA) and Oracle background processes. If you don't specify a SID, the value defaults to ``RDSCDB``. The Oracle SID is also the name of your CDB. + DedicatedLogVolume: + type: boolean + description: Indicates whether the DB instance has a dedicated log volume (DLV) enabled. + DeleteAutomatedBackups: + type: boolean + description: |- + A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB instance is deleted. + *Amazon Aurora* + Not applicable. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the DB cluster are not deleted. + DeletionProtection: + type: boolean + description: |- + A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. For more information, see [Deleting a DB Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + *Amazon Aurora* + Not applicable. You can enable or disable deletion protection for the DB cluster. For more information, see ``CreateDBCluster``. DB instances in a DB cluster can be deleted even when deletion protection is enabled for the DB cluster. + Domain: + type: string + description: |- + The Active Directory directory ID to create the DB instance in. Currently, only Db2, MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain. + For more information, see [Kerberos Authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) in the *Amazon RDS User Guide*. + DomainAuthSecretArn: + type: string + description: |- + The ARN for the Secrets Manager secret with the credentials for the user joining the domain. + Example: ``arn:aws:secretsmanager:region:account-number:secret:myselfmanagedADtestsecret-123456`` + DomainDnsIps: + type: array + items: + type: string + description: |- + The IPv4 DNS IP addresses of your primary and secondary Active Directory domain controllers. + Constraints: + + Two IP addresses must be provided. If there isn't a secondary domain controller, use the IP address of the primary domain controller for both entries in the list. + + Example: ``123.124.125.126,234.235.236.237`` + DomainFqdn: + type: string + description: |- + The fully qualified domain name (FQDN) of an Active Directory domain. + Constraints: + + Can't be longer than 64 characters. + + Example: ``mymanagedADtest.mymanagedAD.mydomain`` + DomainIAMRoleName: + type: string + description: |- + The name of the IAM role to use when making API calls to the Directory Service. + This setting doesn't apply to the following DB instances: + + Amazon Aurora (The domain is managed by the DB cluster.) + + RDS Custom + DomainOu: + type: string + description: |- + The Active Directory organizational unit for your DB instance to join. + Constraints: + + Must be in the distinguished name format. + + Can't be longer than 64 characters. + + Example: ``OU=mymanagedADtestOU,DC=mymanagedADtest,DC=mymanagedAD,DC=mydomain`` + EnableCloudwatchLogsExports: + type: array + items: + type: string + description: |- + The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see [Publishing Database Logs to Amazon CloudWatch Logs](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) in the *Amazon Relational Database Service User Guide*. + *Amazon Aurora* + Not applicable. CloudWatch Logs exports are managed by the DB cluster. + *Db2* + Valid values: ``diag.log``, ``notify.log`` + *MariaDB* + Valid values: ``audit``, ``error``, ``general``, ``slowquery`` + *Microsoft SQL Server* + Valid values: ``agent``, ``error`` + *MySQL* + Valid values: ``audit``, ``error``, ``general``, ``slowquery`` + *Oracle* + Valid values: ``alert``, ``audit``, ``listener``, ``trace``, ``oemagent`` + *PostgreSQL* + Valid values: ``postgresql``, ``upgrade`` + EnableIAMDatabaseAuthentication: + type: boolean + description: |- + A value that indicates whether to enable mapping of AWS Identity and Access Management (IAM) accounts to database accounts. By default, mapping is disabled. + This property is supported for RDS for MariaDB, RDS for MySQL, and RDS for PostgreSQL. For more information, see [IAM Database Authentication for MariaDB, MySQL, and PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) in the *Amazon RDS User Guide.* + *Amazon Aurora* + Not applicable. Mapping AWS IAM accounts to database accounts is managed by the DB cluster. + EnablePerformanceInsights: + type: boolean + description: |- + Specifies whether to enable Performance Insights for the DB instance. For more information, see [Using Amazon Performance Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) in the *Amazon RDS User Guide*. + This setting doesn't apply to RDS Custom DB instances. + Endpoint: + $ref: '#/components/schemas/Endpoint' + description: |- + The connection endpoint for the DB instance. + The endpoint might not be shown for instances with the status of ``creating``. + Engine: + type: string + description: |- + The name of the database engine that you want to use for this DB instance. + Not every database engine is available in every AWS Region. + When you are creating a DB instance, the ``Engine`` property is required. + Valid Values: + + ``aurora-mysql`` (for Aurora MySQL DB instances) + + ``aurora-postgresql`` (for Aurora PostgreSQL DB instances) + + ``custom-oracle-ee`` (for RDS Custom for Oracle DB instances) + + ``custom-oracle-ee-cdb`` (for RDS Custom for Oracle DB instances) + + ``custom-sqlserver-ee`` (for RDS Custom for SQL Server DB instances) + + ``custom-sqlserver-se`` (for RDS Custom for SQL Server DB instances) + + ``custom-sqlserver-web`` (for RDS Custom for SQL Server DB instances) + + ``db2-ae`` + + ``db2-se`` + + ``mariadb`` + + ``mysql`` + + ``oracle-ee`` + + ``oracle-ee-cdb`` + + ``oracle-se2`` + + ``oracle-se2-cdb`` + + ``postgres`` + + ``sqlserver-ee`` + + ``sqlserver-se`` + + ``sqlserver-ex`` + + ``sqlserver-web`` + EngineVersion: + type: string + description: |- + The version number of the database engine to use. + For a list of valid engine versions, use the ``DescribeDBEngineVersions`` action. + The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every AWS Region. + *Amazon Aurora* + Not applicable. The version number of the database engine to be used by the DB instance is managed by the DB cluster. + *Db2* + See [Amazon RDS for Db2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Db2.html#Db2.Concepts.VersionMgmt) in the *Amazon RDS User Guide.* + *MariaDB* + See [MariaDB on Amazon RDS Versions](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt) in the *Amazon RDS User Guide.* + *Microsoft SQL Server* + See [Microsoft SQL Server Versions on Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSu + ManageMasterUserPassword: + type: boolean + description: |- + Specifies whether to manage the master user password with AWS Secrets Manager. + For more information, see [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) in the *Amazon RDS User Guide.* + Constraints: + + Can't manage the master user password with AWS Secrets Manager if ``MasterUserPassword`` is specified. + Iops: + type: integer + description: |- + The number of I/O operations per second (IOPS) that the database provisions. The value must be equal to or greater than 1000. + If you specify this property, you must follow the range of allowed ratios of your requested IOPS rate to the amount of storage that you allocate (IOPS to allocated storage). For example, you can provision an Oracle database instance with 1000 IOPS and 200 GiB of storage (a ratio of 5:1), or specify 2000 IOPS with 200 GiB of storage (a ratio of 10:1). For more information, see [Amazon RDS Provisioned IOPS Storage to Improve Performance](https://docs.aws.amazon.com/AmazonRDS/latest/DeveloperGuide/CHAP_Storage.html#USER_PIOPS) in the *Amazon RDS User Guide*. + If you specify ``io1`` for the ``StorageType`` property, then you must also specify the ``Iops`` property. + Constraints: + + For RDS for Db2, MariaDB, MySQL, Oracle, and PostgreSQL - Must be a multiple between .5 and 50 of the storage amount for the DB instance. + + For RDS for SQL Server - Must be a multip + KmsKeyId: + type: string + description: |- + The ARN of the AWS KMS key that's used to encrypt the DB instance, such as ``arn:aws:kms:us-east-1:012345678910:key/abcd1234-a123-456a-a12b-a123b4cd56ef``. If you enable the StorageEncrypted property but don't specify this property, AWS CloudFormation uses the default KMS key. If you specify this property, you must set the StorageEncrypted property to true. + If you specify the ``SourceDBInstanceIdentifier`` property, the value is inherited from the source DB instance if the read replica is created in the same region. + If you create an encrypted read replica in a different AWS Region, then you must specify a KMS key for the destination AWS Region. KMS encryption keys are specific to the region that they're created in, and you can't use encryption keys from one region in another region. + If you specify the ``SnapshotIdentifier`` property, the ``StorageEncrypted`` property value is inherited from the snapshot, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is us + LicenseModel: + type: string + description: |- + License model information for this DB instance. + Valid Values: + + Aurora MySQL - ``general-public-license`` + + Aurora PostgreSQL - ``postgresql-license`` + + RDS for Db2 - ``bring-your-own-license``. For more information about RDS for Db2 licensing, see [](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/db2-licensing.html) in the *Amazon RDS User Guide.* + + RDS for MariaDB - ``general-public-license`` + + RDS for Microsoft SQL Server - ``license-included`` + + RDS for MySQL - ``general-public-license`` + + RDS for Oracle - ``bring-your-own-license`` or ``license-included`` + + RDS for PostgreSQL - ``postgresql-license`` + + If you've specified ``DBSecurityGroups`` and then you update the license model, AWS CloudFormation replaces the underlying DB instance. This will incur some interruptions to database availability. + MasterUsername: + type: string + pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,127}$ + description: |- + The master user name for the DB instance. + If you specify the ``SourceDBInstanceIdentifier`` or ``DBSnapshotIdentifier`` property, don't specify this property. The value is inherited from the source DB instance or snapshot. + When migrating a self-managed Db2 database, we recommend that you use the same master username as your self-managed Db2 instance name. + *Amazon Aurora* + Not applicable. The name for the master user is managed by the DB cluster. + *RDS for Db2* + Constraints: + + Must be 1 to 16 letters or numbers. + + First character must be a letter. + + Can't be a reserved word for the chosen database engine. + + *RDS for MariaDB* + Constraints: + + Must be 1 to 16 letters or numbers. + + Can't be a reserved word for the chosen database engine. + + *RDS for Microsoft SQL Server* + Constraints: + + Must be 1 to 128 letters or numbers. + + First character must be a letter. + + Can't be a reserved word for the chosen database engine. + + *RDS for MySQL* + Constrain + minLength: 1 + maxLength: 128 + MasterUserPassword: + type: string + description: |- + The password for the master user. The password can include any printable ASCII character except "/", """, or "@". + *Amazon Aurora* + Not applicable. The password for the master user is managed by the DB cluster. + *RDS for Db2* + Must contain from 8 to 255 characters. + *RDS for MariaDB* + Constraints: Must contain from 8 to 41 characters. + *RDS for Microsoft SQL Server* + Constraints: Must contain from 8 to 128 characters. + *RDS for MySQL* + Constraints: Must contain from 8 to 41 characters. + *RDS for Oracle* + Constraints: Must contain from 8 to 30 characters. + *RDS for PostgreSQL* + Constraints: Must contain from 8 to 128 characters. + MasterUserSecret: + $ref: '#/components/schemas/MasterUserSecret' + description: |- + The secret managed by RDS in AWS Secrets Manager for the master user password. + For more information, see [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) in the *Amazon RDS User Guide.* + MaxAllocatedStorage: + type: integer + description: |- + The upper limit in gibibytes (GiB) to which Amazon RDS can automatically scale the storage of the DB instance. + For more information about this setting, including limitations that apply to it, see [Managing capacity automatically with Amazon RDS storage autoscaling](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) in the *Amazon RDS User Guide*. + This setting doesn't apply to the following DB instances: + + Amazon Aurora (Storage is managed by the DB cluster.) + + RDS Custom + MonitoringInterval: + type: integer + default: 0 + description: |- + The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collection of Enhanced Monitoring metrics, specify 0. The default is 0. + If ``MonitoringRoleArn`` is specified, then you must set ``MonitoringInterval`` to a value other than 0. + This setting doesn't apply to RDS Custom. + Valid Values: ``0, 1, 5, 10, 15, 30, 60`` + MonitoringRoleArn: + type: string + description: |- + The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, ``arn:aws:iam:123456789012:role/emaccess``. For information on creating a monitoring role, see [Setting Up and Enabling Enhanced Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) in the *Amazon RDS User Guide*. + If ``MonitoringInterval`` is set to a value other than ``0``, then you must supply a ``MonitoringRoleArn`` value. + This setting doesn't apply to RDS Custom DB instances. + MultiAZ: + type: boolean + description: |- + Specifies whether the database instance is a Multi-AZ DB instance deployment. You can't set the ``AvailabilityZone`` parameter if the ``MultiAZ`` parameter is set to true. + For more information, see [Multi-AZ deployments for high availability](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.MultiAZ.html) in the *Amazon RDS User Guide*. + *Amazon Aurora* + Not applicable. Amazon Aurora storage is replicated across all of the Availability Zones and doesn't require the ``MultiAZ`` option to be set. + NcharCharacterSetName: + type: string + description: |- + The name of the NCHAR character set for the Oracle DB instance. + This setting doesn't apply to RDS Custom DB instances. + NetworkType: + description: |- + The network type of the DB instance. + Valid values: + + ``IPV4`` + + ``DUAL`` + + The network type is determined by the ``DBSubnetGroup`` specified for the DB instance. A ``DBSubnetGroup`` can support only the IPv4 protocol or the IPv4 and IPv6 protocols (``DUAL``). + For more information, see [Working with a DB instance in a VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html) in the *Amazon RDS User Guide.* + type: string + OptionGroupName: + type: string + description: |- + Indicates that the DB instance should be associated with the specified option group. + Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance once it is associated with a DB instance. + PerformanceInsightsKMSKeyId: + type: string + description: |- + The AWS KMS key identifier for encryption of Performance Insights data. + The KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. + If you do not specify a value for ``PerformanceInsightsKMSKeyId``, then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS account. Your AWS account has a different default KMS key for each AWS Region. + For information about enabling Performance Insights, see [EnablePerformanceInsights](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-enableperformanceinsights). + PerformanceInsightsRetentionPeriod: + type: integer + description: |- + The number of days to retain Performance Insights data. + This setting doesn't apply to RDS Custom DB instances. + Valid Values: + + ``7`` + + *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31) + + ``731`` + + Default: ``7`` days + If you specify a retention period that isn't valid, such as ``94``, Amazon RDS returns an error. + Port: + type: string + description: |- + The port number on which the database accepts connections. + *Amazon Aurora* + Not applicable. The port number is managed by the DB cluster. + *Db2* + Default value: ``50000`` + pattern: ^\d*$ + PreferredBackupWindow: + type: string + description: |- + The daily time range during which automated backups are created if automated backups are enabled, using the ``BackupRetentionPeriod`` parameter. For more information, see [Backup Window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) in the *Amazon RDS User Guide.* + Constraints: + + Must be in the format ``hh24:mi-hh24:mi``. + + Must be in Universal Coordinated Time (UTC). + + Must not conflict with the preferred maintenance window. + + Must be at least 30 minutes. + + *Amazon Aurora* + Not applicable. The daily time range for creating automated backups is managed by the DB cluster. + PreferredMaintenanceWindow: + type: string + description: |- + The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). + Format: ``ddd:hh24:mi-ddd:hh24:mi`` + The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. To see the time blocks available, see [Adjusting the Preferred DB Instance Maintenance Window](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow) in the *Amazon RDS User Guide.* + This property applies when AWS CloudFormation initially creates the DB instance. If you use AWS CloudFormation to update the DB instance, those updates are applied immediately. + Constraints: Minimum 30-minute window. + ProcessorFeatures: + type: array + items: + $ref: '#/components/schemas/ProcessorFeature' + description: |- + The number of CPU cores and the number of threads per core for the DB instance class of the DB instance. + This setting doesn't apply to Amazon Aurora or RDS Custom DB instances. + PromotionTier: + type: integer + minimum: 0 + default: 1 + description: |- + The order of priority in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see [Fault Tolerance for an Aurora DB Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.AuroraHighAvailability.html#Aurora.Managing.FaultTolerance) in the *Amazon Aurora User Guide*. + This setting doesn't apply to RDS Custom DB instances. + Default: ``1`` + Valid Values: ``0 - 15`` + PubliclyAccessible: + type: boolean + description: |- + Indicates whether the DB instance is an internet-facing instance. If you specify true, AWS CloudFormation creates an instance with a publicly resolvable DNS name, which resolves to a public IP address. If you specify false, AWS CloudFormation creates an internal instance with a DNS name that resolves to a private IP address. + The default behavior value depends on your VPC setup and the database subnet group. For more information, see the ``PubliclyAccessible`` parameter in the [CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) in the *Amazon RDS API Reference*. + ReplicaMode: + description: |- + The open mode of an Oracle read replica. For more information, see [Working with Oracle Read Replicas for Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) in the *Amazon RDS User Guide*. + This setting is only supported in RDS for Oracle. + Default: ``open-read-only`` + Valid Values: ``open-read-only`` or ``mounted`` + type: string + RestoreTime: + description: |- + The date and time to restore from. + Constraints: + + Must be a time in Universal Coordinated Time (UTC) format. + + Must be before the latest restorable time for the DB instance. + + Can't be specified if the ``UseLatestRestorableTime`` parameter is enabled. + + Example: ``2009-09-07T23:45:00Z`` + type: string + format: date-time + SourceDBClusterIdentifier: + description: |- + The identifier of the Multi-AZ DB cluster that will act as the source for the read replica. Each DB cluster can have up to 15 read replicas. + Constraints: + + Must be the identifier of an existing Multi-AZ DB cluster. + + Can't be specified if the ``SourceDBInstanceIdentifier`` parameter is also specified. + + The specified DB cluster must have automatic backups enabled, that is, its backup retention period must be greater than 0. + + The source DB cluster must be in the same AWS-Region as the read replica. Cross-Region replication isn't supported. + type: string + SourceDbiResourceId: + type: string + description: The resource ID of the source DB instance from which to restore. + SourceDBInstanceAutomatedBackupsArn: + type: string + description: |- + The Amazon Resource Name (ARN) of the replicated automated backups from which to restore, for example, ``arn:aws:rds:us-east-1:123456789012:auto-backup:ab-L2IJCEXJP7XQ7HOJ4SIEXAMPLE``. + This setting doesn't apply to RDS Custom. + SourceDBInstanceIdentifier: + type: string + description: |- + If you want to create a read replica DB instance, specify the ID of the source DB instance. Each DB instance can have a limited number of read replicas. For more information, see [Working with Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/DeveloperGuide/USER_ReadRepl.html) in the *Amazon RDS User Guide*. + For information about constraints that apply to DB instance identifiers, see [Naming constraints in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) in the *Amazon RDS User Guide*. + The ``SourceDBInstanceIdentifier`` property determines whether a DB instance is a read replica. If you remove the ``SourceDBInstanceIdentifier`` property from your template and then update your stack, AWS CloudFormation promotes the Read Replica to a standalone DB instance. + + If you specify a source DB instance that uses VPC security groups, we recommend that you specify the ``VPCSecurityGroups`` property. If you don't specify the + SourceRegion: + type: string + description: The ID of the region that contains the source DB instance for the read replica. + StorageEncrypted: + type: boolean + description: |- + A value that indicates whether the DB instance is encrypted. By default, it isn't encrypted. + If you specify the ``KmsKeyId`` property, then you must enable encryption. + If you specify the ``SourceDBInstanceIdentifier`` property, don't specify this property. The value is inherited from the source DB instance, and if the DB instance is encrypted, the specified ``KmsKeyId`` property is used. + If you specify the ``DBSnapshotIdentifier`` and the specified snapshot is encrypted, don't specify this property. The value is inherited from the snapshot, and the specified ``KmsKeyId`` property is used. + If you specify the ``DBSnapshotIdentifier`` and the specified snapshot isn't encrypted, you can use this property to specify that the restored DB instance is encrypted. Specify the ``KmsKeyId`` property for the KMS key to use for encryption. If you don't want the restored DB instance to be encrypted, then don't set this property or set it to ``false``. + *Amazon Aurora* + Not applicable. The encrypt + StorageType: + type: string + description: |- + Specifies the storage type to be associated with the DB instance. + Valid values: ``gp2 | gp3 | io1 | standard`` + The ``standard`` value is also known as magnetic. + If you specify ``io1`` or ``gp3``, you must also include a value for the ``Iops`` parameter. + Default: ``io1`` if the ``Iops`` parameter is specified, otherwise ``gp2`` + For more information, see [Amazon RDS DB Instance Storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html) in the *Amazon RDS User Guide*. + *Amazon Aurora* + Not applicable. Aurora data is stored in the cluster volume, which is a single, virtual volume that uses solid state drives (SSDs). + StorageThroughput: + type: integer + description: |- + Specifies the storage throughput value for the DB instance. This setting applies only to the ``gp3`` storage type. + This setting doesn't apply to RDS Custom or Amazon Aurora. + Tags: + type: array + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + description: An optional array of key-value pairs to apply to this DB instance. + TdeCredentialArn: + type: string + description: '' + TdeCredentialPassword: + type: string + description: '' + Timezone: + type: string + description: The time zone of the DB instance. The time zone parameter is currently supported only by [Microsoft SQL Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone). + UseDefaultProcessorFeatures: + type: boolean + description: |- + Specifies whether the DB instance class of the DB instance uses its default processor features. + This setting doesn't apply to RDS Custom DB instances. + UseLatestRestorableTime: + type: boolean + description: |- + Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance isn't restored from the latest backup time. + Constraints: + + Can't be specified if the ``RestoreTime`` parameter is provided. + VPCSecurityGroups: + type: array + uniqueItems: true + items: + type: string + description: |- + A list of the VPC security group IDs to assign to the DB instance. The list can include both the physical IDs of existing VPC security groups and references to [AWS::EC2::SecurityGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html) resources created in the template. + If you plan to update the resource, don't specify VPC security groups in a shared VPC. + If you set ``VPCSecurityGroups``, you must not set [DBSecurityGroups](https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-dbsecuritygroups), and vice versa. + You can migrate a DB instance in your stack from an RDS DB security group to a VPC security group, but keep the following in mind: + + You can't revert to using an RDS security group after you establish a VPC security group membership. + + When you migrate your DB instance to VPC security groups, if your stack update rolls back because the DB instanc + x-stackQL-stringOnly: true + x-title: CreateDBInstanceRequest + type: object + required: [] + CreateDBParameterGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DBParameterGroupName: + description: |- + The name of the DB parameter group. + Constraints: + + Must be 1 to 255 letters, numbers, or hyphens. + + First character must be a letter + + Can't end with a hyphen or contain two consecutive hyphens + + If you don't specify a value for ``DBParameterGroupName`` property, a name is automatically created for the DB parameter group. + This value is stored as a lowercase string. + type: string + pattern: ^[a-zA-Z]{1}(?:-?[a-zA-Z0-9])*$ + Description: + description: Provides the customer-specified description for this DB parameter group. + type: string + Family: + description: |- + The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a DB engine and engine version compatible with that DB parameter group family. + The DB parameter group family can't be changed when updating a DB parameter group. + To list all of the available parameter group families, use the following command: + ``aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"`` + The output contains duplicates. + For more information, see ``CreateDBParameterGroup``. + type: string + Parameters: + description: |- + An array of parameter names and values for the parameter update. At least one parameter name and value must be supplied. Subsequent arguments are optional. + RDS for Db2 requires you to bring your own Db2 license. You must enter your IBM customer ID (``rds.ibm_customer_id``) and site number (``rds.ibm_site_id``) before starting a Db2 instance. + For more information about DB parameters and DB parameter groups for Amazon RDS DB engines, see [Working with DB Parameter Groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html) in the *Amazon RDS User Guide*. + For more information about DB cluster and DB instance parameters and parameter groups for Amazon Aurora DB engines, see [Working with DB Parameter Groups and DB Cluster Parameter Groups](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithParamGroups.html) in the *Amazon Aurora User Guide*. + AWS CloudFormation doesn't support specifying an apply method for each individual + type: object + Tags: + description: |- + An optional array of key-value pairs to apply to this DB parameter group. + Currently, this is the only property that supports drift detection. + type: array + maxItems: 50 + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateDBParameterGroupRequest + type: object + required: [] + CreateDBProxyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Auth: + description: The authorization mechanism that the proxy uses. + type: array + x-insertionOrder: false + minItems: 1 + items: + $ref: '#/components/schemas/AuthFormat' + DBProxyArn: + description: The Amazon Resource Name (ARN) for the proxy. + type: string + DBProxyName: + description: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. + type: string + pattern: '[0-z]*' + maxLength: 64 + DebugLogging: + description: Whether the proxy includes detailed information about SQL statements in its logs. + type: boolean + Endpoint: + description: The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application. + type: string + EngineFamily: + description: The kinds of databases that the proxy can connect to. + type: string + enum: + - MYSQL + - POSTGRESQL + - SQLSERVER + IdleClientTimeout: + description: The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. + type: integer + RequireTLS: + description: A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. + type: boolean + RoleArn: + description: The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager. + type: string + Tags: + description: An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/TagFormat' + VpcId: + description: VPC ID to associate with the new DB proxy. + type: string + VpcSecurityGroupIds: + description: VPC security group IDs to associate with the new proxy. + type: array + x-insertionOrder: false + minItems: 1 + items: + type: string + VpcSubnetIds: + description: VPC subnet IDs to associate with the new proxy. + type: array + x-insertionOrder: false + minItems: 2 + items: + type: string + x-stackQL-stringOnly: true + x-title: CreateDBProxyRequest + type: object + required: [] + CreateDBProxyEndpointRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DBProxyEndpointName: + description: The identifier for the DB proxy endpoint. This name must be unique for all DB proxy endpoints owned by your AWS account in the specified AWS Region. + type: string + pattern: '[0-z]*' + maxLength: 64 + DBProxyEndpointArn: + description: The Amazon Resource Name (ARN) for the DB proxy endpoint. + type: string + pattern: arn:aws[A-Za-z0-9-]{0,64}:rds:[A-Za-z0-9-]{1,64}:[0-9]{12}:.* + DBProxyName: + description: The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. + type: string + pattern: '[0-z]*' + maxLength: 64 + VpcId: + description: VPC ID to associate with the new DB proxy endpoint. + type: string + VpcSecurityGroupIds: + description: VPC security group IDs to associate with the new DB proxy endpoint. + type: array + x-insertionOrder: false + minItems: 1 + items: + type: string + VpcSubnetIds: + description: VPC subnet IDs to associate with the new DB proxy endpoint. + type: array + minItems: 2 + x-insertionOrder: false + items: + type: string + Endpoint: + description: The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application. + type: string + maxLength: 256 + TargetRole: + description: A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations. + type: string + enum: + - READ_WRITE + - READ_ONLY + IsDefault: + description: A value that indicates whether this endpoint is the default endpoint for the associated DB proxy. Default DB proxy endpoints always have read/write capability. Other endpoints that you associate with the DB proxy can be either read/write or read-only. + type: boolean + Tags: + description: An optional set of key-value pairs to associate arbitrary data of your choosing with the DB proxy endpoint. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/TagFormat' + x-stackQL-stringOnly: true + x-title: CreateDBProxyEndpointRequest + type: object + required: [] + CreateDBProxyTargetGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DBProxyName: + description: The identifier for the proxy. + type: string + pattern: '[A-z][0-z]*' + maxLength: 64 + TargetGroupArn: + description: The Amazon Resource Name (ARN) representing the target group. + type: string + TargetGroupName: + description: The identifier for the DBProxyTargetGroup + type: string + enum: + - default + ConnectionPoolConfigurationInfo: + $ref: '#/components/schemas/ConnectionPoolConfigurationInfoFormat' + DBInstanceIdentifiers: + type: array + x-insertionOrder: false + items: + type: string + DBClusterIdentifiers: + type: array + x-insertionOrder: false + items: + type: string + x-stackQL-stringOnly: true + x-title: CreateDBProxyTargetGroupRequest + type: object + required: [] + CreateDBSubnetGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DBSubnetGroupDescription: + type: string + description: The description for the DB subnet group. + DBSubnetGroupName: + type: string + pattern: ^(?!default$)[a-zA-Z]{1}[a-zA-Z0-9-_\.\s]{0,254}$ + description: |- + The name for the DB subnet group. This value is stored as a lowercase string. + Constraints: Must contain no more than 255 lowercase alphanumeric characters or hyphens. Must not be "Default". + Example: ``mysubnetgroup`` + SubnetIds: + type: array + uniqueItems: false + items: + type: string + description: The EC2 Subnet IDs for the DB subnet group. + Tags: + type: array + maxItems: 50 + uniqueItems: false + x-insertionOrder: false + description: An optional array of key-value pairs to apply to this DB subnet group. + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateDBSubnetGroupRequest + type: object + required: [] + CreateEventSubscriptionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + SubscriptionName: + description: The name of the subscription. + type: string + maxLength: 255 + Enabled: + description: A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it. + type: boolean + default: true + EventCategories: + description: A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon RDS User Guide or by using the DescribeEventCategories action. + type: array + uniqueItems: true + items: + type: string + SnsTopicArn: + description: The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it. + type: string + SourceIds: + description: The list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens. + type: array + uniqueItems: true + x-insertionOrder: false + items: + type: string + SourceType: + description: The type of source that will be generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned. + type: string + x-stackQL-stringOnly: true + x-title: CreateEventSubscriptionRequest + type: object + required: [] + CreateGlobalClusterRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Engine: + description: |- + The name of the database engine to be used for this DB cluster. Valid Values: aurora (for MySQL 5.6-compatible Aurora), aurora-mysql (for MySQL 5.7-compatible Aurora). + If you specify the SourceDBClusterIdentifier property, don't specify this property. The value is inherited from the cluster. + type: string + enum: + - aurora + - aurora-mysql + - aurora-postgresql + EngineVersion: + description: The version number of the database engine to use. If you specify the SourceDBClusterIdentifier property, don't specify this property. The value is inherited from the cluster. + type: string + DeletionProtection: + description: The deletion protection setting for the new global database. The global database can't be deleted when deletion protection is enabled. + type: boolean + GlobalClusterIdentifier: + description: The cluster identifier of the new global database cluster. This parameter is stored as a lowercase string. + type: string + pattern: ^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$ + SourceDBClusterIdentifier: + description: The Amazon Resource Name (ARN) to use as the primary cluster of the global database. This parameter is optional. This parameter is stored as a lowercase string. + type: string + oneOf: + - pattern: ^[a-zA-Z]{1}(?:-?[a-zA-Z0-9]){0,62}$ + - pattern: ^(?=.{40,128}$)arn.* + StorageEncrypted: + description: |2- + The storage encryption setting for the new global database cluster. + If you specify the SourceDBClusterIdentifier property, don't specify this property. The value is inherited from the cluster. + type: boolean + x-stackQL-stringOnly: true + x-title: CreateGlobalClusterRequest + type: object + required: [] + CreateIntegrationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + IntegrationName: + description: The name of the integration. + type: string + minLength: 1 + maxLength: 64 + Description: + type: string + description: The description of the integration. + minLength: 1 + maxLength: 1000 + Tags: + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + DataFilter: + type: string + description: The data filter for the integration. + minLength: 1 + maxLength: 25600 + pattern: '[a-zA-Z0-9_ "\\\-$,*.:?+\/]*' + SourceArn: + type: string + description: The Amazon Resource Name (ARN) of the Aurora DB cluster to use as the source for replication. + TargetArn: + type: string + description: The ARN of the Redshift data warehouse to use as the target for replication. + IntegrationArn: + type: string + description: The ARN of the integration. + KMSKeyId: + type: string + description: An optional AWS Key Management System (AWS KMS) key ARN for the key used to to encrypt the integration. The resource accepts the key ID and the key ARN forms. The key ID form can be used if the KMS key is owned by te same account. If the KMS key belongs to a different account than the calling account, the full key ARN must be specified. Do not use the key alias or the key alias ARN as this will cause a false drift of the resource. + AdditionalEncryptionContext: + $ref: '#/components/schemas/EncryptionContextMap' + CreateTime: + type: string + x-stackQL-stringOnly: true + x-title: CreateIntegrationRequest + type: object + required: [] + CreateOptionGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + OptionGroupName: + description: Specifies the name of the option group. + type: string + OptionGroupDescription: + description: Provides a description of the option group. + type: string + EngineName: + description: Indicates the name of the engine that this option group can be applied to. + type: string + MajorEngineVersion: + description: Indicates the major engine version associated with this option group. + type: string + OptionConfigurations: + description: Indicates what options are available in the option group. + type: array + x-arrayType: AttributeList + x-insertionOrder: false + items: + $ref: '#/components/schemas/OptionConfiguration' + Tags: + type: array + description: An array of key-value pairs to apply to this resource. + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateOptionGroupRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -2741,10 +4254,26 @@ components: x-identifiers: - Engine - EngineVersion + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CustomDBEngineVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::CustomDBEngineVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2757,7 +4286,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/customdb_engine_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/customdb_engine_versions/methods/delete_resource' config: views: select: @@ -2786,6 +4316,7 @@ components: x-identifiers: - Engine - EngineVersion + x-type: get methods: update_resource: operation: @@ -2799,24 +4330,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::CustomDBEngineVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/customdb_engine_version/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/customdb_engine_version/methods/delete_resource' - x-type: get config: views: select: @@ -2870,10 +4386,26 @@ components: x-cfn-type-name: AWS::RDS::DBCluster x-identifiers: - DBClusterIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DBCluster&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::DBCluster" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2886,7 +4418,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/db_clusters/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/db_clusters/methods/delete_resource' config: views: select: @@ -2912,6 +4445,7 @@ components: x-cfn-type-name: AWS::RDS::DBCluster x-identifiers: - DBClusterIdentifier + x-type: get methods: update_resource: operation: @@ -2925,24 +4459,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::DBCluster" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/db_cluster/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/db_cluster/methods/delete_resource' - x-type: get config: views: select: @@ -3088,10 +4607,26 @@ components: x-cfn-type-name: AWS::RDS::DBClusterParameterGroup x-identifiers: - DBClusterParameterGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DBClusterParameterGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::DBClusterParameterGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3104,7 +4639,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/db_cluster_parameter_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/db_cluster_parameter_groups/methods/delete_resource' config: views: select: @@ -3130,6 +4666,7 @@ components: x-cfn-type-name: AWS::RDS::DBClusterParameterGroup x-identifiers: - DBClusterParameterGroupName + x-type: get methods: update_resource: operation: @@ -3143,24 +4680,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::DBClusterParameterGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/db_cluster_parameter_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/db_cluster_parameter_group/methods/delete_resource' - x-type: get config: views: select: @@ -3198,10 +4720,14 @@ components: x-cfn-type-name: AWS::RDS::DBInstance x-identifiers: - DBInstanceIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DBInstance&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3211,10 +4737,23 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/db_instances/methods/create_resource' - x-type: list + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::DBInstance" + } + response: + mediaType: application/json + openAPIDocKey: '200' + sqlVerbs: + insert: + - $ref: '#/components/x-stackQL-resources/db_instances/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/db_instances/methods/delete_resource' config: views: select: @@ -3240,6 +4779,7 @@ components: x-cfn-type-name: AWS::RDS::DBInstance x-identifiers: - DBInstanceIdentifier + x-type: get methods: update_resource: operation: @@ -3253,24 +4793,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::DBInstance" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/db_instance/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/db_instance/methods/delete_resource' - x-type: get config: views: select: @@ -3456,10 +4981,26 @@ components: x-cfn-type-name: AWS::RDS::DBParameterGroup x-identifiers: - DBParameterGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DBParameterGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::DBParameterGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3472,7 +5013,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/db_parameter_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/db_parameter_groups/methods/delete_resource' config: views: select: @@ -3498,6 +5040,7 @@ components: x-cfn-type-name: AWS::RDS::DBParameterGroup x-identifiers: - DBParameterGroupName + x-type: get methods: update_resource: operation: @@ -3511,24 +5054,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::DBParameterGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/db_parameter_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/db_parameter_group/methods/delete_resource' - x-type: get config: views: select: @@ -3566,10 +5094,26 @@ components: x-cfn-type-name: AWS::RDS::DBProxy x-identifiers: - DBProxyName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DBProxy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::DBProxy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3582,7 +5126,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/db_proxies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/db_proxies/methods/delete_resource' config: views: select: @@ -3608,6 +5153,7 @@ components: x-cfn-type-name: AWS::RDS::DBProxy x-identifiers: - DBProxyName + x-type: get methods: update_resource: operation: @@ -3621,24 +5167,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::DBProxy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/db_proxy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/db_proxy/methods/delete_resource' - x-type: get config: views: select: @@ -3692,10 +5223,26 @@ components: x-cfn-type-name: AWS::RDS::DBProxyEndpoint x-identifiers: - DBProxyEndpointName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DBProxyEndpoint&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::DBProxyEndpoint" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3708,7 +5255,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/db_proxy_endpoints/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/db_proxy_endpoints/methods/delete_resource' config: views: select: @@ -3734,6 +5282,7 @@ components: x-cfn-type-name: AWS::RDS::DBProxyEndpoint x-identifiers: - DBProxyEndpointName + x-type: get methods: update_resource: operation: @@ -3747,24 +5296,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::DBProxyEndpoint" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/db_proxy_endpoint/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/db_proxy_endpoint/methods/delete_resource' - x-type: get config: views: select: @@ -3812,10 +5346,26 @@ components: x-cfn-type-name: AWS::RDS::DBProxyTargetGroup x-identifiers: - TargetGroupArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DBProxyTargetGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::DBProxyTargetGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3828,7 +5378,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/db_proxy_target_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/db_proxy_target_groups/methods/delete_resource' config: views: select: @@ -3854,6 +5405,7 @@ components: x-cfn-type-name: AWS::RDS::DBProxyTargetGroup x-identifiers: - TargetGroupArn + x-type: get methods: update_resource: operation: @@ -3867,24 +5419,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::DBProxyTargetGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/db_proxy_target_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/db_proxy_target_group/methods/delete_resource' - x-type: get config: views: select: @@ -3924,10 +5461,26 @@ components: x-cfn-type-name: AWS::RDS::DBSubnetGroup x-identifiers: - DBSubnetGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DBSubnetGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::DBSubnetGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3940,7 +5493,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/db_subnet_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/db_subnet_groups/methods/delete_resource' config: views: select: @@ -3966,6 +5520,7 @@ components: x-cfn-type-name: AWS::RDS::DBSubnetGroup x-identifiers: - DBSubnetGroupName + x-type: get methods: update_resource: operation: @@ -3979,24 +5534,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::DBSubnetGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/db_subnet_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/db_subnet_group/methods/delete_resource' - x-type: get config: views: select: @@ -4032,10 +5572,26 @@ components: x-cfn-type-name: AWS::RDS::EventSubscription x-identifiers: - SubscriptionName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EventSubscription&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::EventSubscription" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4048,7 +5604,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/event_subscriptions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/event_subscriptions/methods/delete_resource' config: views: select: @@ -4074,6 +5631,7 @@ components: x-cfn-type-name: AWS::RDS::EventSubscription x-identifiers: - SubscriptionName + x-type: get methods: update_resource: operation: @@ -4087,24 +5645,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::EventSubscription" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/event_subscription/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/event_subscription/methods/delete_resource' - x-type: get config: views: select: @@ -4146,10 +5689,26 @@ components: x-cfn-type-name: AWS::RDS::GlobalCluster x-identifiers: - GlobalClusterIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__GlobalCluster&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::GlobalCluster" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4162,7 +5721,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/global_clusters/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/global_clusters/methods/delete_resource' config: views: select: @@ -4188,6 +5748,7 @@ components: x-cfn-type-name: AWS::RDS::GlobalCluster x-identifiers: - GlobalClusterIdentifier + x-type: get methods: update_resource: operation: @@ -4201,24 +5762,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::GlobalCluster" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/global_cluster/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/global_cluster/methods/delete_resource' - x-type: get config: views: select: @@ -4258,10 +5804,26 @@ components: x-cfn-type-name: AWS::RDS::Integration x-identifiers: - IntegrationArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Integration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::Integration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4274,7 +5836,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/integrations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/integrations/methods/delete_resource' config: views: select: @@ -4300,6 +5863,7 @@ components: x-cfn-type-name: AWS::RDS::Integration x-identifiers: - IntegrationArn + x-type: get methods: update_resource: operation: @@ -4313,24 +5877,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::Integration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/integration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/integration/methods/delete_resource' - x-type: get config: views: select: @@ -4378,10 +5927,26 @@ components: x-cfn-type-name: AWS::RDS::OptionGroup x-identifiers: - OptionGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__OptionGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RDS::OptionGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -4394,7 +5959,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/option_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/option_groups/methods/delete_resource' config: views: select: @@ -4420,6 +5986,7 @@ components: x-cfn-type-name: AWS::RDS::OptionGroup x-identifiers: - OptionGroupName + x-type: get methods: update_resource: operation: @@ -4433,24 +6000,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RDS::OptionGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/option_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/option_group/methods/delete_resource' - x-type: get config: views: select: @@ -4626,8 +6178,556 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__CustomDBEngineVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCustomDBEngineVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCustomDBEngineVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DBCluster&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDBCluster + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDBClusterRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DBClusterParameterGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDBClusterParameterGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDBClusterParameterGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DBInstance&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDBInstance + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDBInstanceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DBParameterGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDBParameterGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDBParameterGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DBProxy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDBProxy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDBProxyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DBProxyEndpoint&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDBProxyEndpoint + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDBProxyEndpointRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DBProxyTargetGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDBProxyTargetGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDBProxyTargetGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DBSubnetGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDBSubnetGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDBSubnetGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EventSubscription&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEventSubscription + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEventSubscriptionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__GlobalCluster&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateGlobalCluster + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateGlobalClusterRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Integration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIntegration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIntegrationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__OptionGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateOptionGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateOptionGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/redshift.yaml b/providers/src/aws/v00.00.00000/services/redshift.yaml index 58a06c49..fabb13ed 100644 --- a/providers/src/aws/v00.00.00000/services/redshift.yaml +++ b/providers/src/aws/v00.00.00000/services/redshift.yaml @@ -1493,6 +1493,583 @@ components: list: - redshift:DescribeTags - redshift:DescribeScheduledActions + CreateClusterRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ClusterIdentifier: + description: A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. All alphabetical characters must be lower case, no hypens at the end, no two consecutive hyphens. Cluster name should be unique for all clusters within an AWS account + type: string + maxLength: 63 + ClusterNamespaceArn: + description: The Amazon Resource Name (ARN) of the cluster namespace. + type: string + MasterUsername: + description: The user name associated with the master user account for the cluster that is being created. The user name can't be PUBLIC and first character must be a letter. + type: string + maxLength: 128 + MasterUserPassword: + description: The password associated with the master user account for the cluster that is being created. You can't use MasterUserPassword if ManageMasterPassword is true. Password must be between 8 and 64 characters in length, should have at least one uppercase letter.Must contain at least one lowercase letter.Must contain one number.Can be any printable ASCII character. + type: string + maxLength: 64 + NodeType: + description: 'The node type to be provisioned for the cluster.Valid Values: ds2.xlarge | ds2.8xlarge | dc1.large | dc1.8xlarge | dc2.large | dc2.8xlarge | ra3.4xlarge | ra3.16xlarge' + type: string + AllowVersionUpgrade: + description: Major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default value is True + type: boolean + AutomatedSnapshotRetentionPeriod: + description: The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Default value is 1 + type: integer + AvailabilityZone: + description: 'The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. Default: A random, system-chosen Availability Zone in the region that is specified by the endpoint' + type: string + ClusterParameterGroupName: + description: The name of the parameter group to be associated with this cluster. + type: string + maxLength: 255 + ClusterType: + description: The type of the cluster. When cluster type is specified as single-node, the NumberOfNodes parameter is not required and if multi-node, the NumberOfNodes parameter is required + type: string + ClusterVersion: + description: The version of the Amazon Redshift engine software that you want to deploy on the cluster.The version selected runs on all the nodes in the cluster. + type: string + ClusterSubnetGroupName: + description: The name of a cluster subnet group to be associated with this cluster. + type: string + DBName: + description: The name of the first database to be created when the cluster is created. To create additional databases after the cluster is created, connect to the cluster with a SQL client and use SQL commands to create a database. + type: string + ElasticIp: + description: The Elastic IP (EIP) address for the cluster. + type: string + Encrypted: + description: If true, the data in the cluster is encrypted at rest. + type: boolean + HsmClientCertificateIdentifier: + description: Specifies the name of the HSM client certificate the Amazon Redshift cluster uses to retrieve the data encryption keys stored in an HSM + type: string + HsmConfigurationIdentifier: + description: Specifies the name of the HSM configuration that contains the information the Amazon Redshift cluster can use to retrieve and store keys in an HSM. + type: string + KmsKeyId: + description: The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the cluster. + type: string + NumberOfNodes: + description: The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. + type: integer + Port: + description: The port number on which the cluster accepts incoming connections. The cluster is accessible only via the JDBC and ODBC connection strings + type: integer + PreferredMaintenanceWindow: + description: The weekly time range (in UTC) during which automated cluster maintenance can occur. + type: string + PubliclyAccessible: + description: If true, the cluster can be accessed from a public network. + type: boolean + ClusterSecurityGroups: + description: A list of security groups to be associated with this cluster. + type: array + x-insertionOrder: false + uniqueItems: false + items: + type: string + IamRoles: + description: A list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. You can supply up to 50 IAM roles in a single request + type: array + x-insertionOrder: false + maxItems: 50 + items: + type: string + Tags: + description: The list of tags for the cluster parameter group. + type: array + x-insertionOrder: false + maxItems: 50 + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + VpcSecurityGroupIds: + description: A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. + type: array + x-insertionOrder: false + uniqueItems: false + items: + type: string + SnapshotClusterIdentifier: + description: The name of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name. + type: string + SnapshotIdentifier: + description: The name of the snapshot from which to create the new cluster. This parameter isn't case sensitive. + type: string + OwnerAccount: + type: string + LoggingProperties: + $ref: '#/components/schemas/LoggingProperties' + Endpoint: + $ref: '#/components/schemas/Endpoint' + DestinationRegion: + description: 'The destination AWS Region that you want to copy snapshots to. Constraints: Must be the name of a valid AWS Region. For more information, see Regions and Endpoints in the Amazon Web Services [https://docs.aws.amazon.com/general/latest/gr/rande.html#redshift_region] General Reference' + type: string + SnapshotCopyRetentionPeriod: + description: |- + The number of days to retain automated snapshots in the destination region after they are copied from the source region. + + Default is 7. + + Constraints: Must be at least 1 and no more than 35. + type: integer + SnapshotCopyGrantName: + description: The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region. + type: string + ManualSnapshotRetentionPeriod: + description: |- + The number of days to retain newly copied snapshots in the destination AWS Region after they are copied from the source AWS Region. If the value is -1, the manual snapshot is retained indefinitely. + + The value must be either -1 or an integer between 1 and 3,653. + type: integer + SnapshotCopyManual: + description: Indicates whether to apply the snapshot retention period to newly copied manual snapshots instead of automated snapshots. + type: boolean + AvailabilityZoneRelocation: + description: The option to enable relocation for an Amazon Redshift cluster between Availability Zones after the cluster modification is complete. + type: boolean + AvailabilityZoneRelocationStatus: + description: The availability zone relocation status of the cluster + type: string + AquaConfigurationStatus: + description: | + The value represents how the cluster is configured to use AQUA (Advanced Query Accelerator) after the cluster is restored. Possible values include the following. + + enabled - Use AQUA if it is available for the current Region and Amazon Redshift node type. + disabled - Don't use AQUA. + auto - Amazon Redshift determines whether to use AQUA. + type: string + Classic: + description: A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide this parameter or set the value to false , the resize type is elastic. + type: boolean + EnhancedVpcRouting: + description: |- + An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide. + + If this option is true , enhanced VPC routing is enabled. + + Default: false + type: boolean + MaintenanceTrackName: + description: The name for the maintenance track that you want to assign for the cluster. This name change is asynchronous. The new track name stays in the PendingModifiedValues for the cluster until the next maintenance window. When the maintenance track changes, the cluster is switched to the latest cluster release available for the maintenance track. At this point, the maintenance track name is applied. + type: string + DeferMaintenance: + description: A boolean indicating whether to enable the deferred maintenance window. + type: boolean + DeferMaintenanceIdentifier: + description: A unique identifier for the deferred maintenance window. + type: string + DeferMaintenanceStartTime: + description: A timestamp indicating the start time for the deferred maintenance window. + type: string + DeferMaintenanceEndTime: + description: A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration. + type: string + DeferMaintenanceDuration: + description: An integer indicating the duration of the maintenance window in days. If you specify a duration, you can't specify an end time. The duration must be 45 days or less. + type: integer + RevisionTarget: + description: The identifier of the database revision. You can retrieve this value from the response to the DescribeClusterDbRevisions request. + type: string + ResourceAction: + description: The Redshift operation to be performed. Resource Action supports pause-cluster, resume-cluster, failover-primary-compute APIs + type: string + RotateEncryptionKey: + description: A boolean indicating if we want to rotate Encryption Keys. + type: boolean + MultiAZ: + description: A boolean indicating if the redshift cluster is multi-az or not. If you don't provide this parameter or set the value to false, the redshift cluster will be single-az. + type: boolean + NamespaceResourcePolicy: + description: The namespace resource policy document that will be attached to a Redshift cluster. + type: object + ManageMasterPassword: + description: A boolean indicating if the redshift cluster's admin user credentials is managed by Redshift or not. You can't use MasterUserPassword if ManageMasterPassword is true. If ManageMasterPassword is false or not set, Amazon Redshift uses MasterUserPassword for the admin user account's password. + type: boolean + MasterPasswordSecretKmsKeyId: + description: The ID of the Key Management Service (KMS) key used to encrypt and store the cluster's admin user credentials secret. + type: string + MasterPasswordSecretArn: + description: The Amazon Resource Name (ARN) for the cluster's admin user credentials secret. + type: string + x-stackQL-stringOnly: true + x-title: CreateClusterRequest + type: object + required: [] + CreateClusterParameterGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ParameterGroupName: + type: string + description: The name of the cluster parameter group. + maxLength: 255 + Description: + type: string + description: A description of the parameter group. + ParameterGroupFamily: + type: string + description: The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters. + Parameters: + type: array + description: An array of parameters to be modified. A maximum of 20 parameters can be modified in a single request. + x-insertionOrder: false + items: + $ref: '#/components/schemas/Parameter' + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateClusterParameterGroupRequest + type: object + required: [] + CreateClusterSubnetGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + description: The description of the parameter group. + type: string + SubnetIds: + description: The list of VPC subnet IDs + type: array + x-insertionOrder: false + maxItems: 20 + items: + type: string + Tags: + description: The list of tags for the cluster parameter group. + type: array + x-insertionOrder: false + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + ClusterSubnetGroupName: + description: 'This name must be unique for all subnet groups that are created by your AWS account. If costumer do not provide it, cloudformation will generate it. Must not be "Default". ' + type: string + maxLength: 255 + x-stackQL-stringOnly: true + x-title: CreateClusterSubnetGroupRequest + type: object + required: [] + CreateEndpointAccessRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Address: + description: The DNS address of the endpoint. + type: string + ClusterIdentifier: + description: A unique identifier for the cluster. You use this identifier to refer to the cluster for any subsequent cluster operations such as deleting or modifying. All alphabetical characters must be lower case, no hypens at the end, no two consecutive hyphens. Cluster name should be unique for all clusters within an AWS account + type: string + VpcSecurityGroups: + description: A list of Virtual Private Cloud (VPC) security groups to be associated with the endpoint. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/VpcSecurityGroup' + ResourceOwner: + description: The AWS account ID of the owner of the cluster. + type: string + pattern: ^\d{12}$ + EndpointStatus: + description: The status of the endpoint. + type: string + EndpointName: + description: The name of the endpoint. + type: string + pattern: ^(?=^[a-z][a-z0-9]*(-[a-z0-9]+)*$).{1,30}$ + EndpointCreateTime: + description: The time (UTC) that the endpoint was created. + type: string + SubnetGroupName: + description: The subnet group name where Amazon Redshift chooses to deploy the endpoint. + type: string + pattern: ^(?=^[a-zA-Z0-9-]+$).{1,255}$ + Port: + description: The port number on which the cluster accepts incoming connections. + type: integer + VpcSecurityGroupIds: + description: A list of vpc security group ids to apply to the created endpoint access. + type: array + x-insertionOrder: false + items: + type: string + VpcEndpoint: + description: The connection endpoint for connecting to an Amazon Redshift cluster through the proxy. + type: object + properties: + VpcEndpointId: + type: string + description: The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy. + VpcId: + type: string + description: The VPC identifier that the endpoint is associated. + NetworkInterfaces: + type: array + x-insertionOrder: false + description: One or more network interfaces of the endpoint. Also known as an interface endpoint. + items: + $ref: '#/components/schemas/NetworkInterface' + additionalProperties: false + x-stackQL-stringOnly: true + x-title: CreateEndpointAccessRequest + type: object + required: [] + CreateEndpointAuthorizationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Grantor: + description: The AWS account ID of the cluster owner. + $ref: '#/components/schemas/AwsAccount' + Grantee: + description: The AWS account ID of the grantee of the cluster. + $ref: '#/components/schemas/AwsAccount' + ClusterIdentifier: + description: The cluster identifier. + type: string + pattern: ^(?=^[a-z][a-z0-9]*(-[a-z0-9]+)*$).{1,63}$ + AuthorizeTime: + description: The time (UTC) when the authorization was created. + type: string + ClusterStatus: + description: The status of the cluster. + type: string + Status: + description: The status of the authorization action. + type: string + AllowedAllVPCs: + description: Indicates whether all VPCs in the grantee account are allowed access to the cluster. + type: boolean + AllowedVPCs: + description: The VPCs allowed access to the cluster. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/VpcId' + EndpointCount: + description: The number of Redshift-managed VPC endpoints created for the authorization. + type: integer + Account: + description: The target AWS account ID to grant or revoke access for. + $ref: '#/components/schemas/AwsAccount' + VpcIds: + description: The virtual private cloud (VPC) identifiers to grant or revoke access to. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/VpcId' + Force: + description: ' Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.' + type: boolean + x-stackQL-stringOnly: true + x-title: CreateEndpointAuthorizationRequest + type: object + required: [] + CreateEventSubscriptionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + SubscriptionName: + description: The name of the Amazon Redshift event notification subscription + type: string + pattern: ^(?=^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*$).{1,255}$ + SnsTopicArn: + description: The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications. + type: string + SourceType: + description: The type of source that will be generating the events. + type: string + enum: + - cluster + - cluster-parameter-group + - cluster-security-group + - cluster-snapshot + - scheduled-action + SourceIds: + description: A list of one or more identifiers of Amazon Redshift source objects. + type: array + x-insertionOrder: false + items: + type: string + EventCategories: + description: Specifies the Amazon Redshift event categories to be published by the event notification subscription. + type: array + x-insertionOrder: false + uniqueItems: true + items: + type: string + enum: + - configuration + - management + - monitoring + - security + - pending + Severity: + description: Specifies the Amazon Redshift event severity to be published by the event notification subscription. + type: string + enum: + - ERROR + - INFO + Enabled: + description: A boolean value; set to true to activate the subscription, and set to false to create the subscription but not activate it. + type: boolean + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + CustomerAwsId: + description: The AWS account associated with the Amazon Redshift event notification subscription. + type: string + CustSubscriptionId: + description: The name of the Amazon Redshift event notification subscription. + type: string + Status: + description: The status of the Amazon Redshift event notification subscription. + type: string + enum: + - active + - no-permission + - topic-not-exist + SubscriptionCreationTime: + description: The date and time the Amazon Redshift event notification subscription was created. + type: string + SourceIdsList: + description: A list of the sources that publish events to the Amazon Redshift event notification subscription. + type: array + x-insertionOrder: false + items: + type: string + EventCategoriesList: + description: The list of Amazon Redshift event categories specified in the event notification subscription. + type: array + x-insertionOrder: false + uniqueItems: true + items: + type: string + x-stackQL-stringOnly: true + x-title: CreateEventSubscriptionRequest + type: object + required: [] + CreateScheduledActionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ScheduledActionName: + description: The name of the scheduled action. The name must be unique within an account. + type: string + TargetAction: + description: A JSON format string of the Amazon Redshift API operation with input parameters. + $ref: '#/components/schemas/ScheduledActionType' + Schedule: + description: The schedule in `at( )` or `cron( )` format. + type: string + IamRole: + description: The IAM role to assume to run the target action. + type: string + ScheduledActionDescription: + description: The description of the scheduled action. + type: string + StartTime: + description: The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. + $ref: '#/components/schemas/timestamp' + EndTime: + description: The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. + $ref: '#/components/schemas/timestamp' + Enable: + description: If true, the schedule is enabled. If false, the scheduled action does not trigger. + type: boolean + State: + description: The state of the scheduled action. + type: string + enum: + - ACTIVE + - DISABLED + NextInvocations: + description: List of times when the scheduled action will run. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/timestamp' + x-stackQL-stringOnly: true + x-title: CreateScheduledActionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1508,10 +2085,26 @@ components: x-cfn-type-name: AWS::Redshift::Cluster x-identifiers: - ClusterIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Cluster&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Redshift::Cluster" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1524,7 +2117,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/clusters/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/clusters/methods/delete_resource' config: views: select: @@ -1550,6 +2144,7 @@ components: x-cfn-type-name: AWS::Redshift::Cluster x-identifiers: - ClusterIdentifier + x-type: get methods: update_resource: operation: @@ -1563,24 +2158,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Redshift::Cluster" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cluster/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cluster/methods/delete_resource' - x-type: get config: views: select: @@ -1718,10 +2298,14 @@ components: x-cfn-type-name: AWS::Redshift::ClusterParameterGroup x-identifiers: - ParameterGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ClusterParameterGroup&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1731,15 +2315,28 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/cluster_parameter_groups/methods/create_resource' - x-type: list - config: - views: - select: - predicate: sqlDialect == "sqlite3" - ddl: |- + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Redshift::ClusterParameterGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + sqlVerbs: + insert: + - $ref: '#/components/x-stackQL-resources/cluster_parameter_groups/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/cluster_parameter_groups/methods/delete_resource' + config: + views: + select: + predicate: sqlDialect == "sqlite3" + ddl: |- SELECT region, JSON_EXTRACT(Properties, '$.ParameterGroupName') as parameter_group_name @@ -1760,6 +2357,7 @@ components: x-cfn-type-name: AWS::Redshift::ClusterParameterGroup x-identifiers: - ParameterGroupName + x-type: get methods: update_resource: operation: @@ -1773,24 +2371,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Redshift::ClusterParameterGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cluster_parameter_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cluster_parameter_group/methods/delete_resource' - x-type: get config: views: select: @@ -1828,10 +2411,26 @@ components: x-cfn-type-name: AWS::Redshift::ClusterSubnetGroup x-identifiers: - ClusterSubnetGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ClusterSubnetGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Redshift::ClusterSubnetGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1844,7 +2443,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/cluster_subnet_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/cluster_subnet_groups/methods/delete_resource' config: views: select: @@ -1870,6 +2470,7 @@ components: x-cfn-type-name: AWS::Redshift::ClusterSubnetGroup x-identifiers: - ClusterSubnetGroupName + x-type: get methods: update_resource: operation: @@ -1883,24 +2484,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Redshift::ClusterSubnetGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cluster_subnet_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cluster_subnet_group/methods/delete_resource' - x-type: get config: views: select: @@ -1936,10 +2522,26 @@ components: x-cfn-type-name: AWS::Redshift::EndpointAccess x-identifiers: - EndpointName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EndpointAccess&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Redshift::EndpointAccess" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1952,7 +2554,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/endpoint_accesses/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/endpoint_accesses/methods/delete_resource' config: views: select: @@ -1978,6 +2581,7 @@ components: x-cfn-type-name: AWS::Redshift::EndpointAccess x-identifiers: - EndpointName + x-type: get methods: update_resource: operation: @@ -1991,24 +2595,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Redshift::EndpointAccess" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/endpoint_access/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/endpoint_access/methods/delete_resource' - x-type: get config: views: select: @@ -2059,10 +2648,26 @@ components: x-identifiers: - ClusterIdentifier - Account + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EndpointAuthorization&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Redshift::EndpointAuthorization" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2075,7 +2680,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/endpoint_authorizations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/endpoint_authorizations/methods/delete_resource' config: views: select: @@ -2104,6 +2710,7 @@ components: x-identifiers: - ClusterIdentifier - Account + x-type: get methods: update_resource: operation: @@ -2117,24 +2724,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Redshift::EndpointAuthorization" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/endpoint_authorization/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/endpoint_authorization/methods/delete_resource' - x-type: get config: views: select: @@ -2186,10 +2778,26 @@ components: x-cfn-type-name: AWS::Redshift::EventSubscription x-identifiers: - SubscriptionName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EventSubscription&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Redshift::EventSubscription" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2202,7 +2810,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/event_subscriptions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/event_subscriptions/methods/delete_resource' config: views: select: @@ -2228,6 +2837,7 @@ components: x-cfn-type-name: AWS::Redshift::EventSubscription x-identifiers: - SubscriptionName + x-type: get methods: update_resource: operation: @@ -2241,24 +2851,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Redshift::EventSubscription" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/event_subscription/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/event_subscription/methods/delete_resource' - x-type: get config: views: select: @@ -2314,10 +2909,26 @@ components: x-cfn-type-name: AWS::Redshift::ScheduledAction x-identifiers: - ScheduledActionName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ScheduledAction&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Redshift::ScheduledAction" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2330,7 +2941,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/scheduled_actions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/scheduled_actions/methods/delete_resource' config: views: select: @@ -2356,6 +2968,7 @@ components: x-cfn-type-name: AWS::Redshift::ScheduledAction x-identifiers: - ScheduledActionName + x-type: get methods: update_resource: operation: @@ -2369,24 +2982,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Redshift::ScheduledAction" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/scheduled_action/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/scheduled_action/methods/delete_resource' - x-type: get config: views: select: @@ -2570,8 +3168,304 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Cluster&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCluster + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateClusterRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ClusterParameterGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateClusterParameterGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateClusterParameterGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ClusterSubnetGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateClusterSubnetGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateClusterSubnetGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EndpointAccess&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEndpointAccess + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEndpointAccessRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EndpointAuthorization&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEndpointAuthorization + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEndpointAuthorizationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EventSubscription&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEventSubscription + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEventSubscriptionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ScheduledAction&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateScheduledAction + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateScheduledActionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/redshiftserverless.yaml b/providers/src/aws/v00.00.00000/services/redshiftserverless.yaml index 118ca93c..44b5f021 100644 --- a/providers/src/aws/v00.00.00000/services/redshiftserverless.yaml +++ b/providers/src/aws/v00.00.00000/services/redshiftserverless.yaml @@ -847,6 +847,192 @@ components: - AVAILABLE - MODIFYING - DELETING + CreateNamespaceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AdminPasswordSecretKmsKeyId: + description: The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if manageAdminPassword is true. + type: string + AdminUserPassword: + description: The password associated with the admin user for the namespace that is being created. Password must be at least 8 characters in length, should be any printable ASCII character. Must contain at least one lowercase letter, one uppercase letter and one decimal digit. You can't use adminUserPassword if manageAdminPassword is true. + type: string + maxLength: 64 + minLength: 8 + pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^\x00-\x20\x22\x27\x2f\x40\x5c\x7f-\uffff]+ + AdminUsername: + description: The user name associated with the admin user for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet. + type: string + pattern: '[a-zA-Z][a-zA-Z_0-9+.@-]*' + DbName: + description: The database name associated for the namespace that is being created. Only alphanumeric characters and underscores are allowed. It should start with an alphabet. + type: string + pattern: '[a-zA-Z][a-zA-Z_0-9+.@-]*' + maxLength: 127 + DefaultIamRoleArn: + description: The default IAM role ARN for the namespace that is being created. + type: string + IamRoles: + description: A list of AWS Identity and Access Management (IAM) roles that can be used by the namespace to access other AWS services. You must supply the IAM roles in their Amazon Resource Name (ARN) format. The Default role limit for each request is 10. + type: array + x-insertionOrder: false + items: + type: string + maxLength: 512 + minLength: 0 + KmsKeyId: + description: The AWS Key Management Service (KMS) key ID of the encryption key that you want to use to encrypt data in the namespace. + type: string + LogExports: + description: 'The collection of log types to be exported provided by the customer. Should only be one of the three supported log types: userlog, useractivitylog and connectionlog' + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/LogExport' + maxItems: 16 + minItems: 0 + ManageAdminPassword: + description: If true, Amazon Redshift uses AWS Secrets Manager to manage the namespace's admin credentials. You can't use adminUserPassword if manageAdminPassword is true. If manageAdminPassword is false or not set, Amazon Redshift uses adminUserPassword for the admin user account's password. + type: boolean + Namespace: + $ref: '#/components/schemas/Namespace' + description: Definition of Namespace resource. + NamespaceName: + description: A unique identifier for the namespace. You use this identifier to refer to the namespace for any subsequent namespace operations such as deleting or modifying. All alphabetical characters must be lower case. Namespace name should be unique for all namespaces within an AWS account. + type: string + maxLength: 64 + minLength: 3 + pattern: ^[a-z0-9-]+$ + Tags: + description: The list of tags for the namespace. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + FinalSnapshotName: + description: The name of the namespace the source snapshot was created from. Please specify the name if needed before deleting namespace + type: string + pattern: '[a-z][a-z0-9]*(-[a-z0-9]+)*' + maxLength: 255 + FinalSnapshotRetentionPeriod: + description: The number of days to retain automated snapshot in the destination region after they are copied from the source region. If the value is -1, the manual snapshot is retained indefinitely. The value must be either -1 or an integer between 1 and 3,653. + type: integer + NamespaceResourcePolicy: + description: The resource policy document that will be attached to the namespace. + type: object + RedshiftIdcApplicationArn: + description: The ARN for the Redshift application that integrates with IAM Identity Center. + type: string + SnapshotCopyConfigurations: + description: The snapshot copy configurations for the namespace. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/SnapshotCopyConfiguration' + maxItems: 1 + minItems: 0 + x-stackQL-stringOnly: true + x-title: CreateNamespaceRequest + type: object + required: [] + CreateWorkgroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + WorkgroupName: + description: The name of the workgroup. + type: string + pattern: ^(?=^[a-z0-9-]+$).{3,64}$ + maxLength: 64 + minLength: 3 + NamespaceName: + description: The namespace the workgroup is associated with. + type: string + pattern: ^(?=^[a-z0-9-]+$).{3,64}$ + maxLength: 64 + minLength: 3 + BaseCapacity: + description: The base compute capacity of the workgroup in Redshift Processing Units (RPUs). + type: integer + MaxCapacity: + description: The max compute capacity of the workgroup in Redshift Processing Units (RPUs). + type: integer + EnhancedVpcRouting: + description: The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. + type: boolean + default: false + ConfigParameters: + description: A list of parameters to set for finer control over a database. Available options are datestyle, enable_user_activity_logging, query_group, search_path, max_query_execution_time, and require_ssl. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/ConfigParameter' + minItems: 1 + SecurityGroupIds: + description: A list of security group IDs to associate with the workgroup. + type: array + x-insertionOrder: false + items: + type: string + pattern: ^sg-[0-9a-fA-F]{8,}$ + maxLength: 255 + minLength: 0 + maxItems: 32 + minItems: 1 + SubnetIds: + description: A list of subnet IDs the workgroup is associated with. + type: array + x-insertionOrder: false + items: + type: string + pattern: ^subnet-[0-9a-fA-F]{8,}$ + maxLength: 255 + minLength: 0 + maxItems: 32 + minItems: 1 + PubliclyAccessible: + description: A value that specifies whether the workgroup can be accessible from a public network. + type: boolean + default: false + Port: + description: The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439. + type: integer + Tags: + description: The map of the key-value pairs used to tag the workgroup. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + Workgroup: + description: Definition for workgroup resource + $ref: '#/components/schemas/Workgroup' + x-stackQL-stringOnly: true + x-title: CreateWorkgroupRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -862,10 +1048,26 @@ components: x-cfn-type-name: AWS::RedshiftServerless::Namespace x-identifiers: - NamespaceName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Namespace&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RedshiftServerless::Namespace" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -878,7 +1080,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/namespaces/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/namespaces/methods/delete_resource' config: views: select: @@ -904,6 +1107,7 @@ components: x-cfn-type-name: AWS::RedshiftServerless::Namespace x-identifiers: - NamespaceName + x-type: get methods: update_resource: operation: @@ -917,24 +1121,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RedshiftServerless::Namespace" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/namespace/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/namespace/methods/delete_resource' - x-type: get config: views: select: @@ -996,10 +1185,26 @@ components: x-cfn-type-name: AWS::RedshiftServerless::Workgroup x-identifiers: - WorkgroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Workgroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RedshiftServerless::Workgroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1012,7 +1217,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/workgroups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/workgroups/methods/delete_resource' config: views: select: @@ -1038,6 +1244,7 @@ components: x-cfn-type-name: AWS::RedshiftServerless::Workgroup x-identifiers: - WorkgroupName + x-type: get methods: update_resource: operation: @@ -1051,24 +1258,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RedshiftServerless::Workgroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/workgroup/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/workgroup/methods/delete_resource' - x-type: get config: views: select: @@ -1256,8 +1448,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Namespace&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateNamespace + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateNamespaceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Workgroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateWorkgroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateWorkgroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/refactorspaces.yaml b/providers/src/aws/v00.00.00000/services/refactorspaces.yaml index 6770c478..60e367ee 100644 --- a/providers/src/aws/v00.00.00000/services/refactorspaces.yaml +++ b/providers/src/aws/v00.00.00000/services/refactorspaces.yaml @@ -1050,6 +1050,258 @@ components: list: - refactor-spaces:ListServices - refactor-spaces:ListTagsForResource + CreateApplicationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ApiGatewayProxy: + $ref: '#/components/schemas/ApiGatewayProxyInput' + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:(aws[a-zA-Z-]*)?:refactor-spaces:[a-zA-Z0-9\-]+:\w{12}:[a-zA-Z_0-9+=,.@\-_/]+$ + ApiGatewayId: + type: string + maxLength: 10 + minLength: 10 + pattern: ^[a-z0-9]{10}$ + VpcLinkId: + type: string + maxLength: 10 + minLength: 10 + pattern: ^[a-z0-9]{10}$ + NlbArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:(aws[a-zA-Z-]*)?:elasticloadbalancing:[a-zA-Z0-9\\-]+:\\w{12}:[a-zA-Z_0-9+=,.@\\-_\/]+$ + NlbName: + type: string + maxLength: 32 + minLength: 1 + pattern: ^(?!internal-)[a-zA-Z0-9]+[a-zA-Z0-9-_ ]+.*[^-]$ + ApplicationIdentifier: + type: string + maxLength: 14 + minLength: 14 + pattern: ^app-([0-9A-Za-z]{10}$) + EnvironmentIdentifier: + type: string + maxLength: 14 + minLength: 14 + pattern: ^env-([0-9A-Za-z]{10}$) + Name: + type: string + maxLength: 63 + minLength: 3 + pattern: ^(?!app-)[a-zA-Z0-9]+[a-zA-Z0-9-_ ]+$ + ProxyType: + $ref: '#/components/schemas/ProxyType' + VpcId: + type: string + maxLength: 21 + minLength: 12 + pattern: ^vpc-[-a-f0-9]{8}([-a-f0-9]{9})?$ + StageName: + type: string + maxLength: 128 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]*$ + ProxyUrl: + type: string + maxLength: 2048 + minLength: 1 + pattern: ^http://[-a-zA-Z0-9+\x38@#/%?=~_|!:,.;]*[-a-zA-Z0-9+\x38@#/%=~_|]$ + Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + description: Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair. + x-stackQL-stringOnly: true + x-title: CreateApplicationRequest + type: object + required: [] + CreateEnvironmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9-_\s\.\!\*\#\@\']+$ + EnvironmentIdentifier: + type: string + maxLength: 14 + minLength: 14 + pattern: ^env-([0-9A-Za-z]{10}$) + Name: + type: string + maxLength: 63 + minLength: 3 + pattern: ^(?!env-)[a-zA-Z0-9]+[a-zA-Z0-9-_ ]+$ + NetworkFabricType: + $ref: '#/components/schemas/NetworkFabricType' + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:(aws[a-zA-Z-]*)?:refactor-spaces:[a-zA-Z0-9\-]+:\w{12}:[a-zA-Z_0-9+=,.@\-_/]+$ + TransitGatewayId: + type: string + maxLength: 21 + minLength: 21 + pattern: ^tgw-[-a-f0-9]{17}$ + Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + description: Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair. + x-stackQL-stringOnly: true + x-title: CreateEnvironmentRequest + type: object + required: [] + CreateRouteRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PathResourceToId: + type: string + Arn: + type: string + minLength: 20 + maxLength: 2048 + pattern: ^arn:(aws[a-zA-Z-]*)?:refactor-spaces:[a-zA-Z0-9\-]+:\w{12}:[a-zA-Z_0-9+=,.@\-_/]+$ + ApplicationIdentifier: + type: string + maxLength: 14 + minLength: 14 + pattern: ^app-([0-9A-Za-z]{10}$) + EnvironmentIdentifier: + type: string + maxLength: 14 + minLength: 14 + pattern: ^env-([0-9A-Za-z]{10}$) + RouteIdentifier: + type: string + maxLength: 14 + minLength: 14 + pattern: ^rte-([0-9A-Za-z]{10}$) + RouteType: + $ref: '#/components/schemas/RouteType' + ServiceIdentifier: + type: string + maxLength: 14 + minLength: 14 + pattern: ^svc-([0-9A-Za-z]{10}$) + DefaultRoute: + $ref: '#/components/schemas/DefaultRouteInput' + UriPathRoute: + $ref: '#/components/schemas/UriPathRouteInput' + Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + description: Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair. + x-stackQL-stringOnly: true + x-title: CreateRouteRequest + type: object + required: [] + CreateServiceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + minLength: 20 + maxLength: 2048 + pattern: ^arn:(aws[a-zA-Z-]*)?:refactor-spaces:[a-zA-Z0-9\-]+:\w{12}:[a-zA-Z_0-9+=,.@\-_/]+$ + ApplicationIdentifier: + type: string + maxLength: 14 + minLength: 14 + pattern: ^app-([0-9A-Za-z]{10}$) + Description: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9-_\s\.\!\*\#\@\']+$ + EndpointType: + $ref: '#/components/schemas/ServiceEndpointType' + EnvironmentIdentifier: + type: string + maxLength: 14 + minLength: 14 + pattern: ^env-([0-9A-Za-z]{10}$) + LambdaEndpoint: + $ref: '#/components/schemas/LambdaEndpointInput' + Name: + type: string + maxLength: 63 + minLength: 3 + pattern: ^(?!svc-)[a-zA-Z0-9]+[a-zA-Z0-9-_ ]+$ + ServiceIdentifier: + type: string + maxLength: 14 + minLength: 14 + pattern: ^svc-([0-9A-Za-z]{10}$) + UrlEndpoint: + $ref: '#/components/schemas/UrlEndpointInput' + VpcId: + type: string + maxLength: 21 + minLength: 12 + pattern: ^vpc-[-a-f0-9]{8}([-a-f0-9]{9})?$ + Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + description: Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair. + x-stackQL-stringOnly: true + x-title: CreateServiceRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1066,10 +1318,26 @@ components: x-identifiers: - EnvironmentIdentifier - ApplicationIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RefactorSpaces::Application" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1082,7 +1350,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource' config: views: select: @@ -1111,24 +1380,10 @@ components: x-identifiers: - EnvironmentIdentifier - ApplicationIdentifier - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RefactorSpaces::Application" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/application/methods/delete_resource' - x-type: get config: views: select: @@ -1184,10 +1439,26 @@ components: x-cfn-type-name: AWS::RefactorSpaces::Environment x-identifiers: - EnvironmentIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RefactorSpaces::Environment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1200,7 +1471,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/environments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/environments/methods/delete_resource' config: views: select: @@ -1226,24 +1498,10 @@ components: x-cfn-type-name: AWS::RefactorSpaces::Environment x-identifiers: - EnvironmentIdentifier - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RefactorSpaces::Environment" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/environment/methods/delete_resource' - x-type: get config: views: select: @@ -1287,10 +1545,26 @@ components: - EnvironmentIdentifier - ApplicationIdentifier - RouteIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Route&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RefactorSpaces::Route" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1303,7 +1577,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/routes/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/routes/methods/delete_resource' config: views: select: @@ -1335,6 +1610,7 @@ components: - EnvironmentIdentifier - ApplicationIdentifier - RouteIdentifier + x-type: get methods: update_resource: operation: @@ -1348,24 +1624,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RefactorSpaces::Route" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/route/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/route/methods/delete_resource' - x-type: get config: views: select: @@ -1415,10 +1676,26 @@ components: - EnvironmentIdentifier - ApplicationIdentifier - ServiceIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Service&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RefactorSpaces::Service" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1431,7 +1708,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/services/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/services/methods/delete_resource' config: views: select: @@ -1463,24 +1741,10 @@ components: - EnvironmentIdentifier - ApplicationIdentifier - ServiceIdentifier - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RefactorSpaces::Service" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/service/methods/delete_resource' - x-type: get config: views: select: @@ -1666,8 +1930,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplication + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnvironment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnvironmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Route&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRoute + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRouteRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Service&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateService + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServiceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/rekognition.yaml b/providers/src/aws/v00.00.00000/services/rekognition.yaml index 3161138d..7f2f398f 100644 --- a/providers/src/aws/v00.00.00000/services/rekognition.yaml +++ b/providers/src/aws/v00.00.00000/services/rekognition.yaml @@ -763,6 +763,135 @@ components: - rekognition:DeleteStreamProcessor list: - rekognition:ListStreamProcessors + CreateCollectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/Arn' + CollectionId: + $ref: '#/components/schemas/CollectionId' + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + minItems: 0 + maxItems: 200 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateCollectionRequest + type: object + required: [] + CreateProjectRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/Arn' + ProjectName: + $ref: '#/components/schemas/ProjectName' + x-stackQL-stringOnly: true + x-title: CreateProjectRequest + type: object + required: [] + CreateStreamProcessorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/Arn' + Name: + description: Name of the stream processor. It's an identifier you assign to the stream processor. You can use it to manage the stream processor. + type: string + minLength: 1 + maxLength: 128 + pattern: '[a-zA-Z0-9_.\-]+' + KmsKeyId: + description: The KMS key that is used by Rekognition to encrypt any intermediate customer metadata and store in the customer's S3 bucket. + type: string + RoleArn: + description: ARN of the IAM role that allows access to the stream processor, and provides Rekognition read permissions for KVS stream and write permissions to S3 bucket and SNS topic. + type: string + maxLength: 2048 + pattern: arn:aws(-[\w]+)*:iam::[0-9]{12}:role/.* + KinesisVideoStream: + $ref: '#/components/schemas/KinesisVideoStream' + FaceSearchSettings: + $ref: '#/components/schemas/FaceSearchSettings' + ConnectedHomeSettings: + $ref: '#/components/schemas/ConnectedHomeSettings' + KinesisDataStream: + $ref: '#/components/schemas/KinesisDataStream' + S3Destination: + $ref: '#/components/schemas/S3Destination' + NotificationChannel: + $ref: '#/components/schemas/NotificationChannel' + DataSharingPreference: + $ref: '#/components/schemas/DataSharingPreference' + PolygonRegionsOfInterest: + description: The PolygonRegionsOfInterest specifies a set of polygon areas of interest in the video frames to analyze, as part of connected home feature. Each polygon is in turn, an ordered list of Point + type: array + uniqueItems: true + x-insertionOrder: false + minItems: 0 + items: + $ref: '#/components/schemas/Polygon' + BoundingBoxRegionsOfInterest: + description: The BoundingBoxRegionsOfInterest specifies an array of bounding boxes of interest in the video frames to analyze, as part of connected home feature. If an object is partially in a region of interest, Rekognition will tag it as detected if the overlap of the object with the region-of-interest is greater than 20%. + type: array + uniqueItems: true + x-insertionOrder: false + minItems: 0 + items: + $ref: '#/components/schemas/BoundingBox' + Status: + description: Current status of the stream processor. + type: string + StatusMessage: + description: Detailed status message about the stream processor. + type: string + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + minItems: 0 + maxItems: 200 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateStreamProcessorRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -778,10 +907,26 @@ components: x-cfn-type-name: AWS::Rekognition::Collection x-identifiers: - CollectionId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Collection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Rekognition::Collection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -794,7 +939,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/collections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/collections/methods/delete_resource' config: views: select: @@ -820,6 +966,7 @@ components: x-cfn-type-name: AWS::Rekognition::Collection x-identifiers: - CollectionId + x-type: get methods: update_resource: operation: @@ -833,24 +980,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Rekognition::Collection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/collection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/collection/methods/delete_resource' - x-type: get config: views: select: @@ -884,10 +1016,26 @@ components: x-cfn-type-name: AWS::Rekognition::Project x-identifiers: - ProjectName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Project&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Rekognition::Project" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -900,7 +1048,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/projects/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/projects/methods/delete_resource' config: views: select: @@ -926,6 +1075,7 @@ components: x-cfn-type-name: AWS::Rekognition::Project x-identifiers: - ProjectName + x-type: get methods: update_resource: operation: @@ -939,24 +1089,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Rekognition::Project" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/project/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/project/methods/delete_resource' - x-type: get config: views: select: @@ -988,10 +1123,26 @@ components: x-cfn-type-name: AWS::Rekognition::StreamProcessor x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StreamProcessor&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Rekognition::StreamProcessor" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1004,7 +1155,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/stream_processors/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/stream_processors/methods/delete_resource' config: views: select: @@ -1030,6 +1182,7 @@ components: x-cfn-type-name: AWS::Rekognition::StreamProcessor x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1043,24 +1196,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Rekognition::StreamProcessor" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/stream_processor/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/stream_processor/methods/delete_resource' - x-type: get config: views: select: @@ -1256,8 +1394,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Collection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCollection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCollectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Project&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProject + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProjectRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StreamProcessor&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStreamProcessor + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStreamProcessorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/resiliencehub.yaml b/providers/src/aws/v00.00.00000/services/resiliencehub.yaml index 3bc17bef..d93699a4 100644 --- a/providers/src/aws/v00.00.00000/services/resiliencehub.yaml +++ b/providers/src/aws/v00.00.00000/services/resiliencehub.yaml @@ -725,6 +725,126 @@ components: - resiliencehub:UntagResource list: - resiliencehub:ListResiliencyPolicies + CreateAppRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Name of the app. + type: string + pattern: ^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$ + Description: + description: App description. + type: string + minLength: 0 + maxLength: 500 + AppArn: + type: string + description: Amazon Resource Name (ARN) of the App. + pattern: ^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + ResiliencyPolicyArn: + type: string + description: Amazon Resource Name (ARN) of the Resiliency Policy. + pattern: ^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + Tags: + $ref: '#/components/schemas/TagMap' + AppTemplateBody: + description: A string containing full ResilienceHub app template body. + type: string + minLength: 0 + maxLength: 409600 + pattern: ^[\w\s:,-\.'\/{}\[\]:"]+$ + ResourceMappings: + description: An array of ResourceMapping objects. + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/ResourceMapping' + AppAssessmentSchedule: + description: Assessment execution schedule. + type: string + enum: + - Disabled + - Daily + PermissionModel: + $ref: '#/components/schemas/PermissionModel' + EventSubscriptions: + description: The list of events you would like to subscribe and get notification for. + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/EventSubscription' + DriftStatus: + description: Indicates if compliance drifts (deviations) were detected while running an assessment for your application. + type: string + enum: + - NotChecked + - NotDetected + - Detected + x-stackQL-stringOnly: true + x-title: CreateAppRequest + type: object + required: [] + CreateResiliencyPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PolicyName: + description: Name of Resiliency Policy. + type: string + pattern: ^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$ + PolicyDescription: + description: Description of Resiliency Policy. + type: string + maxLength: 500 + DataLocationConstraint: + type: string + description: Data Location Constraint of the Policy. + enum: + - AnyLocation + - SameContinent + - SameCountry + Tier: + type: string + description: Resiliency Policy Tier. + enum: + - MissionCritical + - Critical + - Important + - CoreServices + - NonCritical + Policy: + $ref: '#/components/schemas/PolicyMap' + PolicyArn: + type: string + description: Amazon Resource Name (ARN) of the Resiliency Policy. + pattern: ^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ + Tags: + $ref: '#/components/schemas/TagMap' + x-stackQL-stringOnly: true + x-title: CreateResiliencyPolicyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -740,10 +860,26 @@ components: x-cfn-type-name: AWS::ResilienceHub::App x-identifiers: - AppArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__App&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ResilienceHub::App" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -756,7 +892,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/apps/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/apps/methods/delete_resource' config: views: select: @@ -782,6 +919,7 @@ components: x-cfn-type-name: AWS::ResilienceHub::App x-identifiers: - AppArn + x-type: get methods: update_resource: operation: @@ -795,24 +933,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ResilienceHub::App" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/app/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/app/methods/delete_resource' - x-type: get config: views: select: @@ -862,10 +985,26 @@ components: x-cfn-type-name: AWS::ResilienceHub::ResiliencyPolicy x-identifiers: - PolicyArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResiliencyPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ResilienceHub::ResiliencyPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -878,7 +1017,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resiliency_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resiliency_policies/methods/delete_resource' config: views: select: @@ -904,6 +1044,7 @@ components: x-cfn-type-name: AWS::ResilienceHub::ResiliencyPolicy x-identifiers: - PolicyArn + x-type: get methods: update_resource: operation: @@ -917,24 +1058,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ResilienceHub::ResiliencyPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resiliency_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resiliency_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1112,8 +1238,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__App&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApp + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAppRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResiliencyPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResiliencyPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResiliencyPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/resourceexplorer2.yaml b/providers/src/aws/v00.00.00000/services/resourceexplorer2.yaml index 093c2d3a..d4bcff9e 100644 --- a/providers/src/aws/v00.00.00000/services/resourceexplorer2.yaml +++ b/providers/src/aws/v00.00.00000/services/resourceexplorer2.yaml @@ -564,6 +564,86 @@ components: - resource-explorer-2:UntagResource list: - resource-explorer-2:ListViews + CreateDefaultViewAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ViewArn: + type: string + AssociatedAwsPrincipal: + description: The AWS principal that the default view is associated with, used as the unique identifier for this resource. + type: string + pattern: ^[0-9]{12}$ + x-stackQL-stringOnly: true + x-title: CreateDefaultViewAssociationRequest + type: object + required: [] + CreateIndexRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + Tags: + $ref: '#/components/schemas/TagMap' + Type: + $ref: '#/components/schemas/IndexType' + IndexState: + $ref: '#/components/schemas/IndexState' + x-stackQL-stringOnly: true + x-title: CreateIndexRequest + type: object + required: [] + CreateViewRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Filters: + $ref: '#/components/schemas/SearchFilter' + IncludedProperties: + type: array + items: + $ref: '#/components/schemas/IncludedProperty' + Scope: + type: string + Tags: + $ref: '#/components/schemas/TagMap' + ViewArn: + type: string + ViewName: + type: string + pattern: ^[a-zA-Z0-9\-]{1,64}$ + x-stackQL-stringOnly: true + x-title: CreateViewRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -579,10 +659,26 @@ components: x-cfn-type-name: AWS::ResourceExplorer2::DefaultViewAssociation x-identifiers: - AssociatedAwsPrincipal + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DefaultViewAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ResourceExplorer2::DefaultViewAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -595,6 +691,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/default_view_associations/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/default_view_associations/methods/delete_resource' default_view_association: name: default_view_association id: aws.resourceexplorer2.default_view_association @@ -602,6 +700,7 @@ components: x-cfn-type-name: AWS::ResourceExplorer2::DefaultViewAssociation x-identifiers: - AssociatedAwsPrincipal + x-type: get methods: update_resource: operation: @@ -615,24 +714,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ResourceExplorer2::DefaultViewAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/default_view_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/default_view_association/methods/delete_resource' - x-type: get config: views: select: @@ -664,10 +748,26 @@ components: x-cfn-type-name: AWS::ResourceExplorer2::Index x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Index&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ResourceExplorer2::Index" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -680,7 +780,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/indices/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/indices/methods/delete_resource' config: views: select: @@ -706,6 +807,7 @@ components: x-cfn-type-name: AWS::ResourceExplorer2::Index x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -719,24 +821,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ResourceExplorer2::Index" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/index/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/index/methods/delete_resource' - x-type: get config: views: select: @@ -772,10 +859,26 @@ components: x-cfn-type-name: AWS::ResourceExplorer2::View x-identifiers: - ViewArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__View&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ResourceExplorer2::View" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -788,7 +891,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/views/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/views/methods/delete_resource' config: views: select: @@ -814,6 +918,7 @@ components: x-cfn-type-name: AWS::ResourceExplorer2::View x-identifiers: - ViewArn + x-type: get methods: update_resource: operation: @@ -827,24 +932,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ResourceExplorer2::View" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/view/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/view/methods/delete_resource' - x-type: get config: views: select: @@ -1020,8 +1110,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__DefaultViewAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDefaultViewAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDefaultViewAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Index&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIndex + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIndexRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__View&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateView + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateViewRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/resourcegroups.yaml b/providers/src/aws/v00.00.00000/services/resourcegroups.yaml index d134436d..ff09a2a6 100644 --- a/providers/src/aws/v00.00.00000/services/resourcegroups.yaml +++ b/providers/src/aws/v00.00.00000/services/resourcegroups.yaml @@ -529,6 +529,46 @@ components: - resource-groups:UnGroupResources list: - resource-groups:ListGroups + CreateGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name of the resource group + type: string + maxLength: 128 + Description: + description: The description of the resource group + type: string + maxLength: 512 + ResourceQuery: + $ref: '#/components/schemas/ResourceQuery' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + Arn: + description: The Resource Group ARN. + type: string + Configuration: + $ref: '#/components/schemas/Configuration' + Resources: + type: array + items: + type: string + x-stackQL-stringOnly: true + x-title: CreateGroupRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -544,10 +584,26 @@ components: x-cfn-type-name: AWS::ResourceGroups::Group x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Group&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ResourceGroups::Group" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -560,7 +616,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/groups/methods/delete_resource' config: views: select: @@ -586,6 +643,7 @@ components: x-cfn-type-name: AWS::ResourceGroups::Group x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -599,24 +657,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ResourceGroups::Group" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/group/methods/delete_resource' - x-type: get config: views: select: @@ -794,8 +837,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Group&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/robomaker.yaml b/providers/src/aws/v00.00.00000/services/robomaker.yaml index 5abbfb24..32512358 100644 --- a/providers/src/aws/v00.00.00000/services/robomaker.yaml +++ b/providers/src/aws/v00.00.00000/services/robomaker.yaml @@ -821,6 +821,224 @@ components: - robomaker:DescribeSimulationApplication read: - robomaker:DescribeSimulationApplication + CreateFleetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/Arn' + Tags: + $ref: '#/components/schemas/Tags' + Name: + description: The name of the fleet. + type: string + minLength: 1 + maxLength: 255 + pattern: '[a-zA-Z0-9_\-]{1,255}$' + x-stackQL-stringOnly: true + x-title: CreateFleetRequest + type: object + required: [] + CreateRobotRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/Arn' + Fleet: + description: The Amazon Resource Name (ARN) of the fleet. + type: string + minLength: 1 + maxLength: 1224 + Architecture: + description: The target architecture of the robot. + type: string + enum: + - X86_64 + - ARM64 + - ARMHF + GreengrassGroupId: + description: The Greengrass group id. + type: string + minLength: 1 + maxLength: 1224 + Tags: + $ref: '#/components/schemas/Tags' + Name: + description: The name for the robot. + type: string + minLength: 1 + maxLength: 255 + x-stackQL-stringOnly: true + x-title: CreateRobotRequest + type: object + required: [] + CreateRobotApplicationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name of the robot application. + type: string + minLength: 1 + maxLength: 255 + Sources: + description: The sources of the robot application. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/SourceConfig' + Environment: + description: The URI of the Docker image for the robot application. + type: string + RobotSoftwareSuite: + $ref: '#/components/schemas/RobotSoftwareSuite' + CurrentRevisionId: + description: The revision ID of robot application. + type: string + minLength: 1 + maxLength: 40 + Arn: + $ref: '#/components/schemas/Arn' + Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateRobotApplicationRequest + type: object + required: [] + CreateRobotApplicationVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Application: + $ref: '#/components/schemas/Arn' + CurrentRevisionId: + description: The revision ID of robot application. + type: string + minLength: 1 + maxLength: 40 + pattern: '[a-zA-Z0-9_.\-]*' + ApplicationVersion: + type: string + Arn: + $ref: '#/components/schemas/Arn' + x-stackQL-stringOnly: true + x-title: CreateRobotApplicationVersionRequest + type: object + required: [] + CreateSimulationApplicationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/Arn' + Name: + description: The name of the simulation application. + type: string + minLength: 1 + maxLength: 255 + pattern: '[a-zA-Z0-9_\-]*' + CurrentRevisionId: + description: The current revision id. + type: string + RenderingEngine: + description: The rendering engine for the simulation application. + $ref: '#/components/schemas/RenderingEngine' + RobotSoftwareSuite: + description: The robot software suite used by the simulation application. + $ref: '#/components/schemas/RobotSoftwareSuite' + SimulationSoftwareSuite: + description: The simulation software suite used by the simulation application. + $ref: '#/components/schemas/SimulationSoftwareSuite' + Sources: + description: The sources of the simulation application. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/SourceConfig' + Environment: + description: The URI of the Docker image for the robot application. + type: string + Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateSimulationApplicationRequest + type: object + required: [] + CreateSimulationApplicationVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Application: + $ref: '#/components/schemas/Arn' + CurrentRevisionId: + description: The revision ID of robot application. + type: string + minLength: 1 + maxLength: 40 + pattern: '[a-zA-Z0-9_.\-]*' + ApplicationVersion: + type: string + Arn: + $ref: '#/components/schemas/Arn' + x-stackQL-stringOnly: true + x-title: CreateSimulationApplicationVersionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -836,10 +1054,26 @@ components: x-cfn-type-name: AWS::RoboMaker::Fleet x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Fleet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RoboMaker::Fleet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -852,7 +1086,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/fleets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/fleets/methods/delete_resource' config: views: select: @@ -878,6 +1113,7 @@ components: x-cfn-type-name: AWS::RoboMaker::Fleet x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -891,24 +1127,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RoboMaker::Fleet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/fleet/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/fleet/methods/delete_resource' - x-type: get config: views: select: @@ -942,10 +1163,26 @@ components: x-cfn-type-name: AWS::RoboMaker::Robot x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Robot&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RoboMaker::Robot" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -958,7 +1195,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/robots/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/robots/methods/delete_resource' config: views: select: @@ -984,6 +1222,7 @@ components: x-cfn-type-name: AWS::RoboMaker::Robot x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -997,24 +1236,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RoboMaker::Robot" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/robot/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/robot/methods/delete_resource' - x-type: get config: views: select: @@ -1054,10 +1278,26 @@ components: x-cfn-type-name: AWS::RoboMaker::RobotApplication x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RobotApplication&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RoboMaker::RobotApplication" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1070,7 +1310,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/robot_applications/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/robot_applications/methods/delete_resource' config: views: select: @@ -1096,6 +1337,7 @@ components: x-cfn-type-name: AWS::RoboMaker::RobotApplication x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1109,24 +1351,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RoboMaker::RobotApplication" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/robot_application/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/robot_application/methods/delete_resource' - x-type: get config: views: select: @@ -1168,10 +1395,14 @@ components: x-cfn-type-name: AWS::RoboMaker::RobotApplicationVersion x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RobotApplicationVersion&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1181,17 +1412,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/robot_application_versions/methods/create_resource' - robot_application_version: - name: robot_application_version - id: aws.robomaker.robot_application_version - x-cfn-schema-name: RobotApplicationVersion - x-cfn-type-name: AWS::RoboMaker::RobotApplicationVersion - x-identifiers: - - Arn - methods: delete_resource: operation: $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' @@ -1205,10 +1425,21 @@ components: mediaType: application/json openAPIDocKey: '200' sqlVerbs: - update: [] + insert: + - $ref: '#/components/x-stackQL-resources/robot_application_versions/methods/create_resource' delete: - - $ref: '#/components/x-stackQL-resources/robot_application_version/methods/delete_resource' + - $ref: '#/components/x-stackQL-resources/robot_application_versions/methods/delete_resource' + robot_application_version: + name: robot_application_version + id: aws.robomaker.robot_application_version + x-cfn-schema-name: RobotApplicationVersion + x-cfn-type-name: AWS::RoboMaker::RobotApplicationVersion + x-identifiers: + - Arn x-type: get + methods: {} + sqlVerbs: + update: [] config: views: select: @@ -1244,10 +1475,26 @@ components: x-cfn-type-name: AWS::RoboMaker::SimulationApplication x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SimulationApplication&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RoboMaker::SimulationApplication" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1260,7 +1507,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/simulation_applications/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/simulation_applications/methods/delete_resource' config: views: select: @@ -1286,6 +1534,7 @@ components: x-cfn-type-name: AWS::RoboMaker::SimulationApplication x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1299,24 +1548,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RoboMaker::SimulationApplication" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/simulation_application/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/simulation_application/methods/delete_resource' - x-type: get config: views: select: @@ -1362,10 +1596,14 @@ components: x-cfn-type-name: AWS::RoboMaker::SimulationApplicationVersion x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SimulationApplicationVersion&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1375,17 +1613,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/simulation_application_versions/methods/create_resource' - simulation_application_version: - name: simulation_application_version - id: aws.robomaker.simulation_application_version - x-cfn-schema-name: SimulationApplicationVersion - x-cfn-type-name: AWS::RoboMaker::SimulationApplicationVersion - x-identifiers: - - Arn - methods: delete_resource: operation: $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' @@ -1399,10 +1626,21 @@ components: mediaType: application/json openAPIDocKey: '200' sqlVerbs: - update: [] + insert: + - $ref: '#/components/x-stackQL-resources/simulation_application_versions/methods/create_resource' delete: - - $ref: '#/components/x-stackQL-resources/simulation_application_version/methods/delete_resource' + - $ref: '#/components/x-stackQL-resources/simulation_application_versions/methods/delete_resource' + simulation_application_version: + name: simulation_application_version + id: aws.robomaker.simulation_application_version + x-cfn-schema-name: SimulationApplicationVersion + x-cfn-type-name: AWS::RoboMaker::SimulationApplicationVersion + x-identifiers: + - Arn x-type: get + methods: {} + sqlVerbs: + update: [] config: views: select: @@ -1574,8 +1812,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Fleet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFleet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFleetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Robot&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRobot + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRobotRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RobotApplication&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRobotApplication + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRobotApplicationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RobotApplicationVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRobotApplicationVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRobotApplicationVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SimulationApplication&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSimulationApplication + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSimulationApplicationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SimulationApplicationVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSimulationApplicationVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSimulationApplicationVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/rolesanywhere.yaml b/providers/src/aws/v00.00.00000/services/rolesanywhere.yaml index 23440ac7..e23c90e4 100644 --- a/providers/src/aws/v00.00.00000/services/rolesanywhere.yaml +++ b/providers/src/aws/v00.00.00000/services/rolesanywhere.yaml @@ -666,6 +666,132 @@ components: list: - rolesanywhere:ListTrustAnchors - rolesanywhere:ListTagsForResource + CreateCRLRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CrlData: + type: string + CrlId: + type: string + pattern: '[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}' + Enabled: + type: boolean + Name: + type: string + TrustAnchorArn: + type: string + pattern: ^arn:aws(-[^:]+)?:rolesanywhere(:.*){2}(:trust-anchor.*)$ + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-stackQL-stringOnly: true + x-title: CreateCRLRequest + type: object + required: [] + CreateProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DurationSeconds: + type: number + maximum: 43200 + minimum: 900 + Enabled: + type: boolean + ManagedPolicyArns: + type: array + items: + type: string + Name: + type: string + ProfileArn: + type: string + ProfileId: + type: string + pattern: '[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}' + RequireInstanceProperties: + type: boolean + RoleArns: + type: array + items: + type: string + maxLength: 1011 + minLength: 1 + SessionPolicy: + type: string + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-stackQL-stringOnly: true + x-title: CreateProfileRequest + type: object + required: [] + CreateTrustAnchorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Enabled: + type: boolean + Name: + type: string + NotificationSettings: + type: array + items: + $ref: '#/components/schemas/NotificationSetting' + maxItems: 50 + minItems: 0 + Source: + $ref: '#/components/schemas/Source' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + TrustAnchorId: + type: string + pattern: '[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}' + TrustAnchorArn: + type: string + pattern: '[a-f0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}' + x-stackQL-stringOnly: true + x-title: CreateTrustAnchorRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -681,10 +807,26 @@ components: x-cfn-type-name: AWS::RolesAnywhere::CRL x-identifiers: - CrlId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CRL&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RolesAnywhere::CRL" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -697,7 +839,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/crls/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/crls/methods/delete_resource' config: views: select: @@ -723,6 +866,7 @@ components: x-cfn-type-name: AWS::RolesAnywhere::CRL x-identifiers: - CrlId + x-type: get methods: update_resource: operation: @@ -736,24 +880,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RolesAnywhere::CRL" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/crl/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/crl/methods/delete_resource' - x-type: get config: views: select: @@ -793,10 +922,26 @@ components: x-cfn-type-name: AWS::RolesAnywhere::Profile x-identifiers: - ProfileId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Profile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RolesAnywhere::Profile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -809,7 +954,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/profiles/methods/delete_resource' config: views: select: @@ -835,6 +981,7 @@ components: x-cfn-type-name: AWS::RolesAnywhere::Profile x-identifiers: - ProfileId + x-type: get methods: update_resource: operation: @@ -848,24 +995,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RolesAnywhere::Profile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/profile/methods/delete_resource' - x-type: get config: views: select: @@ -913,10 +1045,26 @@ components: x-cfn-type-name: AWS::RolesAnywhere::TrustAnchor x-identifiers: - TrustAnchorId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TrustAnchor&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RolesAnywhere::TrustAnchor" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -929,7 +1077,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/trust_anchors/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/trust_anchors/methods/delete_resource' config: views: select: @@ -955,6 +1104,7 @@ components: x-cfn-type-name: AWS::RolesAnywhere::TrustAnchor x-identifiers: - TrustAnchorId + x-type: get methods: update_resource: operation: @@ -968,24 +1118,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RolesAnywhere::TrustAnchor" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/trust_anchor/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/trust_anchor/methods/delete_resource' - x-type: get config: views: select: @@ -1163,8 +1298,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__CRL&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCRL + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCRLRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Profile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TrustAnchor&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTrustAnchor + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTrustAnchorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/route53.yaml b/providers/src/aws/v00.00.00000/services/route53.yaml index c9cebfa1..3400ba7d 100644 --- a/providers/src/aws/v00.00.00000/services/route53.yaml +++ b/providers/src/aws/v00.00.00000/services/route53.yaml @@ -900,6 +900,269 @@ components: list: - route53:GetDNSSEC - route53:ListHostedZones + CreateCidrCollectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: UUID of the CIDR collection. + type: string + Name: + description: A unique name for the CIDR collection. + type: string + pattern: ^[0-9A-Za-z_\-]+$ + minLength: 1 + maxLength: 64 + Arn: + description: The Amazon resource name (ARN) to uniquely identify the AWS resource. + type: string + Locations: + description: A complex type that contains information about the list of CIDR locations. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Location' + x-stackQL-stringOnly: true + x-title: CreateCidrCollectionRequest + type: object + required: [] + CreateDNSSECRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + HostedZoneId: + description: The unique string (ID) used to identify a hosted zone. + type: string + pattern: ^[A-Z0-9]{1,32}$ + x-stackQL-stringOnly: true + x-title: CreateDNSSECRequest + type: object + required: [] + CreateHealthCheckRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + HealthCheckId: + type: string + HealthCheckConfig: + description: A complex type that contains information about the health check. + type: object + properties: + AlarmIdentifier: + $ref: '#/components/schemas/AlarmIdentifier' + ChildHealthChecks: + type: array + items: + type: string + maxItems: 256 + x-insertionOrder: false + EnableSNI: + type: boolean + FailureThreshold: + type: integer + minimum: 1 + maximum: 10 + FullyQualifiedDomainName: + type: string + maxLength: 255 + HealthThreshold: + type: integer + minimum: 0 + maximum: 256 + InsufficientDataHealthStatus: + type: string + enum: + - Healthy + - LastKnownStatus + - Unhealthy + Inverted: + type: boolean + IPAddress: + type: string + maxLength: 45 + pattern: >- + ^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))$|^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$ + MeasureLatency: + type: boolean + Port: + type: integer + minimum: 1 + maximum: 65535 + Regions: + type: array + items: + type: string + maxItems: 64 + x-insertionOrder: false + RequestInterval: + type: integer + minimum: 10 + maximum: 30 + ResourcePath: + type: string + maxLength: 255 + SearchString: + type: string + maxLength: 255 + RoutingControlArn: + type: string + minLength: 1 + maxLength: 255 + Type: + type: string + enum: + - CALCULATED + - CLOUDWATCH_METRIC + - HTTP + - HTTP_STR_MATCH + - HTTPS + - HTTPS_STR_MATCH + - TCP + - RECOVERY_CONTROL + required: + - Type + additionalProperties: false + HealthCheckTags: + type: array + uniqueItems: true + x-insertionOrder: false + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/HealthCheckTag' + x-stackQL-stringOnly: true + x-title: CreateHealthCheckRequest + type: object + required: [] + CreateHostedZoneRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + description: '' + HostedZoneConfig: + $ref: '#/components/schemas/HostedZoneConfig' + description: |- + A complex type that contains an optional comment. + If you don't want to specify a comment, omit the ``HostedZoneConfig`` and ``Comment`` elements. + HostedZoneTags: + description: |- + Adds, edits, or deletes tags for a health check or a hosted zone. + For information about using tags for cost allocation, see [Using Cost Allocation Tags](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html) in the *User Guide*. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/HostedZoneTag' + Name: + description: |- + The name of the domain. Specify a fully qualified domain name, for example, *www.example.com*. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats *www.example.com* (without a trailing dot) and *www.example.com.* (with a trailing dot) as identical. + If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Route 53, change the name servers for your domain to the set of ``NameServers`` that are returned by the ``Fn::GetAtt`` intrinsic function. + type: string + maxLength: 1024 + QueryLoggingConfig: + $ref: '#/components/schemas/QueryLoggingConfig' + description: |- + Creates a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs log group. + DNS query logs contain information about the queries that Route 53 receives for a specified public hosted zone, such as the following: + + Route 53 edge location that responded to the DNS query + + Domain or subdomain that was requested + + DNS record type, such as A or AAAA + + DNS response code, such as ``NoError`` or ``ServFail`` + + + Log Group and Resource Policy Before you create a query logging configuration, perform the following operations. If you create a query logging configuration using the Route 53 console, Route 53 performs these operations automatically. Create a CloudWatch Logs log group, and make note of the ARN, which you specify when you create a query logging configuration. Note the following: You must create the log group in the us-east-1 region. You must use the same to create the log group and the hosted zone that you want to configure query logging for. When you create log groups for query logging, we recommend that you use a consistent prefix, for example: /aws/route53/hosted zone name In the next step, you'll create a resource policy, which controls access to one or more log groups and the associated resources, such as Route 53 hosted zones. There's a limit on the number of resource policies that you can create, so we recommend that you use a consistent prefix so you can use the same resource policy for all the log groups that you create for query logging. Create a CloudWatch Logs resource policy, and give it the permissions that Route 53 needs to create log streams and to send query logs to log streams. For the value of Resource, specify the ARN for the log group that you created in the previous step. To use the same resource policy for all the CloudWatch Logs log groups that you created for query logging configurations, replace the hosted zone name with *, for example: arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/* To avoid the confused deputy problem, a security issue where an entity without a permission for an action can coerce a more-privileged entity to perform it, you can optionally limit the permissions that a service has to a resource in a resource-based policy by supplying the following values: For aws:SourceArn, supply the hosted zone ARN used in creating the query logging configuration. For example, aws:SourceArn: arn:aws:route53:::hostedzone/hosted zone ID. For aws:SourceAccount, supply the account ID for the account that creates the query logging configuration. For example, aws:SourceAccount:111111111111. For more information, see The confused deputy problem in the IAM User Guide. You can't use the CloudWatch console to create or edit a resource policy. You must use the CloudWatch API, one of the SDKs, or the . + Log Streams and Edge Locations When Route 53 finishes creating the configuration for DNS query logging, it does the following: Creates a log stream for an edge location the first time that the edge location responds to DNS queries for the specified hosted zone. That log stream is used to log all queries that Route 53 responds to for that edge location. Begins to send query logs to the applicable log stream. The name of each log stream is in the following format: hosted zone ID/edge location code The edge location code is a three-letter code and an arbitrarily assigned number, for example, DFW3. The three-letter code typically corresponds with the International Air Transport Association airport code for an airport near the edge location. (These abbreviations might change in the future.) For a list of edge locations, see "The Route 53 Global Network" on the Route 53 Product Details page. + Queries That Are Logged Query logs contain only the queries that DNS resolvers forward to Route 53. If a DNS resolver has already cached the response to a query (such as the IP address for a load balancer for example.com), the resolver will continue to return the cached response. It doesn't forward another query to Route 53 until the TTL for the corresponding resource record set expires. Depending on how many DNS queries are submitted for a resource record set, and depending on the TTL for that resource record set, query logs might contain information about only one query out of every several thousand queries that are submitted to DNS. For more information about how DNS works, see Routing Internet Traffic to Your Website or Web Application in the Amazon Route 53 Developer Guide. + Log File Format For a list of the values in each query log and the format of each value, see Logging DNS Queries in the Amazon Route 53 Developer Guide. + Pricing For information about charges for query logs, see Amazon CloudWatch Pricing. + How to Stop Logging If you want Route 53 to stop sending query logs to CloudWatch Logs, delete the query logging configuration. For more information, see DeleteQueryLoggingConfig. + VPCs: + description: |- + *Private hosted zones:* A complex type that contains information about the VPCs that are associated with the specified hosted zone. + For public hosted zones, omit ``VPCs``, ``VPCId``, and ``VPCRegion``. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/VPC' + NameServers: + type: array + uniqueItems: false + items: + type: string + description: '' + x-stackQL-stringOnly: true + x-title: CreateHostedZoneRequest + type: object + required: [] + CreateKeySigningKeyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + HostedZoneId: + description: The unique string (ID) used to identify a hosted zone. + type: string + pattern: ^[A-Z0-9]{1,32}$ + Status: + description: A string specifying the initial status of the key signing key (KSK). You can set the value to ACTIVE or INACTIVE. + type: string + enum: + - ACTIVE + - INACTIVE + Name: + description: An alphanumeric string used to identify a key signing key (KSK). Name must be unique for each key signing key in the same hosted zone. + type: string + pattern: ^[a-zA-Z0-9_]{3,128}$ + KeyManagementServiceArn: + description: The Amazon resource name (ARN) for a customer managed key (CMK) in AWS Key Management Service (KMS). The KeyManagementServiceArn must be unique for each key signing key (KSK) in a single hosted zone. + type: string + minLength: 1 + maxLength: 256 + x-stackQL-stringOnly: true + x-title: CreateKeySigningKeyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -915,10 +1178,26 @@ components: x-cfn-type-name: AWS::Route53::CidrCollection x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CidrCollection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53::CidrCollection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -931,7 +1210,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/cidr_collections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/cidr_collections/methods/delete_resource' config: views: select: @@ -957,6 +1237,7 @@ components: x-cfn-type-name: AWS::Route53::CidrCollection x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -970,24 +1251,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53::CidrCollection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cidr_collection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cidr_collection/methods/delete_resource' - x-type: get config: views: select: @@ -1023,10 +1289,26 @@ components: x-cfn-type-name: AWS::Route53::DNSSEC x-identifiers: - HostedZoneId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DNSSEC&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53::DNSSEC" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1039,7 +1321,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/dnssecs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/dnssecs/methods/delete_resource' config: views: select: @@ -1065,24 +1348,10 @@ components: x-cfn-type-name: AWS::Route53::DNSSEC x-identifiers: - HostedZoneId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53::DNSSEC" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/dnssec/methods/delete_resource' - x-type: get config: views: select: @@ -1112,10 +1381,26 @@ components: x-cfn-type-name: AWS::Route53::HealthCheck x-identifiers: - HealthCheckId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__HealthCheck&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53::HealthCheck" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1128,7 +1413,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/health_checks/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/health_checks/methods/delete_resource' config: views: select: @@ -1154,6 +1440,7 @@ components: x-cfn-type-name: AWS::Route53::HealthCheck x-identifiers: - HealthCheckId + x-type: get methods: update_resource: operation: @@ -1167,24 +1454,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53::HealthCheck" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/health_check/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/health_check/methods/delete_resource' - x-type: get config: views: select: @@ -1218,10 +1490,26 @@ components: x-cfn-type-name: AWS::Route53::HostedZone x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__HostedZone&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53::HostedZone" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1234,7 +1522,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/hosted_zones/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/hosted_zones/methods/delete_resource' config: views: select: @@ -1260,6 +1549,7 @@ components: x-cfn-type-name: AWS::Route53::HostedZone x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1273,24 +1563,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53::HostedZone" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/hosted_zone/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/hosted_zone/methods/delete_resource' - x-type: get config: views: select: @@ -1333,10 +1608,26 @@ components: x-identifiers: - HostedZoneId - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__KeySigningKey&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53::KeySigningKey" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1349,7 +1640,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/key_signing_keys/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/key_signing_keys/methods/delete_resource' config: views: select: @@ -1378,6 +1670,7 @@ components: x-identifiers: - HostedZoneId - Name + x-type: get methods: update_resource: operation: @@ -1391,24 +1684,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53::KeySigningKey" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/key_signing_key/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/key_signing_key/methods/delete_resource' - x-type: get config: views: select: @@ -1580,8 +1858,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__CidrCollection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCidrCollection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCidrCollectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DNSSEC&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDNSSEC + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDNSSECRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__HealthCheck&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateHealthCheck + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateHealthCheckRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__HostedZone&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateHostedZone + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateHostedZoneRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__KeySigningKey&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateKeySigningKey + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateKeySigningKeyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/route53recoverycontrol.yaml b/providers/src/aws/v00.00.00000/services/route53recoverycontrol.yaml index f7a7a0c7..ac48bed8 100644 --- a/providers/src/aws/v00.00.00000/services/route53recoverycontrol.yaml +++ b/providers/src/aws/v00.00.00000/services/route53recoverycontrol.yaml @@ -751,6 +751,184 @@ components: - route53-recovery-control-config:DeleteSafetyRule list: - route53-recovery-control-config:ListSafetyRules + CreateClusterRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Name of a Cluster. You can use any non-white space character in the name + type: string + minLength: 1 + maxLength: 64 + ClusterArn: + description: The Amazon Resource Name (ARN) of the cluster. + type: string + minLength: 1 + maxLength: 2048 + Status: + description: 'Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.' + type: string + enum: + - PENDING + - DEPLOYED + - PENDING_DELETION + ClusterEndpoints: + description: Endpoints for the cluster. + type: array + items: + $ref: '#/components/schemas/ClusterEndpoint' + x-insertionOrder: false + Tags: + description: A collection of tags associated with a resource + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 20 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateClusterRequest + type: object + required: [] + CreateControlPanelRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ClusterArn: + description: Cluster to associate with the Control Panel + type: string + ControlPanelArn: + description: The Amazon Resource Name (ARN) of the cluster. + type: string + Name: + description: The name of the control panel. You can use any non-white space character in the name. + type: string + minLength: 1 + maxLength: 64 + Status: + description: 'The deployment status of control panel. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.' + type: string + enum: + - PENDING + - DEPLOYED + - PENDING_DELETION + DefaultControlPanel: + description: A flag that Amazon Route 53 Application Recovery Controller sets to true to designate the default control panel for a cluster. When you create a cluster, Amazon Route 53 Application Recovery Controller creates a control panel, and sets this flag for that control panel. If you create a control panel yourself, this flag is set to false. + type: boolean + RoutingControlCount: + description: Count of associated routing controls + type: integer + Tags: + description: A collection of tags associated with a resource + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 20 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateControlPanelRequest + type: object + required: [] + CreateRoutingControlRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RoutingControlArn: + description: The Amazon Resource Name (ARN) of the routing control. + type: string + ControlPanelArn: + description: The Amazon Resource Name (ARN) of the control panel. + type: string + Name: + description: The name of the routing control. You can use any non-white space character in the name. + type: string + minLength: 1 + maxLength: 64 + Status: + description: 'The deployment status of the routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.' + type: string + enum: + - PENDING + - DEPLOYED + - PENDING_DELETION + ClusterArn: + description: Arn associated with Control Panel + type: string + x-stackQL-stringOnly: true + x-title: CreateRoutingControlRequest + type: object + required: [] + CreateSafetyRuleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AssertionRule: + $ref: '#/components/schemas/AssertionRule' + GatingRule: + $ref: '#/components/schemas/GatingRule' + Name: + $ref: '#/components/schemas/SafetyRuleName' + SafetyRuleArn: + description: The Amazon Resource Name (ARN) of the safety rule. + type: string + ControlPanelArn: + description: The Amazon Resource Name (ARN) of the control panel. + type: string + Status: + description: 'The deployment status of the routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.' + type: string + enum: + - PENDING + - DEPLOYED + - PENDING_DELETION + RuleConfig: + $ref: '#/components/schemas/RuleConfig' + Tags: + description: A collection of tags associated with a resource + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 20 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateSafetyRuleRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -766,10 +944,26 @@ components: x-cfn-type-name: AWS::Route53RecoveryControl::Cluster x-identifiers: - ClusterArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Cluster&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53RecoveryControl::Cluster" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -782,7 +976,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/clusters/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/clusters/methods/delete_resource' config: views: select: @@ -808,24 +1003,10 @@ components: x-cfn-type-name: AWS::Route53RecoveryControl::Cluster x-identifiers: - ClusterArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53RecoveryControl::Cluster" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/cluster/methods/delete_resource' - x-type: get config: views: select: @@ -863,10 +1044,26 @@ components: x-cfn-type-name: AWS::Route53RecoveryControl::ControlPanel x-identifiers: - ControlPanelArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ControlPanel&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53RecoveryControl::ControlPanel" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -879,7 +1076,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/control_panels/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/control_panels/methods/delete_resource' config: views: select: @@ -905,6 +1103,7 @@ components: x-cfn-type-name: AWS::Route53RecoveryControl::ControlPanel x-identifiers: - ControlPanelArn + x-type: get methods: update_resource: operation: @@ -918,24 +1117,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53RecoveryControl::ControlPanel" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/control_panel/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/control_panel/methods/delete_resource' - x-type: get config: views: select: @@ -977,10 +1161,26 @@ components: x-cfn-type-name: AWS::Route53RecoveryControl::RoutingControl x-identifiers: - RoutingControlArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RoutingControl&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53RecoveryControl::RoutingControl" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -993,7 +1193,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/routing_controls/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/routing_controls/methods/delete_resource' config: views: select: @@ -1019,6 +1220,7 @@ components: x-cfn-type-name: AWS::Route53RecoveryControl::RoutingControl x-identifiers: - RoutingControlArn + x-type: get methods: update_resource: operation: @@ -1032,24 +1234,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53RecoveryControl::RoutingControl" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/routing_control/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/routing_control/methods/delete_resource' - x-type: get config: views: select: @@ -1087,10 +1274,26 @@ components: x-cfn-type-name: AWS::Route53RecoveryControl::SafetyRule x-identifiers: - SafetyRuleArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SafetyRule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53RecoveryControl::SafetyRule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1103,7 +1306,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/safety_rules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/safety_rules/methods/delete_resource' config: views: select: @@ -1129,6 +1333,7 @@ components: x-cfn-type-name: AWS::Route53RecoveryControl::SafetyRule x-identifiers: - SafetyRuleArn + x-type: get methods: update_resource: operation: @@ -1142,24 +1347,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53RecoveryControl::SafetyRule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/safety_rule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/safety_rule/methods/delete_resource' - x-type: get config: views: select: @@ -1339,8 +1529,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Cluster&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCluster + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateClusterRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ControlPanel&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateControlPanel + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateControlPanelRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RoutingControl&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRoutingControl + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRoutingControlRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SafetyRule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSafetyRule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSafetyRuleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/route53recoveryreadiness.yaml b/providers/src/aws/v00.00.00000/services/route53recoveryreadiness.yaml index 15f659e3..da6798c7 100644 --- a/providers/src/aws/v00.00.00000/services/route53recoveryreadiness.yaml +++ b/providers/src/aws/v00.00.00000/services/route53recoveryreadiness.yaml @@ -725,6 +725,182 @@ components: - route53-recovery-readiness:GetResourceSet list: - route53-recovery-readiness:ListResourceSets + CreateCellRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + CellName: + description: The name of the cell to create. + type: string + pattern: '[a-zA-Z0-9_]+' + maxLength: 64 + CellArn: + description: The Amazon Resource Name (ARN) of the cell. + type: string + maxLength: 256 + Cells: + description: A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. For example, Availability Zones within specific Regions. + type: array + items: + type: string + maxItems: 5 + x-insertionOrder: false + ParentReadinessScopes: + description: The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element. + type: array + items: + type: string + maxItems: 5 + x-insertionOrder: false + Tags: + description: A collection of tags associated with a resource + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 20 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateCellRequest + type: object + required: [] + CreateReadinessCheckRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceSetName: + description: The name of the resource set to check. + type: string + pattern: '[a-zA-Z0-9_]+' + minLength: 1 + maxLength: 64 + ReadinessCheckName: + description: Name of the ReadinessCheck to create. + type: string + pattern: '[a-zA-Z0-9_]+' + minLength: 1 + maxLength: 64 + ReadinessCheckArn: + description: The Amazon Resource Name (ARN) of the readiness check. + type: string + maxLength: 256 + Tags: + description: A collection of tags associated with a resource. + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 20 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateReadinessCheckRequest + type: object + required: [] + CreateRecoveryGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RecoveryGroupName: + description: The name of the recovery group to create. + type: string + pattern: '[a-zA-Z0-9_]+' + minLength: 1 + maxLength: 64 + Cells: + description: A list of the cell Amazon Resource Names (ARNs) in the recovery group. + type: array + items: + type: string + minLength: 1 + maxLength: 256 + maxItems: 5 + x-insertionOrder: false + RecoveryGroupArn: + description: A collection of tags associated with a resource. + type: string + maxLength: 256 + Tags: + description: A collection of tags associated with a resource. + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 20 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateRecoveryGroupRequest + type: object + required: [] + CreateResourceSetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceSetName: + description: The name of the resource set to create. + type: string + Resources: + description: A list of resource objects in the resource set. + type: array + items: + $ref: '#/components/schemas/Resource' + minItems: 1 + maxItems: 6 + x-insertionOrder: false + ResourceSetArn: + description: The Amazon Resource Name (ARN) of the resource set. + type: string + minLength: 1 + maxLength: 256 + ResourceSetType: + description: |- + The resource type of the resources in the resource set. Enter one of the following values for resource type: + + AWS: :AutoScaling: :AutoScalingGroup, AWS: :CloudWatch: :Alarm, AWS: :EC2: :CustomerGateway, AWS: :DynamoDB: :Table, AWS: :EC2: :Volume, AWS: :ElasticLoadBalancing: :LoadBalancer, AWS: :ElasticLoadBalancingV2: :LoadBalancer, AWS: :MSK: :Cluster, AWS: :RDS: :DBCluster, AWS: :Route53: :HealthCheck, AWS: :SQS: :Queue, AWS: :SNS: :Topic, AWS: :SNS: :Subscription, AWS: :EC2: :VPC, AWS: :EC2: :VPNConnection, AWS: :EC2: :VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource + type: string + Tags: + description: A tag to associate with the parameters for a resource set. + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 20 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateResourceSetRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -740,10 +916,26 @@ components: x-cfn-type-name: AWS::Route53RecoveryReadiness::Cell x-identifiers: - CellName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Cell&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53RecoveryReadiness::Cell" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -756,7 +948,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/cells/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/cells/methods/delete_resource' config: views: select: @@ -782,6 +975,7 @@ components: x-cfn-type-name: AWS::Route53RecoveryReadiness::Cell x-identifiers: - CellName + x-type: get methods: update_resource: operation: @@ -795,24 +989,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53RecoveryReadiness::Cell" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cell/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cell/methods/delete_resource' - x-type: get config: views: select: @@ -850,10 +1029,26 @@ components: x-cfn-type-name: AWS::Route53RecoveryReadiness::ReadinessCheck x-identifiers: - ReadinessCheckName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ReadinessCheck&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53RecoveryReadiness::ReadinessCheck" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -866,7 +1061,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/readiness_checks/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/readiness_checks/methods/delete_resource' config: views: select: @@ -892,6 +1088,7 @@ components: x-cfn-type-name: AWS::Route53RecoveryReadiness::ReadinessCheck x-identifiers: - ReadinessCheckName + x-type: get methods: update_resource: operation: @@ -905,24 +1102,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53RecoveryReadiness::ReadinessCheck" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/readiness_check/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/readiness_check/methods/delete_resource' - x-type: get config: views: select: @@ -958,10 +1140,26 @@ components: x-cfn-type-name: AWS::Route53RecoveryReadiness::RecoveryGroup x-identifiers: - RecoveryGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RecoveryGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53RecoveryReadiness::RecoveryGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -974,7 +1172,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/recovery_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/recovery_groups/methods/delete_resource' config: views: select: @@ -1000,6 +1199,7 @@ components: x-cfn-type-name: AWS::Route53RecoveryReadiness::RecoveryGroup x-identifiers: - RecoveryGroupName + x-type: get methods: update_resource: operation: @@ -1013,24 +1213,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53RecoveryReadiness::RecoveryGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/recovery_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/recovery_group/methods/delete_resource' - x-type: get config: views: select: @@ -1066,10 +1251,26 @@ components: x-cfn-type-name: AWS::Route53RecoveryReadiness::ResourceSet x-identifiers: - ResourceSetName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourceSet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53RecoveryReadiness::ResourceSet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1082,7 +1283,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_sets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resource_sets/methods/delete_resource' config: views: select: @@ -1108,6 +1310,7 @@ components: x-cfn-type-name: AWS::Route53RecoveryReadiness::ResourceSet x-identifiers: - ResourceSetName + x-type: get methods: update_resource: operation: @@ -1121,24 +1324,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53RecoveryReadiness::ResourceSet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resource_set/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resource_set/methods/delete_resource' - x-type: get config: views: select: @@ -1312,8 +1500,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Cell&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCell + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCellRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ReadinessCheck&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateReadinessCheck + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateReadinessCheckRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RecoveryGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRecoveryGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRecoveryGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourceSet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourceSet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourceSetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/route53resolver.yaml b/providers/src/aws/v00.00.00000/services/route53resolver.yaml index 186b6d9d..5de39818 100644 --- a/providers/src/aws/v00.00.00000/services/route53resolver.yaml +++ b/providers/src/aws/v00.00.00000/services/route53resolver.yaml @@ -1444,6 +1444,652 @@ components: - route53resolver:GetResolverRuleAssociation list: - route53resolver:ListResolverRuleAssociations + CreateFirewallDomainListRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: ResourceId + type: string + minLength: 1 + maxLength: 64 + Arn: + description: Arn + type: string + minLength: 1 + maxLength: 600 + Name: + description: FirewallDomainListName + type: string + pattern: (?!^[0-9]+$)([a-zA-Z0-9\-_' ']+) + minLength: 1 + maxLength: 64 + DomainCount: + description: Count + type: integer + minimum: 0 + Status: + description: ResolverFirewallDomainList, possible values are COMPLETE, DELETING, UPDATING, COMPLETE_IMPORT_FAILED, IMPORTING, and INACTIVE_OWNER_ACCOUNT_CLOSED. + type: string + enum: + - COMPLETE + - DELETING + - UPDATING + - COMPLETE_IMPORT_FAILED + - IMPORTING + - INACTIVE_OWNER_ACCOUNT_CLOSED + StatusMessage: + description: FirewallDomainListAssociationStatus + type: string + ManagedOwnerName: + description: ServicePrincipal + type: string + minLength: 1 + maxLength: 512 + CreatorRequestId: + description: The id of the creator request. + type: string + minLength: 1 + maxLength: 255 + CreationTime: + description: Rfc3339TimeString + type: string + minLength: 20 + maxLength: 40 + ModificationTime: + description: Rfc3339TimeString + type: string + minLength: 20 + maxLength: 40 + Domains: + $ref: '#/components/schemas/Domains' + DomainFileUrl: + description: S3 URL to import domains from. + type: string + minLength: 1 + maxLength: 1024 + Tags: + description: Tags + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateFirewallDomainListRequest + type: object + required: [] + CreateFirewallRuleGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: ResourceId + type: string + minLength: 1 + maxLength: 64 + Arn: + description: Arn + type: string + minLength: 1 + maxLength: 600 + Name: + description: FirewallRuleGroupName + type: string + pattern: (?!^[0-9]+$)([a-zA-Z0-9\-_' ']+) + minLength: 1 + maxLength: 64 + RuleCount: + description: Count + type: integer + Status: + description: ResolverFirewallRuleGroupAssociation, possible values are COMPLETE, DELETING, UPDATING, and INACTIVE_OWNER_ACCOUNT_CLOSED. + type: string + enum: + - COMPLETE + - DELETING + - UPDATING + - INACTIVE_OWNER_ACCOUNT_CLOSED + StatusMessage: + description: FirewallRuleGroupStatus + type: string + OwnerId: + description: AccountId + type: string + minLength: 12 + maxLength: 32 + ShareStatus: + description: ShareStatus, possible values are NOT_SHARED, SHARED_WITH_ME, SHARED_BY_ME. + type: string + enum: + - NOT_SHARED + - SHARED_WITH_ME + - SHARED_BY_ME + CreatorRequestId: + description: The id of the creator request. + type: string + minLength: 1 + maxLength: 255 + CreationTime: + description: Rfc3339TimeString + type: string + minLength: 20 + maxLength: 40 + ModificationTime: + description: Rfc3339TimeString + type: string + minLength: 20 + maxLength: 40 + FirewallRules: + description: FirewallRules + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/FirewallRule' + Tags: + description: Tags + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateFirewallRuleGroupRequest + type: object + required: [] + CreateFirewallRuleGroupAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: Id + type: string + minLength: 1 + maxLength: 64 + Arn: + description: Arn + type: string + minLength: 1 + maxLength: 600 + FirewallRuleGroupId: + description: FirewallRuleGroupId + type: string + minLength: 1 + maxLength: 64 + VpcId: + description: VpcId + type: string + minLength: 1 + maxLength: 64 + Name: + description: FirewallRuleGroupAssociationName + type: string + pattern: (?!^[0-9]+$)([a-zA-Z0-9\-_' ']+) + minLength: 0 + maxLength: 64 + Priority: + description: Priority + type: integer + MutationProtection: + description: MutationProtectionStatus + type: string + enum: + - ENABLED + - DISABLED + ManagedOwnerName: + description: ServicePrincipal + type: string + minLength: 1 + maxLength: 512 + Status: + description: ResolverFirewallRuleGroupAssociation, possible values are COMPLETE, DELETING, UPDATING, and INACTIVE_OWNER_ACCOUNT_CLOSED. + type: string + enum: + - COMPLETE + - DELETING + - UPDATING + - INACTIVE_OWNER_ACCOUNT_CLOSED + StatusMessage: + description: FirewallDomainListAssociationStatus + type: string + CreatorRequestId: + description: The id of the creator request. + type: string + minLength: 1 + maxLength: 255 + CreationTime: + description: Rfc3339TimeString + type: string + minLength: 20 + maxLength: 40 + ModificationTime: + description: Rfc3339TimeString + type: string + minLength: 20 + maxLength: 40 + Tags: + description: Tags + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateFirewallRuleGroupAssociationRequest + type: object + required: [] + CreateOutpostResolverRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: Id + type: string + minLength: 1 + maxLength: 64 + CreatorRequestId: + description: The id of the creator request. + type: string + minLength: 1 + maxLength: 255 + Name: + description: The OutpostResolver name. + type: string + minLength: 1 + maxLength: 255 + Arn: + description: The OutpostResolver ARN. + type: string + minLength: 1 + maxLength: 1024 + OutpostArn: + description: The Outpost ARN. + type: string + minLength: 1 + maxLength: 1024 + PreferredInstanceType: + description: The OutpostResolver instance type. + type: string + minLength: 1 + maxLength: 255 + Status: + description: The OutpostResolver status, possible values are CREATING, OPERATIONAL, UPDATING, DELETING, ACTION_NEEDED, FAILED_CREATION and FAILED_DELETION. + type: string + enum: + - CREATING + - OPERATIONAL + - DELETING + - UPDATING + - ACTION_NEEDED + - FAILED_CREATION + - FAILED_DELETION + StatusMessage: + description: The OutpostResolver status message. + type: string + InstanceCount: + description: The number of OutpostResolvers. + type: integer + minimum: 4 + maximum: 256 + CreationTime: + description: The OutpostResolver creation time + type: string + minLength: 20 + maxLength: 40 + ModificationTime: + description: The OutpostResolver last modified time + type: string + minLength: 20 + maxLength: 40 + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateOutpostResolverRequest + type: object + required: [] + CreateResolverConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: Id + type: string + minLength: 1 + maxLength: 64 + OwnerId: + description: AccountId + type: string + minLength: 12 + maxLength: 32 + ResourceId: + description: ResourceId + type: string + minLength: 1 + maxLength: 64 + AutodefinedReverse: + description: ResolverAutodefinedReverseStatus, possible values are ENABLING, ENABLED, DISABLING AND DISABLED. + type: string + enum: + - ENABLING + - ENABLED + - DISABLING + - DISABLED + AutodefinedReverseFlag: + description: Represents the desired status of AutodefinedReverse. The only supported value on creation is DISABLE. Deletion of this resource will return AutodefinedReverse to its default value (ENABLED). + type: string + enum: + - DISABLE + x-stackQL-stringOnly: true + x-title: CreateResolverConfigRequest + type: object + required: [] + CreateResolverDNSSECConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: Id + type: string + minLength: 1 + maxLength: 64 + OwnerId: + description: AccountId + type: string + minLength: 12 + maxLength: 32 + ResourceId: + description: ResourceId + type: string + minLength: 1 + maxLength: 64 + ValidationStatus: + description: ResolverDNSSECValidationStatus, possible values are ENABLING, ENABLED, DISABLING AND DISABLED. + type: string + enum: + - ENABLING + - ENABLED + - DISABLING + - DISABLED + x-stackQL-stringOnly: true + x-title: CreateResolverDNSSECConfigRequest + type: object + required: [] + CreateResolverQueryLoggingConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: ResourceId + type: string + minLength: 1 + maxLength: 64 + OwnerId: + description: AccountId + type: string + minLength: 12 + maxLength: 32 + Status: + description: ResolverQueryLogConfigStatus, possible values are CREATING, CREATED, DELETED AND FAILED. + type: string + enum: + - CREATING + - CREATED + - DELETING + - FAILED + ShareStatus: + description: ShareStatus, possible values are NOT_SHARED, SHARED_WITH_ME, SHARED_BY_ME. + type: string + enum: + - NOT_SHARED + - SHARED_WITH_ME + - SHARED_BY_ME + AssociationCount: + description: Count + type: integer + Arn: + description: Arn + type: string + minLength: 1 + maxLength: 600 + Name: + description: ResolverQueryLogConfigName + type: string + pattern: (?!^[0-9]+$)([a-zA-Z0-9\-_' ']+) + minLength: 1 + maxLength: 64 + CreatorRequestId: + description: The id of the creator request. + type: string + minLength: 1 + maxLength: 255 + DestinationArn: + description: destination arn + type: string + minLength: 1 + maxLength: 600 + CreationTime: + description: Rfc3339TimeString + type: string + minLength: 20 + maxLength: 40 + x-stackQL-stringOnly: true + x-title: CreateResolverQueryLoggingConfigRequest + type: object + required: [] + CreateResolverQueryLoggingConfigAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: Id + type: string + minLength: 1 + maxLength: 64 + ResolverQueryLogConfigId: + description: ResolverQueryLogConfigId + type: string + minLength: 1 + maxLength: 64 + ResourceId: + description: ResourceId + type: string + minLength: 1 + maxLength: 64 + Status: + description: ResolverQueryLogConfigAssociationStatus + type: string + enum: + - CREATING + - ACTIVE + - ACTION_NEEDED + - DELETING + - FAILED + - OVERRIDDEN + Error: + description: ResolverQueryLogConfigAssociationError + type: string + enum: + - NONE + - DESTINATION_NOT_FOUND + - ACCESS_DENIED + ErrorMessage: + description: ResolverQueryLogConfigAssociationErrorMessage + type: string + CreationTime: + description: Rfc3339TimeString + type: string + minLength: 20 + maxLength: 40 + x-stackQL-stringOnly: true + x-title: CreateResolverQueryLoggingConfigAssociationRequest + type: object + required: [] + CreateResolverRuleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResolverEndpointId: + type: string + description: The ID of the endpoint that the rule is associated with. + minLength: 1 + maxLength: 64 + DomainName: + type: string + description: DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps + minLength: 1 + maxLength: 256 + Name: + type: string + description: The name for the Resolver rule + minLength: 0 + maxLength: 64 + RuleType: + type: string + description: When you want to forward DNS queries for specified domain name to resolvers on your network, specify FORWARD. When you have a forwarding rule to forward DNS queries for a domain to your network and you want Resolver to process queries for a subdomain of that domain, specify SYSTEM. + enum: + - FORWARD + - SYSTEM + - RECURSIVE + Tags: + type: array + description: An array of key-value pairs to apply to this resource. + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + TargetIps: + type: array + description: An array that contains the IP addresses and ports that an outbound endpoint forwards DNS queries to. Typically, these are the IP addresses of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not supported. + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/TargetAddress' + Arn: + type: string + description: The Amazon Resource Name (ARN) of the resolver rule. + ResolverRuleId: + type: string + description: The ID of the endpoint that the rule is associated with. + x-stackQL-stringOnly: true + x-title: CreateResolverRuleRequest + type: object + required: [] + CreateResolverRuleAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + VPCId: + description: The ID of the VPC that you associated the Resolver rule with. + type: string + ResolverRuleId: + description: The ID of the Resolver rule that you associated with the VPC that is specified by ``VPCId``. + type: string + ResolverRuleAssociationId: + description: '' + type: string + Name: + description: The name of an association between a Resolver rule and a VPC. + type: string + x-stackQL-stringOnly: true + x-title: CreateResolverRuleAssociationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1459,10 +2105,26 @@ components: x-cfn-type-name: AWS::Route53Resolver::FirewallDomainList x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__FirewallDomainList&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53Resolver::FirewallDomainList" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1475,7 +2137,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/firewall_domain_lists/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/firewall_domain_lists/methods/delete_resource' config: views: select: @@ -1501,6 +2164,7 @@ components: x-cfn-type-name: AWS::Route53Resolver::FirewallDomainList x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1514,24 +2178,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53Resolver::FirewallDomainList" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/firewall_domain_list/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/firewall_domain_list/methods/delete_resource' - x-type: get config: views: select: @@ -1585,10 +2234,26 @@ components: x-cfn-type-name: AWS::Route53Resolver::FirewallRuleGroup x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__FirewallRuleGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53Resolver::FirewallRuleGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1601,7 +2266,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/firewall_rule_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/firewall_rule_groups/methods/delete_resource' config: views: select: @@ -1627,6 +2293,7 @@ components: x-cfn-type-name: AWS::Route53Resolver::FirewallRuleGroup x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1640,24 +2307,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53Resolver::FirewallRuleGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/firewall_rule_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/firewall_rule_group/methods/delete_resource' - x-type: get config: views: select: @@ -1711,10 +2363,26 @@ components: x-cfn-type-name: AWS::Route53Resolver::FirewallRuleGroupAssociation x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__FirewallRuleGroupAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53Resolver::FirewallRuleGroupAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1727,7 +2395,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/firewall_rule_group_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/firewall_rule_group_associations/methods/delete_resource' config: views: select: @@ -1753,6 +2422,7 @@ components: x-cfn-type-name: AWS::Route53Resolver::FirewallRuleGroupAssociation x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1766,24 +2436,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53Resolver::FirewallRuleGroupAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/firewall_rule_group_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/firewall_rule_group_association/methods/delete_resource' - x-type: get config: views: select: @@ -1839,10 +2494,26 @@ components: x-cfn-type-name: AWS::Route53Resolver::OutpostResolver x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__OutpostResolver&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53Resolver::OutpostResolver" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1855,7 +2526,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/outpost_resolvers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/outpost_resolvers/methods/delete_resource' config: views: select: @@ -1881,6 +2553,7 @@ components: x-cfn-type-name: AWS::Route53Resolver::OutpostResolver x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1894,24 +2567,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53Resolver::OutpostResolver" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/outpost_resolver/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/outpost_resolver/methods/delete_resource' - x-type: get config: views: select: @@ -1963,10 +2621,26 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverConfig x-identifiers: - ResourceId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResolverConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53Resolver::ResolverConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1979,7 +2653,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resolver_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resolver_configs/methods/delete_resource' config: views: select: @@ -2005,24 +2680,10 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverConfig x-identifiers: - ResourceId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53Resolver::ResolverConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/resolver_config/methods/delete_resource' - x-type: get config: views: select: @@ -2060,10 +2721,26 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverDNSSECConfig x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResolverDNSSECConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53Resolver::ResolverDNSSECConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2076,7 +2753,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resolverdnssec_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resolverdnssec_configs/methods/delete_resource' config: views: select: @@ -2102,24 +2780,10 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverDNSSECConfig x-identifiers: - Id - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53Resolver::ResolverDNSSECConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/resolverdnssec_config/methods/delete_resource' - x-type: get config: views: select: @@ -2155,10 +2819,26 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverQueryLoggingConfig x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResolverQueryLoggingConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53Resolver::ResolverQueryLoggingConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2171,7 +2851,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resolver_query_logging_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resolver_query_logging_configs/methods/delete_resource' config: views: select: @@ -2197,24 +2878,10 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverQueryLoggingConfig x-identifiers: - Id - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53Resolver::ResolverQueryLoggingConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/resolver_query_logging_config/methods/delete_resource' - x-type: get config: views: select: @@ -2262,10 +2929,26 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResolverQueryLoggingConfigAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2278,7 +2961,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resolver_query_logging_config_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resolver_query_logging_config_associations/methods/delete_resource' config: views: select: @@ -2304,24 +2988,10 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation x-identifiers: - Id - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/resolver_query_logging_config_association/methods/delete_resource' - x-type: get config: views: select: @@ -2363,10 +3033,26 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverRule x-identifiers: - ResolverRuleId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResolverRule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53Resolver::ResolverRule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2379,7 +3065,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resolver_rules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resolver_rules/methods/delete_resource' config: views: select: @@ -2405,6 +3092,7 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverRule x-identifiers: - ResolverRuleId + x-type: get methods: update_resource: operation: @@ -2418,24 +3106,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53Resolver::ResolverRule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resolver_rule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resolver_rule/methods/delete_resource' - x-type: get config: views: select: @@ -2479,10 +3152,26 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverRuleAssociation x-identifiers: - ResolverRuleAssociationId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResolverRuleAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Route53Resolver::ResolverRuleAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2495,7 +3184,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resolver_rule_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resolver_rule_associations/methods/delete_resource' config: views: select: @@ -2521,24 +3211,10 @@ components: x-cfn-type-name: AWS::Route53Resolver::ResolverRuleAssociation x-identifiers: - ResolverRuleAssociationId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Route53Resolver::ResolverRuleAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/resolver_rule_association/methods/delete_resource' - x-type: get config: views: select: @@ -2710,8 +3386,430 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__FirewallDomainList&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFirewallDomainList + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFirewallDomainListRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__FirewallRuleGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFirewallRuleGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFirewallRuleGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__FirewallRuleGroupAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFirewallRuleGroupAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFirewallRuleGroupAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__OutpostResolver&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateOutpostResolver + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateOutpostResolverRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResolverConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResolverConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResolverConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResolverDNSSECConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResolverDNSSECConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResolverDNSSECConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResolverQueryLoggingConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResolverQueryLoggingConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResolverQueryLoggingConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResolverQueryLoggingConfigAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResolverQueryLoggingConfigAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResolverQueryLoggingConfigAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResolverRule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResolverRule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResolverRuleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResolverRuleAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResolverRuleAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResolverRuleAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/rum.yaml b/providers/src/aws/v00.00.00000/services/rum.yaml index 6391f55b..9d652841 100644 --- a/providers/src/aws/v00.00.00000/services/rum.yaml +++ b/providers/src/aws/v00.00.00000/services/rum.yaml @@ -772,6 +772,50 @@ components: - s3:GetObjectAcl - logs:DescribeLogGroups - rum:ListTagsForResource + CreateAppMonitorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: The unique ID of the new app monitor. + type: string + pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$ + minLength: 36 + maxLength: 36 + Name: + description: A name for the app monitor + type: string + pattern: '[\.\-_/#A-Za-z0-9]+' + minLength: 1 + maxLength: 255 + Domain: + description: The top-level internet domain name for which your application has administrative authority. + type: string + pattern: ^(localhost)|^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^(?![-.])([A-Za-z0-9-\.\-]{0,63})((?![-])([a-zA-Z0-9]{1}|^[a-zA-Z0-9]{0,1}))\.(?![-])[A-Za-z-0-9]{1,63}((?![-])([a-zA-Z0-9]{1}|^[a-zA-Z0-9]{0,1}))|^(\*\.)(?![-.])([A-Za-z0-9-\.\-]{0,63})((?![-])([a-zA-Z0-9]{1}|^[a-zA-Z0-9]{0,1}))\.(?![-])[A-Za-z-0-9]{1,63}((?![-])([a-zA-Z0-9]{1}|^[a-zA-Z0-9]{0,1})) + minLength: 1 + maxLength: 253 + CwLogEnabled: + description: Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to CWLlong in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur CWLlong charges. If you omit this parameter, the default is false + type: boolean + Tags: + $ref: '#/components/schemas/TagDef' + AppMonitorConfiguration: + $ref: '#/components/schemas/AppMonitorConfiguration' + CustomEvents: + $ref: '#/components/schemas/CustomEvents' + x-stackQL-stringOnly: true + x-title: CreateAppMonitorRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -787,10 +831,26 @@ components: x-cfn-type-name: AWS::RUM::AppMonitor x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AppMonitor&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::RUM::AppMonitor" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -803,7 +863,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/app_monitors/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/app_monitors/methods/delete_resource' config: views: select: @@ -829,6 +890,7 @@ components: x-cfn-type-name: AWS::RUM::AppMonitor x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -842,24 +904,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::RUM::AppMonitor" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/app_monitor/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/app_monitor/methods/delete_resource' - x-type: get config: views: select: @@ -1037,8 +1084,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AppMonitor&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAppMonitor + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAppMonitorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/s3.yaml b/providers/src/aws/v00.00.00000/services/s3.yaml index c66fc7b9..e8d65fb6 100644 --- a/providers/src/aws/v00.00.00000/services/s3.yaml +++ b/providers/src/aws/v00.00.00000/services/s3.yaml @@ -2090,6 +2090,8 @@ components: - DualStackDomainName - RegionalDomainName - WebsiteURL + x-required-properties: + - BucketName x-tagging: taggable: true tagOnCreate: true @@ -2844,6 +2846,512 @@ components: - s3:DeleteStorageLensGroup list: - s3:ListStorageLensGroups + CreateAccessGrantRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessGrantId: + description: The ID assigned to this access grant. + type: string + x-examples: + - 7c89cbd1-0f4e-40e3-861d-afb906952b77 + AccessGrantsLocationId: + description: The custom S3 location to be accessed by the grantee + type: string + x-examples: + - 125f332b-a499-4eb6-806f-8a6a1aa4cb96 + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + Permission: + description: The level of access to be afforded to the grantee + type: string + enum: + - READ + - WRITE + - READWRITE + ApplicationArn: + description: The ARN of the application grantees will use to access the location + type: string + S3PrefixType: + description: The type of S3SubPrefix. + type: string + enum: + - Object + GrantScope: + description: The S3 path of the data to which you are granting access. It is a combination of the S3 path of the registered location and the subprefix. + type: string + AccessGrantArn: + $ref: '#/components/schemas/AccessGrantArn' + description: The Amazon Resource Name (ARN) of the specified access grant. + x-examples: + - arn:aws:s3:us-east-2:111122223333:access-grants/default/grant/7c89cbd1-0f4e-40e3-861d-afb906952b77 + Grantee: + $ref: '#/components/schemas/Grantee' + description: The principal who will be granted permission to access S3. + AccessGrantsLocationConfiguration: + $ref: '#/components/schemas/AccessGrantsLocationConfiguration' + description: The configuration options of the grant location, which is the S3 path to the data to which you are granting access. + x-stackQL-stringOnly: true + x-title: CreateAccessGrantRequest + type: object + required: [] + CreateAccessGrantsInstanceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessGrantsInstanceArn: + $ref: '#/components/schemas/AccessGrantsInstanceArn' + description: The Amazon Resource Name (ARN) of the specified Access Grants instance. + x-examples: + - arn:aws:s3:us-east-2:479290226168:access-grants/default + IdentityCenterArn: + $ref: '#/components/schemas/IdentityCenterArn' + description: The Amazon Resource Name (ARN) of the specified AWS Identity Center. + x-examples: + - arn:aws:sso:::instance/ssoins-6987e6a2fc43873b + AccessGrantsInstanceId: + type: string + description: A unique identifier for the specified access grants instance. + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateAccessGrantsInstanceRequest + type: object + required: [] + CreateAccessGrantsLocationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessGrantsLocationArn: + description: The Amazon Resource Name (ARN) of the specified Access Grants location. + type: string + x-examples: + - arn:aws:s3:us-east-2:479290226168:access-grants/default/location/125f332b-a499-4eb6-806f-8a6a1aa4cb96 + AccessGrantsLocationId: + type: string + description: The unique identifier for the specified Access Grants location. + IamRoleArn: + description: The Amazon Resource Name (ARN) of the access grant location's associated IAM role. + type: string + x-examples: + - arn:aws:iamw::123456789012:role/rolename + LocationScope: + type: string + description: Descriptor for where the location actually points + x-examples: + - s3://test-bucket-access-grants-cmh/prefixA + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateAccessGrantsLocationRequest + type: object + required: [] + CreateAccessPointRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name you want to assign to this Access Point. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the access point name. + type: string + pattern: ^[a-z0-9]([a-z0-9\-]*[a-z0-9])?$ + minLength: 3 + maxLength: 50 + Alias: + description: The alias of this Access Point. This alias can be used for compatibility purposes with other AWS services and third-party applications. + type: string + pattern: ^[a-z0-9]([a-z0-9\-]*[a-z0-9])?$ + minLength: 3 + maxLength: 63 + Bucket: + description: The name of the bucket that you want to associate this Access Point with. + type: string + minLength: 3 + maxLength: 255 + BucketAccountId: + description: The AWS account ID associated with the S3 bucket associated with this access point. + type: string + pattern: ^\d{12}$ + maxLength: 64 + VpcConfiguration: + description: If you include this field, Amazon S3 restricts access to this Access Point to requests from the specified Virtual Private Cloud (VPC). + $ref: '#/components/schemas/VpcConfiguration' + PublicAccessBlockConfiguration: + description: The PublicAccessBlock configuration that you want to apply to this Access Point. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status 'The Meaning of Public' in the Amazon Simple Storage Service Developer Guide. + $ref: '#/components/schemas/PublicAccessBlockConfiguration' + Policy: + description: The Access Point Policy you want to apply to this access point. + type: object + NetworkOrigin: + description: Indicates whether this Access Point allows access from the public Internet. If VpcConfiguration is specified for this Access Point, then NetworkOrigin is VPC, and the Access Point doesn't allow access from the public Internet. Otherwise, NetworkOrigin is Internet, and the Access Point allows access from the public Internet, subject to the Access Point and bucket access policies. + type: string + enum: + - Internet + - VPC + Arn: + $ref: '#/components/schemas/Arn' + description: The Amazon Resource Name (ARN) of the specified accesspoint. + x-examples: + - arn:aws:s3:us-west-2:123456789012:accesspoint/test + x-stackQL-stringOnly: true + x-title: CreateAccessPointRequest + type: object + required: [] + CreateBucketRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccelerateConfiguration: + $ref: '#/components/schemas/AccelerateConfiguration' + description: Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see [Amazon S3 Transfer Acceleration](https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) in the *Amazon S3 User Guide*. + AccessControl: + description: |- + This is a legacy property, and it is not recommended for most use cases. A majority of modern use cases in Amazon S3 no longer require the use of ACLs, and we recommend that you keep ACLs disabled. For more information, see [Controlling object ownership](https://docs.aws.amazon.com//AmazonS3/latest/userguide/about-object-ownership.html) in the *Amazon S3 User Guide*. + A canned access control list (ACL) that grants predefined permissions to the bucket. For more information about canned ACLs, see [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) in the *Amazon S3 User Guide*. + S3 buckets are created with ACLs disabled by default. Therefore, unless you explicitly set the [AWS::S3::OwnershipControls](https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-ownershipcontrols.html) property to enable ACLs, your resource will fail to deploy with any value other than Private. Use cases requiring ACLs are uncommon. + The majority of access control configurations can be successfully and more easily achieved with bucket policies. For more information, see [AWS::S3::BucketPolicy](https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html). For examples of common policy configurations, including S3 Server Access Logs buckets and more, see [Bucket policy examples](https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html) in the *Amazon S3 User Guide*. + enum: + - AuthenticatedRead + - AwsExecRead + - BucketOwnerFullControl + - BucketOwnerRead + - LogDeliveryWrite + - Private + - PublicRead + - PublicReadWrite + type: string + AnalyticsConfigurations: + description: Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket. + items: + $ref: '#/components/schemas/AnalyticsConfiguration' + type: array + uniqueItems: true + x-insertionOrder: true + BucketEncryption: + $ref: '#/components/schemas/BucketEncryption' + description: Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3), AWS KMS-managed keys (SSE-KMS), or dual-layer server-side encryption with KMS-managed keys (DSSE-KMS). For information about the Amazon S3 default encryption feature, see [Amazon S3 Default Encryption for S3 Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html) in the *Amazon S3 User Guide*. + BucketName: + description: >- + A name for the bucket. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name. The bucket name must contain only lowercase letters, numbers, periods (.), and dashes (-) and must follow [Amazon S3 bucket restrictions and limitations](https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html). For more information, see [Rules for naming Amazon S3 + buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules) in the *Amazon S3 User Guide*. + If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name. + type: string + CorsConfiguration: + $ref: '#/components/schemas/CorsConfiguration' + description: Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see [Enabling Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in the *Amazon S3 User Guide*. + IntelligentTieringConfigurations: + description: Defines how Amazon S3 handles Intelligent-Tiering storage. + items: + $ref: '#/components/schemas/IntelligentTieringConfiguration' + type: array + uniqueItems: true + x-insertionOrder: true + InventoryConfigurations: + description: Specifies the inventory configuration for an Amazon S3 bucket. For more information, see [GET Bucket inventory](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETInventoryConfig.html) in the *Amazon S3 API Reference*. + items: + $ref: '#/components/schemas/InventoryConfiguration' + type: array + uniqueItems: true + x-insertionOrder: true + LifecycleConfiguration: + $ref: '#/components/schemas/LifecycleConfiguration' + description: Specifies the lifecycle configuration for objects in an Amazon S3 bucket. For more information, see [Object Lifecycle Management](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) in the *Amazon S3 User Guide*. + LoggingConfiguration: + $ref: '#/components/schemas/LoggingConfiguration' + description: Settings that define where logs are stored. + MetricsConfigurations: + description: Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see [PutBucketMetricsConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html). + items: + $ref: '#/components/schemas/MetricsConfiguration' + type: array + uniqueItems: true + x-insertionOrder: true + NotificationConfiguration: + $ref: '#/components/schemas/NotificationConfiguration' + description: Configuration that defines how Amazon S3 handles bucket notifications. + ObjectLockConfiguration: + $ref: '#/components/schemas/ObjectLockConfiguration' + description: |- + This operation is not supported by directory buckets. + Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see [Locking Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). + + The ``DefaultRetention`` settings require both a mode and a period. + + The ``DefaultRetention`` period can be either ``Days`` or ``Years`` but you must select one. You cannot specify ``Days`` and ``Years`` at the same time. + + You can enable Object Lock for new or existing buckets. For more information, see [Configuring Object Lock](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-configure.html). + ObjectLockEnabled: + description: Indicates whether this bucket has an Object Lock configuration enabled. Enable ``ObjectLockEnabled`` when you apply ``ObjectLockConfiguration`` to a bucket. + type: boolean + OwnershipControls: + description: Configuration that defines how Amazon S3 handles Object Ownership rules. + $ref: '#/components/schemas/OwnershipControls' + PublicAccessBlockConfiguration: + $ref: '#/components/schemas/PublicAccessBlockConfiguration' + description: Configuration that defines how Amazon S3 handles public access. + ReplicationConfiguration: + $ref: '#/components/schemas/ReplicationConfiguration' + description: |- + Configuration for replicating objects in an S3 bucket. To enable replication, you must also enable versioning by using the ``VersioningConfiguration`` property. + Amazon S3 can store replicated objects in a single destination bucket or multiple destination buckets. The destination bucket or buckets must already exist. + Tags: + description: An arbitrary set of tags (key-value pairs) for this S3 bucket. + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + type: array + VersioningConfiguration: + $ref: '#/components/schemas/VersioningConfiguration' + description: Enables multiple versions of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them. + WebsiteConfiguration: + $ref: '#/components/schemas/WebsiteConfiguration' + description: Information used to configure the bucket as a static website. For more information, see [Hosting Websites on Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html). + Arn: + $ref: '#/components/schemas/Arn' + description: '' + x-examples: + - arn:aws:s3:::mybucket + DomainName: + description: '' + x-examples: + - mystack-mybucket-kdwwxmddtr2g.s3.amazonaws.com + type: string + DualStackDomainName: + description: '' + x-examples: + - mystack-mybucket-kdwwxmddtr2g.s3.dualstack.us-east-2.amazonaws.com + type: string + RegionalDomainName: + description: '' + x-examples: + - mystack-mybucket-kdwwxmddtr2g.s3.us-east-2.amazonaws.com + type: string + WebsiteURL: + description: '' + x-examples: + - 'Example (IPv4): http://mystack-mybucket-kdwwxmddtr2g.s3-website-us-east-2.amazonaws.com/' + - 'Example (IPv6): http://mystack-mybucket-kdwwxmddtr2g.s3.dualstack.us-east-2.amazonaws.com/' + format: uri + type: string + x-stackQL-stringOnly: true + x-title: CreateBucketRequest + type: object + required: [] + CreateBucketPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Bucket: + description: The name of the Amazon S3 bucket to which the policy applies. + type: string + PolicyDocument: + description: >- + A policy document containing permissions to add to the specified bucket. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM. For more information, see the AWS::IAM::Policy [PolicyDocument](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html#cfn-iam-policy-policydocument) resource + description in this guide and [Access Policy Language Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-policy-language-overview.html) in the *Amazon S3 User Guide*. + type: object + x-stackQL-stringOnly: true + x-title: CreateBucketPolicyRequest + type: object + required: [] + CreateMultiRegionAccessPointRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name you want to assign to this Multi Region Access Point. + type: string + pattern: ^[a-z0-9][-a-z0-9]{1,48}[a-z0-9]$ + minLength: 3 + maxLength: 50 + Alias: + description: The alias is a unique identifier to, and is part of the public DNS name for this Multi Region Access Point + type: string + CreatedAt: + description: The timestamp of the when the Multi Region Access Point is created + type: string + PublicAccessBlockConfiguration: + description: The PublicAccessBlock configuration that you want to apply to this Multi Region Access Point. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status 'The Meaning of Public' in the Amazon Simple Storage Service Developer Guide. + $ref: '#/components/schemas/PublicAccessBlockConfiguration' + Regions: + description: The list of buckets that you want to associate this Multi Region Access Point with. + type: array + uniqueItems: true + minItems: 1 + items: + description: The name of the bucket that represents of the region belonging to this Multi Region Access Point. + $ref: '#/components/schemas/Region' + x-stackQL-stringOnly: true + x-title: CreateMultiRegionAccessPointRequest + type: object + required: [] + CreateMultiRegionAccessPointPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + MrapName: + description: The name of the Multi Region Access Point to apply policy + type: string + pattern: ^[a-z0-9][-a-z0-9]{1,48}[a-z0-9]$ + minLength: 3 + maxLength: 50 + Policy: + description: Policy document to apply to a Multi Region Access Point + type: object + PolicyStatus: + description: The Policy Status associated with this Multi Region Access Point + type: object + properties: + IsPublic: + type: string + description: Specifies whether the policy is public or not. + enum: + - 'true' + - 'false' + additionalProperties: false + required: + - IsPublic + x-stackQL-stringOnly: true + x-title: CreateMultiRegionAccessPointPolicyRequest + type: object + required: [] + CreateStorageLensRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + StorageLensConfiguration: + $ref: '#/components/schemas/StorageLensConfiguration' + Tags: + description: A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration. + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + maxItems: 50 + x-stackQL-stringOnly: true + x-title: CreateStorageLensRequest + type: object + required: [] + CreateStorageLensGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + $ref: '#/components/schemas/Name' + Filter: + $ref: '#/components/schemas/Filter' + StorageLensGroupArn: + description: The ARN for the Amazon S3 Storage Lens Group. + type: string + Tags: + description: A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group. + type: array + x-insertionOrder: true + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateStorageLensGroupRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -2859,10 +3367,26 @@ components: x-cfn-type-name: AWS::S3::AccessGrant x-identifiers: - AccessGrantId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AccessGrant&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3::AccessGrant" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2875,7 +3399,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/access_grants/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/access_grants/methods/delete_resource' config: views: select: @@ -2901,6 +3426,7 @@ components: x-cfn-type-name: AWS::S3::AccessGrant x-identifiers: - AccessGrantId + x-type: get methods: update_resource: operation: @@ -2914,24 +3440,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3::AccessGrant" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/access_grant/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/access_grant/methods/delete_resource' - x-type: get config: views: select: @@ -2979,10 +3490,26 @@ components: x-cfn-type-name: AWS::S3::AccessGrantsInstance x-identifiers: - AccessGrantsInstanceArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AccessGrantsInstance&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3::AccessGrantsInstance" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2995,7 +3522,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/access_grants_instances/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/access_grants_instances/methods/delete_resource' config: views: select: @@ -3021,6 +3549,7 @@ components: x-cfn-type-name: AWS::S3::AccessGrantsInstance x-identifiers: - AccessGrantsInstanceArn + x-type: get methods: update_resource: operation: @@ -3034,24 +3563,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3::AccessGrantsInstance" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/access_grants_instance/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/access_grants_instance/methods/delete_resource' - x-type: get config: views: select: @@ -3087,10 +3601,26 @@ components: x-cfn-type-name: AWS::S3::AccessGrantsLocation x-identifiers: - AccessGrantsLocationId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AccessGrantsLocation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3::AccessGrantsLocation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3103,7 +3633,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/access_grants_locations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/access_grants_locations/methods/delete_resource' config: views: select: @@ -3129,6 +3660,7 @@ components: x-cfn-type-name: AWS::S3::AccessGrantsLocation x-identifiers: - AccessGrantsLocationId + x-type: get methods: update_resource: operation: @@ -3142,24 +3674,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3::AccessGrantsLocation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/access_grants_location/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/access_grants_location/methods/delete_resource' - x-type: get config: views: select: @@ -3197,10 +3714,26 @@ components: x-cfn-type-name: AWS::S3::AccessPoint x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AccessPoint&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3::AccessPoint" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3213,7 +3746,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/access_points/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/access_points/methods/delete_resource' config: views: select: @@ -3239,6 +3773,7 @@ components: x-cfn-type-name: AWS::S3::AccessPoint x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -3252,24 +3787,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3::AccessPoint" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/access_point/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/access_point/methods/delete_resource' - x-type: get config: views: select: @@ -3315,10 +3835,26 @@ components: x-cfn-type-name: AWS::S3::Bucket x-identifiers: - BucketName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Bucket&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3::Bucket" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3331,7 +3867,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/buckets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/buckets/methods/delete_resource' config: views: select: @@ -3357,6 +3894,7 @@ components: x-cfn-type-name: AWS::S3::Bucket x-identifiers: - BucketName + x-type: get methods: update_resource: operation: @@ -3370,24 +3908,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3::Bucket" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/bucket/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/bucket/methods/delete_resource' - x-type: get config: views: select: @@ -3465,10 +3988,26 @@ components: x-cfn-type-name: AWS::S3::BucketPolicy x-identifiers: - Bucket + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BucketPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3::BucketPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3481,7 +4020,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/bucket_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/bucket_policies/methods/delete_resource' config: views: select: @@ -3507,6 +4047,7 @@ components: x-cfn-type-name: AWS::S3::BucketPolicy x-identifiers: - Bucket + x-type: get methods: update_resource: operation: @@ -3520,24 +4061,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3::BucketPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/bucket_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/bucket_policy/methods/delete_resource' - x-type: get config: views: select: @@ -3569,10 +4095,26 @@ components: x-cfn-type-name: AWS::S3::MultiRegionAccessPoint x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__MultiRegionAccessPoint&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3::MultiRegionAccessPoint" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3585,7 +4127,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/multi_region_access_points/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/multi_region_access_points/methods/delete_resource' config: views: select: @@ -3611,24 +4154,10 @@ components: x-cfn-type-name: AWS::S3::MultiRegionAccessPoint x-identifiers: - Name - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3::MultiRegionAccessPoint" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/multi_region_access_point/methods/delete_resource' - x-type: get config: views: select: @@ -3666,10 +4195,26 @@ components: x-cfn-type-name: AWS::S3::MultiRegionAccessPointPolicy x-identifiers: - MrapName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__MultiRegionAccessPointPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3::MultiRegionAccessPointPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3682,7 +4227,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/multi_region_access_point_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/multi_region_access_point_policies/methods/delete_resource' config: views: select: @@ -3708,6 +4254,7 @@ components: x-cfn-type-name: AWS::S3::MultiRegionAccessPointPolicy x-identifiers: - MrapName + x-type: get methods: update_resource: operation: @@ -3721,24 +4268,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3::MultiRegionAccessPointPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/multi_region_access_point_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/multi_region_access_point_policy/methods/delete_resource' - x-type: get config: views: select: @@ -3772,6 +4304,7 @@ components: x-cfn-type-name: AWS::S3::StorageLens x-identifiers: - StorageLensConfiguration/Id + x-type: get methods: update_resource: operation: @@ -3785,24 +4318,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3::StorageLens" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/storage_lens/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/storage_lens/methods/delete_resource' - x-type: get config: views: select: @@ -3834,10 +4352,26 @@ components: x-cfn-type-name: AWS::S3::StorageLensGroup x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StorageLensGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3::StorageLensGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -3850,7 +4384,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/storage_lens_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/storage_lens_groups/methods/delete_resource' config: views: select: @@ -3876,6 +4411,7 @@ components: x-cfn-type-name: AWS::S3::StorageLensGroup x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -3889,24 +4425,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3::StorageLensGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/storage_lens_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/storage_lens_group/methods/delete_resource' - x-type: get config: views: select: @@ -4078,8 +4599,430 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AccessGrant&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccessGrant + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccessGrantRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AccessGrantsInstance&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccessGrantsInstance + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccessGrantsInstanceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AccessGrantsLocation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccessGrantsLocation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccessGrantsLocationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AccessPoint&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccessPoint + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccessPointRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Bucket&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBucket + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBucketRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__BucketPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBucketPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBucketPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__MultiRegionAccessPoint&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMultiRegionAccessPoint + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMultiRegionAccessPointRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__MultiRegionAccessPointPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMultiRegionAccessPointPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMultiRegionAccessPointPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StorageLens&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStorageLens + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStorageLensRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StorageLensGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStorageLensGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStorageLensGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/s3express.yaml b/providers/src/aws/v00.00.00000/services/s3express.yaml index 06b28c01..3c2faa51 100644 --- a/providers/src/aws/v00.00.00000/services/s3express.yaml +++ b/providers/src/aws/v00.00.00000/services/s3express.yaml @@ -484,6 +484,64 @@ components: - s3express:ListAllMyDirectoryBuckets list: - s3express:ListAllMyDirectoryBuckets + CreateBucketPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Bucket: + description: The name of the S3 directory bucket to which the policy applies. + type: string + PolicyDocument: + description: A policy document containing permissions to add to the specified bucket. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM. + type: object + x-stackQL-stringOnly: true + x-title: CreateBucketPolicyRequest + type: object + required: [] + CreateDirectoryBucketRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + BucketName: + description: Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name. + maxLength: 63 + pattern: ^[a-z0-9][a-z0-9//.//-]*[a-z0-9]$ + type: string + LocationName: + description: Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'. + type: string + DataRedundancy: + description: Specifies the number of Availability Zone that's used for redundancy for the bucket. + type: string + enum: + - SingleAvailabilityZone + Arn: + $ref: '#/components/schemas/Arn' + description: Returns the Amazon Resource Name (ARN) of the specified bucket. + x-examples: + - arn:aws:s3express:us-west-2:123456789123:bucket/DOC-EXAMPLE-BUCKET--usw2-az1--x-s3 + x-stackQL-stringOnly: true + x-title: CreateDirectoryBucketRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -499,10 +557,26 @@ components: x-cfn-type-name: AWS::S3Express::BucketPolicy x-identifiers: - Bucket + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BucketPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3Express::BucketPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -515,7 +589,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/bucket_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/bucket_policies/methods/delete_resource' config: views: select: @@ -541,6 +616,7 @@ components: x-cfn-type-name: AWS::S3Express::BucketPolicy x-identifiers: - Bucket + x-type: get methods: update_resource: operation: @@ -554,24 +630,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3Express::BucketPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/bucket_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/bucket_policy/methods/delete_resource' - x-type: get config: views: select: @@ -603,10 +664,26 @@ components: x-cfn-type-name: AWS::S3Express::DirectoryBucket x-identifiers: - BucketName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DirectoryBucket&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3Express::DirectoryBucket" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -619,7 +696,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/directory_buckets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/directory_buckets/methods/delete_resource' config: views: select: @@ -645,24 +723,10 @@ components: x-cfn-type-name: AWS::S3Express::DirectoryBucket x-identifiers: - BucketName - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3Express::DirectoryBucket" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/directory_bucket/methods/delete_resource' - x-type: get config: views: select: @@ -834,8 +898,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__BucketPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBucketPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBucketPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DirectoryBucket&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDirectoryBucket + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDirectoryBucketRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/s3objectlambda.yaml b/providers/src/aws/v00.00.00000/services/s3objectlambda.yaml index 4e70a8c4..43ee6d5b 100644 --- a/providers/src/aws/v00.00.00000/services/s3objectlambda.yaml +++ b/providers/src/aws/v00.00.00000/services/s3objectlambda.yaml @@ -599,6 +599,71 @@ components: delete: - s3:DeleteAccessPointPolicyForObjectLambda - s3:GetAccessPointPolicyForObjectLambda + CreateAccessPointRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name you want to assign to this Object lambda Access Point. + type: string + pattern: ^[a-z0-9]([a-z0-9\-]*[a-z0-9])?$ + minLength: 3 + maxLength: 45 + Alias: + $ref: '#/components/schemas/Alias' + Arn: + type: string + pattern: arn:[^:]+:s3-object-lambda:[^:]*:\d{12}:accesspoint/.* + CreationDate: + description: The date and time when the Object lambda Access Point was created. + type: string + PublicAccessBlockConfiguration: + description: The PublicAccessBlock configuration that you want to apply to this Access Point. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status 'The Meaning of Public' in the Amazon Simple Storage Service Developer Guide. + $ref: '#/components/schemas/PublicAccessBlockConfiguration' + PolicyStatus: + $ref: '#/components/schemas/PolicyStatus' + ObjectLambdaConfiguration: + description: The Object lambda Access Point Configuration that configures transformations to be applied on the objects on specified S3 Actions + $ref: '#/components/schemas/ObjectLambdaConfiguration' + x-stackQL-stringOnly: true + x-title: CreateAccessPointRequest + type: object + required: [] + CreateAccessPointPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ObjectLambdaAccessPoint: + description: The name of the Amazon S3 ObjectLambdaAccessPoint to which the policy applies. + type: string + pattern: ^[a-z0-9]([a-z0-9\-]*[a-z0-9])?$ + minLength: 3 + maxLength: 45 + PolicyDocument: + description: 'A policy document containing permissions to add to the specified ObjectLambdaAccessPoint. For more information, see Access Policy Language Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-policy-language-overview.html) in the Amazon Simple Storage Service Developer Guide. ' + type: object + x-stackQL-stringOnly: true + x-title: CreateAccessPointPolicyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -614,10 +679,26 @@ components: x-cfn-type-name: AWS::S3ObjectLambda::AccessPoint x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AccessPoint&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3ObjectLambda::AccessPoint" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -630,7 +711,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/access_points/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/access_points/methods/delete_resource' config: views: select: @@ -656,6 +738,7 @@ components: x-cfn-type-name: AWS::S3ObjectLambda::AccessPoint x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -669,24 +752,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3ObjectLambda::AccessPoint" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/access_point/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/access_point/methods/delete_resource' - x-type: get config: views: select: @@ -728,10 +796,26 @@ components: x-cfn-type-name: AWS::S3ObjectLambda::AccessPointPolicy x-identifiers: - ObjectLambdaAccessPoint + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AccessPointPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3ObjectLambda::AccessPointPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -744,6 +828,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/access_point_policies/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/access_point_policies/methods/delete_resource' access_point_policy: name: access_point_policy id: aws.s3objectlambda.access_point_policy @@ -751,6 +837,7 @@ components: x-cfn-type-name: AWS::S3ObjectLambda::AccessPointPolicy x-identifiers: - ObjectLambdaAccessPoint + x-type: get methods: update_resource: operation: @@ -764,24 +851,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3ObjectLambda::AccessPointPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/access_point_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/access_point_policy/methods/delete_resource' - x-type: get config: views: select: @@ -949,8 +1021,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AccessPoint&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccessPoint + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccessPointRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AccessPointPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccessPointPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccessPointPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/s3outposts.yaml b/providers/src/aws/v00.00.00000/services/s3outposts.yaml index 96e8c09e..97896299 100644 --- a/providers/src/aws/v00.00.00000/services/s3outposts.yaml +++ b/providers/src/aws/v00.00.00000/services/s3outposts.yaml @@ -842,6 +842,198 @@ components: - s3-outposts:DeleteEndpoint list: - s3-outposts:ListEndpoints + CreateAccessPointRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the specified AccessPoint. + maxLength: 2048 + minLength: 20 + pattern: ^arn:[^:]+:s3-outposts:[a-zA-Z0-9\-]+:\d{12}:outpost\/[^:]+\/accesspoint\/[^:]+$ + type: string + Bucket: + description: The Amazon Resource Name (ARN) of the bucket you want to associate this AccessPoint with. + maxLength: 2048 + minLength: 20 + pattern: ^arn:[^:]+:s3-outposts:[a-zA-Z0-9\-]+:\d{12}:outpost\/[^:]+\/bucket\/[^:]+$ + type: string + Name: + description: A name for the AccessPoint. + maxLength: 50 + minLength: 3 + pattern: ^[a-z0-9]([a-z0-9\\-]*[a-z0-9])?$ + type: string + VpcConfiguration: + description: Virtual Private Cloud (VPC) from which requests can be made to the AccessPoint. + $ref: '#/components/schemas/VpcConfiguration' + Policy: + description: The access point policy associated with this access point. + type: object + x-stackQL-stringOnly: true + x-title: CreateAccessPointRequest + type: object + required: [] + CreateBucketRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the specified bucket. + maxLength: 2048 + minLength: 20 + pattern: ^arn:[^:]+:s3-outposts:[a-zA-Z0-9\-]+:\d{12}:outpost\/[^:]+\/bucket\/[^:]+$ + type: string + BucketName: + description: A name for the bucket. + maxLength: 63 + minLength: 3 + pattern: (?=^.{3,63}$)(?!^(\d+\.)+\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])\.)*([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])$) + type: string + OutpostId: + description: The id of the customer outpost on which the bucket resides. + pattern: ^(op-[a-f0-9]{17}|\d{12}|ec2)$ + type: string + Tags: + description: An arbitrary set of tags (key-value pairs) for this S3Outposts bucket. + items: + $ref: '#/components/schemas/Tag' + type: array + x-insertionOrder: false + uniqueItems: true + LifecycleConfiguration: + description: Rules that define how Amazon S3Outposts manages objects during their lifetime. + $ref: '#/components/schemas/LifecycleConfiguration' + x-stackQL-stringOnly: true + x-title: CreateBucketRequest + type: object + required: [] + CreateBucketPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Bucket: + description: The Amazon Resource Name (ARN) of the specified bucket. + maxLength: 2048 + minLength: 20 + pattern: ^arn:[^:]+:s3-outposts:[a-zA-Z0-9\-]+:\d{12}:outpost\/[^:]+\/bucket\/[^:]+$ + type: string + PolicyDocument: + description: A policy document containing permissions to add to the specified bucket. + type: object + x-stackQL-stringOnly: true + x-title: CreateBucketPolicyRequest + type: object + required: [] + CreateEndpointRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the endpoint. + minLength: 5 + maxLength: 500 + type: string + pattern: ^arn:[^:]+:s3-outposts:[a-zA-Z0-9\-]+:\d{12}:outpost\/[^:]+\/endpoint/[a-zA-Z0-9]{19}$ + CidrBlock: + description: The VPC CIDR committed by this endpoint. + minLength: 1 + maxLength: 20 + type: string + CreationTime: + description: The time the endpoint was created. + $ref: '#/components/schemas/iso8601UTC' + Id: + description: The ID of the endpoint. + minLength: 5 + maxLength: 500 + type: string + pattern: ^[a-zA-Z0-9]{19}$ + NetworkInterfaces: + description: The network interfaces of the endpoint. + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/NetworkInterface' + OutpostId: + description: The id of the customer outpost on which the bucket resides. + pattern: ^(op-[a-f0-9]{17}|\d{12}|ec2)$ + type: string + SecurityGroupId: + description: The ID of the security group to use with the endpoint. + minLength: 1 + maxLength: 100 + type: string + pattern: ^sg-([0-9a-f]{8}|[0-9a-f]{17})$ + Status: + type: string + enum: + - Available + - Pending + - Deleting + - Create_Failed + - Delete_Failed + SubnetId: + description: The ID of the subnet in the selected VPC. The subnet must belong to the Outpost. + minLength: 1 + maxLength: 100 + type: string + pattern: ^subnet-([0-9a-f]{8}|[0-9a-f]{17})$ + AccessType: + description: The type of access for the on-premise network connectivity for the Outpost endpoint. To access endpoint from an on-premises network, you must specify the access type and provide the customer owned Ipv4 pool. + type: string + enum: + - CustomerOwnedIp + - Private + default: Private + CustomerOwnedIpv4Pool: + description: The ID of the customer-owned IPv4 pool for the Endpoint. IP addresses will be allocated from this pool for the endpoint. + type: string + pattern: ^ipv4pool-coip-([0-9a-f]{17})$ + FailedReason: + description: The failure reason, if any, for a create or delete endpoint operation. + $ref: '#/components/schemas/FailedReason' + x-stackQL-stringOnly: true + x-title: CreateEndpointRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -857,10 +1049,26 @@ components: x-cfn-type-name: AWS::S3Outposts::AccessPoint x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AccessPoint&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3Outposts::AccessPoint" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -873,7 +1081,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/access_points/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/access_points/methods/delete_resource' config: views: select: @@ -899,6 +1108,7 @@ components: x-cfn-type-name: AWS::S3Outposts::AccessPoint x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -912,24 +1122,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3Outposts::AccessPoint" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/access_point/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/access_point/methods/delete_resource' - x-type: get config: views: select: @@ -967,10 +1162,26 @@ components: x-cfn-type-name: AWS::S3Outposts::Bucket x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Bucket&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3Outposts::Bucket" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -983,7 +1194,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/buckets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/buckets/methods/delete_resource' config: views: select: @@ -1009,6 +1221,7 @@ components: x-cfn-type-name: AWS::S3Outposts::Bucket x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1022,24 +1235,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3Outposts::Bucket" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/bucket/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/bucket/methods/delete_resource' - x-type: get config: views: select: @@ -1077,10 +1275,26 @@ components: x-cfn-type-name: AWS::S3Outposts::BucketPolicy x-identifiers: - Bucket + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__BucketPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3Outposts::BucketPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1093,6 +1307,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/bucket_policies/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/bucket_policies/methods/delete_resource' bucket_policy: name: bucket_policy id: aws.s3outposts.bucket_policy @@ -1100,6 +1316,7 @@ components: x-cfn-type-name: AWS::S3Outposts::BucketPolicy x-identifiers: - Bucket + x-type: get methods: update_resource: operation: @@ -1113,24 +1330,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3Outposts::BucketPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/bucket_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/bucket_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1162,10 +1364,26 @@ components: x-cfn-type-name: AWS::S3Outposts::Endpoint x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Endpoint&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::S3Outposts::Endpoint" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1178,7 +1396,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/endpoints/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/endpoints/methods/delete_resource' config: views: select: @@ -1204,24 +1423,10 @@ components: x-cfn-type-name: AWS::S3Outposts::Endpoint x-identifiers: - Arn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::S3Outposts::Endpoint" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/endpoint/methods/delete_resource' - x-type: get config: views: select: @@ -1409,8 +1614,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AccessPoint&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccessPoint + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccessPointRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Bucket&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBucket + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBucketRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__BucketPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBucketPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBucketPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Endpoint&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEndpoint + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEndpointRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/sagemaker.yaml b/providers/src/aws/v00.00.00000/services/sagemaker.yaml index 6ec5ce1f..bd957267 100644 --- a/providers/src/aws/v00.00.00000/services/sagemaker.yaml +++ b/providers/src/aws/v00.00.00000/services/sagemaker.yaml @@ -5653,6 +5653,1232 @@ components: - sagemaker:DescribeUserProfile list: - sagemaker:ListUserProfiles + CreateAppRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AppArn: + type: string + description: The Amazon Resource Name (ARN) of the app. + minLength: 1 + maxLength: 256 + pattern: arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:app/.* + AppName: + type: string + description: The name of the app. + minLength: 1 + maxLength: 63 + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62} + AppType: + type: string + description: The type of app. + enum: + - JupyterServer + - KernelGateway + - RStudioServerPro + - RSessionGateway + - Canvas + DomainId: + type: string + description: The domain ID. + minLength: 1 + maxLength: 63 + ResourceSpec: + $ref: '#/components/schemas/ResourceSpec' + description: The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. + Tags: + type: array + description: A list of tags to apply to the app. + uniqueItems: false + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + UserProfileName: + type: string + description: The user profile name. + minLength: 1 + maxLength: 63 + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62} + x-stackQL-stringOnly: true + x-title: CreateAppRequest + type: object + required: [] + CreateAppImageConfigRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AppImageConfigArn: + type: string + description: The Amazon Resource Name (ARN) of the AppImageConfig. + minLength: 1 + maxLength: 256 + pattern: arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:app-image-config/.* + AppImageConfigName: + type: string + description: The Name of the AppImageConfig. + minLength: 1 + maxLength: 63 + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62} + KernelGatewayImageConfig: + $ref: '#/components/schemas/KernelGatewayImageConfig' + description: The KernelGatewayImageConfig. + JupyterLabAppImageConfig: + $ref: '#/components/schemas/JupyterLabAppImageConfig' + description: The JupyterLabAppImageConfig. + CodeEditorAppImageConfig: + $ref: '#/components/schemas/CodeEditorAppImageConfig' + description: The CodeEditorAppImageConfig. + Tags: + type: array + description: A list of tags to apply to the AppImageConfig. + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 50 + x-stackQL-stringOnly: true + x-title: CreateAppImageConfigRequest + type: object + required: [] + CreateDataQualityJobDefinitionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + JobDefinitionArn: + description: The Amazon Resource Name (ARN) of job definition. + type: string + minLength: 1 + maxLength: 256 + JobDefinitionName: + $ref: '#/components/schemas/JobDefinitionName' + DataQualityBaselineConfig: + $ref: '#/components/schemas/DataQualityBaselineConfig' + DataQualityAppSpecification: + $ref: '#/components/schemas/DataQualityAppSpecification' + DataQualityJobInput: + $ref: '#/components/schemas/DataQualityJobInput' + DataQualityJobOutputConfig: + $ref: '#/components/schemas/MonitoringOutputConfig' + JobResources: + $ref: '#/components/schemas/MonitoringResources' + NetworkConfig: + $ref: '#/components/schemas/NetworkConfig' + EndpointName: + $ref: '#/components/schemas/EndpointName' + RoleArn: + description: The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. + type: string + pattern: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$ + minLength: 20 + maxLength: 2048 + StoppingCondition: + $ref: '#/components/schemas/StoppingCondition' + Tags: + type: array + maxItems: 50 + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + CreationTime: + description: The time at which the job definition was created. + type: string + x-stackQL-stringOnly: true + x-title: CreateDataQualityJobDefinitionRequest + type: object + required: [] + CreateDeviceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DeviceFleetName: + description: The name of the edge device fleet + type: string + pattern: ^[a-zA-Z0-9](-*_*[a-zA-Z0-9])*$ + minLength: 1 + maxLength: 63 + Device: + description: The Edge Device you want to register against a device fleet + $ref: '#/components/schemas/Device' + Tags: + description: Associate tags with the resource + type: array + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateDeviceRequest + type: object + required: [] + CreateDeviceFleetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + description: Description for the edge device fleet + type: string + pattern: '[\S\s]+' + minLength: 0 + maxLength: 800 + DeviceFleetName: + description: The name of the edge device fleet + type: string + pattern: ^[a-zA-Z0-9](-*_*[a-zA-Z0-9])*$ + minLength: 1 + maxLength: 63 + OutputConfig: + description: S3 bucket and an ecryption key id (if available) to store outputs for the fleet + $ref: '#/components/schemas/EdgeOutputConfig' + RoleArn: + description: Role associated with the device fleet + type: string + pattern: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$ + minLength: 20 + maxLength: 2048 + Tags: + description: Associate tags with the resource + type: array + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateDeviceFleetRequest + type: object + required: [] + CreateFeatureGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FeatureGroupName: + type: string + description: The Name of the FeatureGroup. + minLength: 1 + maxLength: 64 + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63} + RecordIdentifierFeatureName: + type: string + description: The Record Identifier Feature Name. + minLength: 1 + maxLength: 64 + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63} + EventTimeFeatureName: + type: string + description: The Event Time Feature Name. + minLength: 1 + maxLength: 64 + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63} + FeatureDefinitions: + type: array + description: An Array of Feature Definition + uniqueItems: false + x-insertionOrder: false + minItems: 1 + maxItems: 2500 + items: + $ref: '#/components/schemas/FeatureDefinition' + OnlineStoreConfig: + type: object + additionalProperties: false + properties: + SecurityConfig: + $ref: '#/components/schemas/OnlineStoreSecurityConfig' + EnableOnlineStore: + type: boolean + StorageType: + $ref: '#/components/schemas/StorageType' + TtlDuration: + $ref: '#/components/schemas/TtlDuration' + OfflineStoreConfig: + type: object + additionalProperties: false + properties: + S3StorageConfig: + $ref: '#/components/schemas/S3StorageConfig' + DisableGlueTableCreation: + type: boolean + DataCatalogConfig: + $ref: '#/components/schemas/DataCatalogConfig' + TableFormat: + $ref: '#/components/schemas/TableFormat' + required: + - S3StorageConfig + ThroughputConfig: + $ref: '#/components/schemas/ThroughputConfig' + RoleArn: + type: string + description: Role Arn + minLength: 20 + maxLength: 2048 + pattern: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$ + Description: + type: string + description: Description about the FeatureGroup. + maxLength: 128 + CreationTime: + description: A timestamp of FeatureGroup creation time. + type: string + FeatureGroupStatus: + description: The status of the feature group. + type: string + Tags: + type: array + description: An array of key-value pair to apply to this resource. + uniqueItems: false + x-insertionOrder: false + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateFeatureGroupRequest + type: object + required: [] + CreateImageRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ImageName: + $ref: '#/components/schemas/ImageName' + ImageArn: + $ref: '#/components/schemas/ImageArn' + ImageRoleArn: + $ref: '#/components/schemas/ImageRoleArn' + ImageDisplayName: + $ref: '#/components/schemas/ImageDisplayName' + ImageDescription: + $ref: '#/components/schemas/ImageDescription' + Tags: + type: array + maxItems: 50 + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateImageRequest + type: object + required: [] + CreateImageVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ImageName: + $ref: '#/components/schemas/ImageName' + ImageArn: + $ref: '#/components/schemas/ImageArn' + ImageVersionArn: + $ref: '#/components/schemas/ImageVersionArn' + BaseImage: + $ref: '#/components/schemas/BaseImage' + ContainerImage: + $ref: '#/components/schemas/ContainerImage' + Version: + $ref: '#/components/schemas/Version' + Alias: + $ref: '#/components/schemas/Alias' + Aliases: + $ref: '#/components/schemas/Aliases' + VendorGuidance: + $ref: '#/components/schemas/VendorGuidance' + JobType: + $ref: '#/components/schemas/JobType' + MLFramework: + $ref: '#/components/schemas/MLFramework' + ProgrammingLang: + $ref: '#/components/schemas/ProgrammingLang' + Processor: + $ref: '#/components/schemas/Processor' + Horovod: + $ref: '#/components/schemas/Horovod' + ReleaseNotes: + $ref: '#/components/schemas/ReleaseNotes' + x-stackQL-stringOnly: true + x-title: CreateImageVersionRequest + type: object + required: [] + CreateInferenceComponentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InferenceComponentArn: + $ref: '#/components/schemas/InferenceComponentArn' + InferenceComponentName: + $ref: '#/components/schemas/InferenceComponentName' + EndpointArn: + $ref: '#/components/schemas/EndpointArn' + EndpointName: + $ref: '#/components/schemas/EndpointName' + VariantName: + $ref: '#/components/schemas/VariantName' + FailureReason: + $ref: '#/components/schemas/FailureReason' + Specification: + $ref: '#/components/schemas/InferenceComponentSpecification' + RuntimeConfig: + $ref: '#/components/schemas/InferenceComponentRuntimeConfig' + InferenceComponentStatus: + $ref: '#/components/schemas/InferenceComponentStatus' + CreationTime: + $ref: '#/components/schemas/Timestamp' + LastModifiedTime: + $ref: '#/components/schemas/Timestamp' + Tags: + $ref: '#/components/schemas/TagList' + x-stackQL-stringOnly: true + x-title: CreateInferenceComponentRequest + type: object + required: [] + CreateInferenceExperimentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The Amazon Resource Name (ARN) of the inference experiment. + type: string + pattern: ^arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:inference-experiment/[a-zA-Z_0-9+=,.@\-_/]+$ + minLength: 20 + maxLength: 256 + Name: + description: The name for the inference experiment. + type: string + minLength: 1 + maxLength: 120 + Type: + description: The type of the inference experiment that you want to run. + type: string + enum: + - ShadowMode + Description: + description: The description of the inference experiment. + type: string + pattern: .* + minLength: 1 + maxLength: 1024 + RoleArn: + description: The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment. + type: string + pattern: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$ + minLength: 20 + maxLength: 2048 + EndpointName: + $ref: '#/components/schemas/EndpointName' + EndpointMetadata: + $ref: '#/components/schemas/EndpointMetadata' + Schedule: + $ref: '#/components/schemas/InferenceExperimentSchedule' + KmsKey: + type: string + description: The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. + pattern: .* + maxLength: 2048 + DataStorageConfig: + $ref: '#/components/schemas/DataStorageConfig' + ModelVariants: + type: array + description: An array of ModelVariantConfig objects. Each ModelVariantConfig object in the array describes the infrastructure configuration for the corresponding variant. + maxItems: 2 + items: + $ref: '#/components/schemas/ModelVariantConfig' + ShadowModeConfig: + $ref: '#/components/schemas/ShadowModeConfig' + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + CreationTime: + description: The timestamp at which you created the inference experiment. + type: string + LastModifiedTime: + description: The timestamp at which you last modified the inference experiment. + type: string + Status: + description: The status of the inference experiment. + type: string + enum: + - Creating + - Created + - Updating + - Starting + - Stopping + - Running + - Completed + - Cancelled + StatusReason: + description: The error message or client-specified reason from the StopInferenceExperiment API, that explains the status of the inference experiment. + type: string + pattern: .* + minLength: 1 + maxLength: 1024 + DesiredState: + description: The desired state of the experiment after starting or stopping operation. + type: string + enum: + - Running + - Completed + - Cancelled + x-stackQL-stringOnly: true + x-title: CreateInferenceExperimentRequest + type: object + required: [] + CreateModelBiasJobDefinitionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + JobDefinitionArn: + description: The Amazon Resource Name (ARN) of job definition. + type: string + minLength: 1 + maxLength: 256 + JobDefinitionName: + $ref: '#/components/schemas/JobDefinitionName' + ModelBiasBaselineConfig: + $ref: '#/components/schemas/ModelBiasBaselineConfig' + ModelBiasAppSpecification: + $ref: '#/components/schemas/ModelBiasAppSpecification' + ModelBiasJobInput: + $ref: '#/components/schemas/ModelBiasJobInput' + ModelBiasJobOutputConfig: + $ref: '#/components/schemas/MonitoringOutputConfig' + JobResources: + $ref: '#/components/schemas/MonitoringResources' + NetworkConfig: + $ref: '#/components/schemas/NetworkConfig' + EndpointName: + $ref: '#/components/schemas/EndpointName' + RoleArn: + description: The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. + type: string + pattern: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$ + minLength: 20 + maxLength: 2048 + StoppingCondition: + $ref: '#/components/schemas/StoppingCondition' + Tags: + type: array + maxItems: 50 + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + CreationTime: + description: The time at which the job definition was created. + type: string + x-stackQL-stringOnly: true + x-title: CreateModelBiasJobDefinitionRequest + type: object + required: [] + CreateModelCardRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ModelCardArn: + description: The Amazon Resource Name (ARN) of the successfully created model card. + type: string + minLength: 1 + maxLength: 256 + pattern: ^arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]{9,16}:[0-9]{12}:model-card/[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}$ + ModelCardVersion: + description: A version of the model card. + type: integer + minimum: 1 + ModelCardName: + description: The unique name of the model card. + type: string + maxLength: 63 + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}$ + SecurityConfig: + $ref: '#/components/schemas/SecurityConfig' + ModelCardStatus: + description: The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval. + type: string + enum: + - Draft + - PendingReview + - Approved + - Archived + Content: + $ref: '#/components/schemas/Content' + CreationTime: + description: The date and time the model card was created. + type: string + CreatedBy: + description: Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card. + $ref: '#/components/schemas/UserContext' + LastModifiedTime: + description: The date and time the model card was last modified. + type: string + LastModifiedBy: + description: Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card. + $ref: '#/components/schemas/UserContext' + ModelCardProcessingStatus: + description: The processing status of model card deletion. The ModelCardProcessingStatus updates throughout the different deletion steps. + type: string + default: UnsetValue + enum: + - UnsetValue + - DeleteInProgress + - DeletePending + - ContentDeleted + - ExportJobsDeleted + - DeleteCompleted + - DeleteFailed + Tags: + type: array + minItems: 1 + maxItems: 50 + description: Key-value pairs used to manage metadata for model cards. + x-insertionOrder: true + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateModelCardRequest + type: object + required: [] + CreateModelExplainabilityJobDefinitionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + JobDefinitionArn: + description: The Amazon Resource Name (ARN) of job definition. + type: string + minLength: 1 + maxLength: 256 + JobDefinitionName: + $ref: '#/components/schemas/JobDefinitionName' + ModelExplainabilityBaselineConfig: + $ref: '#/components/schemas/ModelExplainabilityBaselineConfig' + ModelExplainabilityAppSpecification: + $ref: '#/components/schemas/ModelExplainabilityAppSpecification' + ModelExplainabilityJobInput: + $ref: '#/components/schemas/ModelExplainabilityJobInput' + ModelExplainabilityJobOutputConfig: + $ref: '#/components/schemas/MonitoringOutputConfig' + JobResources: + $ref: '#/components/schemas/MonitoringResources' + NetworkConfig: + $ref: '#/components/schemas/NetworkConfig' + EndpointName: + $ref: '#/components/schemas/EndpointName' + RoleArn: + description: The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. + type: string + pattern: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$ + minLength: 20 + maxLength: 2048 + StoppingCondition: + $ref: '#/components/schemas/StoppingCondition' + Tags: + type: array + maxItems: 50 + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + CreationTime: + description: The time at which the job definition was created. + type: string + x-stackQL-stringOnly: true + x-title: CreateModelExplainabilityJobDefinitionRequest + type: object + required: [] + CreateModelPackageRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Tags: + type: array + maxItems: 50 + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + AdditionalInferenceSpecifications: + $ref: '#/components/schemas/AdditionalInferenceSpecifications' + CertifyForMarketplace: + $ref: '#/components/schemas/CertifyForMarketplace' + ClientToken: + $ref: '#/components/schemas/ClientToken' + CustomerMetadataProperties: + $ref: '#/components/schemas/CustomerMetadataProperties' + Domain: + $ref: '#/components/schemas/Domain' + DriftCheckBaselines: + $ref: '#/components/schemas/DriftCheckBaselines' + InferenceSpecification: + $ref: '#/components/schemas/InferenceSpecification' + MetadataProperties: + $ref: '#/components/schemas/MetadataProperties' + ModelApprovalStatus: + $ref: '#/components/schemas/ModelApprovalStatus' + ModelMetrics: + $ref: '#/components/schemas/ModelMetrics' + ModelPackageDescription: + $ref: '#/components/schemas/ModelPackageDescription' + ModelPackageGroupName: + $ref: '#/components/schemas/ModelPackageGroupName' + ModelPackageName: + $ref: '#/components/schemas/ModelPackageName' + SamplePayloadUrl: + $ref: '#/components/schemas/SamplePayloadUrl' + SkipModelValidation: + $ref: '#/components/schemas/SkipModelValidation' + SourceAlgorithmSpecification: + $ref: '#/components/schemas/SourceAlgorithmSpecification' + Task: + $ref: '#/components/schemas/Task' + ValidationSpecification: + $ref: '#/components/schemas/ValidationSpecification' + ModelPackageArn: + $ref: '#/components/schemas/ModelPackageArn' + ApprovalDescription: + $ref: '#/components/schemas/ApprovalDescription' + CreationTime: + $ref: '#/components/schemas/CreationTime' + LastModifiedTime: + $ref: '#/components/schemas/LastModifiedTime' + ModelPackageStatus: + $ref: '#/components/schemas/ModelPackageStatus' + ModelPackageVersion: + $ref: '#/components/schemas/ModelPackageVersion' + AdditionalInferenceSpecificationsToAdd: + $ref: '#/components/schemas/AdditionalInferenceSpecifications' + ModelPackageStatusDetails: + $ref: '#/components/schemas/ModelPackageStatusDetails' + x-stackQL-stringOnly: true + x-title: CreateModelPackageRequest + type: object + required: [] + CreateModelPackageGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Tags: + type: array + maxItems: 50 + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + ModelPackageGroupArn: + $ref: '#/components/schemas/ModelPackageGroupArn' + ModelPackageGroupName: + $ref: '#/components/schemas/ModelPackageGroupName' + ModelPackageGroupDescription: + $ref: '#/components/schemas/ModelPackageGroupDescription' + ModelPackageGroupPolicy: + type: object + CreationTime: + description: The time at which the model package group was created. + type: string + ModelPackageGroupStatus: + description: The status of a modelpackage group job. + type: string + enum: + - Pending + - InProgress + - Completed + - Failed + - Deleting + - DeleteFailed + x-stackQL-stringOnly: true + x-title: CreateModelPackageGroupRequest + type: object + required: [] + CreateModelQualityJobDefinitionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + JobDefinitionArn: + description: The Amazon Resource Name (ARN) of job definition. + type: string + minLength: 1 + maxLength: 256 + JobDefinitionName: + $ref: '#/components/schemas/JobDefinitionName' + ModelQualityBaselineConfig: + $ref: '#/components/schemas/ModelQualityBaselineConfig' + ModelQualityAppSpecification: + $ref: '#/components/schemas/ModelQualityAppSpecification' + ModelQualityJobInput: + $ref: '#/components/schemas/ModelQualityJobInput' + ModelQualityJobOutputConfig: + $ref: '#/components/schemas/MonitoringOutputConfig' + JobResources: + $ref: '#/components/schemas/MonitoringResources' + NetworkConfig: + $ref: '#/components/schemas/NetworkConfig' + EndpointName: + $ref: '#/components/schemas/EndpointName' + RoleArn: + description: The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. + type: string + pattern: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$ + minLength: 20 + maxLength: 2048 + StoppingCondition: + $ref: '#/components/schemas/StoppingCondition' + Tags: + type: array + maxItems: 50 + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + CreationTime: + description: The time at which the job definition was created. + type: string + x-stackQL-stringOnly: true + x-title: CreateModelQualityJobDefinitionRequest + type: object + required: [] + CreateMonitoringScheduleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + MonitoringScheduleArn: + description: The Amazon Resource Name (ARN) of the monitoring schedule. + type: string + minLength: 1 + maxLength: 256 + MonitoringScheduleName: + $ref: '#/components/schemas/MonitoringScheduleName' + MonitoringScheduleConfig: + $ref: '#/components/schemas/MonitoringScheduleConfig' + Tags: + type: array + maxItems: 50 + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + CreationTime: + description: The time at which the schedule was created. + type: string + EndpointName: + $ref: '#/components/schemas/EndpointName' + FailureReason: + type: string + description: Contains the reason a monitoring job failed, if it failed. + minLength: 1 + maxLength: 1024 + LastModifiedTime: + description: A timestamp that indicates the last time the monitoring job was modified. + type: string + LastMonitoringExecutionSummary: + description: Describes metadata on the last execution to run, if there was one. + $ref: '#/components/schemas/MonitoringExecutionSummary' + MonitoringScheduleStatus: + description: The status of a schedule job. + type: string + enum: + - Pending + - Failed + - Scheduled + - Stopped + x-stackQL-stringOnly: true + x-title: CreateMonitoringScheduleRequest + type: object + required: [] + CreatePipelineRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PipelineName: + type: string + description: The name of the Pipeline. + minLength: 1 + maxLength: 256 + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])* + PipelineDisplayName: + type: string + description: The display name of the Pipeline. + minLength: 1 + maxLength: 256 + pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])* + PipelineDescription: + type: string + description: The description of the Pipeline. + minLength: 0 + maxLength: 3072 + PipelineDefinition: + type: object + oneOf: + - additionalProperties: false + properties: + PipelineDefinitionBody: + type: string + description: A specification that defines the pipeline in JSON format. + required: + - PipelineDefinitionBody + - additionalProperties: false + properties: + PipelineDefinitionS3Location: + $ref: '#/components/schemas/S3Location' + required: + - PipelineDefinitionS3Location + RoleArn: + type: string + description: Role Arn + minLength: 20 + maxLength: 2048 + pattern: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$ + Tags: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + ParallelismConfiguration: + type: object + additionalProperties: false + properties: + MaxParallelExecutionSteps: + description: Maximum parallel execution steps + type: integer + minimum: 1 + required: + - MaxParallelExecutionSteps + x-stackQL-stringOnly: true + x-title: CreatePipelineRequest + type: object + required: [] + CreateProjectRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Tags: + type: array + maxItems: 40 + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + ProjectArn: + $ref: '#/components/schemas/ProjectArn' + ProjectId: + $ref: '#/components/schemas/ProjectId' + ProjectName: + $ref: '#/components/schemas/ProjectName' + ProjectDescription: + $ref: '#/components/schemas/ProjectDescription' + CreationTime: + description: The time at which the project was created. + type: string + ServiceCatalogProvisioningDetails: + description: Input ServiceCatalog Provisioning Details + type: object + properties: + ProductId: + $ref: '#/components/schemas/ProductId' + ProvisioningArtifactId: + $ref: '#/components/schemas/ProvisioningArtifactId' + PathId: + $ref: '#/components/schemas/PathId' + ProvisioningParameters: + type: array + description: Parameters specified by the administrator that are required for provisioning the product. + items: + $ref: '#/components/schemas/ProvisioningParameter' + required: + - ProductId + additionalProperties: false + ServiceCatalogProvisionedProductDetails: + description: Provisioned ServiceCatalog Details + type: object + properties: + ProvisionedProductId: + $ref: '#/components/schemas/ProvisioningArtifactId' + ProvisionedProductStatusMessage: + $ref: '#/components/schemas/ProvisionedProductStatusMessage' + additionalProperties: false + ProjectStatus: + description: The status of a project. + type: string + enum: + - Pending + - CreateInProgress + - CreateCompleted + - CreateFailed + - DeleteInProgress + - DeleteFailed + - DeleteCompleted + x-stackQL-stringOnly: true + x-title: CreateProjectRequest + type: object + required: [] + CreateSpaceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + SpaceArn: + type: string + description: The space Amazon Resource Name (ARN). + maxLength: 256 + pattern: arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:space/.* + DomainId: + type: string + description: The ID of the associated Domain. + minLength: 1 + maxLength: 63 + SpaceName: + type: string + description: A name for the Space. + minLength: 1 + maxLength: 63 + SpaceSettings: + $ref: '#/components/schemas/SpaceSettings' + description: A collection of settings. + uniqueItems: false + minItems: 0 + maxItems: 50 + Tags: + type: array + description: A list of tags to apply to the space. + uniqueItems: false + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + OwnershipSettings: + $ref: '#/components/schemas/OwnershipSettings' + SpaceSharingSettings: + $ref: '#/components/schemas/SpaceSharingSettings' + SpaceDisplayName: + type: string + maxLength: 64 + pattern: ^(?!\s*$).+ + Url: + type: string + maxLength: 1024 + x-stackQL-stringOnly: true + x-title: CreateSpaceRequest + type: object + required: [] + CreateUserProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + UserProfileArn: + type: string + description: The user profile Amazon Resource Name (ARN). + maxLength: 256 + pattern: arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:user-profile/.* + DomainId: + type: string + description: The ID of the associated Domain. + minLength: 1 + maxLength: 63 + SingleSignOnUserIdentifier: + type: string + description: A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName". If the Domain's AuthMode is SSO, this field is required. If the Domain's AuthMode is not SSO, this field cannot be specified. + pattern: UserName + SingleSignOnUserValue: + type: string + description: The username of the associated AWS Single Sign-On User for this UserProfile. If the Domain's AuthMode is SSO, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not SSO, this field cannot be specified. + minLength: 1 + maxLength: 256 + UserProfileName: + type: string + description: A name for the UserProfile. + minLength: 1 + maxLength: 63 + UserSettings: + $ref: '#/components/schemas/UserSettings' + description: A collection of settings. + uniqueItems: false + minItems: 0 + maxItems: 50 + Tags: + type: array + description: A list of tags to apply to the user profile. + uniqueItems: false + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateUserProfileRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -5671,10 +6897,26 @@ components: - AppType - DomainId - UserProfileName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__App&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::App" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5687,7 +6929,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/apps/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/apps/methods/delete_resource' config: views: select: @@ -5722,24 +6965,10 @@ components: - AppType - DomainId - UserProfileName - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::App" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/app/methods/delete_resource' - x-type: get config: views: select: @@ -5781,10 +7010,26 @@ components: x-cfn-type-name: AWS::SageMaker::AppImageConfig x-identifiers: - AppImageConfigName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AppImageConfig&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::AppImageConfig" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5797,7 +7042,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/app_image_configs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/app_image_configs/methods/delete_resource' config: views: select: @@ -5823,6 +7069,7 @@ components: x-cfn-type-name: AWS::SageMaker::AppImageConfig x-identifiers: - AppImageConfigName + x-type: get methods: update_resource: operation: @@ -5836,24 +7083,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::AppImageConfig" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/app_image_config/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/app_image_config/methods/delete_resource' - x-type: get config: views: select: @@ -5893,10 +7125,26 @@ components: x-cfn-type-name: AWS::SageMaker::DataQualityJobDefinition x-identifiers: - JobDefinitionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DataQualityJobDefinition&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::DataQualityJobDefinition" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -5909,7 +7157,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/data_quality_job_definitions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/data_quality_job_definitions/methods/delete_resource' config: views: select: @@ -5935,24 +7184,10 @@ components: x-cfn-type-name: AWS::SageMaker::DataQualityJobDefinition x-identifiers: - JobDefinitionArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::DataQualityJobDefinition" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/data_quality_job_definition/methods/delete_resource' - x-type: get config: views: select: @@ -6006,10 +7241,26 @@ components: x-cfn-type-name: AWS::SageMaker::Device x-identifiers: - Device/DeviceName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Device&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::Device" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -6022,6 +7273,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/devices/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/devices/methods/delete_resource' device: name: device id: aws.sagemaker.device @@ -6029,6 +7282,7 @@ components: x-cfn-type-name: AWS::SageMaker::Device x-identifiers: - Device/DeviceName + x-type: get methods: update_resource: operation: @@ -6042,24 +7296,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::Device" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/device/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/device/methods/delete_resource' - x-type: get config: views: select: @@ -6093,10 +7332,26 @@ components: x-cfn-type-name: AWS::SageMaker::DeviceFleet x-identifiers: - DeviceFleetName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DeviceFleet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::DeviceFleet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -6109,6 +7364,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/device_fleets/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/device_fleets/methods/delete_resource' device_fleet: name: device_fleet id: aws.sagemaker.device_fleet @@ -6116,6 +7373,7 @@ components: x-cfn-type-name: AWS::SageMaker::DeviceFleet x-identifiers: - DeviceFleetName + x-type: get methods: update_resource: operation: @@ -6129,24 +7387,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::DeviceFleet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/device_fleet/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/device_fleet/methods/delete_resource' - x-type: get config: views: select: @@ -6184,10 +7427,26 @@ components: x-cfn-type-name: AWS::SageMaker::FeatureGroup x-identifiers: - FeatureGroupName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__FeatureGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::FeatureGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -6200,7 +7459,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/feature_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/feature_groups/methods/delete_resource' config: views: select: @@ -6226,6 +7486,7 @@ components: x-cfn-type-name: AWS::SageMaker::FeatureGroup x-identifiers: - FeatureGroupName + x-type: get methods: update_resource: operation: @@ -6239,24 +7500,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::FeatureGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/feature_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/feature_group/methods/delete_resource' - x-type: get config: views: select: @@ -6308,10 +7554,26 @@ components: x-cfn-type-name: AWS::SageMaker::Image x-identifiers: - ImageArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Image&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::Image" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -6324,7 +7586,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/images/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/images/methods/delete_resource' config: views: select: @@ -6350,6 +7613,7 @@ components: x-cfn-type-name: AWS::SageMaker::Image x-identifiers: - ImageArn + x-type: get methods: update_resource: operation: @@ -6363,24 +7627,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::Image" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/image/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/image/methods/delete_resource' - x-type: get config: views: select: @@ -6420,10 +7669,26 @@ components: x-cfn-type-name: AWS::SageMaker::ImageVersion x-identifiers: - ImageVersionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ImageVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::ImageVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -6436,7 +7701,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/image_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/image_versions/methods/delete_resource' config: views: select: @@ -6461,23 +7727,12 @@ components: x-cfn-schema-name: ImageVersion x-cfn-type-name: AWS::SageMaker::ImageVersion x-identifiers: - - ImageVersionArn - methods: - update_resource: - operation: - $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::ImageVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' - delete_resource: + - ImageVersionArn + x-type: get + methods: + update_resource: operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=UpdateResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -6490,9 +7745,6 @@ components: sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/image_version/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/image_version/methods/delete_resource' - x-type: get config: views: select: @@ -6550,10 +7802,26 @@ components: x-cfn-type-name: AWS::SageMaker::InferenceComponent x-identifiers: - InferenceComponentArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__InferenceComponent&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::InferenceComponent" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -6566,7 +7834,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/inference_components/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/inference_components/methods/delete_resource' config: views: select: @@ -6592,6 +7861,7 @@ components: x-cfn-type-name: AWS::SageMaker::InferenceComponent x-identifiers: - InferenceComponentArn + x-type: get methods: update_resource: operation: @@ -6605,24 +7875,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::InferenceComponent" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/inference_component/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/inference_component/methods/delete_resource' - x-type: get config: views: select: @@ -6674,10 +7929,26 @@ components: x-cfn-type-name: AWS::SageMaker::InferenceExperiment x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__InferenceExperiment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::InferenceExperiment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -6690,7 +7961,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/inference_experiments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/inference_experiments/methods/delete_resource' config: views: select: @@ -6716,6 +7988,7 @@ components: x-cfn-type-name: AWS::SageMaker::InferenceExperiment x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -6729,24 +8002,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::InferenceExperiment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/inference_experiment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/inference_experiment/methods/delete_resource' - x-type: get config: views: select: @@ -6810,10 +8068,26 @@ components: x-cfn-type-name: AWS::SageMaker::ModelBiasJobDefinition x-identifiers: - JobDefinitionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ModelBiasJobDefinition&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::ModelBiasJobDefinition" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -6826,7 +8100,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/model_bias_job_definitions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/model_bias_job_definitions/methods/delete_resource' config: views: select: @@ -6852,24 +8127,10 @@ components: x-cfn-type-name: AWS::SageMaker::ModelBiasJobDefinition x-identifiers: - JobDefinitionArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::ModelBiasJobDefinition" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/model_bias_job_definition/methods/delete_resource' - x-type: get config: views: select: @@ -6923,10 +8184,26 @@ components: x-cfn-type-name: AWS::SageMaker::ModelCard x-identifiers: - ModelCardName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ModelCard&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::ModelCard" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -6939,7 +8216,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/model_cards/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/model_cards/methods/delete_resource' config: views: select: @@ -6965,6 +8243,7 @@ components: x-cfn-type-name: AWS::SageMaker::ModelCard x-identifiers: - ModelCardName + x-type: get methods: update_resource: operation: @@ -6978,24 +8257,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::ModelCard" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/model_card/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/model_card/methods/delete_resource' - x-type: get config: views: select: @@ -7047,10 +8311,26 @@ components: x-cfn-type-name: AWS::SageMaker::ModelExplainabilityJobDefinition x-identifiers: - JobDefinitionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ModelExplainabilityJobDefinition&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::ModelExplainabilityJobDefinition" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -7063,7 +8343,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/model_explainability_job_definitions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/model_explainability_job_definitions/methods/delete_resource' config: views: select: @@ -7089,24 +8370,10 @@ components: x-cfn-type-name: AWS::SageMaker::ModelExplainabilityJobDefinition x-identifiers: - JobDefinitionArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::ModelExplainabilityJobDefinition" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/model_explainability_job_definition/methods/delete_resource' - x-type: get config: views: select: @@ -7160,10 +8427,26 @@ components: x-cfn-type-name: AWS::SageMaker::ModelPackage x-identifiers: - ModelPackageArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ModelPackage&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::ModelPackage" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -7176,7 +8459,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/model_packages/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/model_packages/methods/delete_resource' config: views: select: @@ -7202,6 +8486,7 @@ components: x-cfn-type-name: AWS::SageMaker::ModelPackage x-identifiers: - ModelPackageArn + x-type: get methods: update_resource: operation: @@ -7215,24 +8500,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::ModelPackage" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/model_package/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/model_package/methods/delete_resource' - x-type: get config: views: select: @@ -7314,10 +8584,26 @@ components: x-cfn-type-name: AWS::SageMaker::ModelPackageGroup x-identifiers: - ModelPackageGroupArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ModelPackageGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::ModelPackageGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -7330,7 +8616,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/model_package_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/model_package_groups/methods/delete_resource' config: views: select: @@ -7356,6 +8643,7 @@ components: x-cfn-type-name: AWS::SageMaker::ModelPackageGroup x-identifiers: - ModelPackageGroupArn + x-type: get methods: update_resource: operation: @@ -7369,24 +8657,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::ModelPackageGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/model_package_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/model_package_group/methods/delete_resource' - x-type: get config: views: select: @@ -7428,10 +8701,26 @@ components: x-cfn-type-name: AWS::SageMaker::ModelQualityJobDefinition x-identifiers: - JobDefinitionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ModelQualityJobDefinition&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::ModelQualityJobDefinition" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -7444,7 +8733,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/model_quality_job_definitions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/model_quality_job_definitions/methods/delete_resource' config: views: select: @@ -7470,24 +8760,10 @@ components: x-cfn-type-name: AWS::SageMaker::ModelQualityJobDefinition x-identifiers: - JobDefinitionArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::ModelQualityJobDefinition" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/model_quality_job_definition/methods/delete_resource' - x-type: get config: views: select: @@ -7541,10 +8817,26 @@ components: x-cfn-type-name: AWS::SageMaker::MonitoringSchedule x-identifiers: - MonitoringScheduleArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__MonitoringSchedule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::MonitoringSchedule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -7557,7 +8849,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/monitoring_schedules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/monitoring_schedules/methods/delete_resource' config: views: select: @@ -7583,6 +8876,7 @@ components: x-cfn-type-name: AWS::SageMaker::MonitoringSchedule x-identifiers: - MonitoringScheduleArn + x-type: get methods: update_resource: operation: @@ -7596,24 +8890,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::MonitoringSchedule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/monitoring_schedule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/monitoring_schedule/methods/delete_resource' - x-type: get config: views: select: @@ -7661,10 +8940,26 @@ components: x-cfn-type-name: AWS::SageMaker::Pipeline x-identifiers: - PipelineName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Pipeline&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::Pipeline" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -7677,7 +8972,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/pipelines/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/pipelines/methods/delete_resource' config: views: select: @@ -7703,6 +8999,7 @@ components: x-cfn-type-name: AWS::SageMaker::Pipeline x-identifiers: - PipelineName + x-type: get methods: update_resource: operation: @@ -7716,24 +9013,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::Pipeline" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/pipeline/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/pipeline/methods/delete_resource' - x-type: get config: views: select: @@ -7775,10 +9057,26 @@ components: x-cfn-type-name: AWS::SageMaker::Project x-identifiers: - ProjectArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Project&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::Project" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -7791,7 +9089,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/projects/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/projects/methods/delete_resource' config: views: select: @@ -7817,6 +9116,7 @@ components: x-cfn-type-name: AWS::SageMaker::Project x-identifiers: - ProjectArn + x-type: get methods: update_resource: operation: @@ -7830,24 +9130,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::Project" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/project/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/project/methods/delete_resource' - x-type: get config: views: select: @@ -7894,10 +9179,26 @@ components: x-identifiers: - DomainId - SpaceName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Space&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::Space" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -7910,7 +9211,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/spaces/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/spaces/methods/delete_resource' config: views: select: @@ -7939,6 +9241,7 @@ components: x-identifiers: - DomainId - SpaceName + x-type: get methods: update_resource: operation: @@ -7952,24 +9255,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::Space" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/space/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/space/methods/delete_resource' - x-type: get config: views: select: @@ -8016,10 +9304,26 @@ components: x-identifiers: - UserProfileName - DomainId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__UserProfile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SageMaker::UserProfile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -8032,7 +9336,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/user_profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/user_profiles/methods/delete_resource' config: views: select: @@ -8061,6 +9366,7 @@ components: x-identifiers: - UserProfileName - DomainId + x-type: get methods: update_resource: operation: @@ -8074,24 +9380,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SageMaker::UserProfile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/user_profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/user_profile/methods/delete_resource' - x-type: get config: views: select: @@ -8137,7 +9428,695 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: CreateResource + operationId: CreateResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/x-cloud-control-schemas/CreateResourceInput' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=DeleteResource&Version=2021-09-30: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: DeleteResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.DeleteResource + enum: + - CloudApiService.DeleteResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput' + description: Success + /?Action=UpdateResource&Version=2021-09-30: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: UpdateResource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.UpdateResource + enum: + - CloudApiService.UpdateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + properties: + ClientName: + type: string + Identifier: + $ref: '#/components/x-cloud-control-schemas/Identifier' + PatchDocument: + type: string + RoleArn: + $ref: '#/components/x-cloud-control-schemas/RoleArn' + TypeName: + $ref: '#/components/x-cloud-control-schemas/TypeName' + TypeVersionId: + $ref: '#/components/x-cloud-control-schemas/TypeVersionId' + required: + - Identifier + - PatchDocument + type: object + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' + description: Success + /?Action=CreateResource&Version=2021-09-30&__App&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApp + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAppRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AppImageConfig&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAppImageConfig + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAppImageConfigRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DataQualityJobDefinition&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataQualityJobDefinition + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDataQualityJobDefinitionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Device&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDevice + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDeviceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DeviceFleet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDeviceFleet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDeviceFleetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__FeatureGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateFeatureGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateFeatureGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Image&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateImage + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateImageRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ImageVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateImageVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateImageVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__InferenceComponent&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateInferenceComponent + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateInferenceComponentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__InferenceExperiment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateInferenceExperiment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateInferenceExperimentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ModelBiasJobDefinition&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateModelBiasJobDefinition + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateModelBiasJobDefinitionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ModelCard&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateModelCard + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateModelCardRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ModelExplainabilityJobDefinition&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateModelExplainabilityJobDefinition + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateModelExplainabilityJobDefinitionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ModelPackage&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateModelPackage parameters: - description: Action Header in: header @@ -8160,7 +10139,7 @@ paths: content: application/x-amz-json-1.0: schema: - $ref: '#/components/x-cloud-control-schemas/CreateResourceInput' + $ref: '#/components/schemas/CreateModelPackageRequest' required: true responses: '200': @@ -8169,7 +10148,7 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success - /?Action=DeleteResource&Version=2021-09-30: + /?Action=CreateResource&Version=2021-09-30&__ModelPackageGroup&__detailTransformed=true: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' @@ -8179,16 +10158,16 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: DeleteResource + operationId: CreateModelPackageGroup parameters: - description: Action Header in: header name: X-Amz-Target required: false schema: - default: CloudApiService.DeleteResource + default: CloudApiService.CreateResource enum: - - CloudApiService.DeleteResource + - CloudApiService.CreateResource type: string - in: header name: Content-Type @@ -8202,16 +10181,16 @@ paths: content: application/x-amz-json-1.0: schema: - $ref: '#/components/x-cloud-control-schemas/DeleteResourceInput' + $ref: '#/components/schemas/CreateModelPackageGroupRequest' required: true responses: '200': content: application/json: schema: - $ref: '#/components/x-cloud-control-schemas/DeleteResourceOutput' + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success - /?Action=UpdateResource&Version=2021-09-30: + /?Action=CreateResource&Version=2021-09-30&__ModelQualityJobDefinition&__detailTransformed=true: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' @@ -8221,16 +10200,16 @@ paths: - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: - operationId: UpdateResource + operationId: CreateModelQualityJobDefinition parameters: - description: Action Header in: header name: X-Amz-Target required: false schema: - default: CloudApiService.UpdateResource + default: CloudApiService.CreateResource enum: - - CloudApiService.UpdateResource + - CloudApiService.CreateResource type: string - in: header name: Content-Type @@ -8244,33 +10223,229 @@ paths: content: application/x-amz-json-1.0: schema: - properties: - ClientName: - type: string - Identifier: - $ref: '#/components/x-cloud-control-schemas/Identifier' - PatchDocument: - type: string - RoleArn: - $ref: '#/components/x-cloud-control-schemas/RoleArn' - TypeName: - $ref: '#/components/x-cloud-control-schemas/TypeName' - TypeVersionId: - $ref: '#/components/x-cloud-control-schemas/TypeVersionId' - required: - - Identifier - - PatchDocument - type: object + $ref: '#/components/schemas/CreateModelQualityJobDefinitionRequest' required: true responses: '200': content: application/json: schema: - $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__MonitoringSchedule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateMonitoringSchedule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateMonitoringScheduleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Pipeline&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePipeline + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePipelineRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Project&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProject + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProjectRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Space&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSpace + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSpaceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UserProfile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUserProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/scheduler.yaml b/providers/src/aws/v00.00.00000/services/scheduler.yaml index 87d83d9b..61840a19 100644 --- a/providers/src/aws/v00.00.00000/services/scheduler.yaml +++ b/providers/src/aws/v00.00.00000/services/scheduler.yaml @@ -931,6 +931,121 @@ components: - scheduler:DeleteSchedule list: - scheduler:ListScheduleGroups + CreateScheduleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 1224 + minLength: 1 + pattern: ^arn:aws(-[a-z]+)?:scheduler:[a-z0-9\-]+:\d{12}:schedule\/[0-9a-zA-Z-_.]+\/[0-9a-zA-Z-_.]+$ + description: The Amazon Resource Name (ARN) of the schedule. + Description: + type: string + maxLength: 512 + minLength: 0 + description: The description of the schedule. + EndDate: + type: string + description: The date, in UTC, before which the schedule can invoke its target. Depending on the schedule's recurrence expression, invocations might stop on, or before, the EndDate you specify. + format: date-time + FlexibleTimeWindow: + $ref: '#/components/schemas/FlexibleTimeWindow' + GroupName: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[0-9a-zA-Z-_.]+$ + description: The name of the schedule group to associate with this schedule. If you omit this, the default schedule group is used. + KmsKeyArn: + type: string + maxLength: 2048 + minLength: 1 + pattern: ^arn:aws(-[a-z]+)?:kms:[a-z0-9\-]+:\d{12}:(key|alias)\/[0-9a-zA-Z-_]*$ + description: The ARN for a KMS Key that will be used to encrypt customer data. + Name: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[0-9a-zA-Z-_.]+$ + ScheduleExpression: + type: string + maxLength: 256 + minLength: 1 + description: The scheduling expression. + ScheduleExpressionTimezone: + type: string + maxLength: 50 + minLength: 1 + description: The timezone in which the scheduling expression is evaluated. + StartDate: + type: string + description: The date, in UTC, after which the schedule can begin invoking its target. Depending on the schedule's recurrence expression, invocations might occur on, or after, the StartDate you specify. + format: date-time + State: + $ref: '#/components/schemas/ScheduleState' + Target: + $ref: '#/components/schemas/Target' + x-stackQL-stringOnly: true + x-title: CreateScheduleRequest + type: object + required: [] + CreateScheduleGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 1224 + minLength: 1 + pattern: ^arn:aws(-[a-z]+)?:scheduler:[a-z0-9\-]+:\d{12}:schedule-group\/[0-9a-zA-Z-_.]+$ + description: The Amazon Resource Name (ARN) of the schedule group. + CreationDate: + type: string + description: The time at which the schedule group was created. + format: date-time + LastModificationDate: + type: string + description: The time at which the schedule group was last modified. + format: date-time + Name: + type: string + maxLength: 64 + minLength: 1 + pattern: ^[0-9a-zA-Z-_.]+$ + State: + $ref: '#/components/schemas/ScheduleGroupState' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + description: The list of tags to associate with the schedule group. + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateScheduleGroupRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -946,10 +1061,26 @@ components: x-cfn-type-name: AWS::Scheduler::Schedule x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Schedule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Scheduler::Schedule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -962,7 +1093,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/schedules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/schedules/methods/delete_resource' config: views: select: @@ -988,6 +1120,7 @@ components: x-cfn-type-name: AWS::Scheduler::Schedule x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1001,24 +1134,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Scheduler::Schedule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/schedule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/schedule/methods/delete_resource' - x-type: get config: views: select: @@ -1070,10 +1188,26 @@ components: x-cfn-type-name: AWS::Scheduler::ScheduleGroup x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ScheduleGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Scheduler::ScheduleGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1086,7 +1220,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/schedule_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/schedule_groups/methods/delete_resource' config: views: select: @@ -1112,6 +1247,7 @@ components: x-cfn-type-name: AWS::Scheduler::ScheduleGroup x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1125,24 +1261,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Scheduler::ScheduleGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/schedule_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/schedule_group/methods/delete_resource' - x-type: get config: views: select: @@ -1318,8 +1439,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Schedule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSchedule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateScheduleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ScheduleGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateScheduleGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateScheduleGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/secretsmanager.yaml b/providers/src/aws/v00.00.00000/services/secretsmanager.yaml index 83a1ddea..e7712e1d 100644 --- a/providers/src/aws/v00.00.00000/services/secretsmanager.yaml +++ b/providers/src/aws/v00.00.00000/services/secretsmanager.yaml @@ -553,6 +553,77 @@ components: - secretsmanager:GetSecretValue - secretsmanager:ReplicateSecretToRegions - secretsmanager:RemoveRegionsFromReplication + CreateSecretRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + description: The description of the secret. + KmsKeyId: + type: string + description: |- + The ARN, key ID, or alias of the KMS key that Secrets Manager uses to encrypt the secret value in the secret. An alias is always prefixed by ``alias/``, for example ``alias/aws/secretsmanager``. For more information, see [About aliases](https://docs.aws.amazon.com/kms/latest/developerguide/alias-about.html). + To use a KMS key in a different account, use the key ARN or the alias ARN. + If you don't specify this value, then Secrets Manager uses the key ``aws/secretsmanager``. If that key doesn't yet exist, then Secrets Manager creates it for you automatically the first time it encrypts the secret value. + If the secret is in a different AWS account from the credentials calling the API, then you can't use ``aws/secretsmanager`` to encrypt the secret, and you must create and use a customer managed KMS key. + SecretString: + type: string + description: The text to encrypt and store in the secret. We recommend you use a JSON structure of key/value pairs for your secret value. To generate a random password, use ``GenerateSecretString`` instead. If you omit both ``GenerateSecretString`` and ``SecretString``, you create an empty secret. When you make a change to this property, a new secret version is created. + GenerateSecretString: + $ref: '#/components/schemas/GenerateSecretString' + description: |- + A structure that specifies how to generate a password to encrypt and store in the secret. To include a specific string in the secret, use ``SecretString`` instead. If you omit both ``GenerateSecretString`` and ``SecretString``, you create an empty secret. When you make a change to this property, a new secret version is created. + We recommend that you specify the maximum length and include every character type that the system you are generating a password for can support. + ReplicaRegions: + type: array + description: A custom type that specifies a ``Region`` and the ``KmsKeyId`` for a replica secret. + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/ReplicaRegion' + Id: + type: string + description: '' + Tags: + type: array + description: |- + A list of tags to attach to the secret. Each tag is a key and value pair of strings in a JSON text string, for example: + ``[{"Key":"CostCenter","Value":"12345"},{"Key":"environment","Value":"production"}]`` + Secrets Manager tag key names are case sensitive. A tag with the key "ABC" is a different tag from one with key "abc". + Stack-level tags, tags you apply to the CloudFormation stack, are also attached to the secret. + If you check tags in permissions policies as part of your security strategy, then adding or removing a tag can change permissions. If the completion of this operation would result in you losing your permissions for this secret, then Secrets Manager blocks the operation and returns an ``Access Denied`` error. For more information, see [Control access to secrets using tags](https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_examples.html#tag-secrets-abac) and [Limit access to identities with tags that match secrets' tags](https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_examples.html#auth-and-access_tags2). + For information about how to format a JSON parameter for the various command line tool environments, see [Using JSON for Parameters](https://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#cli-using-param-json). If your command-line tool or SDK requires quotation marks around the parameter, you should use single quotes to avoid confusion with the double quotes required in the JSON text. + The following restrictions apply to tags: + + Maximum number of tags per secret: 50 + + Maximum key length: 127 Unicode characters in UTF-8 + + Maximum value length: 255 Unicode characters in UTF-8 + + Tag keys and values are case sensitive. + + Do not use the ``aws:`` prefix in your tag names or values because AWS reserves it for AWS use. You can't edit or delete tag names or values with this prefix. Tags with this prefix do not count against your tags per secret limit. + + If you use your tagging schema across multiple services and resources, other services might have restrictions on allowed characters. Generally allowed characters: letters, spaces, and numbers representable in UTF-8, plus the following special characters: + - = . _ : / @. + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Name: + type: string + description: |- + The name of the new secret. + The secret name can contain ASCII letters, numbers, and the following characters: /_+=.@- + Do not end your secret name with a hyphen followed by six characters. If you do so, you risk confusion and unexpected results when searching for a secret by partial ARN. Secrets Manager automatically adds a hyphen and six random characters after the secret name at the end of the ARN. + x-stackQL-stringOnly: true + x-title: CreateSecretRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -568,10 +639,26 @@ components: x-cfn-type-name: AWS::SecretsManager::Secret x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Secret&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SecretsManager::Secret" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -584,7 +671,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/secrets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/secrets/methods/delete_resource' config: views: select: @@ -610,6 +698,7 @@ components: x-cfn-type-name: AWS::SecretsManager::Secret x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -623,24 +712,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SecretsManager::Secret" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/secret/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/secret/methods/delete_resource' - x-type: get config: views: select: @@ -820,8 +894,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Secret&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSecret + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSecretRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/securityhub.yaml b/providers/src/aws/v00.00.00000/services/securityhub.yaml index 99ae62c8..8e72a1ab 100644 --- a/providers/src/aws/v00.00.00000/services/securityhub.yaml +++ b/providers/src/aws/v00.00.00000/services/securityhub.yaml @@ -2094,6 +2094,236 @@ components: - securityhub:BatchDisableStandards list: - securityhub:GetEnabledStandards + CreateAutomationRuleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + RuleArn: + description: '' + type: string + pattern: arn:aws\S*:securityhub:\S* + RuleStatus: + description: Whether the rule is active after it is created. If this parameter is equal to ``ENABLED``, ASH applies the rule to findings and finding updates after the rule is created. + type: string + enum: + - ENABLED + - DISABLED + RuleOrder: + description: '' + type: integer + minimum: 1 + maximum: 1000 + Description: + description: '' + type: string + minLength: 1 + maxLength: 1024 + RuleName: + description: '' + type: string + minLength: 1 + maxLength: 256 + CreatedAt: + description: '' + $ref: '#/components/schemas/ISO8601DateString' + UpdatedAt: + description: '' + $ref: '#/components/schemas/ISO8601DateString' + CreatedBy: + description: '' + type: string + minLength: 1 + maxLength: 256 + IsTerminal: + description: '' + type: boolean + Actions: + type: array + description: '' + items: + $ref: '#/components/schemas/AutomationRulesAction' + minItems: 1 + maxItems: 1 + Criteria: + description: A set of [Security Finding Format (ASFF)](https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format.html) finding field attributes and corresponding expected values that ASH uses to filter findings. If a rule is enabled and a finding matches the criteria specified in this parameter, ASH applies the rule action to the finding. + $ref: '#/components/schemas/AutomationRulesFindingFilters' + Tags: + description: '' + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateAutomationRuleRequest + type: object + required: [] + CreateDelegatedAdminRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DelegatedAdminIdentifier: + description: The identifier of the DelegatedAdmin being created and assigned as the unique identifier + type: string + pattern: ^[0-9]{12}/[a-zA-Z0-9-]{1,32}$ + AdminAccountId: + description: The Amazon Web Services account identifier of the account to designate as the Security Hub administrator account + type: string + pattern: ^[0-9]{12}$ + Status: + description: The current status of the Security Hub administrator account. Indicates whether the account is currently enabled as a Security Hub administrator + type: string + enum: + - ENABLED + - DISABLE_IN_PROGRESS + x-stackQL-stringOnly: true + x-title: CreateDelegatedAdminRequest + type: object + required: [] + CreateHubRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ARN: + description: An ARN is automatically created for the customer. + type: string + pattern: ^arn:.* + EnableDefaultStandards: + description: Whether to enable the security standards that Security Hub has designated as automatically enabled. + type: boolean + ControlFindingGenerator: + description: This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards. + type: string + pattern: ^(SECURITY_CONTROL|STANDARD_CONTROL)$ + AutoEnableControls: + description: Whether to automatically enable new controls when they are added to standards that are enabled + type: boolean + Tags: + $ref: '#/components/schemas/Tags' + SubscribedAt: + description: The date and time when Security Hub was enabled in the account. + type: string + x-stackQL-stringOnly: true + x-title: CreateHubRequest + type: object + required: [] + CreateInsightRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InsightArn: + description: The ARN of a Security Hub insight + type: string + pattern: arn:aws\S*:securityhub:\S* + Name: + description: The name of a Security Hub insight + type: string + minLength: 1 + maxLength: 128 + Filters: + description: One or more attributes used to filter the findings included in the insight + $ref: '#/components/schemas/AwsSecurityFindingFilters' + maxProperties: 10 + GroupByAttribute: + description: The grouping attribute for the insight's findings + $ref: '#/components/schemas/NonEmptyString' + x-stackQL-stringOnly: true + x-title: CreateInsightRequest + type: object + required: [] + CreateProductSubscriptionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ProductArn: + description: The generic ARN of the product being subscribed to + type: string + pattern: arn:aws\S*:securityhub:\S* + ProductSubscriptionArn: + description: The ARN of the product subscription for the account + type: string + pattern: arn:aws\S*:securityhub:\S* + x-stackQL-stringOnly: true + x-title: CreateProductSubscriptionRequest + type: object + required: [] + CreateStandardRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + StandardsSubscriptionArn: + description: '' + type: string + pattern: arn:aws\S*:securityhub:\S* + StandardsArn: + description: The ARN of the standard that you want to enable. To view a list of available ASH standards and their ARNs, use the [DescribeStandards](https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DescribeStandards.html) API operation. + type: string + pattern: arn:aws\S*:securityhub:\S + DisabledStandardsControls: + description: |- + Specifies which controls are to be disabled in a standard. + *Maximum*: ``100`` + type: array + minItems: 0 + maxItems: 100 + items: + $ref: '#/components/schemas/StandardsControl' + x-insertionOrder: true + uniqueItems: true + x-stackQL-stringOnly: true + x-title: CreateStandardRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -2109,10 +2339,26 @@ components: x-cfn-type-name: AWS::SecurityHub::AutomationRule x-identifiers: - RuleArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AutomationRule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SecurityHub::AutomationRule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2125,7 +2371,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/automation_rules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/automation_rules/methods/delete_resource' config: views: select: @@ -2151,6 +2398,7 @@ components: x-cfn-type-name: AWS::SecurityHub::AutomationRule x-identifiers: - RuleArn + x-type: get methods: update_resource: operation: @@ -2164,24 +2412,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SecurityHub::AutomationRule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/automation_rule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/automation_rule/methods/delete_resource' - x-type: get config: views: select: @@ -2233,10 +2466,26 @@ components: x-cfn-type-name: AWS::SecurityHub::DelegatedAdmin x-identifiers: - DelegatedAdminIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DelegatedAdmin&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SecurityHub::DelegatedAdmin" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2249,7 +2498,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/delegated_admins/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/delegated_admins/methods/delete_resource' config: views: select: @@ -2275,24 +2525,10 @@ components: x-cfn-type-name: AWS::SecurityHub::DelegatedAdmin x-identifiers: - DelegatedAdminIdentifier - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SecurityHub::DelegatedAdmin" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/delegated_admin/methods/delete_resource' - x-type: get config: views: select: @@ -2326,10 +2562,26 @@ components: x-cfn-type-name: AWS::SecurityHub::Hub x-identifiers: - ARN + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Hub&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SecurityHub::Hub" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2342,7 +2594,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/hubs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/hubs/methods/delete_resource' config: views: select: @@ -2368,6 +2621,7 @@ components: x-cfn-type-name: AWS::SecurityHub::Hub x-identifiers: - ARN + x-type: get methods: update_resource: operation: @@ -2381,24 +2635,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SecurityHub::Hub" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/hub/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/hub/methods/delete_resource' - x-type: get config: views: select: @@ -2438,10 +2677,26 @@ components: x-cfn-type-name: AWS::SecurityHub::Insight x-identifiers: - InsightArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Insight&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SecurityHub::Insight" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2454,7 +2709,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/insights/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/insights/methods/delete_resource' config: views: select: @@ -2480,6 +2736,7 @@ components: x-cfn-type-name: AWS::SecurityHub::Insight x-identifiers: - InsightArn + x-type: get methods: update_resource: operation: @@ -2493,24 +2750,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SecurityHub::Insight" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/insight/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/insight/methods/delete_resource' - x-type: get config: views: select: @@ -2546,10 +2788,26 @@ components: x-cfn-type-name: AWS::SecurityHub::ProductSubscription x-identifiers: - ProductSubscriptionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ProductSubscription&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SecurityHub::ProductSubscription" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2562,7 +2820,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/product_subscriptions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/product_subscriptions/methods/delete_resource' config: views: select: @@ -2588,24 +2847,10 @@ components: x-cfn-type-name: AWS::SecurityHub::ProductSubscription x-identifiers: - ProductSubscriptionArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SecurityHub::ProductSubscription" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/product_subscription/methods/delete_resource' - x-type: get config: views: select: @@ -2637,10 +2882,26 @@ components: x-cfn-type-name: AWS::SecurityHub::Standard x-identifiers: - StandardsSubscriptionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Standard&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SecurityHub::Standard" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2653,7 +2914,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/standards/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/standards/methods/delete_resource' config: views: select: @@ -2679,6 +2941,7 @@ components: x-cfn-type-name: AWS::SecurityHub::Standard x-identifiers: - StandardsSubscriptionArn + x-type: get methods: update_resource: operation: @@ -2692,24 +2955,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SecurityHub::Standard" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/standard/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/standard/methods/delete_resource' - x-type: get config: views: select: @@ -2879,8 +3127,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AutomationRule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAutomationRule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAutomationRuleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DelegatedAdmin&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDelegatedAdmin + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDelegatedAdminRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Hub&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateHub + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateHubRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Insight&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateInsight + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateInsightRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ProductSubscription&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProductSubscription + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProductSubscriptionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Standard&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStandard + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStandardRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/securitylake.yaml b/providers/src/aws/v00.00.00000/services/securitylake.yaml index 34a39bc2..54d39a75 100644 --- a/providers/src/aws/v00.00.00000/services/securitylake.yaml +++ b/providers/src/aws/v00.00.00000/services/securitylake.yaml @@ -786,6 +786,120 @@ components: - sqs:GetQueueUrl list: - securitylake:ListSubscribers + CreateDataLakeRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + EncryptionConfiguration: + $ref: '#/components/schemas/EncryptionConfiguration' + LifecycleConfiguration: + $ref: '#/components/schemas/LifecycleConfiguration' + ReplicationConfiguration: + $ref: '#/components/schemas/ReplicationConfiguration' + MetaStoreManagerRoleArn: + description: The Amazon Resource Name (ARN) used to index AWS Glue table partitions that are generated by the ingestion and normalization of AWS log sources and custom sources. + type: string + pattern: ^arn:.*$ + Tags: + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Arn: + description: The Amazon Resource Name (ARN) created by you to provide to the subscriber. + type: string + minLength: 1 + maxLength: 1011 + S3BucketArn: + description: The ARN for the Amazon Security Lake Amazon S3 bucket. + type: string + x-stackQL-stringOnly: true + x-title: CreateDataLakeRequest + type: object + required: [] + CreateSubscriberRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessTypes: + $ref: '#/components/schemas/AccessTypes' + DataLakeArn: + description: The ARN for the data lake. + type: string + minLength: 1 + maxLength: 256 + SubscriberIdentity: + type: object + properties: + ExternalId: + type: string + pattern: ^[\w+=,.@:/-]*$ + minLength: 2 + maxLength: 1224 + description: The external ID used to establish trust relationship with the AWS identity. + Principal: + type: string + pattern: ^([0-9]{12}|[a-z0-9\.\-]*\.(amazonaws|amazon)\.com)$ + description: The AWS identity principal. + required: + - ExternalId + - Principal + description: The AWS identity used to access your data. + additionalProperties: false + SubscriberName: + type: string + pattern: ^[\\\w\s\-_:/,.@=+]*$ + minLength: 1 + maxLength: 64 + description: The name of your Security Lake subscriber account. + SubscriberDescription: + type: string + description: The description for your subscriber account in Security Lake. + Tags: + type: array + x-insertionOrder: true + items: + $ref: '#/components/schemas/Tag' + description: An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string. + Sources: + type: array + x-insertionOrder: true + items: + $ref: '#/components/schemas/Source' + description: The supported AWS services from which logs and events are collected. + ResourceShareArn: + type: string + ResourceShareName: + type: string + SubscriberRoleArn: + type: string + S3BucketArn: + type: string + SubscriberArn: + type: string + x-stackQL-stringOnly: true + x-title: CreateSubscriberRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -801,10 +915,26 @@ components: x-cfn-type-name: AWS::SecurityLake::DataLake x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DataLake&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SecurityLake::DataLake" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -817,7 +947,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/data_lakes/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/data_lakes/methods/delete_resource' config: views: select: @@ -843,6 +974,7 @@ components: x-cfn-type-name: AWS::SecurityLake::DataLake x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -856,24 +988,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SecurityLake::DataLake" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/data_lake/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/data_lake/methods/delete_resource' - x-type: get config: views: select: @@ -915,10 +1032,26 @@ components: x-cfn-type-name: AWS::SecurityLake::Subscriber x-identifiers: - SubscriberArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Subscriber&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SecurityLake::Subscriber" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -931,7 +1064,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/subscribers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/subscribers/methods/delete_resource' config: views: select: @@ -957,6 +1091,7 @@ components: x-cfn-type-name: AWS::SecurityLake::Subscriber x-identifiers: - SubscriberArn + x-type: get methods: update_resource: operation: @@ -970,24 +1105,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SecurityLake::Subscriber" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/subscriber/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/subscriber/methods/delete_resource' - x-type: get config: views: select: @@ -1175,8 +1295,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__DataLake&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDataLake + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDataLakeRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Subscriber&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSubscriber + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSubscriberRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/servicecatalog.yaml b/providers/src/aws/v00.00.00000/services/servicecatalog.yaml index ab542319..9aadf9dd 100644 --- a/providers/src/aws/v00.00.00000/services/servicecatalog.yaml +++ b/providers/src/aws/v00.00.00000/services/servicecatalog.yaml @@ -670,6 +670,165 @@ components: - servicecatalog:ListServiceActionsForProvisioningArtifact list: - servicecatalog:ListServiceActionsForProvisioningArtifact + CreateCloudFormationProvisionedProductRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AcceptLanguage: + type: string + enum: + - en + - jp + - zh + NotificationArns: + type: array + uniqueItems: true + items: + type: string + maxItems: 5 + PathId: + type: string + minLength: 1 + maxLength: 100 + PathName: + type: string + minLength: 1 + maxLength: 100 + ProductId: + type: string + minLength: 1 + maxLength: 100 + ProductName: + type: string + minLength: 1 + maxLength: 128 + ProvisionedProductName: + type: string + minLength: 1 + maxLength: 128 + ProvisioningArtifactId: + type: string + minLength: 1 + maxLength: 100 + ProvisioningArtifactName: + type: string + ProvisioningParameters: + type: array + items: + $ref: '#/components/schemas/ProvisioningParameter' + ProvisioningPreferences: + $ref: '#/components/schemas/ProvisioningPreferences' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + ProvisionedProductId: + type: string + minLength: 1 + maxLength: 50 + RecordId: + type: string + minLength: 1 + maxLength: 50 + CloudformationStackArn: + type: string + minLength: 1 + maxLength: 256 + Outputs: + description: List of key-value pair outputs. + type: object + x-patternProperties: + ^[A-Za-z0-9]{1,64}$: + $ref: '#/components/schemas/OutputType' + additionalProperties: false + maxProperties: 100 + x-stackQL-stringOnly: true + x-title: CreateCloudFormationProvisionedProductRequest + type: object + required: [] + CreateServiceActionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AcceptLanguage: + type: string + enum: + - en + - jp + - zh + Name: + type: string + minLength: 1 + maxLength: 256 + DefinitionType: + type: string + enum: + - SSM_AUTOMATION + Definition: + type: array + items: + $ref: '#/components/schemas/DefinitionParameter' + Description: + type: string + maxLength: 1024 + Id: + type: string + minLength: 1 + maxLength: 100 + x-stackQL-stringOnly: true + x-title: CreateServiceActionRequest + type: object + required: [] + CreateServiceActionAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ProductId: + type: string + pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{1,99}\Z + minLength: 1 + maxLength: 100 + ProvisioningArtifactId: + type: string + pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{1,99}\Z + minLength: 1 + maxLength: 100 + ServiceActionId: + type: string + pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{1,99}\Z + minLength: 1 + maxLength: 100 + x-stackQL-stringOnly: true + x-title: CreateServiceActionAssociationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -685,10 +844,26 @@ components: x-cfn-type-name: AWS::ServiceCatalog::CloudFormationProvisionedProduct x-identifiers: - ProvisionedProductId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__CloudFormationProvisionedProduct&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ServiceCatalog::CloudFormationProvisionedProduct" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -701,6 +876,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/cloud_formation_provisioned_products/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/cloud_formation_provisioned_products/methods/delete_resource' cloud_formation_provisioned_product: name: cloud_formation_provisioned_product id: aws.servicecatalog.cloud_formation_provisioned_product @@ -708,6 +885,7 @@ components: x-cfn-type-name: AWS::ServiceCatalog::CloudFormationProvisionedProduct x-identifiers: - ProvisionedProductId + x-type: get methods: update_resource: operation: @@ -721,24 +899,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ServiceCatalog::CloudFormationProvisionedProduct" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/cloud_formation_provisioned_product/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/cloud_formation_provisioned_product/methods/delete_resource' - x-type: get config: views: select: @@ -798,10 +961,26 @@ components: x-cfn-type-name: AWS::ServiceCatalog::ServiceAction x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ServiceAction&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ServiceCatalog::ServiceAction" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -814,7 +993,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/service_actions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/service_actions/methods/delete_resource' config: views: select: @@ -840,6 +1020,7 @@ components: x-cfn-type-name: AWS::ServiceCatalog::ServiceAction x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -853,24 +1034,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ServiceCatalog::ServiceAction" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/service_action/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/service_action/methods/delete_resource' - x-type: get config: views: select: @@ -912,10 +1078,26 @@ components: - ProductId - ProvisioningArtifactId - ServiceActionId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ServiceActionAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ServiceCatalog::ServiceActionAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -928,7 +1110,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/service_action_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/service_action_associations/methods/delete_resource' config: views: select: @@ -960,24 +1143,10 @@ components: - ProductId - ProvisioningArtifactId - ServiceActionId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ServiceCatalog::ServiceActionAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/service_action_association/methods/delete_resource' - x-type: get config: views: select: @@ -1147,8 +1316,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__CloudFormationProvisionedProduct&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCloudFormationProvisionedProduct + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCloudFormationProvisionedProductRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ServiceAction&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateServiceAction + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServiceActionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ServiceActionAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateServiceActionAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServiceActionAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/servicecatalogappregistry.yaml b/providers/src/aws/v00.00.00000/services/servicecatalogappregistry.yaml index c95efb24..bb14b7eb 100644 --- a/providers/src/aws/v00.00.00000/services/servicecatalogappregistry.yaml +++ b/providers/src/aws/v00.00.00000/services/servicecatalogappregistry.yaml @@ -648,6 +648,167 @@ components: - servicecatalog:DisassociateResource list: - servicecatalog:ListAssociatedResources + CreateApplicationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + pattern: '[a-z0-9]{26}' + Arn: + type: string + pattern: arn:aws[-a-z]*:servicecatalog:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:/applications/[a-z0-9]+ + Name: + type: string + description: 'The name of the application. ' + minLength: 1 + maxLength: 256 + pattern: \w+ + Description: + type: string + description: 'The description of the application. ' + maxLength: 1024 + Tags: + $ref: '#/components/schemas/Tags' + ApplicationTagKey: + type: string + description: The key of the AWS application tag, which is awsApplication. Applications created before 11/13/2023 or applications without the AWS application tag resource group return no value. + maxLength: 128 + pattern: \w+ + ApplicationTagValue: + type: string + description: 'The value of the AWS application tag, which is the identifier of an associated resource. Applications created before 11/13/2023 or applications without the AWS application tag resource group return no value. ' + maxLength: 256 + pattern: \[a-zA-Z0-9_-:/]+ + ApplicationName: + type: string + description: 'The name of the application. ' + minLength: 1 + maxLength: 256 + pattern: \w+ + x-stackQL-stringOnly: true + x-title: CreateApplicationRequest + type: object + required: [] + CreateAttributeGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + pattern: '[a-z0-9]{12}' + Arn: + type: string + pattern: arn:aws[-a-z]*:servicecatalog:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:/attribute-groups/[a-z0-9]+ + Name: + type: string + description: 'The name of the attribute group. ' + minLength: 1 + maxLength: 256 + pattern: \w+ + Description: + type: string + description: 'The description of the attribute group. ' + maxLength: 1024 + Attributes: + type: object + Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateAttributeGroupRequest + type: object + required: [] + CreateAttributeGroupAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Application: + type: string + description: The name or the Id of the Application. + minLength: 1 + maxLength: 256 + pattern: \w+|[a-z0-9]{12} + AttributeGroup: + type: string + description: The name or the Id of the AttributeGroup. + minLength: 1 + maxLength: 256 + pattern: \w+|[a-z0-9]{12} + ApplicationArn: + type: string + pattern: arn:aws[-a-z]*:servicecatalog:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:/applications/[a-z0-9]+ + AttributeGroupArn: + type: string + pattern: arn:aws[-a-z]*:servicecatalog:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:/attribute-groups/[a-z0-9]+ + x-stackQL-stringOnly: true + x-title: CreateAttributeGroupAssociationRequest + type: object + required: [] + CreateResourceAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Application: + type: string + description: The name or the Id of the Application. + minLength: 1 + maxLength: 256 + pattern: \w+|[a-z0-9]{12} + Resource: + type: string + description: The name or the Id of the Resource. + pattern: \w+|arn:aws[-a-z]*:cloudformation:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:stack/[a-zA-Z][-A-Za-z0-9]{0,127}/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12} + ResourceType: + type: string + description: The type of the CFN Resource for now it's enum CFN_STACK. + enum: + - CFN_STACK + ApplicationArn: + type: string + pattern: arn:aws[-a-z]*:servicecatalog:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:/applications/[a-z0-9]+ + ResourceArn: + type: string + pattern: arn:aws[-a-z]*:cloudformation:[a-z]{2}(-gov)?-[a-z]+-\d:\d{12}:stack/[a-zA-Z][-A-Za-z0-9]{0,127}/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12} + x-stackQL-stringOnly: true + x-title: CreateResourceAssociationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -663,10 +824,26 @@ components: x-cfn-type-name: AWS::ServiceCatalogAppRegistry::Application x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ServiceCatalogAppRegistry::Application" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -679,7 +856,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource' config: views: select: @@ -705,6 +883,7 @@ components: x-cfn-type-name: AWS::ServiceCatalogAppRegistry::Application x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -718,24 +897,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ServiceCatalogAppRegistry::Application" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/application/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/application/methods/delete_resource' - x-type: get config: views: select: @@ -779,10 +943,26 @@ components: x-cfn-type-name: AWS::ServiceCatalogAppRegistry::AttributeGroup x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AttributeGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ServiceCatalogAppRegistry::AttributeGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -795,7 +975,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/attribute_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/attribute_groups/methods/delete_resource' config: views: select: @@ -821,6 +1002,7 @@ components: x-cfn-type-name: AWS::ServiceCatalogAppRegistry::AttributeGroup x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -834,24 +1016,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ServiceCatalogAppRegistry::AttributeGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/attribute_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/attribute_group/methods/delete_resource' - x-type: get config: views: select: @@ -892,10 +1059,26 @@ components: x-identifiers: - ApplicationArn - AttributeGroupArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AttributeGroupAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -908,7 +1091,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/attribute_group_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/attribute_group_associations/methods/delete_resource' config: views: select: @@ -937,24 +1121,10 @@ components: x-identifiers: - ApplicationArn - AttributeGroupArn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ServiceCatalogAppRegistry::AttributeGroupAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/attribute_group_association/methods/delete_resource' - x-type: get config: views: select: @@ -992,10 +1162,26 @@ components: - ApplicationArn - ResourceArn - ResourceType + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourceAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::ServiceCatalogAppRegistry::ResourceAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1008,7 +1194,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resource_associations/methods/delete_resource' config: views: select: @@ -1040,24 +1227,10 @@ components: - ApplicationArn - ResourceArn - ResourceType - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::ServiceCatalogAppRegistry::ResourceAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/resource_association/methods/delete_resource' - x-type: get config: views: select: @@ -1231,8 +1404,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplication + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AttributeGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAttributeGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAttributeGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AttributeGroupAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAttributeGroupAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAttributeGroupAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourceAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourceAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourceAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/ses.yaml b/providers/src/aws/v00.00.00000/services/ses.yaml index c30a4a21..2b5e2e2c 100644 --- a/providers/src/aws/v00.00.00000/services/ses.yaml +++ b/providers/src/aws/v00.00.00000/services/ses.yaml @@ -969,6 +969,217 @@ components: delete: - ses:PutAccountVdmAttributes - ses:GetAccount + CreateConfigurationSetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name of the configuration set. + type: string + pattern: ^[a-zA-Z0-9_-]{1,64}$ + TrackingOptions: + $ref: '#/components/schemas/TrackingOptions' + DeliveryOptions: + $ref: '#/components/schemas/DeliveryOptions' + ReputationOptions: + $ref: '#/components/schemas/ReputationOptions' + SendingOptions: + $ref: '#/components/schemas/SendingOptions' + SuppressionOptions: + $ref: '#/components/schemas/SuppressionOptions' + VdmOptions: + $ref: '#/components/schemas/VdmOptions' + x-stackQL-stringOnly: true + x-title: CreateConfigurationSetRequest + type: object + required: [] + CreateConfigurationSetEventDestinationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + ConfigurationSetName: + description: The name of the configuration set that contains the event destination. + type: string + EventDestination: + description: The event destination object. + $ref: '#/components/schemas/EventDestination' + x-stackQL-stringOnly: true + x-title: CreateConfigurationSetEventDestinationRequest + type: object + required: [] + CreateContactListRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ContactListName: + description: The name of the contact list. + type: string + pattern: ^[a-zA-Z0-9_-]{1,64}$ + Description: + description: The description of the contact list. + type: string + maxLength: 500 + Topics: + description: The topics associated with the contact list. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Topic' + minItems: 0 + maxItems: 20 + Tags: + description: The tags (keys and values) associated with the contact list. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 50 + x-stackQL-stringOnly: true + x-title: CreateContactListRequest + type: object + required: [] + CreateDedicatedIpPoolRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PoolName: + type: string + description: The name of the dedicated IP pool. + pattern: ^[a-z0-9_-]{0,64}$ + ScalingMode: + type: string + description: Specifies whether the dedicated IP pool is managed or not. The default value is STANDARD. + pattern: ^(STANDARD|MANAGED)$ + x-stackQL-stringOnly: true + x-title: CreateDedicatedIpPoolRequest + type: object + required: [] + CreateEmailIdentityRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + EmailIdentity: + type: string + description: The email address or domain to verify. + ConfigurationSetAttributes: + $ref: '#/components/schemas/ConfigurationSetAttributes' + DkimSigningAttributes: + $ref: '#/components/schemas/DkimSigningAttributes' + DkimAttributes: + $ref: '#/components/schemas/DkimAttributes' + MailFromAttributes: + $ref: '#/components/schemas/MailFromAttributes' + FeedbackAttributes: + $ref: '#/components/schemas/FeedbackAttributes' + DkimDNSTokenName1: + type: string + DkimDNSTokenName2: + type: string + DkimDNSTokenName3: + type: string + DkimDNSTokenValue1: + type: string + DkimDNSTokenValue2: + type: string + DkimDNSTokenValue3: + type: string + x-stackQL-stringOnly: true + x-title: CreateEmailIdentityRequest + type: object + required: [] + CreateTemplateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + type: string + Template: + $ref: '#/components/schemas/Template' + x-stackQL-stringOnly: true + x-title: CreateTemplateRequest + type: object + required: [] + CreateVdmAttributesRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + VdmAttributesResourceId: + type: string + description: Unique identifier for this resource + DashboardAttributes: + $ref: '#/components/schemas/DashboardAttributes' + GuardianAttributes: + $ref: '#/components/schemas/GuardianAttributes' + x-stackQL-stringOnly: true + x-title: CreateVdmAttributesRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -984,10 +1195,26 @@ components: x-cfn-type-name: AWS::SES::ConfigurationSet x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConfigurationSet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SES::ConfigurationSet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1000,7 +1227,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/configuration_sets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/configuration_sets/methods/delete_resource' config: views: select: @@ -1026,6 +1254,7 @@ components: x-cfn-type-name: AWS::SES::ConfigurationSet x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1039,24 +1268,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SES::ConfigurationSet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/configuration_set/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/configuration_set/methods/delete_resource' - x-type: get config: views: select: @@ -1098,10 +1312,26 @@ components: x-cfn-type-name: AWS::SES::ConfigurationSetEventDestination x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConfigurationSetEventDestination&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SES::ConfigurationSetEventDestination" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1114,6 +1344,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/configuration_set_event_destinations/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/configuration_set_event_destinations/methods/delete_resource' configuration_set_event_destination: name: configuration_set_event_destination id: aws.ses.configuration_set_event_destination @@ -1121,6 +1353,7 @@ components: x-cfn-type-name: AWS::SES::ConfigurationSetEventDestination x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1134,24 +1367,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SES::ConfigurationSetEventDestination" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/configuration_set_event_destination/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/configuration_set_event_destination/methods/delete_resource' - x-type: get config: views: select: @@ -1185,10 +1403,26 @@ components: x-cfn-type-name: AWS::SES::ContactList x-identifiers: - ContactListName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ContactList&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SES::ContactList" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1201,7 +1435,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/contact_lists/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/contact_lists/methods/delete_resource' config: views: select: @@ -1227,6 +1462,7 @@ components: x-cfn-type-name: AWS::SES::ContactList x-identifiers: - ContactListName + x-type: get methods: update_resource: operation: @@ -1240,24 +1476,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SES::ContactList" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/contact_list/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/contact_list/methods/delete_resource' - x-type: get config: views: select: @@ -1293,10 +1514,26 @@ components: x-cfn-type-name: AWS::SES::DedicatedIpPool x-identifiers: - PoolName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DedicatedIpPool&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SES::DedicatedIpPool" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1309,7 +1546,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/dedicated_ip_pools/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/dedicated_ip_pools/methods/delete_resource' config: views: select: @@ -1335,6 +1573,7 @@ components: x-cfn-type-name: AWS::SES::DedicatedIpPool x-identifiers: - PoolName + x-type: get methods: update_resource: operation: @@ -1348,24 +1587,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SES::DedicatedIpPool" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/dedicated_ip_pool/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/dedicated_ip_pool/methods/delete_resource' - x-type: get config: views: select: @@ -1397,10 +1621,26 @@ components: x-cfn-type-name: AWS::SES::EmailIdentity x-identifiers: - EmailIdentity + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__EmailIdentity&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SES::EmailIdentity" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1413,7 +1653,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/email_identities/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/email_identities/methods/delete_resource' config: views: select: @@ -1439,6 +1680,7 @@ components: x-cfn-type-name: AWS::SES::EmailIdentity x-identifiers: - EmailIdentity + x-type: get methods: update_resource: operation: @@ -1452,24 +1694,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SES::EmailIdentity" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/email_identity/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/email_identity/methods/delete_resource' - x-type: get config: views: select: @@ -1521,10 +1748,26 @@ components: x-cfn-type-name: AWS::SES::Template x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Template&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SES::Template" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1537,7 +1780,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/templates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/templates/methods/delete_resource' config: views: select: @@ -1563,6 +1807,7 @@ components: x-cfn-type-name: AWS::SES::Template x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1576,24 +1821,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SES::Template" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/template/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/template/methods/delete_resource' - x-type: get config: views: select: @@ -1625,6 +1855,7 @@ components: x-cfn-type-name: AWS::SES::VdmAttributes x-identifiers: - VdmAttributesResourceId + x-type: get methods: update_resource: operation: @@ -1638,24 +1869,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SES::VdmAttributes" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/vdm_attributes/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/vdm_attributes/methods/delete_resource' - x-type: get config: views: select: @@ -1825,8 +2041,304 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ConfigurationSet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConfigurationSet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConfigurationSetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ConfigurationSetEventDestination&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConfigurationSetEventDestination + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConfigurationSetEventDestinationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ContactList&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateContactList + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateContactListRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__DedicatedIpPool&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDedicatedIpPool + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDedicatedIpPoolRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__EmailIdentity&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEmailIdentity + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEmailIdentityRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Template&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTemplate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTemplateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__VdmAttributes&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateVdmAttributes + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateVdmAttributesRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/shield.yaml b/providers/src/aws/v00.00.00000/services/shield.yaml index ff00a2d8..09ea5eec 100644 --- a/providers/src/aws/v00.00.00000/services/shield.yaml +++ b/providers/src/aws/v00.00.00000/services/shield.yaml @@ -789,6 +789,198 @@ components: - shield:UntagResource list: - shield:ListProtectionGroups + CreateDRTAccessRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccountId: + type: string + LogBucketList: + description: Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription. + type: array + x-insertionOrder: false + minItems: 0 + maxItems: 10 + items: + type: string + minLength: 3 + maxLength: 63 + RoleArn: + description: Authorizes the Shield Response Team (SRT) using the specified role, to access your AWS account to assist with DDoS attack mitigation during potential attacks. This enables the SRT to inspect your AWS WAF configuration and create or update AWS WAF rules and web ACLs. + type: string + maxLength: 2048 + x-stackQL-stringOnly: true + x-title: CreateDRTAccessRequest + type: object + required: [] + CreateProactiveEngagementRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccountId: + type: string + ProactiveEngagementStatus: + description: |- + If `ENABLED`, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support. + If `DISABLED`, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support. + type: string + enum: + - ENABLED + - DISABLED + EmergencyContactList: + description: |- + A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you for escalations to the SRT and to initiate proactive customer support. + To enable proactive engagement, the contact list must include at least one phone number. + type: array + x-insertionOrder: false + minItems: 1 + maxItems: 10 + items: + $ref: '#/components/schemas/EmergencyContact' + x-stackQL-stringOnly: true + x-title: CreateProactiveEngagementRequest + type: object + required: [] + CreateProtectionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ProtectionId: + description: The unique identifier (ID) of the protection. + type: string + ProtectionArn: + description: The ARN (Amazon Resource Name) of the protection. + type: string + Name: + description: Friendly name for the Protection. + type: string + minLength: 1 + maxLength: 128 + pattern: '[ a-zA-Z0-9_\.\-]*' + ResourceArn: + description: The ARN (Amazon Resource Name) of the resource to be protected. + type: string + minLength: 1 + maxLength: 2048 + HealthCheckArns: + description: The Amazon Resource Names (ARNs) of the health check to associate with the protection. + type: array + x-insertionOrder: false + maxItems: 1 + items: + type: string + minLength: 1 + maxLength: 2048 + ApplicationLayerAutomaticResponseConfiguration: + $ref: '#/components/schemas/ApplicationLayerAutomaticResponseConfiguration' + Tags: + description: One or more tag key-value pairs for the Protection object. + type: array + x-insertionOrder: false + maxItems: 200 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateProtectionRequest + type: object + required: [] + CreateProtectionGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ProtectionGroupId: + description: The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it. + type: string + pattern: '[a-zA-Z0-9\-]*' + minLength: 1 + maxLength: 36 + ProtectionGroupArn: + description: The ARN (Amazon Resource Name) of the protection group. + type: string + Aggregation: + description: |- + Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events. + * Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically. + * Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers. + * Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include Amazon CloudFront and origin resources for CloudFront distributions. + type: string + enum: + - SUM + - MEAN + - MAX + Pattern: + description: The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type. + type: string + enum: + - ALL + - ARBITRARY + - BY_RESOURCE_TYPE + Members: + description: The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you set `Pattern` to `ARBITRARY` and you must not set it for any other `Pattern` setting. + type: array + x-insertionOrder: false + maxItems: 10000 + items: + type: string + minLength: 1 + maxLength: 2048 + ResourceType: + description: The resource type to include in the protection group. All protected resources of this type are included in the protection group. Newly protected resources of this type are automatically added to the group. You must set this when you set `Pattern` to `BY_RESOURCE_TYPE` and you must not set it for any other `Pattern` setting. + type: string + enum: + - CLOUDFRONT_DISTRIBUTION + - ROUTE_53_HOSTED_ZONE + - ELASTIC_IP_ALLOCATION + - CLASSIC_LOAD_BALANCER + - APPLICATION_LOAD_BALANCER + - GLOBAL_ACCELERATOR + Tags: + description: One or more tag key-value pairs for the Protection object. + type: array + x-insertionOrder: false + maxItems: 200 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateProtectionGroupRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -804,10 +996,26 @@ components: x-cfn-type-name: AWS::Shield::DRTAccess x-identifiers: - AccountId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__DRTAccess&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Shield::DRTAccess" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -820,7 +1028,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/drt_accesses/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/drt_accesses/methods/delete_resource' config: views: select: @@ -846,6 +1055,7 @@ components: x-cfn-type-name: AWS::Shield::DRTAccess x-identifiers: - AccountId + x-type: get methods: update_resource: operation: @@ -859,24 +1069,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Shield::DRTAccess" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/drt_access/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/drt_access/methods/delete_resource' - x-type: get config: views: select: @@ -910,10 +1105,26 @@ components: x-cfn-type-name: AWS::Shield::ProactiveEngagement x-identifiers: - AccountId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ProactiveEngagement&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Shield::ProactiveEngagement" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -926,7 +1137,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/proactive_engagements/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/proactive_engagements/methods/delete_resource' config: views: select: @@ -952,6 +1164,7 @@ components: x-cfn-type-name: AWS::Shield::ProactiveEngagement x-identifiers: - AccountId + x-type: get methods: update_resource: operation: @@ -965,24 +1178,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Shield::ProactiveEngagement" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/proactive_engagement/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/proactive_engagement/methods/delete_resource' - x-type: get config: views: select: @@ -1016,10 +1214,26 @@ components: x-cfn-type-name: AWS::Shield::Protection x-identifiers: - ProtectionArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Protection&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Shield::Protection" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1032,7 +1246,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/protections/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/protections/methods/delete_resource' config: views: select: @@ -1058,6 +1273,7 @@ components: x-cfn-type-name: AWS::Shield::Protection x-identifiers: - ProtectionArn + x-type: get methods: update_resource: operation: @@ -1071,24 +1287,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Shield::Protection" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/protection/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/protection/methods/delete_resource' - x-type: get config: views: select: @@ -1130,10 +1331,26 @@ components: x-cfn-type-name: AWS::Shield::ProtectionGroup x-identifiers: - ProtectionGroupArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ProtectionGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Shield::ProtectionGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1146,7 +1363,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/protection_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/protection_groups/methods/delete_resource' config: views: select: @@ -1172,6 +1390,7 @@ components: x-cfn-type-name: AWS::Shield::ProtectionGroup x-identifiers: - ProtectionGroupArn + x-type: get methods: update_resource: operation: @@ -1185,24 +1404,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Shield::ProtectionGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/protection_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/protection_group/methods/delete_resource' - x-type: get config: views: select: @@ -1380,8 +1584,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__DRTAccess&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDRTAccess + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDRTAccessRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ProactiveEngagement&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProactiveEngagement + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProactiveEngagementRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Protection&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProtection + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProtectionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ProtectionGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProtectionGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProtectionGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/signer.yaml b/providers/src/aws/v00.00.00000/services/signer.yaml index 8c45b49a..1b2f59f1 100644 --- a/providers/src/aws/v00.00.00000/services/signer.yaml +++ b/providers/src/aws/v00.00.00000/services/signer.yaml @@ -530,6 +530,74 @@ components: - signer:TagResource - signer:UntagResource - signer:GetSigningProfile + CreateProfilePermissionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ProfileName: + type: string + ProfileVersion: + type: string + pattern: ^[0-9a-zA-Z]{10}$ + Action: + type: string + Principal: + type: string + StatementId: + type: string + x-stackQL-stringOnly: true + x-title: CreateProfilePermissionRequest + type: object + required: [] + CreateSigningProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ProfileName: + description: 'A name for the signing profile. AWS CloudFormation generates a unique physical ID and uses that ID for the signing profile name. ' + type: string + ProfileVersion: + description: A version for the signing profile. AWS Signer generates a unique version for each profile of the same profile name. + $ref: '#/components/schemas/ProfileVersion' + Arn: + description: The Amazon Resource Name (ARN) of the specified signing profile. + $ref: '#/components/schemas/Arn' + ProfileVersionArn: + description: The Amazon Resource Name (ARN) of the specified signing profile version. + $ref: '#/components/schemas/Arn' + SignatureValidityPeriod: + description: Signature validity period of the profile. + $ref: '#/components/schemas/SignatureValidityPeriod' + PlatformId: + description: The ID of the target signing platform. + $ref: '#/components/schemas/PlatformId' + Tags: + type: array + description: A list of tags associated with the signing profile. + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateSigningProfileRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -546,10 +614,26 @@ components: x-identifiers: - StatementId - ProfileName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ProfilePermission&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Signer::ProfilePermission" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -562,7 +646,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/profile_permissions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/profile_permissions/methods/delete_resource' config: views: select: @@ -591,24 +676,10 @@ components: x-identifiers: - StatementId - ProfileName - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Signer::ProfilePermission" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/profile_permission/methods/delete_resource' - x-type: get config: views: select: @@ -646,10 +717,26 @@ components: x-cfn-type-name: AWS::Signer::SigningProfile x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SigningProfile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Signer::SigningProfile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -662,7 +749,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/signing_profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/signing_profiles/methods/delete_resource' config: views: select: @@ -688,6 +776,7 @@ components: x-cfn-type-name: AWS::Signer::SigningProfile x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -701,24 +790,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Signer::SigningProfile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/signing_profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/signing_profile/methods/delete_resource' - x-type: get config: views: select: @@ -896,8 +970,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ProfilePermission&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProfilePermission + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProfilePermissionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SigningProfile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSigningProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSigningProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/simspaceweaver.yaml b/providers/src/aws/v00.00.00000/services/simspaceweaver.yaml index d2eab09f..11249145 100644 --- a/providers/src/aws/v00.00.00000/services/simspaceweaver.yaml +++ b/providers/src/aws/v00.00.00000/services/simspaceweaver.yaml @@ -470,6 +470,44 @@ components: - simspaceweaver:DescribeSimulation list: - simspaceweaver:ListSimulations + CreateSimulationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name of the simulation. + type: string + minLength: 1 + maxLength: 2048 + pattern: '[a-zA-Z0-9_\-]{1,2048}$' + RoleArn: + description: Role ARN. + type: string + SchemaS3Location: + $ref: '#/components/schemas/S3Location' + DescribePayload: + description: Json object with all simulation details + type: string + MaximumDuration: + description: The maximum running time of the simulation. + type: string + minLength: 2 + maxLength: 6 + SnapshotS3Location: + $ref: '#/components/schemas/S3Location' + x-stackQL-stringOnly: true + x-title: CreateSimulationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -485,10 +523,26 @@ components: x-cfn-type-name: AWS::SimSpaceWeaver::Simulation x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Simulation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SimSpaceWeaver::Simulation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -501,7 +555,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/simulations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/simulations/methods/delete_resource' config: views: select: @@ -527,6 +582,7 @@ components: x-cfn-type-name: AWS::SimSpaceWeaver::Simulation x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -540,24 +596,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SimSpaceWeaver::Simulation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/simulation/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/simulation/methods/delete_resource' - x-type: get config: views: select: @@ -733,8 +774,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Simulation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSimulation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSimulationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/sns.yaml b/providers/src/aws/v00.00.00000/services/sns.yaml index 849bbb6e..9eeca0f9 100644 --- a/providers/src/aws/v00.00.00000/services/sns.yaml +++ b/providers/src/aws/v00.00.00000/services/sns.yaml @@ -618,6 +618,124 @@ components: update: - sns:SetTopicAttributes - sns:GetTopicAttributes + CreateTopicRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DisplayName: + description: The display name to use for an SNS topic with SMS subscriptions. The display name must be maximum 100 characters long, including hyphens (-), underscores (_), spaces, and tabs. + type: string + KmsMasterKeyId: + description: |- + The ID of an AWS managed customer master key (CMK) for SNS or a custom CMK. For more information, see [Key terms](https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html#sse-key-terms). For more examples, see ``KeyId`` in the *API Reference*. + This property applies only to [server-side-encryption](https://docs.aws.amazon.com/sns/latest/dg/sns-server-side-encryption.html). + type: string + anyOf: + - relationshipRef: + typeName: AWS::KMS::Key + propertyPath: /properties/Arn + - relationshipRef: + typeName: AWS::KMS::Key + propertyPath: /properties/KeyId + - relationshipRef: + typeName: AWS::KMS::Alias + propertyPath: /properties/AliasName + DataProtectionPolicy: + description: |- + The body of the policy document you want to use for this topic. + You can only add one policy per topic. + The policy must be in JSON string format. + Length Constraints: Maximum length of 30,720. + type: object + Subscription: + description: |- + The SNS subscriptions (endpoints) for this topic. + If you specify the ``Subscription`` property in the ``AWS::SNS::Topic`` resource and it creates an associated subscription resource, the associated subscription is not deleted when the ``AWS::SNS::Topic`` resource is deleted. + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Subscription' + FifoTopic: + description: Set to true to create a FIFO topic. + type: boolean + ContentBasedDeduplication: + description: |- + Enables content-based deduplication for FIFO topics. + + By default, ``ContentBasedDeduplication`` is set to ``false``. If you create a FIFO topic and this attribute is ``false``, you must specify a value for the ``MessageDeduplicationId`` parameter for the [Publish](https://docs.aws.amazon.com/sns/latest/api/API_Publish.html) action. + + When you set ``ContentBasedDeduplication`` to ``true``, SNS uses a SHA-256 hash to generate the ``MessageDeduplicationId`` using the body of the message (but not the attributes of the message). + (Optional) To override the generated value, you can specify a value for the the ``MessageDeduplicationId`` parameter for the ``Publish`` action. + type: boolean + ArchivePolicy: + description: The archive policy determines the number of days SNS retains messages. You can set a retention period from 1 to 365 days. + type: object + Tags: + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + description: |- + The list of tags to add to a new topic. + To be able to tag a topic on creation, you must have the ``sns:CreateTopic`` and ``sns:TagResource`` permissions. + TopicName: + description: |- + The name of the topic you want to create. Topic names must include only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long. FIFO topic names must end with ``.fifo``. + If you don't specify a name, CFN generates a unique physical ID and uses that ID for the topic name. For more information, see [Name type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html). + If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. + type: string + TopicArn: + type: string + description: '' + SignatureVersion: + description: The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS. By default, ``SignatureVersion`` is set to ``1``. + type: string + TracingConfig: + description: Tracing mode of an SNS topic. By default ``TracingConfig`` is set to ``PassThrough``, and the topic passes through the tracing header it receives from an SNS publisher to its subscriptions. If set to ``Active``, SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. + type: string + DeliveryStatusLogging: + description: '' + type: array + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/LoggingConfig' + x-stackQL-stringOnly: true + x-title: CreateTopicRequest + type: object + required: [] + CreateTopicInlinePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PolicyDocument: + description: A policy document that contains permissions to add to the specified SNS topics. + type: object + TopicArn: + description: The Amazon Resource Name (ARN) of the topic to which you want to add the policy. + type: string + x-stackQL-stringOnly: true + x-title: CreateTopicInlinePolicyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -633,10 +751,26 @@ components: x-cfn-type-name: AWS::SNS::Topic x-identifiers: - TopicArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Topic&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SNS::Topic" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -649,7 +783,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/topics/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/topics/methods/delete_resource' config: views: select: @@ -675,6 +810,7 @@ components: x-cfn-type-name: AWS::SNS::Topic x-identifiers: - TopicArn + x-type: get methods: update_resource: operation: @@ -688,24 +824,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SNS::Topic" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/topic/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/topic/methods/delete_resource' - x-type: get config: views: select: @@ -759,10 +880,26 @@ components: x-cfn-type-name: AWS::SNS::TopicInlinePolicy x-identifiers: - TopicArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TopicInlinePolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SNS::TopicInlinePolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -775,6 +912,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/topic_inline_policies/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/topic_inline_policies/methods/delete_resource' topic_inline_policy: name: topic_inline_policy id: aws.sns.topic_inline_policy @@ -782,6 +921,7 @@ components: x-cfn-type-name: AWS::SNS::TopicInlinePolicy x-identifiers: - TopicArn + x-type: get methods: update_resource: operation: @@ -795,24 +935,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SNS::TopicInlinePolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/topic_inline_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/topic_inline_policy/methods/delete_resource' - x-type: get config: views: select: @@ -980,8 +1105,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Topic&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTopic + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTopicRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TopicInlinePolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTopicInlinePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTopicInlinePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/sqs.yaml b/providers/src/aws/v00.00.00000/services/sqs.yaml index 353e95bd..7a718f99 100644 --- a/providers/src/aws/v00.00.00000/services/sqs.yaml +++ b/providers/src/aws/v00.00.00000/services/sqs.yaml @@ -585,6 +585,142 @@ components: - sqs:SetQueueAttributes - sqs:GetQueueAttributes - sqs:GetQueueUrl + CreateQueueRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + QueueUrl: + type: string + description: '' + Arn: + type: string + description: '' + ContentBasedDeduplication: + type: boolean + description: For first-in-first-out (FIFO) queues, specifies whether to enable content-based deduplication. During the deduplication interval, SQS treats messages that are sent with identical content as duplicates and delivers only one copy of the message. For more information, see the ``ContentBasedDeduplication`` attribute for the ``CreateQueue`` action in the *API Reference*. + DeduplicationScope: + description: |- + For high throughput for FIFO queues, specifies whether message deduplication occurs at the message group or queue level. Valid values are ``messageGroup`` and ``queue``. + To enable high throughput for a FIFO queue, set this attribute to ``messageGroup`` *and* set the ``FifoThroughputLimit`` attribute to ``perMessageGroupId``. If you set these attributes to anything other than these values, normal throughput is in effect and deduplication occurs as specified. For more information, see [High throughput for FIFO queues](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html) and [Quotas related to messages](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html) in the *Developer Guide*. + type: string + DelaySeconds: + type: integer + description: The time in seconds for which the delivery of all messages in the queue is delayed. You can specify an integer value of ``0`` to ``900`` (15 minutes). The default value is ``0``. + FifoQueue: + type: boolean + description: If set to true, creates a FIFO queue. If you don't specify this property, SQS creates a standard queue. For more information, see [FIFO queues](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html) in the *Developer Guide*. + FifoThroughputLimit: + description: |- + For high throughput for FIFO queues, specifies whether the FIFO queue throughput quota applies to the entire queue or per message group. Valid values are ``perQueue`` and ``perMessageGroupId``. + To enable high throughput for a FIFO queue, set this attribute to ``perMessageGroupId`` *and* set the ``DeduplicationScope`` attribute to ``messageGroup``. If you set these attributes to anything other than these values, normal throughput is in effect and deduplication occurs as specified. For more information, see [High throughput for FIFO queues](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/high-throughput-fifo.html) and [Quotas related to messages](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/quotas-messages.html) in the *Developer Guide*. + type: string + KmsDataKeyReusePeriodSeconds: + type: integer + description: |- + The length of time in seconds for which SQS can reuse a data key to encrypt or decrypt messages before calling KMS again. The value must be an integer between 60 (1 minute) and 86,400 (24 hours). The default is 300 (5 minutes). + A shorter time period provides better security, but results in more calls to KMS, which might incur charges after Free Tier. For more information, see [Encryption at rest](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html#sqs-how-does-the-data-key-reuse-period-work) in the *Developer Guide*. + KmsMasterKeyId: + type: string + description: |- + The ID of an AWS Key Management Service (KMS) for SQS, or a custom KMS. To use the AWS managed KMS for SQS, specify a (default) alias ARN, alias name (e.g. ``alias/aws/sqs``), key ARN, or key ID. For more information, see the following: + + [Encryption at rest](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-server-side-encryption.html) in the *Developer Guide* + + [CreateQueue](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html) in the *API Reference* + + [Request Parameters](https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestParameters) in the *Key Management Service API Reference* + + The Key Management Service (KMS) section of the [Best Practices](https://docs.aws.amazon.com/https://d0.awsstatic.com/whitepapers/aws-kms-best-practices.pdf) whitepaper + SqsManagedSseEnabled: + type: boolean + description: >- + Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (for example, [SSE-KMS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sse-existing-queue.html) or [SSE-SQS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-sqs-sse-queue.html)). When ``SqsManagedSseEnabled`` is not defined, ``SSE-SQS`` encryption is enabled by + default. + MaximumMessageSize: + type: integer + description: The limit of how many bytes that a message can contain before SQS rejects it. You can specify an integer value from ``1,024`` bytes (1 KiB) to ``262,144`` bytes (256 KiB). The default value is ``262,144`` (256 KiB). + MessageRetentionPeriod: + type: integer + description: The number of seconds that SQS retains a message. You can specify an integer value from ``60`` seconds (1 minute) to ``1,209,600`` seconds (14 days). The default value is ``345,600`` seconds (4 days). + QueueName: + type: string + description: |- + A name for the queue. To create a FIFO queue, the name of your FIFO queue must end with the ``.fifo`` suffix. For more information, see [FIFO queues](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html) in the *Developer Guide*. + If you don't specify a name, CFN generates a unique physical ID and uses that ID for the queue name. For more information, see [Name type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html) in the *User Guide*. + If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. + ReceiveMessageWaitTimeSeconds: + type: integer + description: >- + Specifies the duration, in seconds, that the ReceiveMessage action call waits until a message is in the queue in order to include it in the response, rather than returning an empty response if a message isn't yet available. You can specify an integer from 1 to 20. Short polling is used as the default or when you specify 0 for this property. For more information, see [Consuming messages using long + polling](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-short-and-long-polling.html#sqs-long-polling) in the *Developer Guide*. + RedriveAllowPolicy: + type: object + description: |- + The string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows: + + ``redrivePermission``: The permission type that defines which source queues can specify the current queue as the dead-letter queue. Valid values are: + + ``allowAll``: (Default) Any source queues in this AWS account in the same Region can specify this queue as the dead-letter queue. + + ``denyAll``: No source queues can specify this queue as the dead-letter queue. + + ``byQueue``: Only queues specified by the ``sourceQueueArns`` parameter can specify this queue as the dead-letter queue. + + + ``sourceQueueArns``: The Amazon Resource Names (ARN)s of the source queues that can specify this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the ``redrivePermission`` parameter is set to ``byQueue``. You can specify up to 10 source queue ARNs. To allow more than 10 source queues to specify dead-letter queues, set the ``redrivePermission`` parameter to ``allowAll``. + RedrivePolicy: + type: object + description: |- + The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. The parameters are as follows: + + ``deadLetterTargetArn``: The Amazon Resource Name (ARN) of the dead-letter queue to which SQS moves messages after the value of ``maxReceiveCount`` is exceeded. + + ``maxReceiveCount``: The number of times a message is delivered to the source queue before being moved to the dead-letter queue. When the ``ReceiveCount`` for a message exceeds the ``maxReceiveCount`` for a queue, SQS moves the message to the dead-letter-queue. + + The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue. + *JSON* + ``{ "deadLetterTargetArn" : String, "maxReceiveCount" : Integer }`` + *YAML* + ``deadLetterTargetArn : String`` + ``maxReceiveCount : Integer`` + Tags: + type: array + description: The tags that you attach to this queue. For more information, see [Resource tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) in the *User Guide*. + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + VisibilityTimeout: + type: integer + description: |- + The length of time during which a message will be unavailable after a message is delivered from the queue. This blocks other components from receiving the same message and gives the initial component time to process and delete the message from the queue. + Values must be from 0 to 43,200 seconds (12 hours). If you don't specify a value, AWS CloudFormation uses the default value of 30 seconds. + For more information about SQS queue visibility timeouts, see [Visibility timeout](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html) in the *Developer Guide*. + x-stackQL-stringOnly: true + x-title: CreateQueueRequest + type: object + required: [] + CreateQueueInlinePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PolicyDocument: + description: A policy document that contains permissions to add to the specified SQS queue + type: object + Queue: + description: The URL of the SQS queue. + type: string + x-stackQL-stringOnly: true + x-title: CreateQueueInlinePolicyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -600,10 +736,26 @@ components: x-cfn-type-name: AWS::SQS::Queue x-identifiers: - QueueUrl + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Queue&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SQS::Queue" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -616,7 +768,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/queues/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/queues/methods/delete_resource' config: views: select: @@ -642,6 +795,7 @@ components: x-cfn-type-name: AWS::SQS::Queue x-identifiers: - QueueUrl + x-type: get methods: update_resource: operation: @@ -655,24 +809,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SQS::Queue" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/queue/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/queue/methods/delete_resource' - x-type: get config: views: select: @@ -736,10 +875,26 @@ components: x-cfn-type-name: AWS::SQS::QueueInlinePolicy x-identifiers: - Queue + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__QueueInlinePolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SQS::QueueInlinePolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -752,6 +907,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/queue_inline_policies/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/queue_inline_policies/methods/delete_resource' queue_inline_policy: name: queue_inline_policy id: aws.sqs.queue_inline_policy @@ -759,6 +916,7 @@ components: x-cfn-type-name: AWS::SQS::QueueInlinePolicy x-identifiers: - Queue + x-type: get methods: update_resource: operation: @@ -772,24 +930,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SQS::QueueInlinePolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/queue_inline_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/queue_inline_policy/methods/delete_resource' - x-type: get config: views: select: @@ -957,8 +1100,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Queue&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateQueue + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateQueueRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__QueueInlinePolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateQueueInlinePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateQueueInlinePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/ssm.yaml b/providers/src/aws/v00.00.00000/services/ssm.yaml index 7ab73974..07448fd2 100644 --- a/providers/src/aws/v00.00.00000/services/ssm.yaml +++ b/providers/src/aws/v00.00.00000/services/ssm.yaml @@ -1310,6 +1310,488 @@ components: - ssm:DeleteResourcePolicy list: - ssm:GetResourcePolicies + CreateAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AssociationName: + pattern: ^[a-zA-Z0-9_\-.]{3,128}$ + description: The name of the association. + type: string + CalendarNames: + x-examples: + - - calendar1 + - calendar2 + - - calendar3 + type: array + items: + type: string + ScheduleExpression: + x-examples: + - cron(0 0 */1 * * ? *) + - cron(0 16 ? * TUE *) + - rate(30 minutes) + - rate(7 days) + minLength: 1 + description: A Cron or Rate expression that specifies when the association is applied to the target. + type: string + maxLength: 256 + MaxErrors: + x-examples: + - 1% + - 10% + - 50% + - '1' + pattern: ^([1-9][0-9]{0,6}|[0]|[1-9][0-9]%|[0-9]%|100%)$ + type: string + Parameters: + x-patternProperties: + .{1,255}: + $ref: '#/components/schemas/ParameterValues' + description: Parameter values that the SSM document uses at runtime. + additionalProperties: false + type: object + InstanceId: + x-examples: + - i-0e60836d21cf313c4 + - mi-0532c22e49636ee13 + pattern: (^i-(\w{8}|\w{17})$)|(^mi-\w{17}$) + description: The ID of the instance that the SSM document is associated with. + type: string + WaitForSuccessTimeoutSeconds: + maximum: 172800 + type: integer + minimum: 15 + MaxConcurrency: + x-examples: + - 1% + - 10% + - 50% + - '1' + pattern: ^([1-9][0-9]{0,6}|[1-9][0-9]%|[1-9]%|100%)$ + type: string + ComplianceSeverity: + type: string + enum: + - CRITICAL + - HIGH + - MEDIUM + - LOW + - UNSPECIFIED + Targets: + minItems: 0 + maxItems: 5 + description: The targets that the SSM document sends commands to. + type: array + items: + $ref: '#/components/schemas/Target' + SyncCompliance: + type: string + enum: + - AUTO + - MANUAL + OutputLocation: + $ref: '#/components/schemas/InstanceAssociationOutputLocation' + ScheduleOffset: + maximum: 6 + type: integer + minimum: 1 + Name: + x-examples: + - AWS-GatherSoftwareInventory + - MyCustomSSMDocument + pattern: ^[a-zA-Z0-9_\-.:/]{3,200}$ + description: The name of the SSM document. + type: string + ApplyOnlyAtCronInterval: + type: boolean + DocumentVersion: + pattern: ([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$) + description: The version of the SSM document to associate with the target. + type: string + AssociationId: + x-examples: + - 88df7b09-95e8-48c4-a3cb-08c2c20d5110 + - 203dd0ec-0055-4bf0-a872-707f72ef06aa + pattern: '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}' + description: Unique identifier of the association. + type: string + AutomationTargetParameterName: + minLength: 1 + type: string + maxLength: 50 + x-stackQL-stringOnly: true + x-title: CreateAssociationRequest + type: object + required: [] + CreateDocumentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Content: + description: The content for the Systems Manager document in JSON, YAML or String format. + type: object + Attachments: + description: A list of key and value pairs that describe attachments to a version of a document. + type: array + items: + $ref: '#/components/schemas/AttachmentsSource' + minItems: 0 + maxItems: 20 + x-insertionOrder: false + Name: + description: A name for the Systems Manager document. + type: string + pattern: ^[a-zA-Z0-9_\-.]{3,128}$ + VersionName: + description: An optional field specifying the version of the artifact you are creating with the document. This value is unique across all versions of a document, and cannot be changed. + type: string + pattern: ^[a-zA-Z0-9_\-.]{1,128}$ + DocumentType: + description: The type of document to create. + type: string + enum: + - ApplicationConfiguration + - ApplicationConfigurationSchema + - Automation + - Automation.ChangeTemplate + - ChangeCalendar + - CloudFormation + - Command + - DeploymentStrategy + - Package + - Policy + - ProblemAnalysis + - ProblemAnalysisTemplate + - Session + DocumentFormat: + description: Specify the document format for the request. The document format can be either JSON or YAML. JSON is the default format. + type: string + enum: + - YAML + - JSON + - TEXT + default: JSON + TargetType: + description: Specify a target type to define the kinds of resources the document can run on. + type: string + pattern: ^\/[\w\.\-\:\/]*$ + Tags: + description: Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 1000 + x-insertionOrder: false + Requires: + description: A list of SSM documents required by a document. For example, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document. + type: array + items: + $ref: '#/components/schemas/DocumentRequires' + minItems: 1 + x-insertionOrder: false + UpdateMethod: + description: Update method - when set to 'Replace', the update will replace the existing document; when set to 'NewVersion', the update will create a new version. + type: string + enum: + - Replace + - NewVersion + default: Replace + x-stackQL-stringOnly: true + x-title: CreateDocumentRequest + type: object + required: [] + CreateParameterRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Type: + type: string + description: The type of parameter. + enum: + - String + - StringList + Value: + type: string + description: |- + The parameter value. + If type is ``StringList``, the system returns a comma-separated string with no spaces between commas in the ``Value`` field. + Description: + type: string + description: Information about the parameter. + Policies: + type: string + description: |- + Information about the policies assigned to a parameter. + [Assigning parameter policies](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-policies.html) in the *User Guide*. + AllowedPattern: + type: string + description: 'A regular expression used to validate the parameter value. For example, for ``String`` types with values restricted to numbers, you can specify the following: ``AllowedPattern=^\d+$``' + Tier: + type: string + description: The parameter tier. + enum: + - Standard + - Advanced + - Intelligent-Tiering + Tags: + type: object + description: Optional metadata that you assign to a resource in the form of an arbitrary set of tags (key-value pairs). Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a SYS parameter to identify the type of resource to which it applies, the environment, or the type of configuration data referenced by the parameter. + x-patternProperties: + ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$: + type: string + additionalProperties: false + DataType: + type: string + description: The data type of the parameter, such as ``text`` or ``aws:ec2:image``. The default is ``text``. + enum: + - text + - aws:ec2:image + Name: + type: string + description: |- + The name of the parameter. + The maximum length constraint listed below includes capacity for additional system attributes that aren't part of the name. The maximum length for a parameter name, including the full length of the parameter Amazon Resource Name (ARN), is 1011 characters. For example, the length of the following parameter name is 65 characters, not 20 characters: ``arn:aws:ssm:us-east-2:111222333444:parameter/ExampleParameterName`` + x-stackQL-stringOnly: true + x-title: CreateParameterRequest + type: object + required: [] + CreatePatchBaselineRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: The ID of the patch baseline. + type: string + pattern: ^[a-zA-Z0-9_\-:/]{20,128}$ + minLength: 20 + maxLength: 128 + DefaultBaseline: + description: Set the baseline as default baseline. Only registering to default patch baseline is allowed. + type: boolean + default: false + OperatingSystem: + description: Defines the operating system the patch baseline applies to. The Default value is WINDOWS. + type: string + default: WINDOWS + enum: + - WINDOWS + - AMAZON_LINUX + - AMAZON_LINUX_2 + - AMAZON_LINUX_2022 + - AMAZON_LINUX_2023 + - UBUNTU + - REDHAT_ENTERPRISE_LINUX + - SUSE + - CENTOS + - ORACLE_LINUX + - DEBIAN + - MACOS + - RASPBIAN + - ROCKY_LINUX + - ALMA_LINUX + Description: + description: The description of the patch baseline. + type: string + minLength: 1 + maxLength: 1024 + ApprovalRules: + $ref: '#/components/schemas/RuleGroup' + Sources: + description: Information about the patches to use to update the instances, including target operating systems and source repository. Applies to Linux instances only. + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/PatchSource' + minItems: 0 + maxItems: 20 + Name: + description: The name of the patch baseline. + type: string + pattern: ^[a-zA-Z0-9_\-.]{3,128}$ + minLength: 3 + maxLength: 128 + RejectedPatches: + description: A list of explicitly rejected patches for the baseline. + type: array + uniqueItems: false + items: + type: string + minLength: 1 + maxLength: 100 + minItems: 0 + maxItems: 50 + x-insertionOrder: false + ApprovedPatches: + description: A list of explicitly approved patches for the baseline. + type: array + uniqueItems: false + items: + type: string + minLength: 1 + maxLength: 100 + minItems: 0 + maxItems: 50 + x-insertionOrder: false + RejectedPatchesAction: + description: The action for Patch Manager to take on patches included in the RejectedPackages list. + type: string + default: ALLOW_AS_DEPENDENCY + enum: + - ALLOW_AS_DEPENDENCY + - BLOCK + PatchGroups: + description: PatchGroups is used to associate instances with a specific patch baseline + type: array + uniqueItems: false + items: + type: string + minLength: 1 + maxLength: 256 + ApprovedPatchesComplianceLevel: + description: Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. The default value is UNSPECIFIED. + type: string + default: UNSPECIFIED + enum: + - CRITICAL + - HIGH + - MEDIUM + - LOW + - INFORMATIONAL + - UNSPECIFIED + ApprovedPatchesEnableNonSecurity: + description: Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. The default value is 'false'. Applies to Linux instances only. + type: boolean + default: false + GlobalFilters: + description: A set of global filters used to include patches in the baseline. + $ref: '#/components/schemas/PatchFilterGroup' + Tags: + description: Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways. + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + maxItems: 1000 + x-stackQL-stringOnly: true + x-title: CreatePatchBaselineRequest + type: object + required: [] + CreateResourceDataSyncRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + S3Destination: + $ref: '#/components/schemas/S3Destination' + KMSKeyArn: + type: string + minLength: 0 + maxLength: 512 + SyncSource: + $ref: '#/components/schemas/SyncSource' + BucketName: + type: string + minLength: 1 + maxLength: 2048 + BucketRegion: + type: string + minLength: 1 + maxLength: 64 + SyncFormat: + type: string + minLength: 0 + maxLength: 1024 + SyncName: + type: string + minLength: 1 + maxLength: 64 + SyncType: + type: string + minLength: 1 + maxLength: 64 + BucketPrefix: + type: string + minLength: 0 + maxLength: 64 + x-stackQL-stringOnly: true + x-title: CreateResourceDataSyncRequest + type: object + required: [] + CreateResourcePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceArn: + type: string + description: Arn of OpsItemGroup etc. + Policy: + type: object + description: Actual policy statement. + PolicyId: + type: string + description: 'An unique identifier within the policies of a resource. ' + PolicyHash: + type: string + description: A snapshot identifier for the policy over time. + x-stackQL-stringOnly: true + x-title: CreateResourcePolicyRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1325,10 +1807,26 @@ components: x-cfn-type-name: AWS::SSM::Association x-identifiers: - AssociationId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Association&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSM::Association" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1341,7 +1839,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/associations/methods/delete_resource' config: views: select: @@ -1367,6 +1866,7 @@ components: x-cfn-type-name: AWS::SSM::Association x-identifiers: - AssociationId + x-type: get methods: update_resource: operation: @@ -1380,24 +1880,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSM::Association" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/association/methods/delete_resource' - x-type: get config: views: select: @@ -1461,10 +1946,26 @@ components: x-cfn-type-name: AWS::SSM::Document x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Document&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSM::Document" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1477,7 +1978,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/documents/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/documents/methods/delete_resource' config: views: select: @@ -1503,6 +2005,7 @@ components: x-cfn-type-name: AWS::SSM::Document x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1516,24 +2019,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSM::Document" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/document/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/document/methods/delete_resource' - x-type: get config: views: select: @@ -1581,10 +2069,26 @@ components: x-cfn-type-name: AWS::SSM::Parameter x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Parameter&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSM::Parameter" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1597,7 +2101,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/parameters/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/parameters/methods/delete_resource' config: views: select: @@ -1623,6 +2128,7 @@ components: x-cfn-type-name: AWS::SSM::Parameter x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -1636,24 +2142,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSM::Parameter" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/parameter/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/parameter/methods/delete_resource' - x-type: get config: views: select: @@ -1699,10 +2190,26 @@ components: x-cfn-type-name: AWS::SSM::PatchBaseline x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PatchBaseline&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSM::PatchBaseline" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1715,7 +2222,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/patch_baselines/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/patch_baselines/methods/delete_resource' config: views: select: @@ -1741,6 +2249,7 @@ components: x-cfn-type-name: AWS::SSM::PatchBaseline x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1754,24 +2263,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSM::PatchBaseline" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/patch_baseline/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/patch_baseline/methods/delete_resource' - x-type: get config: views: select: @@ -1829,10 +2323,26 @@ components: x-cfn-type-name: AWS::SSM::ResourceDataSync x-identifiers: - SyncName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourceDataSync&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSM::ResourceDataSync" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1845,7 +2355,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_data_syncs/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resource_data_syncs/methods/delete_resource' config: views: select: @@ -1871,6 +2382,7 @@ components: x-cfn-type-name: AWS::SSM::ResourceDataSync x-identifiers: - SyncName + x-type: get methods: update_resource: operation: @@ -1884,24 +2396,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSM::ResourceDataSync" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resource_data_sync/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resource_data_sync/methods/delete_resource' - x-type: get config: views: select: @@ -1948,10 +2445,26 @@ components: x-identifiers: - PolicyId - ResourceArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourcePolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSM::ResourcePolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1964,7 +2477,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resource_policies/methods/delete_resource' config: views: select: @@ -1993,6 +2507,7 @@ components: x-identifiers: - PolicyId - ResourceArn + x-type: get methods: update_resource: operation: @@ -2006,24 +2521,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSM::ResourcePolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resource_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resource_policy/methods/delete_resource' - x-type: get config: views: select: @@ -2195,8 +2695,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Association&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Document&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDocument + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDocumentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Parameter&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateParameter + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateParameterRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PatchBaseline&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePatchBaseline + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePatchBaselineRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourceDataSync&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourceDataSync + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourceDataSyncRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourcePolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourcePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourcePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/ssmcontacts.yaml b/providers/src/aws/v00.00.00000/services/ssmcontacts.yaml index 8264f218..efa6eaee 100644 --- a/providers/src/aws/v00.00.00000/services/ssmcontacts.yaml +++ b/providers/src/aws/v00.00.00000/services/ssmcontacts.yaml @@ -850,6 +850,176 @@ components: - ssm-contacts:ListRotations - ssm-contacts:GetRotation - ssm-contacts:ListTagsForResource + CreateContactRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Alias: + description: Alias of the contact. String value with 20 to 256 characters. Only alphabetical, numeric characters, dash, or underscore allowed. + type: string + minLength: 1 + maxLength: 255 + pattern: ^[a-z0-9_\-\.]*$ + DisplayName: + description: Name of the contact. String value with 3 to 256 characters. Only alphabetical, space, numeric characters, dash, or underscore allowed. + type: string + minLength: 1 + maxLength: 255 + pattern: ^[a-zA-Z0-9_\-\s]*$ + Type: + description: 'Contact type, which specify type of contact. Currently supported values: “PERSONAL”, “SHARED”, “OTHER“.' + type: string + enum: + - PERSONAL + - ESCALATION + - ONCALL_SCHEDULE + Plan: + description: The stages that an escalation plan or engagement plan engages contacts and contact methods in. + type: array + items: + $ref: '#/components/schemas/Stage' + Arn: + type: string + description: The Amazon Resource Name (ARN) of the contact. + x-stackQL-stringOnly: true + x-title: CreateContactRequest + type: object + required: [] + CreateContactChannelRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ContactId: + description: ARN of the contact resource + type: string + minLength: 1 + maxLength: 2048 + pattern: arn:[-\w+=\/,.@]+:[-\w+=\/,.@]+:[-\w+=\/,.@]*:[0-9]+:([\w+=\/,.@:-]+)* + ChannelName: + description: The device name. String of 6 to 50 alphabetical, numeric, dash, and underscore characters. + type: string + minLength: 1 + maxLength: 255 + pattern: '[a-zA-Z 0-9_\-+''&\uD83C-\uDBFF\uDC00-\uDFFF\u2000-\u3300]+' + ChannelType: + description: 'Device type, which specify notification channel. Currently supported values: “SMS”, “VOICE”, “EMAIL”, “CHATBOT.' + type: string + enum: + - SMS + - VOICE + - EMAIL + DeferActivation: + type: boolean + description: If you want to activate the channel at a later time, you can choose to defer activation. SSM Incident Manager can't engage your contact channel until it has been activated. + ChannelAddress: + description: The details that SSM Incident Manager uses when trying to engage the contact channel. + type: string + Arn: + type: string + description: The Amazon Resource Name (ARN) of the engagement to a contact channel. + x-stackQL-stringOnly: true + x-title: CreateContactChannelRequest + type: object + required: [] + CreatePlanRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ContactId: + description: Contact ID for the AWS SSM Incident Manager Contact to associate the plan. + type: string + pattern: arn:[-\w+=\/,.@]+:[-\w+=\/,.@]+:[-\w+=\/,.@]*:[0-9]+:([\w+=\/,.@:-]+)* + Stages: + description: The stages that an escalation plan or engagement plan engages contacts and contact methods in. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Stage' + RotationIds: + description: Rotation Ids to associate with Oncall Contact for engagement. + type: array + x-insertionOrder: false + items: + type: string + Arn: + type: string + description: The Amazon Resource Name (ARN) of the contact. + x-stackQL-stringOnly: true + x-title: CreatePlanRequest + type: object + required: [] + CreateRotationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Name of the Rotation + type: string + pattern: ^[a-zA-Z0-9_]*$ + ContactIds: + description: Members of the rotation + type: array + x-insertionOrder: false + items: + type: string + StartTime: + description: Start time of the first shift of Oncall Schedule + type: string + pattern: ^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2})$ + TimeZoneId: + description: TimeZone Identifier for the Oncall Schedule + type: string + Recurrence: + $ref: '#/components/schemas/RecurrenceSettings' + Tags: + type: array + x-insertionOrder: false + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + Arn: + type: string + description: The Amazon Resource Name (ARN) of the rotation. + x-stackQL-stringOnly: true + x-title: CreateRotationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -865,10 +1035,26 @@ components: x-cfn-type-name: AWS::SSMContacts::Contact x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Contact&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSMContacts::Contact" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -881,7 +1067,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/contacts/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/contacts/methods/delete_resource' config: views: select: @@ -907,6 +1094,7 @@ components: x-cfn-type-name: AWS::SSMContacts::Contact x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -920,24 +1108,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSMContacts::Contact" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/contact/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/contact/methods/delete_resource' - x-type: get config: views: select: @@ -975,10 +1148,26 @@ components: x-cfn-type-name: AWS::SSMContacts::ContactChannel x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ContactChannel&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSMContacts::ContactChannel" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -991,7 +1180,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/contact_channels/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/contact_channels/methods/delete_resource' config: views: select: @@ -1017,6 +1207,7 @@ components: x-cfn-type-name: AWS::SSMContacts::ContactChannel x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1030,24 +1221,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSMContacts::ContactChannel" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/contact_channel/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/contact_channel/methods/delete_resource' - x-type: get config: views: select: @@ -1087,10 +1263,26 @@ components: x-cfn-type-name: AWS::SSMContacts::Plan x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Plan&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSMContacts::Plan" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1103,6 +1295,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/plans/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/plans/methods/delete_resource' plan: name: plan id: aws.ssmcontacts.plan @@ -1110,6 +1304,7 @@ components: x-cfn-type-name: AWS::SSMContacts::Plan x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1123,24 +1318,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSMContacts::Plan" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/plan/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/plan/methods/delete_resource' - x-type: get config: views: select: @@ -1176,10 +1356,26 @@ components: x-cfn-type-name: AWS::SSMContacts::Rotation x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Rotation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSMContacts::Rotation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1192,7 +1388,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/rotations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/rotations/methods/delete_resource' config: views: select: @@ -1218,6 +1415,7 @@ components: x-cfn-type-name: AWS::SSMContacts::Rotation x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1231,24 +1429,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSMContacts::Rotation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/rotation/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/rotation/methods/delete_resource' - x-type: get config: views: select: @@ -1426,8 +1609,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Contact&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateContact + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateContactRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ContactChannel&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateContactChannel + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateContactChannelRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Plan&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePlan + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePlanRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Rotation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRotation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRotationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/ssmincidents.yaml b/providers/src/aws/v00.00.00000/services/ssmincidents.yaml index 56cee628..747d087c 100644 --- a/providers/src/aws/v00.00.00000/services/ssmincidents.yaml +++ b/providers/src/aws/v00.00.00000/services/ssmincidents.yaml @@ -822,6 +822,115 @@ components: - ssm-incidents:GetResponsePlan list: - ssm-incidents:ListResponsePlans + CreateReplicationSetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The ARN of the ReplicationSet. + $ref: '#/components/schemas/Arn' + additionalProperties: false + Regions: + description: The ReplicationSet configuration. + $ref: '#/components/schemas/RegionList' + DeletionProtected: + $ref: '#/components/schemas/DeletionProtected' + default: false + Tags: + description: The tags to apply to the replication set. + type: array + default: [] + uniqueItems: true + x-insertionOrder: false + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateReplicationSetRequest + type: object + required: [] + CreateResponsePlanRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: The ARN of the response plan. + type: string + pattern: ^arn:aws(-(cn|us-gov))?:[a-z-]+:(([a-z]+-)+[0-9])?:([0-9]{12})?:[^.]+$ + maxLength: 1000 + Name: + description: The name of the response plan. + type: string + pattern: ^[a-zA-Z0-9_-]*$ + maxLength: 200 + minLength: 1 + DisplayName: + description: The display name of the response plan. + type: string + maxLength: 200 + minLength: 1 + ChatChannel: + $ref: '#/components/schemas/ChatChannel' + Engagements: + description: The list of engagements to use. + type: array + default: [] + maxItems: 5 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/SSMContact' + Actions: + description: The list of actions. + type: array + default: [] + uniqueItems: true + x-insertionOrder: true + maxItems: 1 + items: + $ref: '#/components/schemas/Action' + Integrations: + description: The list of integrations. + type: array + default: [] + uniqueItems: true + x-insertionOrder: true + maxItems: 1 + items: + $ref: '#/components/schemas/Integration' + Tags: + description: The tags to apply to the response plan. + type: array + default: [] + uniqueItems: true + x-insertionOrder: false + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + IncidentTemplate: + $ref: '#/components/schemas/IncidentTemplate' + x-stackQL-stringOnly: true + x-title: CreateResponsePlanRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -837,10 +946,26 @@ components: x-cfn-type-name: AWS::SSMIncidents::ReplicationSet x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ReplicationSet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSMIncidents::ReplicationSet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -853,7 +978,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/replication_sets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/replication_sets/methods/delete_resource' config: views: select: @@ -879,6 +1005,7 @@ components: x-cfn-type-name: AWS::SSMIncidents::ReplicationSet x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -892,24 +1019,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSMIncidents::ReplicationSet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/replication_set/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/replication_set/methods/delete_resource' - x-type: get config: views: select: @@ -945,10 +1057,26 @@ components: x-cfn-type-name: AWS::SSMIncidents::ResponsePlan x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResponsePlan&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSMIncidents::ResponsePlan" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -961,7 +1089,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/response_plans/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/response_plans/methods/delete_resource' config: views: select: @@ -987,6 +1116,7 @@ components: x-cfn-type-name: AWS::SSMIncidents::ResponsePlan x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1000,24 +1130,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSMIncidents::ResponsePlan" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/response_plan/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/response_plan/methods/delete_resource' - x-type: get config: views: select: @@ -1199,8 +1314,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ReplicationSet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateReplicationSet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateReplicationSetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResponsePlan&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResponsePlan + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResponsePlanRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/sso.yaml b/providers/src/aws/v00.00.00000/services/sso.yaml index 72911f28..70b98229 100644 --- a/providers/src/aws/v00.00.00000/services/sso.yaml +++ b/providers/src/aws/v00.00.00000/services/sso.yaml @@ -747,6 +747,168 @@ components: - sso:DeletePermissionSet list: - sso:DescribePermissionSet + CreateAssignmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The sso instance that the permission set is owned. + type: string + pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16} + minLength: 10 + maxLength: 1224 + TargetId: + description: The account id to be provisioned. + type: string + pattern: \d{12} + TargetType: + description: The type of resource to be provsioned to, only aws account now + type: string + enum: + - AWS_ACCOUNT + PermissionSetArn: + description: The permission set that the assignemt will be assigned + type: string + pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16} + minLength: 10 + maxLength: 1224 + PrincipalType: + description: The assignee's type, user/group + type: string + enum: + - USER + - GROUP + PrincipalId: + description: The assignee's identifier, user id/group id + type: string + pattern: ^([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$ + minLength: 1 + maxLength: 47 + x-stackQL-stringOnly: true + x-title: CreateAssignmentRequest + type: object + required: [] + CreateInstanceAccessControlAttributeConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + InstanceArn: + description: The ARN of the AWS SSO instance under which the operation will be executed. + type: string + pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16} + minLength: 10 + maxLength: 1224 + InstanceAccessControlAttributeConfiguration: + description: The InstanceAccessControlAttributeConfiguration property has been deprecated but is still supported for backwards compatibility purposes. We recomend that you use AccessControlAttributes property instead. + type: object + properties: + AccessControlAttributes: + $ref: '#/components/schemas/AccessControlAttributeList' + required: + - AccessControlAttributes + additionalProperties: false + AccessControlAttributes: + $ref: '#/components/schemas/AccessControlAttributeList' + x-stackQL-stringOnly: true + x-title: CreateInstanceAccessControlAttributeConfigurationRequest + type: object + required: [] + CreatePermissionSetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: The name you want to assign to this permission set. + type: string + pattern: '[\w+=,.@-]+' + minLength: 1 + maxLength: 32 + PermissionSetArn: + description: The permission set that the policy will be attached to + type: string + pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::permissionSet/(sso)?ins-[a-zA-Z0-9-.]{16}/ps-[a-zA-Z0-9-./]{16} + minLength: 10 + maxLength: 1224 + Description: + description: The permission set description. + type: string + pattern: '[\u0009\u000A\u000D\u0020-\u007E\u00A1-\u00FF]*' + minLength: 1 + maxLength: 700 + InstanceArn: + description: The sso instance arn that the permission set is owned. + type: string + pattern: arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16} + minLength: 10 + maxLength: 1224 + SessionDuration: + description: The length of time that a user can be signed in to an AWS account. + type: string + pattern: ^(-?)P(?=\d|T\d)(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)([DW]))?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$ + minLength: 1 + maxLength: 100 + RelayStateType: + description: The relay state URL that redirect links to any service in the AWS Management Console. + type: string + pattern: '[a-zA-Z0-9&$@#\/%?=~\-_''"|!:,.;*+\[\]\ \(\)\{\}]+' + minLength: 1 + maxLength: 240 + ManagedPolicies: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/ManagedPolicyArn' + maxItems: 20 + default: [] + InlinePolicy: + description: The inline policy to put in permission set. + type: object + Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + maxItems: 50 + CustomerManagedPolicyReferences: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/CustomerManagedPolicyReference' + maxItems: 20 + default: [] + PermissionsBoundary: + $ref: '#/components/schemas/PermissionsBoundary' + x-stackQL-stringOnly: true + x-title: CreatePermissionSetRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -767,10 +929,26 @@ components: - PermissionSetArn - PrincipalType - PrincipalId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Assignment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSO::Assignment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -783,7 +961,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/assignments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/assignments/methods/delete_resource' config: views: select: @@ -824,24 +1003,10 @@ components: - PermissionSetArn - PrincipalType - PrincipalId - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSO::Assignment" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/assignment/methods/delete_resource' - x-type: get config: views: select: @@ -881,10 +1046,26 @@ components: x-cfn-type-name: AWS::SSO::InstanceAccessControlAttributeConfiguration x-identifiers: - InstanceArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__InstanceAccessControlAttributeConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSO::InstanceAccessControlAttributeConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -897,7 +1078,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/instance_access_control_attribute_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/instance_access_control_attribute_configurations/methods/delete_resource' config: views: select: @@ -923,6 +1105,7 @@ components: x-cfn-type-name: AWS::SSO::InstanceAccessControlAttributeConfiguration x-identifiers: - InstanceArn + x-type: get methods: update_resource: operation: @@ -936,24 +1119,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSO::InstanceAccessControlAttributeConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/instance_access_control_attribute_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/instance_access_control_attribute_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -988,10 +1156,26 @@ components: x-identifiers: - InstanceArn - PermissionSetArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PermissionSet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SSO::PermissionSet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1004,7 +1188,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/permission_sets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/permission_sets/methods/delete_resource' config: views: select: @@ -1033,6 +1218,7 @@ components: x-identifiers: - InstanceArn - PermissionSetArn + x-type: get methods: update_resource: operation: @@ -1046,24 +1232,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SSO::PermissionSet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/permission_set/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/permission_set/methods/delete_resource' - x-type: get config: views: select: @@ -1249,8 +1420,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Assignment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAssignment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAssignmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__InstanceAccessControlAttributeConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateInstanceAccessControlAttributeConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateInstanceAccessControlAttributeConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PermissionSet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePermissionSet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePermissionSetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/stepfunctions.yaml b/providers/src/aws/v00.00.00000/services/stepfunctions.yaml index 7a729192..630e9d89 100644 --- a/providers/src/aws/v00.00.00000/services/stepfunctions.yaml +++ b/providers/src/aws/v00.00.00000/services/stepfunctions.yaml @@ -778,6 +778,168 @@ components: - states:DescribeStateMachine list: - states:ListStateMachineVersions + CreateActivityRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + minLength: 1 + maxLength: 2048 + Name: + type: string + minLength: 1 + maxLength: 80 + Tags: + type: array + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/TagsEntry' + x-stackQL-stringOnly: true + x-title: CreateActivityRequest + type: object + required: [] + CreateStateMachineRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + DefinitionSubstitutions: + $ref: '#/components/schemas/DefinitionSubstitutions' + Definition: + $ref: '#/components/schemas/Definition' + RoleArn: + minLength: 1 + type: string + maxLength: 256 + Name: + minLength: 1 + type: string + maxLength: 80 + StateMachineType: + type: string + enum: + - STANDARD + - EXPRESS + TracingConfiguration: + $ref: '#/components/schemas/TracingConfiguration' + DefinitionString: + minLength: 1 + type: string + maxLength: 1048576 + LoggingConfiguration: + $ref: '#/components/schemas/LoggingConfiguration' + StateMachineRevisionId: + minLength: 1 + type: string + maxLength: 256 + DefinitionS3Location: + $ref: '#/components/schemas/S3Location' + Arn: + minLength: 1 + type: string + maxLength: 2048 + StateMachineName: + minLength: 1 + type: string + maxLength: 80 + Tags: + uniqueItems: false + x-insertionOrder: false + type: array + items: + $ref: '#/components/schemas/TagsEntry' + x-stackQL-stringOnly: true + x-title: CreateStateMachineRequest + type: object + required: [] + CreateStateMachineAliasRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + minLength: 1 + maxLength: 2048 + description: The ARN of the alias. + Name: + type: string + description: The alias name. + minLength: 1 + maxLength: 80 + Description: + type: string + description: An optional description of the alias. + minLength: 1 + maxLength: 256 + RoutingConfiguration: + $ref: '#/components/schemas/RoutingConfiguration' + DeploymentPreference: + $ref: '#/components/schemas/DeploymentPreference' + x-stackQL-stringOnly: true + x-title: CreateStateMachineAliasRequest + type: object + required: [] + CreateStateMachineVersionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + minLength: 1 + maxLength: 2048 + StateMachineArn: + type: string + minLength: 1 + maxLength: 2048 + StateMachineRevisionId: + type: string + minLength: 1 + maxLength: 2048 + Description: + type: string + minLength: 1 + maxLength: 2048 + x-stackQL-stringOnly: true + x-title: CreateStateMachineVersionRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -793,10 +955,26 @@ components: x-cfn-type-name: AWS::StepFunctions::Activity x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Activity&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::StepFunctions::Activity" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -809,6 +987,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/activities/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/activities/methods/delete_resource' activity: name: activity id: aws.stepfunctions.activity @@ -816,6 +996,7 @@ components: x-cfn-type-name: AWS::StepFunctions::Activity x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -829,24 +1010,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::StepFunctions::Activity" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/activity/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/activity/methods/delete_resource' - x-type: get config: views: select: @@ -880,10 +1046,26 @@ components: x-cfn-type-name: AWS::StepFunctions::StateMachine x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StateMachine&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::StepFunctions::StateMachine" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -896,7 +1078,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/state_machines/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/state_machines/methods/delete_resource' config: views: select: @@ -922,6 +1105,7 @@ components: x-cfn-type-name: AWS::StepFunctions::StateMachine x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -935,24 +1119,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::StepFunctions::StateMachine" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/state_machine/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/state_machine/methods/delete_resource' - x-type: get config: views: select: @@ -1006,10 +1175,26 @@ components: x-cfn-type-name: AWS::StepFunctions::StateMachineAlias x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StateMachineAlias&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::StepFunctions::StateMachineAlias" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1022,7 +1207,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/state_machine_aliases/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/state_machine_aliases/methods/delete_resource' config: views: select: @@ -1048,6 +1234,7 @@ components: x-cfn-type-name: AWS::StepFunctions::StateMachineAlias x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1061,24 +1248,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::StepFunctions::StateMachineAlias" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/state_machine_alias/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/state_machine_alias/methods/delete_resource' - x-type: get config: views: select: @@ -1116,10 +1288,26 @@ components: x-cfn-type-name: AWS::StepFunctions::StateMachineVersion x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__StateMachineVersion&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::StepFunctions::StateMachineVersion" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1132,7 +1320,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/state_machine_versions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/state_machine_versions/methods/delete_resource' config: views: select: @@ -1158,24 +1347,10 @@ components: x-cfn-type-name: AWS::StepFunctions::StateMachineVersion x-identifiers: - Arn - methods: - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::StepFunctions::StateMachineVersion" - } - response: - mediaType: application/json - openAPIDocKey: '200' + x-type: get + methods: {} sqlVerbs: update: [] - delete: - - $ref: '#/components/x-stackQL-resources/state_machine_version/methods/delete_resource' - x-type: get config: views: select: @@ -1347,8 +1522,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Activity&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateActivity + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateActivityRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StateMachine&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStateMachine + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStateMachineRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StateMachineAlias&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStateMachineAlias + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStateMachineAliasRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__StateMachineVersion&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateStateMachineVersion + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateStateMachineVersionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/supportapp.yaml b/providers/src/aws/v00.00.00000/services/supportapp.yaml index 79411c05..7964b1ab 100644 --- a/providers/src/aws/v00.00.00000/services/supportapp.yaml +++ b/providers/src/aws/v00.00.00000/services/supportapp.yaml @@ -545,6 +545,121 @@ components: - supportapp:DeleteSlackWorkspaceConfiguration list: - supportapp:ListSlackWorkspaceConfigurations + CreateAccountAliasRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccountAlias: + description: An account alias associated with a customer's account. + type: string + pattern: ^[\w\- ]+$ + minLength: 1 + maxLength: 30 + AccountAliasResourceId: + description: Unique identifier representing an alias tied to an account + type: string + pattern: ^[\w\- ]+$ + minLength: 29 + maxLength: 29 + x-stackQL-stringOnly: true + x-title: CreateAccountAliasRequest + type: object + required: [] + CreateSlackChannelConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + TeamId: + description: The team ID in Slack, which uniquely identifies a workspace. + type: string + pattern: ^\S+$ + minLength: 1 + maxLength: 256 + ChannelId: + description: The channel ID in Slack, which identifies a channel within a workspace. + type: string + pattern: ^\S+$ + minLength: 1 + maxLength: 256 + ChannelName: + description: The channel name in Slack. + type: string + pattern: ^.+$ + minLength: 1 + maxLength: 256 + NotifyOnCreateOrReopenCase: + description: Whether to notify when a case is created or reopened. + type: boolean + NotifyOnAddCorrespondenceToCase: + description: Whether to notify when a correspondence is added to a case. + type: boolean + NotifyOnResolveCase: + description: Whether to notify when a case is resolved. + type: boolean + NotifyOnCaseSeverity: + description: The severity level of a support case that a customer wants to get notified for. + type: string + enum: + - none + - all + - high + ChannelRoleArn: + description: The Amazon Resource Name (ARN) of an IAM role that grants the AWS Support App access to perform operations for AWS services. + type: string + pattern: ^arn:aws[-a-z0-9]*:iam::[0-9]{12}:role\/(.+)$ + minLength: 31 + maxLength: 2048 + x-stackQL-stringOnly: true + x-title: CreateSlackChannelConfigurationRequest + type: object + required: [] + CreateSlackWorkspaceConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + TeamId: + description: The team ID in Slack, which uniquely identifies a workspace. + type: string + pattern: ^\S+$ + minLength: 1 + maxLength: 256 + VersionId: + description: An identifier used to update an existing Slack workspace configuration in AWS CloudFormation. + type: string + pattern: ^[0-9]+$ + minLength: 1 + maxLength: 256 + x-stackQL-stringOnly: true + x-title: CreateSlackWorkspaceConfigurationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -560,10 +675,26 @@ components: x-cfn-type-name: AWS::SupportApp::AccountAlias x-identifiers: - AccountAliasResourceId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AccountAlias&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SupportApp::AccountAlias" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -576,7 +707,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/account_aliases/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/account_aliases/methods/delete_resource' config: views: select: @@ -602,6 +734,7 @@ components: x-cfn-type-name: AWS::SupportApp::AccountAlias x-identifiers: - AccountAliasResourceId + x-type: get methods: update_resource: operation: @@ -615,24 +748,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SupportApp::AccountAlias" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/account_alias/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/account_alias/methods/delete_resource' - x-type: get config: views: select: @@ -665,10 +783,26 @@ components: x-identifiers: - TeamId - ChannelId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SlackChannelConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SupportApp::SlackChannelConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -681,7 +815,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/slack_channel_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/slack_channel_configurations/methods/delete_resource' config: views: select: @@ -710,6 +845,7 @@ components: x-identifiers: - TeamId - ChannelId + x-type: get methods: update_resource: operation: @@ -723,24 +859,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SupportApp::SlackChannelConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/slack_channel_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/slack_channel_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -784,10 +905,26 @@ components: x-cfn-type-name: AWS::SupportApp::SlackWorkspaceConfiguration x-identifiers: - TeamId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SlackWorkspaceConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SupportApp::SlackWorkspaceConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -800,7 +937,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/slack_workspace_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/slack_workspace_configurations/methods/delete_resource' config: views: select: @@ -826,6 +964,7 @@ components: x-cfn-type-name: AWS::SupportApp::SlackWorkspaceConfiguration x-identifiers: - TeamId + x-type: get methods: update_resource: operation: @@ -839,24 +978,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SupportApp::SlackWorkspaceConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/slack_workspace_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/slack_workspace_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -1024,8 +1148,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AccountAlias&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccountAlias + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccountAliasRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SlackChannelConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSlackChannelConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSlackChannelConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SlackWorkspaceConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSlackWorkspaceConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSlackWorkspaceConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/synthetics.yaml b/providers/src/aws/v00.00.00000/services/synthetics.yaml index 6f636973..f4aabfec 100644 --- a/providers/src/aws/v00.00.00000/services/synthetics.yaml +++ b/providers/src/aws/v00.00.00000/services/synthetics.yaml @@ -734,6 +734,114 @@ components: - synthetics:GetGroup list: - synthetics:ListGroups + CreateCanaryRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Name of the canary. + type: string + pattern: ^[0-9a-z_\-]{1,21}$ + Id: + description: Id of the canary + type: string + State: + description: State of the canary + type: string + Code: + description: Provide the canary script source + $ref: '#/components/schemas/Code' + ArtifactS3Location: + description: Provide the s3 bucket output location for test results + type: string + pattern: ^(s3|S3):// + ArtifactConfig: + description: Provide artifact configuration + $ref: '#/components/schemas/ArtifactConfig' + Schedule: + description: Frequency to run your canaries + $ref: '#/components/schemas/Schedule' + ExecutionRoleArn: + description: Lambda Execution role used to run your canaries + type: string + RuntimeVersion: + description: Runtime version of Synthetics Library + type: string + SuccessRetentionPeriod: + description: Retention period of successful canary runs represented in number of days + type: integer + FailureRetentionPeriod: + description: Retention period of failed canary runs represented in number of days + type: integer + Tags: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + VPCConfig: + description: Provide VPC Configuration if enabled. + $ref: '#/components/schemas/VPCConfig' + RunConfig: + description: Provide canary run configuration + $ref: '#/components/schemas/RunConfig' + StartCanaryAfterCreation: + description: Runs canary if set to True. Default is False + type: boolean + VisualReference: + description: Visual reference configuration for visual testing + $ref: '#/components/schemas/VisualReference' + DeleteLambdaResourcesOnCanaryDeletion: + description: Deletes associated lambda resources created by Synthetics if set to True. Default is False + type: boolean + x-stackQL-stringOnly: true + x-title: CreateCanaryRequest + type: object + required: [] + CreateGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Name: + description: Name of the group. + type: string + pattern: ^[0-9a-z_\-]{1,64}$ + Id: + description: Id of the group. + type: string + Tags: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + minItems: 0 + ResourceArns: + type: array + uniqueItems: true + items: + $ref: '#/components/schemas/ResourceArn' + maxItems: 10 + x-stackQL-stringOnly: true + x-title: CreateGroupRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -749,10 +857,26 @@ components: x-cfn-type-name: AWS::Synthetics::Canary x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Canary&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Synthetics::Canary" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -765,7 +889,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/canaries/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/canaries/methods/delete_resource' config: views: select: @@ -791,6 +916,7 @@ components: x-cfn-type-name: AWS::Synthetics::Canary x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -804,24 +930,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Synthetics::Canary" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/canary/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/canary/methods/delete_resource' - x-type: get config: views: select: @@ -883,10 +994,26 @@ components: x-cfn-type-name: AWS::Synthetics::Group x-identifiers: - Name + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Group&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Synthetics::Group" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -899,7 +1026,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/groups/methods/delete_resource' config: views: select: @@ -925,6 +1053,7 @@ components: x-cfn-type-name: AWS::Synthetics::Group x-identifiers: - Name + x-type: get methods: update_resource: operation: @@ -938,24 +1067,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Synthetics::Group" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/group/methods/delete_resource' - x-type: get config: views: select: @@ -1127,8 +1241,94 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Canary&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCanary + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCanaryRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Group&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/systemsmanagersap.yaml b/providers/src/aws/v00.00.00000/services/systemsmanagersap.yaml index 04f07bb6..35998cc5 100644 --- a/providers/src/aws/v00.00.00000/services/systemsmanagersap.yaml +++ b/providers/src/aws/v00.00.00000/services/systemsmanagersap.yaml @@ -506,6 +506,58 @@ components: - ssm-sap:GetApplication list: - ssm-sap:ListApplications + CreateApplicationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ApplicationId: + type: string + pattern: '[\w\d]{1,50}' + ApplicationType: + type: string + enum: + - HANA + Arn: + description: The ARN of the Helix application + type: string + pattern: ^arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\/.+$ + Credentials: + type: array + items: + $ref: '#/components/schemas/Credential' + minItems: 1 + x-insertionOrder: true + Instances: + type: array + items: + $ref: '#/components/schemas/Instance' + minItems: 1 + x-insertionOrder: true + SapInstanceNumber: + type: string + pattern: '[0-9]{2}' + Sid: + type: string + pattern: '[A-Z][A-Z0-9]{2}' + Tags: + description: The tags of a SystemsManagerSAP application. + type: array + items: + $ref: '#/components/schemas/Tag' + x-insertionOrder: true + x-stackQL-stringOnly: true + x-title: CreateApplicationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -521,10 +573,26 @@ components: x-cfn-type-name: AWS::SystemsManagerSAP::Application x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::SystemsManagerSAP::Application" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -537,7 +605,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/applications/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/applications/methods/delete_resource' config: views: select: @@ -563,6 +632,7 @@ components: x-cfn-type-name: AWS::SystemsManagerSAP::Application x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -576,24 +646,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::SystemsManagerSAP::Application" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/application/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/application/methods/delete_resource' - x-type: get config: views: select: @@ -773,8 +828,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Application&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateApplication + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateApplicationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/timestream.yaml b/providers/src/aws/v00.00.00000/services/timestream.yaml index 82e7ba5f..dbb9f0eb 100644 --- a/providers/src/aws/v00.00.00000/services/timestream.yaml +++ b/providers/src/aws/v00.00.00000/services/timestream.yaml @@ -1237,6 +1237,366 @@ components: list: - timestream:ListTables - timestream:DescribeEndpoints + CreateDatabaseRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + DatabaseName: + description: The name for the database. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the database name. + type: string + pattern: ^[a-zA-Z0-9_.-]{3,256}$ + KmsKeyId: + description: The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account. + type: string + minLength: 1 + maxLength: 2048 + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 200 + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateDatabaseRequest + type: object + required: [] + CreateInfluxDBInstanceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Username: + type: string + minLength: 1 + maxLength: 64 + description: The username for the InfluxDB instance. + Password: + type: string + minLength: 8 + maxLength: 64 + pattern: ^[a-zA-Z0-9]+$ + description: The password for the InfluxDB instance. + Organization: + type: string + minLength: 1 + maxLength: 64 + description: The organization for the InfluxDB instance. + Bucket: + type: string + minLength: 2 + maxLength: 64 + pattern: ^[^_][^"]*$ + description: The bucket for the InfluxDB instance. + DbInstanceType: + type: string + enum: + - db.influx.medium + - db.influx.large + - db.influx.xlarge + - db.influx.2xlarge + - db.influx.4xlarge + - db.influx.8xlarge + - db.influx.12xlarge + - db.influx.16xlarge + description: The compute instance of the InfluxDB instance. + VpcSubnetIds: + type: array + x-insertionOrder: false + items: + type: string + minItems: 1 + maxItems: 3 + description: A list of EC2 subnet IDs for this InfluxDB instance. + VpcSecurityGroupIds: + type: array + x-insertionOrder: false + items: + type: string + minItems: 1 + maxItems: 5 + description: A list of Amazon EC2 VPC security groups to associate with this InfluxDB instance. + PubliclyAccessible: + type: boolean + description: Attach a public IP to the customer ENI. + default: false + DbStorageType: + type: string + enum: + - InfluxIOIncludedT1 + - InfluxIOIncludedT2 + - InfluxIOIncludedT3 + description: The storage type of the InfluxDB instance. + AllocatedStorage: + type: integer + minimum: 20 + maximum: 16384 + description: The allocated storage for the InfluxDB instance. + DbParameterGroupIdentifier: + type: string + minLength: 3 + maxLength: 64 + pattern: ^[a-zA-Z0-9]+$ + description: The name of an existing InfluxDB parameter group. + LogDeliveryConfiguration: + type: object + description: Configuration for sending logs to customer account from the InfluxDB instance. + properties: + S3Configuration: + description: S3 configuration for sending logs to customer account from the InfluxDB instance. + type: object + properties: + BucketName: + description: The bucket name for logs to be sent from the InfluxDB instance + type: string + minLength: 3 + maxLength: 63 + pattern: ^[0-9a-z]+[0-9a-z\.\-]*[0-9a-z]+$ + Enabled: + description: Specifies whether logging to customer specified bucket is enabled. + type: boolean + required: + - Enabled + - BucketName + additionalProperties: false + required: + - S3Configuration + additionalProperties: false + Status: + type: string + description: Status of the InfluxDB Instance. + enum: + - CREATING + - AVAILABLE + - DELETING + - MODIFYING + - UPDATING + - DELETED + - FAILED + Arn: + type: string + minLength: 1 + maxLength: 1011 + pattern: ^arn:aws[a-z\-]*:timestream\-influxdb:[a-z0-9\-]+:[0-9]{12}:(db\-instance)/[a-zA-Z0-9]{3,64}$ + description: The Amazon Resource Name (ARN) that is associated with the InfluxDB instance. + Name: + type: string + minLength: 3 + maxLength: 40 + pattern: ^[a-zA-z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*$ + description: The unique name that is associated with the InfluxDB instance. + AvailabilityZone: + type: string + description: The Availability Zone (AZ) where the InfluxDB instance is created. + SecondaryAvailabilityZone: + type: string + description: The Secondary Availability Zone (AZ) where the InfluxDB instance is created, if DeploymentType is set as WITH_MULTIAZ_STANDBY. + Endpoint: + type: string + description: The connection endpoint for the InfluxDB instance. + InfluxAuthParametersSecretArn: + type: string + pattern: ^arn:[a-z]*:secretsmanager:[a-z\-0-9]*:[0-9]*:secret:[a-zA-Z0-9\-]* + description: The Auth parameters secret Amazon Resource name (ARN) that is associated with the InfluxDB instance. + Id: + type: string + pattern: ^[a-zA-Z0-9]+$ + minLength: 3 + maxLength: 64 + description: The service generated unique identifier for InfluxDB instance. + DeploymentType: + type: string + description: Deployment type of the InfluxDB Instance. + enum: + - SINGLE_AZ + - WITH_MULTIAZ_STANDBY + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + minItems: 1 + maxItems: 200 + description: An arbitrary set of tags (key-value pairs) for this DB instance. + x-stackQL-stringOnly: true + x-title: CreateInfluxDBInstanceRequest + type: object + required: [] + CreateScheduledQueryRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/Arn' + ScheduledQueryName: + $ref: '#/components/schemas/ScheduledQueryName' + QueryString: + $ref: '#/components/schemas/QueryString' + ScheduleConfiguration: + $ref: '#/components/schemas/ScheduleConfiguration' + NotificationConfiguration: + $ref: '#/components/schemas/NotificationConfiguration' + ClientToken: + $ref: '#/components/schemas/ClientToken' + ScheduledQueryExecutionRoleArn: + $ref: '#/components/schemas/ScheduledQueryExecutionRoleArn' + TargetConfiguration: + $ref: '#/components/schemas/TargetConfiguration' + ErrorReportConfiguration: + $ref: '#/components/schemas/ErrorReportConfiguration' + KmsKeyId: + $ref: '#/components/schemas/KmsKeyId' + SQName: + description: The name of the scheduled query. Scheduled query names must be unique within each Region. + type: string + SQQueryString: + description: >- + 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. 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. + type: string + SQScheduleConfiguration: + description: Configuration for when the scheduled query is executed. + type: string + SQNotificationConfiguration: + description: Notification configuration for the scheduled query. A notification is sent by Timestream when a query run finishes, when the state is updated or when you delete it. + type: string + SQScheduledQueryExecutionRoleArn: + description: The ARN for the IAM role that Timestream will assume when running the scheduled query. + type: string + SQTargetConfiguration: + description: Configuration of target store where scheduled query results are written to. + type: string + SQErrorReportConfiguration: + description: Configuration for error reporting. Error reports will be generated when a problem is encountered when writing the query results. + type: string + SQKmsKeyId: + description: The Amazon KMS key used to encrypt the scheduled query resource, at-rest. If the Amazon KMS key is not specified, the scheduled query resource will be encrypted with a Timestream 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. + type: string + Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateScheduledQueryRequest + type: object + required: [] + CreateTableRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + Name: + description: The table name exposed as a read-only attribute. + type: string + DatabaseName: + description: The name for the database which the table to be created belongs to. + type: string + pattern: ^[a-zA-Z0-9_.-]{3,256}$ + TableName: + description: The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name. + type: string + pattern: ^[a-zA-Z0-9_.-]{3,256}$ + RetentionProperties: + description: The retention duration of the memory store and the magnetic store. + type: object + properties: + MemoryStoreRetentionPeriodInHours: + description: The duration for which data must be stored in the memory store. + type: string + MagneticStoreRetentionPeriodInDays: + description: The duration for which data must be stored in the magnetic store. + type: string + additionalProperties: false + Schema: + description: A Schema specifies the expected data model of the table. + type: object + properties: + CompositePartitionKey: + $ref: '#/components/schemas/PartitionKeyList' + additionalProperties: false + MagneticStoreWriteProperties: + description: The properties that determine whether magnetic store writes are enabled. + type: object + properties: + EnableMagneticStoreWrites: + description: Boolean flag indicating whether magnetic store writes are enabled. + type: boolean + MagneticStoreRejectedDataLocation: + description: Location to store information about records that were asynchronously rejected during magnetic store writes. + type: object + properties: + S3Configuration: + description: S3 configuration for location to store rejections from magnetic store writes + type: object + properties: + BucketName: + description: The bucket name used to store the data. + type: string + ObjectKeyPrefix: + description: String used to prefix all data in the bucket. + type: string + EncryptionOption: + description: Either SSE_KMS or SSE_S3. + type: string + KmsKeyId: + description: Must be provided if SSE_KMS is specified as the encryption option + type: string + required: + - EncryptionOption + - BucketName + additionalProperties: false + additionalProperties: false + required: + - EnableMagneticStoreWrites + additionalProperties: false + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + maxItems: 200 + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateTableRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1252,10 +1612,26 @@ components: x-cfn-type-name: AWS::Timestream::Database x-identifiers: - DatabaseName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Database&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Timestream::Database" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1268,7 +1644,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/databases/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/databases/methods/delete_resource' config: views: select: @@ -1294,6 +1671,7 @@ components: x-cfn-type-name: AWS::Timestream::Database x-identifiers: - DatabaseName + x-type: get methods: update_resource: operation: @@ -1307,24 +1685,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Timestream::Database" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/database/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/database/methods/delete_resource' - x-type: get config: views: select: @@ -1360,10 +1723,26 @@ components: x-cfn-type-name: AWS::Timestream::InfluxDBInstance x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__InfluxDBInstance&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Timestream::InfluxDBInstance" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1376,7 +1755,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/influxdb_instances/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/influxdb_instances/methods/delete_resource' config: views: select: @@ -1402,6 +1782,7 @@ components: x-cfn-type-name: AWS::Timestream::InfluxDBInstance x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -1415,24 +1796,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Timestream::InfluxDBInstance" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/influxdb_instance/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/influxdb_instance/methods/delete_resource' - x-type: get config: views: select: @@ -1504,10 +1870,26 @@ components: x-cfn-type-name: AWS::Timestream::ScheduledQuery x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ScheduledQuery&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Timestream::ScheduledQuery" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1520,7 +1902,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/scheduled_queries/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/scheduled_queries/methods/delete_resource' config: views: select: @@ -1546,6 +1929,7 @@ components: x-cfn-type-name: AWS::Timestream::ScheduledQuery x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1559,24 +1943,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Timestream::ScheduledQuery" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/scheduled_query/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/scheduled_query/methods/delete_resource' - x-type: get config: views: select: @@ -1643,10 +2012,26 @@ components: x-identifiers: - DatabaseName - TableName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Table&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Timestream::Table" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1659,7 +2044,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/tables/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/tables/methods/delete_resource' config: views: select: @@ -1688,6 +2074,7 @@ components: x-identifiers: - DatabaseName - TableName + x-type: get methods: update_resource: operation: @@ -1701,24 +2088,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Timestream::Table" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/table/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/table/methods/delete_resource' - x-type: get config: views: select: @@ -1898,8 +2270,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Database&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDatabase + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDatabaseRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__InfluxDBInstance&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateInfluxDBInstance + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateInfluxDBInstanceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ScheduledQuery&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateScheduledQuery + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateScheduledQueryRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Table&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTable + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTableRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/transfer.yaml b/providers/src/aws/v00.00.00000/services/transfer.yaml index 4e540492..82e50b4a 100644 --- a/providers/src/aws/v00.00.00000/services/transfer.yaml +++ b/providers/src/aws/v00.00.00000/services/transfer.yaml @@ -1169,6 +1169,433 @@ components: update: - transfer:UnTagResource - transfer:TagResource + CreateAgreementRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + description: A textual description for the agreement. + type: string + pattern: ^[\w\- ]*$ + minLength: 1 + maxLength: 200 + ServerId: + description: A unique identifier for the server. + type: string + pattern: ^s-([0-9a-f]{17})$ + minLength: 19 + maxLength: 19 + LocalProfileId: + description: A unique identifier for the local profile. + type: string + pattern: ^p-([0-9a-f]{17})$ + minLength: 19 + maxLength: 19 + PartnerProfileId: + description: A unique identifier for the partner profile. + type: string + pattern: ^p-([0-9a-f]{17})$ + minLength: 19 + maxLength: 19 + BaseDirectory: + description: Specifies the base directory for the agreement. + type: string + pattern: ^$|/.* + maxLength: 1024 + AccessRole: + description: Specifies the access role for the agreement. + type: string + pattern: arn:.*role/.* + minLength: 20 + maxLength: 2048 + Status: + description: Specifies the status of the agreement. + type: string + enum: + - ACTIVE + - INACTIVE + Tags: + description: Key-value pairs that can be used to group and search for agreements. Tags are metadata attached to agreements for any purpose. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + AgreementId: + description: A unique identifier for the agreement. + type: string + pattern: ^a-([0-9a-f]{17})$ + minLength: 19 + maxLength: 19 + Arn: + description: Specifies the unique Amazon Resource Name (ARN) for the agreement. + type: string + pattern: arn:.* + minLength: 20 + maxLength: 1600 + x-stackQL-stringOnly: true + x-title: CreateAgreementRequest + type: object + required: [] + CreateCertificateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Usage: + description: Specifies the usage type for the certificate. + type: string + enum: + - SIGNING + - ENCRYPTION + Certificate: + description: Specifies the certificate body to be imported. + type: string + pattern: "^[\t\n\r -ÿ]*" + minLength: 1 + maxLength: 16384 + CertificateChain: + description: Specifies the certificate chain to be imported. + type: string + pattern: "^[\t\n\r -ÿ]*" + minLength: 1 + maxLength: 2097152 + PrivateKey: + description: Specifies the private key for the certificate. + type: string + pattern: "^[\t\n\r -ÿ]*" + minLength: 1 + maxLength: 16384 + ActiveDate: + description: Specifies the active date for the certificate. + type: string + InactiveDate: + description: Specifies the inactive date for the certificate. + type: string + Description: + description: A textual description for the certificate. + type: string + pattern: ^[\w\- ]*$ + minLength: 1 + maxLength: 200 + Tags: + description: Key-value pairs that can be used to group and search for certificates. Tags are metadata attached to certificates for any purpose. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Arn: + description: Specifies the unique Amazon Resource Name (ARN) for the agreement. + type: string + pattern: arn:.* + minLength: 20 + maxLength: 1600 + CertificateId: + description: A unique identifier for the certificate. + type: string + pattern: ^cert-([0-9a-f]{17})$ + minLength: 22 + maxLength: 22 + Status: + description: A status description for the certificate. + type: string + enum: + - ACTIVE + - PENDING + - INACTIVE + Type: + description: Describing the type of certificate. With or without a private key. + type: string + enum: + - CERTIFICATE + - CERTIFICATE_WITH_PRIVATE_KEY + Serial: + description: Specifies Certificate's serial. + type: string + pattern: ^[\p{XDigit}{2}:?]* + minLength: 0 + maxLength: 48 + NotBeforeDate: + description: Specifies the not before date for the certificate. + type: string + NotAfterDate: + description: Specifies the not after date for the certificate. + type: string + x-stackQL-stringOnly: true + x-title: CreateCertificateRequest + type: object + required: [] + CreateConnectorRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AccessRole: + description: Specifies the access role for the connector. + type: string + pattern: arn:.*role/.* + minLength: 20 + maxLength: 2048 + As2Config: + description: Configuration for an AS2 connector. + type: object + properties: + LocalProfileId: + type: string + description: A unique identifier for the local profile. + pattern: ^p-([0-9a-f]{17})$ + minLength: 19 + maxLength: 19 + PartnerProfileId: + type: string + description: A unique identifier for the partner profile. + pattern: ^p-([0-9a-f]{17})$ + minLength: 19 + maxLength: 19 + MessageSubject: + type: string + description: The message subject for this AS2 connector configuration. + pattern: ^[\p{Print}\p{Blank}]+ + minLength: 1 + maxLength: 1024 + Compression: + type: string + description: Compression setting for this AS2 connector configuration. + enum: + - ZLIB + - DISABLED + EncryptionAlgorithm: + type: string + description: Encryption algorithm for this AS2 connector configuration. + enum: + - AES128_CBC + - AES192_CBC + - AES256_CBC + - NONE + SigningAlgorithm: + type: string + description: Signing algorithm for this AS2 connector configuration. + enum: + - SHA256 + - SHA384 + - SHA512 + - SHA1 + - NONE + MdnSigningAlgorithm: + type: string + description: MDN Signing algorithm for this AS2 connector configuration. + enum: + - SHA256 + - SHA384 + - SHA512 + - SHA1 + - NONE + - DEFAULT + MdnResponse: + type: string + description: MDN Response setting for this AS2 connector configuration. + enum: + - SYNC + - NONE + BasicAuthSecretId: + type: string + description: ARN or name of the secret in AWS Secrets Manager which contains the credentials for Basic authentication. If empty, Basic authentication is disabled for the AS2 connector + minLength: 0 + maxLength: 2048 + additionalProperties: false + SftpConfig: + description: Configuration for an SFTP connector. + type: object + properties: + UserSecretId: + type: string + description: ARN or name of the secret in AWS Secrets Manager which contains the SFTP user's private keys or passwords. + minLength: 1 + maxLength: 2048 + TrustedHostKeys: + description: List of public host keys, for the external server to which you are connecting. + type: array + maxItems: 10 + uniqueItems: false + x-insertionOrder: false + items: + $ref: '#/components/schemas/SftpConnectorTrustedHostKey' + additionalProperties: false + Arn: + description: Specifies the unique Amazon Resource Name (ARN) for the connector. + type: string + pattern: arn:.* + minLength: 20 + maxLength: 1600 + ConnectorId: + description: A unique identifier for the connector. + type: string + pattern: ^c-([0-9a-f]{17})$ + minLength: 19 + maxLength: 19 + LoggingRole: + description: Specifies the logging role for the connector. + type: string + pattern: arn:.*role/.* + minLength: 20 + maxLength: 2048 + Tags: + description: Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to connectors for any purpose. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Url: + description: URL for Connector + type: string + maxLength: 255 + x-stackQL-stringOnly: true + x-title: CreateConnectorRequest + type: object + required: [] + CreateProfileRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + As2Id: + description: AS2 identifier agreed with a trading partner. + type: string + minLength: 1 + maxLength: 128 + ProfileType: + description: Enum specifying whether the profile is local or associated with a trading partner. + type: string + enum: + - LOCAL + - PARTNER + Tags: + description: An array of key-value pairs to apply to this resource. + type: array + uniqueItems: true + maxItems: 50 + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + CertificateIds: + description: List of the certificate IDs associated with this profile to be used for encryption and signing of AS2 messages. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/CertificateId' + Arn: + description: Specifies the unique Amazon Resource Name (ARN) for the profile. + type: string + pattern: arn:.* + minLength: 20 + maxLength: 1600 + ProfileId: + description: A unique identifier for the profile + type: string + pattern: ^p-([0-9a-f]{17})$ + minLength: 19 + maxLength: 19 + x-stackQL-stringOnly: true + x-title: CreateProfileRequest + type: object + required: [] + CreateWorkflowRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + OnExceptionSteps: + description: Specifies the steps (actions) to take if any errors are encountered during execution of the workflow. + type: array + maxItems: 8 + uniqueItems: true + x-insertionOrder: true + items: + $ref: '#/components/schemas/WorkflowStep' + Steps: + description: Specifies the details for the steps that are in the specified workflow. + type: array + maxItems: 8 + uniqueItems: true + x-insertionOrder: true + items: + $ref: '#/components/schemas/WorkflowStep' + Tags: + description: Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose. + type: array + maxItems: 50 + uniqueItems: true + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + Description: + description: A textual description for the workflow. + type: string + pattern: ^[\w\- ]*$ + minLength: 0 + maxLength: 256 + WorkflowId: + description: A unique identifier for the workflow. + type: string + pattern: ^w-([a-z0-9]{17})$ + minLength: 19 + maxLength: 19 + Arn: + description: Specifies the unique Amazon Resource Name (ARN) for the workflow. + type: string + pattern: arn:.* + minLength: 20 + maxLength: 1600 + x-stackQL-stringOnly: true + x-title: CreateWorkflowRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1185,10 +1612,26 @@ components: x-identifiers: - AgreementId - ServerId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Agreement&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Transfer::Agreement" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1201,7 +1644,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/agreements/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/agreements/methods/delete_resource' config: views: select: @@ -1230,6 +1674,7 @@ components: x-identifiers: - AgreementId - ServerId + x-type: get methods: update_resource: operation: @@ -1243,24 +1688,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Transfer::Agreement" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/agreement/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/agreement/methods/delete_resource' - x-type: get config: views: select: @@ -1308,10 +1738,26 @@ components: x-cfn-type-name: AWS::Transfer::Certificate x-identifiers: - CertificateId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Certificate&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Transfer::Certificate" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1324,7 +1770,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/certificates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/certificates/methods/delete_resource' config: views: select: @@ -1350,6 +1797,7 @@ components: x-cfn-type-name: AWS::Transfer::Certificate x-identifiers: - CertificateId + x-type: get methods: update_resource: operation: @@ -1363,24 +1811,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Transfer::Certificate" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/certificate/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/certificate/methods/delete_resource' - x-type: get config: views: select: @@ -1438,10 +1871,26 @@ components: x-cfn-type-name: AWS::Transfer::Connector x-identifiers: - ConnectorId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Connector&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Transfer::Connector" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1454,7 +1903,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/connectors/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/connectors/methods/delete_resource' config: views: select: @@ -1480,6 +1930,7 @@ components: x-cfn-type-name: AWS::Transfer::Connector x-identifiers: - ConnectorId + x-type: get methods: update_resource: operation: @@ -1493,24 +1944,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Transfer::Connector" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - - $ref: '#/components/x-stackQL-resources/connector/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/connector/methods/delete_resource' - x-type: get + - $ref: '#/components/x-stackQL-resources/connector/methods/update_resource' config: views: select: @@ -1554,10 +1990,26 @@ components: x-cfn-type-name: AWS::Transfer::Profile x-identifiers: - ProfileId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Profile&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Transfer::Profile" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1570,7 +2022,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/profiles/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/profiles/methods/delete_resource' config: views: select: @@ -1596,6 +2049,7 @@ components: x-cfn-type-name: AWS::Transfer::Profile x-identifiers: - ProfileId + x-type: get methods: update_resource: operation: @@ -1609,24 +2063,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Transfer::Profile" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/profile/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/profile/methods/delete_resource' - x-type: get config: views: select: @@ -1666,10 +2105,26 @@ components: x-cfn-type-name: AWS::Transfer::Workflow x-identifiers: - WorkflowId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Workflow&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Transfer::Workflow" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1682,7 +2137,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/workflows/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/workflows/methods/delete_resource' config: views: select: @@ -1708,6 +2164,7 @@ components: x-cfn-type-name: AWS::Transfer::Workflow x-identifiers: - WorkflowId + x-type: get methods: update_resource: operation: @@ -1721,24 +2178,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Transfer::Workflow" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/workflow/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/workflow/methods/delete_resource' - x-type: get config: views: select: @@ -1914,8 +2356,220 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Agreement&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAgreement + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAgreementRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Certificate&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateCertificate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateCertificateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Connector&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConnector + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConnectorRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Profile&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateProfile + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateProfileRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Workflow&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateWorkflow + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateWorkflowRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/verifiedpermissions.yaml b/providers/src/aws/v00.00.00000/services/verifiedpermissions.yaml index 24500d4d..8babea25 100644 --- a/providers/src/aws/v00.00.00000/services/verifiedpermissions.yaml +++ b/providers/src/aws/v00.00.00000/services/verifiedpermissions.yaml @@ -786,6 +786,143 @@ components: list: - verifiedpermissions:ListPolicyTemplates - verifiedpermissions:GetPolicyTemplate + CreateIdentitySourceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Configuration: + $ref: '#/components/schemas/IdentitySourceConfiguration' + Details: + $ref: '#/components/schemas/IdentitySourceDetails' + IdentitySourceId: + type: string + maxLength: 200 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ + PolicyStoreId: + type: string + maxLength: 200 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ + PrincipalEntityType: + type: string + maxLength: 200 + minLength: 1 + pattern: ^.*$ + x-stackQL-stringOnly: true + x-title: CreateIdentitySourceRequest + type: object + required: [] + CreatePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Definition: + $ref: '#/components/schemas/PolicyDefinition' + PolicyId: + type: string + maxLength: 200 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ + PolicyStoreId: + type: string + maxLength: 200 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ + PolicyType: + $ref: '#/components/schemas/PolicyType' + x-stackQL-stringOnly: true + x-title: CreatePolicyRequest + type: object + required: [] + CreatePolicyStoreRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 2500 + minLength: 1 + pattern: ^arn:[^:]*:[^:]*:[^:]*:[^:]*:.*$ + Description: + type: string + maxLength: 150 + minLength: 0 + PolicyStoreId: + type: string + maxLength: 200 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ + ValidationSettings: + $ref: '#/components/schemas/ValidationSettings' + Schema: + $ref: '#/components/schemas/SchemaDefinition' + x-stackQL-stringOnly: true + x-title: CreatePolicyStoreRequest + type: object + required: [] + CreatePolicyTemplateRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 150 + minLength: 0 + PolicyStoreId: + type: string + maxLength: 200 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ + PolicyTemplateId: + type: string + maxLength: 200 + minLength: 1 + pattern: ^[a-zA-Z0-9-]*$ + Statement: + type: string + maxLength: 10000 + minLength: 1 + x-stackQL-stringOnly: true + x-title: CreatePolicyTemplateRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -802,10 +939,26 @@ components: x-identifiers: - IdentitySourceId - PolicyStoreId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__IdentitySource&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VerifiedPermissions::IdentitySource" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -818,7 +971,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/identity_sources/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/identity_sources/methods/delete_resource' config: views: select: @@ -847,6 +1001,7 @@ components: x-identifiers: - IdentitySourceId - PolicyStoreId + x-type: get methods: update_resource: operation: @@ -860,24 +1015,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VerifiedPermissions::IdentitySource" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/identity_source/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/identity_source/methods/delete_resource' - x-type: get config: views: select: @@ -916,10 +1056,26 @@ components: x-identifiers: - PolicyId - PolicyStoreId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Policy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VerifiedPermissions::Policy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -932,7 +1088,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/policies/methods/delete_resource' config: views: select: @@ -961,6 +1118,7 @@ components: x-identifiers: - PolicyId - PolicyStoreId + x-type: get methods: update_resource: operation: @@ -974,24 +1132,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VerifiedPermissions::Policy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/policy/methods/delete_resource' - x-type: get config: views: select: @@ -1027,10 +1170,26 @@ components: x-cfn-type-name: AWS::VerifiedPermissions::PolicyStore x-identifiers: - PolicyStoreId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PolicyStore&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VerifiedPermissions::PolicyStore" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1043,7 +1202,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/policy_stores/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/policy_stores/methods/delete_resource' config: views: select: @@ -1069,6 +1229,7 @@ components: x-cfn-type-name: AWS::VerifiedPermissions::PolicyStore x-identifiers: - PolicyStoreId + x-type: get methods: update_resource: operation: @@ -1082,24 +1243,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VerifiedPermissions::PolicyStore" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/policy_store/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/policy_store/methods/delete_resource' - x-type: get config: views: select: @@ -1138,10 +1284,26 @@ components: x-identifiers: - PolicyStoreId - PolicyTemplateId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__PolicyTemplate&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VerifiedPermissions::PolicyTemplate" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1154,7 +1316,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/policy_templates/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/policy_templates/methods/delete_resource' config: views: select: @@ -1183,6 +1346,7 @@ components: x-identifiers: - PolicyStoreId - PolicyTemplateId + x-type: get methods: update_resource: operation: @@ -1196,24 +1360,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VerifiedPermissions::PolicyTemplate" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/policy_template/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/policy_template/methods/delete_resource' - x-type: get config: views: select: @@ -1385,8 +1534,178 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__IdentitySource&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIdentitySource + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIdentitySourceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Policy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PolicyStore&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePolicyStore + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePolicyStoreRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__PolicyTemplate&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePolicyTemplate + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePolicyTemplateRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/voiceid.yaml b/providers/src/aws/v00.00.00000/services/voiceid.yaml index b499273c..46d36259 100644 --- a/providers/src/aws/v00.00.00000/services/voiceid.yaml +++ b/providers/src/aws/v00.00.00000/services/voiceid.yaml @@ -491,6 +491,47 @@ components: list: - voiceid:ListDomains - kms:Decrypt + CreateDomainRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 1024 + minLength: 1 + pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$ + DomainId: + type: string + maxLength: 22 + minLength: 22 + pattern: ^[a-zA-Z0-9]{22}$ + Name: + type: string + maxLength: 256 + minLength: 1 + pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$ + ServerSideEncryptionConfiguration: + $ref: '#/components/schemas/ServerSideEncryptionConfiguration' + Tags: + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-stackQL-stringOnly: true + x-title: CreateDomainRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -506,10 +547,26 @@ components: x-cfn-type-name: AWS::VoiceID::Domain x-identifiers: - DomainId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VoiceID::Domain" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -522,7 +579,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/domains/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/domains/methods/delete_resource' config: views: select: @@ -548,6 +606,7 @@ components: x-cfn-type-name: AWS::VoiceID::Domain x-identifiers: - DomainId + x-type: get methods: update_resource: operation: @@ -561,24 +620,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VoiceID::Domain" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/domain/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/domain/methods/delete_resource' - x-type: get config: views: select: @@ -752,8 +796,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Domain&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateDomain + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateDomainRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/vpclattice.yaml b/providers/src/aws/v00.00.00000/services/vpclattice.yaml index 7b09e634..a280a285 100644 --- a/providers/src/aws/v00.00.00000/services/vpclattice.yaml +++ b/providers/src/aws/v00.00.00000/services/vpclattice.yaml @@ -1633,6 +1633,597 @@ components: - lambda:RemovePermission list: - vpc-lattice:ListTargetGroups + CreateAccessLogSubscriptionRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:accesslogsubscription/als-[0-9a-z]{17}$ + DestinationArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:([^/].*)?$ + Id: + type: string + maxLength: 21 + minLength: 21 + pattern: ^als-[0-9a-z]{17}$ + ResourceArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}$ + ResourceId: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^((sn)|(svc))-[0-9a-z]{17}$ + ResourceIdentifier: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^((((sn)|(svc))-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}))$ + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateAccessLogSubscriptionRequest + type: object + required: [] + CreateAuthPolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceIdentifier: + type: string + pattern: ^((((sn)|(svc))-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}))$ + maxLength: 200 + minLength: 21 + Policy: + type: object + State: + type: string + enum: + - ACTIVE + - INACTIVE + x-stackQL-stringOnly: true + x-title: CreateAuthPolicyRequest + type: object + required: [] + CreateListenerRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}$ + DefaultAction: + $ref: '#/components/schemas/DefaultAction' + Id: + type: string + maxLength: 26 + minLength: 26 + pattern: ^listener-[0-9a-z]{17}$ + Name: + type: string + maxLength: 63 + minLength: 3 + pattern: ^(?!listener-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$ + Port: + type: integer + maximum: 65535 + minimum: 1 + Protocol: + type: string + enum: + - HTTP + - HTTPS + ServiceArn: + type: string + maxLength: 2048 + minLength: 21 + pattern: ^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:service/svc-[0-9a-z]{17}$ + ServiceId: + type: string + maxLength: 21 + minLength: 21 + pattern: ^svc-[0-9a-z]{17}$ + ServiceIdentifier: + type: string + maxLength: 2048 + minLength: 21 + pattern: ^((svc-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:service/svc-[0-9a-z]{17}))$ + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateListenerRequest + type: object + required: [] + CreateResourcePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceArn: + type: string + pattern: ^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}$ + minLength: 20 + maxLength: 200 + Policy: + type: object + x-stackQL-stringOnly: true + x-title: CreateResourcePolicyRequest + type: object + required: [] + CreateRuleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Action: + $ref: '#/components/schemas/Action' + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}/rule/((rule-[0-9a-z]{17})|(default))$ + Id: + type: string + maxLength: 22 + minLength: 7 + pattern: ^((rule-[0-9a-z]{17})|(default))$ + ListenerIdentifier: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^((listener-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:service/svc-[0-9a-z]{17}/listener/listener-[0-9a-z]{17}))$ + Match: + $ref: '#/components/schemas/Match' + Name: + type: string + maxLength: 63 + minLength: 3 + pattern: ^(?!rule-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$ + Priority: + type: integer + maximum: 100 + minimum: 1 + ServiceIdentifier: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^((svc-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:service/svc-[0-9a-z]{17}))$ + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateRuleRequest + type: object + required: [] + CreateServiceRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:service/svc-[0-9a-z]{17}$ + AuthType: + type: string + default: NONE + enum: + - NONE + - AWS_IAM + CreatedAt: + type: string + DnsEntry: + $ref: '#/components/schemas/DnsEntry' + Id: + type: string + maxLength: 21 + minLength: 21 + pattern: ^svc-[0-9a-z]{17}$ + LastUpdatedAt: + type: string + Name: + type: string + maxLength: 40 + minLength: 3 + pattern: ^(?!svc-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$ + Status: + type: string + enum: + - ACTIVE + - CREATE_IN_PROGRESS + - DELETE_IN_PROGRESS + - CREATE_FAILED + - DELETE_FAILED + CertificateArn: + type: string + maxLength: 2048 + pattern: ^(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:certificate/[0-9a-z-]+)?$ + CustomDomainName: + type: string + maxLength: 255 + minLength: 3 + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateServiceRequest + type: object + required: [] + CreateServiceNetworkRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}$ + CreatedAt: + type: string + Id: + type: string + maxLength: 20 + minLength: 20 + pattern: ^sn-[0-9a-z]{17}$ + LastUpdatedAt: + type: string + Name: + type: string + maxLength: 63 + minLength: 3 + pattern: ^(?!servicenetwork-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$ + AuthType: + type: string + default: NONE + enum: + - NONE + - AWS_IAM + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateServiceNetworkRequest + type: object + required: [] + CreateServiceNetworkServiceAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetworkserviceassociation/snsa-[0-9a-z]{17}$ + CreatedAt: + type: string + DnsEntry: + $ref: '#/components/schemas/DnsEntry' + Id: + type: string + maxLength: 2048 + minLength: 17 + pattern: ^snsa-[0-9a-z]{17}$ + ServiceNetworkArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}$ + ServiceNetworkId: + type: string + maxLength: 20 + minLength: 20 + pattern: ^sn-[0-9a-z]{17}$ + ServiceNetworkIdentifier: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^((sn-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}))$ + ServiceNetworkName: + type: string + maxLength: 63 + minLength: 3 + pattern: ^(?!servicenetwork-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$ + ServiceArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:service/svc-[0-9a-z]{17}$ + ServiceId: + type: string + maxLength: 21 + minLength: 21 + pattern: ^svc-[0-9a-z]{17}$ + ServiceIdentifier: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^((svc-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:service/svc-[0-9a-z]{17}))$ + ServiceName: + type: string + maxLength: 40 + minLength: 3 + pattern: ^(?!svc-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$ + Status: + type: string + enum: + - CREATE_IN_PROGRESS + - ACTIVE + - DELETE_IN_PROGRESS + - CREATE_FAILED + - DELETE_FAILED + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateServiceNetworkServiceAssociationRequest + type: object + required: [] + CreateServiceNetworkVpcAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetworkvpcassociation/snva-[0-9a-z]{17}$ + CreatedAt: + type: string + SecurityGroupIds: + type: array + x-insertionOrder: false + uniqueItems: true + items: + type: string + maxLength: 200 + minLength: 0 + pattern: ^sg-(([0-9a-z]{8})|([0-9a-z]{17}))$ + Id: + type: string + maxLength: 22 + minLength: 22 + pattern: ^snva-[0-9a-z]{17}$ + ServiceNetworkArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}$ + ServiceNetworkId: + type: string + maxLength: 20 + minLength: 20 + pattern: ^sn-[0-9a-z]{17}$ + ServiceNetworkIdentifier: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^((sn-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}))$ + ServiceNetworkName: + type: string + maxLength: 63 + minLength: 3 + pattern: ^(?!servicenetwork-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$ + Status: + type: string + enum: + - CREATE_IN_PROGRESS + - ACTIVE + - UPDATE_IN_PROGRESS + - DELETE_IN_PROGRESS + - CREATE_FAILED + - DELETE_FAILED + VpcId: + type: string + maxLength: 2048 + minLength: 5 + pattern: ^vpc-(([0-9a-z]{8})|([0-9a-z]{17}))$ + VpcIdentifier: + type: string + maxLength: 2048 + minLength: 5 + pattern: ^vpc-(([0-9a-z]{8})|([0-9a-z]{17}))$ + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateServiceNetworkVpcAssociationRequest + type: object + required: [] + CreateTargetGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:targetgroup/tg-[0-9a-z]{17}$ + Config: + $ref: '#/components/schemas/TargetGroupConfig' + CreatedAt: + type: string + Id: + type: string + maxLength: 20 + minLength: 20 + pattern: ^tg-[0-9a-z]{17}$ + LastUpdatedAt: + type: string + Name: + type: string + maxLength: 128 + minLength: 3 + pattern: ^(?!tg-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$ + Status: + type: string + enum: + - CREATE_IN_PROGRESS + - ACTIVE + - DELETE_IN_PROGRESS + - CREATE_FAILED + - DELETE_FAILED + Type: + type: string + enum: + - IP + - LAMBDA + - INSTANCE + - ALB + Targets: + type: array + x-insertionOrder: false + minItems: 0 + maxItems: 100 + default: [] + items: + $ref: '#/components/schemas/Target' + Tags: + type: array + x-insertionOrder: false + uniqueItems: true + minItems: 0 + maxItems: 50 + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateTargetGroupRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1648,10 +2239,26 @@ components: x-cfn-type-name: AWS::VpcLattice::AccessLogSubscription x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AccessLogSubscription&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VpcLattice::AccessLogSubscription" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1664,7 +2271,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/access_log_subscriptions/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/access_log_subscriptions/methods/delete_resource' config: views: select: @@ -1690,6 +2298,7 @@ components: x-cfn-type-name: AWS::VpcLattice::AccessLogSubscription x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1703,24 +2312,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VpcLattice::AccessLogSubscription" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/access_log_subscription/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/access_log_subscription/methods/delete_resource' - x-type: get config: views: select: @@ -1762,10 +2356,26 @@ components: x-cfn-type-name: AWS::VpcLattice::AuthPolicy x-identifiers: - ResourceIdentifier + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AuthPolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VpcLattice::AuthPolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1778,6 +2388,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/auth_policies/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/auth_policies/methods/delete_resource' auth_policy: name: auth_policy id: aws.vpclattice.auth_policy @@ -1785,6 +2397,7 @@ components: x-cfn-type-name: AWS::VpcLattice::AuthPolicy x-identifiers: - ResourceIdentifier + x-type: get methods: update_resource: operation: @@ -1798,24 +2411,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VpcLattice::AuthPolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/auth_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/auth_policy/methods/delete_resource' - x-type: get config: views: select: @@ -1849,10 +2447,26 @@ components: x-cfn-type-name: AWS::VpcLattice::Listener x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Listener&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VpcLattice::Listener" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1865,7 +2479,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/listeners/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/listeners/methods/delete_resource' config: views: select: @@ -1891,6 +2506,7 @@ components: x-cfn-type-name: AWS::VpcLattice::Listener x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -1904,24 +2520,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VpcLattice::Listener" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/listener/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/listener/methods/delete_resource' - x-type: get config: views: select: @@ -1969,10 +2570,26 @@ components: x-cfn-type-name: AWS::VpcLattice::ResourcePolicy x-identifiers: - ResourceArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourcePolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VpcLattice::ResourcePolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1985,6 +2602,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_policies/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/resource_policies/methods/delete_resource' resource_policy: name: resource_policy id: aws.vpclattice.resource_policy @@ -1992,6 +2611,7 @@ components: x-cfn-type-name: AWS::VpcLattice::ResourcePolicy x-identifiers: - ResourceArn + x-type: get methods: update_resource: operation: @@ -2005,24 +2625,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VpcLattice::ResourcePolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resource_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resource_policy/methods/delete_resource' - x-type: get config: views: select: @@ -2054,10 +2659,14 @@ components: x-cfn-type-name: AWS::VpcLattice::Rule x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Rule&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2067,11 +2676,24 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/rules/methods/create_resource' - x-type: list - config: + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VpcLattice::Rule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + sqlVerbs: + insert: + - $ref: '#/components/x-stackQL-resources/rules/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/rules/methods/delete_resource' + config: views: select: predicate: sqlDialect == "sqlite3" @@ -2096,6 +2718,7 @@ components: x-cfn-type-name: AWS::VpcLattice::Rule x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -2109,24 +2732,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VpcLattice::Rule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/rule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/rule/methods/delete_resource' - x-type: get config: views: select: @@ -2172,10 +2780,26 @@ components: x-cfn-type-name: AWS::VpcLattice::Service x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Service&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VpcLattice::Service" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2188,7 +2812,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/services/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/services/methods/delete_resource' config: views: select: @@ -2214,6 +2839,7 @@ components: x-cfn-type-name: AWS::VpcLattice::Service x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -2227,24 +2853,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VpcLattice::Service" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/service/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/service/methods/delete_resource' - x-type: get config: views: select: @@ -2294,10 +2905,26 @@ components: x-cfn-type-name: AWS::VpcLattice::ServiceNetwork x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ServiceNetwork&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VpcLattice::ServiceNetwork" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2310,7 +2937,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/service_networks/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/service_networks/methods/delete_resource' config: views: select: @@ -2336,6 +2964,7 @@ components: x-cfn-type-name: AWS::VpcLattice::ServiceNetwork x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -2349,24 +2978,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VpcLattice::ServiceNetwork" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/service_network/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/service_network/methods/delete_resource' - x-type: get config: views: select: @@ -2408,10 +3022,26 @@ components: x-cfn-type-name: AWS::VpcLattice::ServiceNetworkServiceAssociation x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ServiceNetworkServiceAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VpcLattice::ServiceNetworkServiceAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2424,7 +3054,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/service_network_service_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/service_network_service_associations/methods/delete_resource' config: views: select: @@ -2450,6 +3081,7 @@ components: x-cfn-type-name: AWS::VpcLattice::ServiceNetworkServiceAssociation x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -2463,24 +3095,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VpcLattice::ServiceNetworkServiceAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/service_network_service_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/service_network_service_association/methods/delete_resource' - x-type: get config: views: select: @@ -2536,10 +3153,26 @@ components: x-cfn-type-name: AWS::VpcLattice::ServiceNetworkVpcAssociation x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ServiceNetworkVpcAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VpcLattice::ServiceNetworkVpcAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2552,7 +3185,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/service_network_vpc_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/service_network_vpc_associations/methods/delete_resource' config: views: select: @@ -2578,6 +3212,7 @@ components: x-cfn-type-name: AWS::VpcLattice::ServiceNetworkVpcAssociation x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -2591,24 +3226,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VpcLattice::ServiceNetworkVpcAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/service_network_vpc_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/service_network_vpc_association/methods/delete_resource' - x-type: get config: views: select: @@ -2660,10 +3280,26 @@ components: x-cfn-type-name: AWS::VpcLattice::TargetGroup x-identifiers: - Arn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TargetGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::VpcLattice::TargetGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2676,7 +3312,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/target_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/target_groups/methods/delete_resource' config: views: select: @@ -2702,6 +3339,7 @@ components: x-cfn-type-name: AWS::VpcLattice::TargetGroup x-identifiers: - Arn + x-type: get methods: update_resource: operation: @@ -2715,24 +3353,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::VpcLattice::TargetGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/target_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/target_group/methods/delete_resource' - x-type: get config: views: select: @@ -2916,8 +3539,430 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__AccessLogSubscription&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAccessLogSubscription + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAccessLogSubscriptionRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AuthPolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAuthPolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAuthPolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Listener&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateListener + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateListenerRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourcePolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourcePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourcePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Rule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRuleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Service&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateService + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServiceRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ServiceNetwork&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateServiceNetwork + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServiceNetworkRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ServiceNetworkServiceAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateServiceNetworkServiceAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServiceNetworkServiceAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ServiceNetworkVpcAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateServiceNetworkVpcAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateServiceNetworkVpcAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TargetGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTargetGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTargetGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/wafv2.yaml b/providers/src/aws/v00.00.00000/services/wafv2.yaml index 51cc890a..3b974aec 100644 --- a/providers/src/aws/v00.00.00000/services/wafv2.yaml +++ b/providers/src/aws/v00.00.00000/services/wafv2.yaml @@ -2328,6 +2328,279 @@ components: - ec2:DisassociateVerifiedAccessInstanceWebAcl - ec2:DescribeVerifiedAccessInstanceWebAclAssociations - ec2:GetVerifiedAccessInstanceWebAcl + CreateIPSetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/ResourceArn' + Description: + $ref: '#/components/schemas/EntityDescription' + Name: + $ref: '#/components/schemas/EntityName' + Id: + $ref: '#/components/schemas/EntityId' + Scope: + $ref: '#/components/schemas/Scope' + IPAddressVersion: + $ref: '#/components/schemas/IPAddressVersion' + Addresses: + description: List of IPAddresses. + type: array + items: + $ref: '#/components/schemas/IPAddress' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 1 + x-stackQL-stringOnly: true + x-title: CreateIPSetRequest + type: object + required: [] + CreateLoggingConfigurationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceArn: + description: The Amazon Resource Name (ARN) of the web ACL that you want to associate with LogDestinationConfigs. + type: string + LogDestinationConfigs: + description: The Amazon Resource Names (ARNs) of the logging destinations that you want to associate with the web ACL. + type: array + items: + type: string + RedactedFields: + description: The parts of the request that you want to keep out of the logs. For example, if you redact the HEADER field, the HEADER field in the firehose will be xxx. + type: array + x-insertionOrder: false + items: + $ref: '#/components/schemas/FieldToMatch' + ManagedByFirewallManager: + description: Indicates whether the logging configuration was created by AWS Firewall Manager, as part of an AWS WAF policy configuration. If true, only Firewall Manager can modify or delete the configuration. + type: boolean + LoggingFilter: + description: Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation. + type: object + additionalProperties: false + properties: + DefaultBehavior: + description: Default handling for logs that don't match any of the specified filtering conditions. + type: string + enum: + - KEEP + - DROP + Filters: + description: The filters that you want to apply to the logs. + type: array + minItems: 1 + items: + $ref: '#/components/schemas/Filter' + required: + - DefaultBehavior + - Filters + x-stackQL-stringOnly: true + x-title: CreateLoggingConfigurationRequest + type: object + required: [] + CreateRegexPatternSetRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + description: ARN of the WAF entity. + type: string + Description: + description: Description of the entity. + type: string + pattern: ^[a-zA-Z0-9=:#@/\-,.][a-zA-Z0-9+=:#@/\-,.\s]+[a-zA-Z0-9+=:#@/\-,.]{1,256}$ + Name: + description: Name of the RegexPatternSet. + type: string + pattern: ^[0-9A-Za-z_-]{1,128}$ + Id: + description: Id of the RegexPatternSet + type: string + pattern: ^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$ + RegularExpressionList: + type: array + items: + type: string + Scope: + description: Use CLOUDFRONT for CloudFront RegexPatternSet, use REGIONAL for Application Load Balancer and API Gateway. + type: string + enum: + - CLOUDFRONT + - REGIONAL + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 1 + x-stackQL-stringOnly: true + x-title: CreateRegexPatternSetRequest + type: object + required: [] + CreateRuleGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/ResourceArn' + Capacity: + type: integer + minimum: 0 + Description: + $ref: '#/components/schemas/EntityDescription' + Name: + $ref: '#/components/schemas/EntityName' + Id: + $ref: '#/components/schemas/EntityId' + Scope: + $ref: '#/components/schemas/Scope' + Rules: + description: Collection of Rules. + type: array + items: + $ref: '#/components/schemas/Rule' + VisibilityConfig: + $ref: '#/components/schemas/VisibilityConfig' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 1 + LabelNamespace: + $ref: '#/components/schemas/LabelName' + CustomResponseBodies: + $ref: '#/components/schemas/CustomResponseBodies' + AvailableLabels: + description: Collection of Available Labels. + type: array + items: + $ref: '#/components/schemas/LabelSummary' + ConsumedLabels: + description: Collection of Consumed Labels. + type: array + items: + $ref: '#/components/schemas/LabelSummary' + x-stackQL-stringOnly: true + x-title: CreateRuleGroupRequest + type: object + required: [] + CreateWebACLRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Arn: + $ref: '#/components/schemas/ResourceArn' + Capacity: + type: integer + minimum: 0 + DefaultAction: + $ref: '#/components/schemas/DefaultAction' + Description: + $ref: '#/components/schemas/EntityDescription' + Name: + $ref: '#/components/schemas/EntityName' + Id: + $ref: '#/components/schemas/EntityId' + Scope: + $ref: '#/components/schemas/Scope' + Rules: + description: Collection of Rules. + type: array + items: + $ref: '#/components/schemas/Rule' + VisibilityConfig: + $ref: '#/components/schemas/VisibilityConfig' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + minItems: 1 + LabelNamespace: + $ref: '#/components/schemas/LabelName' + CustomResponseBodies: + $ref: '#/components/schemas/CustomResponseBodies' + CaptchaConfig: + $ref: '#/components/schemas/CaptchaConfig' + ChallengeConfig: + $ref: '#/components/schemas/ChallengeConfig' + TokenDomains: + $ref: '#/components/schemas/TokenDomains' + AssociationConfig: + $ref: '#/components/schemas/AssociationConfig' + x-stackQL-stringOnly: true + x-title: CreateWebACLRequest + type: object + required: [] + CreateWebACLAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + ResourceArn: + $ref: '#/components/schemas/ResourceArn' + WebACLArn: + $ref: '#/components/schemas/ResourceArn' + x-stackQL-stringOnly: true + x-title: CreateWebACLAssociationRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -2345,10 +2618,26 @@ components: - Name - Id - Scope + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__IPSet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::WAFv2::IPSet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2361,7 +2650,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/ip_sets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/ip_sets/methods/delete_resource' config: views: select: @@ -2393,6 +2683,7 @@ components: - Name - Id - Scope + x-type: get methods: update_resource: operation: @@ -2406,24 +2697,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WAFv2::IPSet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/ip_set/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/ip_set/methods/delete_resource' - x-type: get config: views: select: @@ -2467,10 +2743,26 @@ components: x-cfn-type-name: AWS::WAFv2::LoggingConfiguration x-identifiers: - ResourceArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__LoggingConfiguration&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::WAFv2::LoggingConfiguration" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2483,7 +2775,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/logging_configurations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/logging_configurations/methods/delete_resource' config: views: select: @@ -2509,6 +2802,7 @@ components: x-cfn-type-name: AWS::WAFv2::LoggingConfiguration x-identifiers: - ResourceArn + x-type: get methods: update_resource: operation: @@ -2522,24 +2816,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WAFv2::LoggingConfiguration" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/logging_configuration/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/logging_configuration/methods/delete_resource' - x-type: get config: views: select: @@ -2579,10 +2858,26 @@ components: - Name - Id - Scope + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RegexPatternSet&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::WAFv2::RegexPatternSet" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2595,7 +2890,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/regex_pattern_sets/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/regex_pattern_sets/methods/delete_resource' config: views: select: @@ -2627,6 +2923,7 @@ components: - Name - Id - Scope + x-type: get methods: update_resource: operation: @@ -2640,24 +2937,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WAFv2::RegexPatternSet" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/regex_pattern_set/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/regex_pattern_set/methods/delete_resource' - x-type: get config: views: select: @@ -2701,10 +2983,26 @@ components: - Name - Id - Scope + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__RuleGroup&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::WAFv2::RuleGroup" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2717,7 +3015,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/rule_groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/rule_groups/methods/delete_resource' config: views: select: @@ -2749,6 +3048,7 @@ components: - Name - Id - Scope + x-type: get methods: update_resource: operation: @@ -2762,24 +3062,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WAFv2::RuleGroup" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/rule_group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/rule_group/methods/delete_resource' - x-type: get config: views: select: @@ -2835,10 +3120,26 @@ components: - Name - Id - Scope + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__WebACL&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::WAFv2::WebACL" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2851,7 +3152,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/web_acls/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/web_acls/methods/delete_resource' config: views: select: @@ -2883,6 +3185,7 @@ components: - Name - Id - Scope + x-type: get methods: update_resource: operation: @@ -2896,24 +3199,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WAFv2::WebACL" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/web_acl/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/web_acl/methods/delete_resource' - x-type: get config: views: select: @@ -2974,10 +3262,26 @@ components: x-identifiers: - ResourceArn - WebACLArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__WebACLAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::WAFv2::WebACLAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -2990,6 +3294,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/webacl_associations/methods/create_resource' + delete: + - $ref: '#/components/x-stackQL-resources/webacl_associations/methods/delete_resource' webacl_association: name: webacl_association id: aws.wafv2.webacl_association @@ -2998,6 +3304,7 @@ components: x-identifiers: - ResourceArn - WebACLArn + x-type: get methods: update_resource: operation: @@ -3011,24 +3318,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WAFv2::WebACLAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/webacl_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/webacl_association/methods/delete_resource' - x-type: get config: views: select: @@ -3196,8 +3488,262 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__IPSet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIPSet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIPSetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__LoggingConfiguration&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateLoggingConfiguration + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateLoggingConfigurationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RegexPatternSet&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRegexPatternSet + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRegexPatternSetRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__RuleGroup&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateRuleGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateRuleGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__WebACL&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateWebACL + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateWebACLRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__WebACLAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateWebACLAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateWebACLAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/wisdom.yaml b/providers/src/aws/v00.00.00000/services/wisdom.yaml index 26d44c85..4dc36d7c 100644 --- a/providers/src/aws/v00.00.00000/services/wisdom.yaml +++ b/providers/src/aws/v00.00.00000/services/wisdom.yaml @@ -676,6 +676,131 @@ components: - wisdom:ListKnowledgeBases read: - wisdom:GetKnowledgeBase + CreateAssistantRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Type: + $ref: '#/components/schemas/AssistantType' + Description: + type: string + maxLength: 255 + minLength: 1 + AssistantArn: + type: string + pattern: ^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$ + AssistantId: + type: string + pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$ + ServerSideEncryptionConfiguration: + $ref: '#/components/schemas/ServerSideEncryptionConfiguration' + Tags: + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + type: array + Name: + type: string + maxLength: 255 + minLength: 1 + x-stackQL-stringOnly: true + x-title: CreateAssistantRequest + type: object + required: [] + CreateAssistantAssociationRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AssistantAssociationArn: + type: string + pattern: ^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$ + AssistantArn: + type: string + pattern: ^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$ + AssistantAssociationId: + type: string + pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$ + AssistantId: + type: string + pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$ + Association: + $ref: '#/components/schemas/AssociationData' + AssociationType: + $ref: '#/components/schemas/AssociationType' + Tags: + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + type: array + x-stackQL-stringOnly: true + x-title: CreateAssistantAssociationRequest + type: object + required: [] + CreateKnowledgeBaseRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Description: + type: string + maxLength: 255 + minLength: 1 + KnowledgeBaseArn: + type: string + pattern: ^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$ + KnowledgeBaseId: + type: string + pattern: ^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$ + KnowledgeBaseType: + $ref: '#/components/schemas/KnowledgeBaseType' + Name: + type: string + maxLength: 255 + minLength: 1 + RenderingConfiguration: + $ref: '#/components/schemas/RenderingConfiguration' + ServerSideEncryptionConfiguration: + $ref: '#/components/schemas/ServerSideEncryptionConfiguration' + SourceConfiguration: + $ref: '#/components/schemas/SourceConfiguration' + Tags: + x-insertionOrder: false + uniqueItems: true + items: + $ref: '#/components/schemas/Tag' + type: array + x-stackQL-stringOnly: true + x-title: CreateKnowledgeBaseRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -691,10 +816,26 @@ components: x-cfn-type-name: AWS::Wisdom::Assistant x-identifiers: - AssistantId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Assistant&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Wisdom::Assistant" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -707,7 +848,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/assistants/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/assistants/methods/delete_resource' config: views: select: @@ -733,6 +875,7 @@ components: x-cfn-type-name: AWS::Wisdom::Assistant x-identifiers: - AssistantId + x-type: get methods: update_resource: operation: @@ -746,24 +889,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Wisdom::Assistant" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/assistant/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/assistant/methods/delete_resource' - x-type: get config: views: select: @@ -806,10 +934,26 @@ components: x-identifiers: - AssistantAssociationId - AssistantId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__AssistantAssociation&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Wisdom::AssistantAssociation" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -822,7 +966,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/assistant_associations/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/assistant_associations/methods/delete_resource' config: views: select: @@ -851,6 +996,7 @@ components: x-identifiers: - AssistantAssociationId - AssistantId + x-type: get methods: update_resource: operation: @@ -864,24 +1010,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Wisdom::AssistantAssociation" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/assistant_association/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/assistant_association/methods/delete_resource' - x-type: get config: views: select: @@ -923,10 +1054,26 @@ components: x-cfn-type-name: AWS::Wisdom::KnowledgeBase x-identifiers: - KnowledgeBaseId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__KnowledgeBase&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::Wisdom::KnowledgeBase" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -939,7 +1086,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/knowledge_bases/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/knowledge_bases/methods/delete_resource' config: views: select: @@ -965,6 +1113,7 @@ components: x-cfn-type-name: AWS::Wisdom::KnowledgeBase x-identifiers: - KnowledgeBaseId + x-type: get methods: update_resource: operation: @@ -978,24 +1127,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::Wisdom::KnowledgeBase" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/knowledge_base/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/knowledge_base/methods/delete_resource' - x-type: get config: views: select: @@ -1177,8 +1311,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Assistant&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAssistant + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAssistantRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__AssistantAssociation&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateAssistantAssociation + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateAssistantAssociationRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__KnowledgeBase&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateKnowledgeBase + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateKnowledgeBaseRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/workspaces.yaml b/providers/src/aws/v00.00.00000/services/workspaces.yaml index cb1441c8..8e8309cf 100644 --- a/providers/src/aws/v00.00.00000/services/workspaces.yaml +++ b/providers/src/aws/v00.00.00000/services/workspaces.yaml @@ -473,6 +473,50 @@ components: - workspaces:DescribeConnectionAliases delete: - workspaces:DeleteConnectionAlias + CreateConnectionAliasRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Associations: + type: array + maxLength: 25 + minLength: 1 + items: + $ref: '#/components/schemas/ConnectionAliasAssociation' + AliasId: + type: string + pattern: ^wsca-[0-9a-z]{8,63}$ + maxLength: 68 + minLength: 13 + ConnectionString: + type: string + pattern: ^[.0-9a-zA-Z\-]{1,255}$ + minLength: 1 + maxLength: 255 + ConnectionAliasState: + type: string + enum: + - CREATING + - CREATED + - DELETING + Tags: + type: array + uniqueItems: false + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateConnectionAliasRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -488,10 +532,14 @@ components: x-cfn-type-name: AWS::WorkSpaces::ConnectionAlias x-identifiers: - AliasId + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ConnectionAlias&__detailTransformed=true/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -501,17 +549,6 @@ components: response: mediaType: application/json openAPIDocKey: '200' - sqlVerbs: - insert: - - $ref: '#/components/x-stackQL-resources/connection_aliases/methods/create_resource' - connection_alias: - name: connection_alias - id: aws.workspaces.connection_alias - x-cfn-schema-name: ConnectionAlias - x-cfn-type-name: AWS::WorkSpaces::ConnectionAlias - x-identifiers: - - AliasId - methods: delete_resource: operation: $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' @@ -525,10 +562,21 @@ components: mediaType: application/json openAPIDocKey: '200' sqlVerbs: - update: [] + insert: + - $ref: '#/components/x-stackQL-resources/connection_aliases/methods/create_resource' delete: - - $ref: '#/components/x-stackQL-resources/connection_alias/methods/delete_resource' + - $ref: '#/components/x-stackQL-resources/connection_aliases/methods/delete_resource' + connection_alias: + name: connection_alias + id: aws.workspaces.connection_alias + x-cfn-schema-name: ConnectionAlias + x-cfn-type-name: AWS::WorkSpaces::ConnectionAlias + x-identifiers: + - AliasId x-type: get + methods: {} + sqlVerbs: + update: [] config: views: select: @@ -702,8 +750,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__ConnectionAlias&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateConnectionAlias + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateConnectionAliasRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/workspacesthinclient.yaml b/providers/src/aws/v00.00.00000/services/workspacesthinclient.yaml index cef8c4ac..22b1b388 100644 --- a/providers/src/aws/v00.00.00000/services/workspacesthinclient.yaml +++ b/providers/src/aws/v00.00.00000/services/workspacesthinclient.yaml @@ -626,6 +626,119 @@ components: - thinclient:ListEnvironment - thinclient:ListTagsForResource - kms:Decrypt + CreateEnvironmentRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + Id: + description: Unique identifier of the environment. + type: string + pattern: ^[a-z0-9]{9}$ + Name: + description: The name of the environment. + type: string + pattern: ^.+$ + minLength: 1 + maxLength: 64 + DesktopArn: + description: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0. + type: string + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[0-9]{0,12}:[a-zA-Z0-9\-\/\._]+$ + minLength: 20 + maxLength: 2048 + DesktopEndpoint: + description: The URL for the identity provider login (only for environments that use AppStream 2.0). + type: string + pattern: ^(https:\/\/)[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,32}(:[0-9]{1,5})?(\/.*)?$ + minLength: 1 + maxLength: 1024 + DesktopType: + description: The type of VDI. + type: string + enum: + - workspaces + - appstream + - workspaces-web + ActivationCode: + description: Activation code for devices associated with environment. + type: string + pattern: ^[a-z]{2}[a-z0-9]{6}$ + RegisteredDevicesCount: + description: Number of devices registered to the environment. + type: integer + minimum: 0 + SoftwareSetUpdateSchedule: + description: An option to define if software updates should be applied within a maintenance window. + type: string + enum: + - USE_MAINTENANCE_WINDOW + - APPLY_IMMEDIATELY + MaintenanceWindow: + description: A specification for a time window to apply software updates. + $ref: '#/components/schemas/MaintenanceWindow' + SoftwareSetUpdateMode: + description: An option to define which software updates to apply. + type: string + enum: + - USE_LATEST + - USE_DESIRED + DesiredSoftwareSetId: + description: The ID of the software set to apply. + type: string + pattern: ^[0-9]{1,9}$ + PendingSoftwareSetId: + description: The ID of the software set that is pending to be installed. + type: string + pattern: ^[0-9]{1,9}$ + PendingSoftwareSetVersion: + description: The version of the software set that is pending to be installed. + type: string + SoftwareSetComplianceStatus: + description: Describes if the software currently installed on all devices in the environment is a supported version. + type: string + enum: + - COMPLIANT + - NOT_COMPLIANT + - NO_REGISTERED_DEVICES + CreatedAt: + description: The timestamp in unix epoch format when environment was created. + type: string + UpdatedAt: + description: The timestamp in unix epoch format when environment was last updated. + type: string + Arn: + description: The environment ARN. + type: string + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[0-9]{0,12}:[a-zA-Z0-9\-\/\._]+$ + minLength: 20 + maxLength: 2048 + KmsKeyArn: + description: The Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment. + type: string + pattern: ^arn:[\w+=\/,.@-]+:kms:[a-zA-Z0-9\-]*:[0-9]{0,12}:key\/[a-zA-Z0-9-]+$ + minLength: 20 + maxLength: 2048 + Tags: + type: array + maxItems: 20 + uniqueItems: true + x-insertionOrder: false + description: An array of key-value pairs to apply to this resource. + items: + $ref: '#/components/schemas/Tag' + x-stackQL-stringOnly: true + x-title: CreateEnvironmentRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -641,10 +754,26 @@ components: x-cfn-type-name: AWS::WorkSpacesThinClient::Environment x-identifiers: - Id + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::WorkSpacesThinClient::Environment" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -657,7 +786,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/environments/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/environments/methods/delete_resource' config: views: select: @@ -683,6 +813,7 @@ components: x-cfn-type-name: AWS::WorkSpacesThinClient::Environment x-identifiers: - Id + x-type: get methods: update_resource: operation: @@ -696,24 +827,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WorkSpacesThinClient::Environment" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/environment/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/environment/methods/delete_resource' - x-type: get config: views: select: @@ -915,8 +1031,52 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Environment&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateEnvironment + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateEnvironmentRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/workspacesweb.yaml b/providers/src/aws/v00.00.00000/services/workspacesweb.yaml index 3bd61e27..f9dfbded 100644 --- a/providers/src/aws/v00.00.00000/services/workspacesweb.yaml +++ b/providers/src/aws/v00.00.00000/services/workspacesweb.yaml @@ -1332,6 +1332,465 @@ components: - kms:DescribeKey - kms:GenerateDataKey - kms:Decrypt + CreateBrowserSettingsRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AdditionalEncryptionContext: + $ref: '#/components/schemas/EncryptionContextMap' + AssociatedPortalArns: + type: array + items: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-insertionOrder: false + BrowserPolicy: + type: string + maxLength: 131072 + minLength: 2 + pattern: \{[\S\s]*\}\s* + BrowserSettingsArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + CustomerManagedKey: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:kms:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:key\/[a-zA-Z0-9-]+$ + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateBrowserSettingsRequest + type: object + required: [] + CreateIdentityProviderRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + IdentityProviderArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36}){2,}$ + IdentityProviderDetails: + $ref: '#/components/schemas/IdentityProviderDetails' + IdentityProviderName: + type: string + maxLength: 32 + minLength: 1 + pattern: ^[^_][\p{L}\p{M}\p{S}\p{N}\p{P}][^_]+$ + IdentityProviderType: + $ref: '#/components/schemas/IdentityProviderType' + PortalArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-stackQL-stringOnly: true + x-title: CreateIdentityProviderRequest + type: object + required: [] + CreateIpAccessSettingsRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AdditionalEncryptionContext: + $ref: '#/components/schemas/EncryptionContextMap' + AssociatedPortalArns: + type: array + items: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-insertionOrder: false + CreationDate: + type: string + format: date-time + CustomerManagedKey: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:kms:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:key\/[a-zA-Z0-9-]+$ + Description: + type: string + maxLength: 256 + minLength: 1 + pattern: ^.+$ + DisplayName: + type: string + maxLength: 64 + minLength: 1 + pattern: ^.+$ + IpAccessSettingsArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + IpRules: + type: array + items: + $ref: '#/components/schemas/IpRule' + maxItems: 100 + minItems: 1 + x-insertionOrder: false + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-insertionOrder: false + x-stackQL-stringOnly: true + x-title: CreateIpAccessSettingsRequest + type: object + required: [] + CreateNetworkSettingsRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AssociatedPortalArns: + type: array + items: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-insertionOrder: false + NetworkSettingsArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + SecurityGroupIds: + type: array + items: + type: string + maxLength: 128 + minLength: 1 + pattern: ^[\w+\-]+$ + maxItems: 5 + minItems: 1 + x-insertionOrder: false + SubnetIds: + type: array + items: + type: string + maxLength: 32 + minLength: 1 + pattern: ^subnet-([0-9a-f]{8}|[0-9a-f]{17})$ + maxItems: 3 + minItems: 2 + x-insertionOrder: false + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-insertionOrder: false + VpcId: + type: string + maxLength: 255 + minLength: 1 + pattern: ^vpc-[0-9a-z]*$ + x-stackQL-stringOnly: true + x-title: CreateNetworkSettingsRequest + type: object + required: [] + CreatePortalRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AdditionalEncryptionContext: + $ref: '#/components/schemas/EncryptionContextMap' + AuthenticationType: + $ref: '#/components/schemas/AuthenticationType' + BrowserSettingsArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + BrowserType: + $ref: '#/components/schemas/BrowserType' + CreationDate: + type: string + format: date-time + CustomerManagedKey: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:kms:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:key\/[a-zA-Z0-9-]+$ + DisplayName: + type: string + maxLength: 64 + minLength: 1 + pattern: ^.+$ + IpAccessSettingsArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + NetworkSettingsArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + PortalArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + PortalEndpoint: + type: string + maxLength: 253 + minLength: 1 + pattern: ^[a-zA-Z0-9]?((?!-)([A-Za-z0-9-]*[A-Za-z0-9])\.)+[a-zA-Z0-9]+$ + PortalStatus: + $ref: '#/components/schemas/PortalStatus' + RendererType: + $ref: '#/components/schemas/RendererType' + ServiceProviderSamlMetadata: + type: string + maxLength: 204800 + minLength: 0 + pattern: ^.*$ + StatusReason: + type: string + maxLength: 1024 + minLength: 1 + pattern: .* + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-insertionOrder: false + TrustStoreArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + UserAccessLoggingSettingsArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + UserSettingsArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-stackQL-stringOnly: true + x-title: CreatePortalRequest + type: object + required: [] + CreateTrustStoreRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AssociatedPortalArns: + type: array + items: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-insertionOrder: false + CertificateList: + type: array + items: + type: string + x-insertionOrder: false + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-insertionOrder: false + TrustStoreArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-stackQL-stringOnly: true + x-title: CreateTrustStoreRequest + type: object + required: [] + CreateUserAccessLoggingSettingsRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AssociatedPortalArns: + type: array + items: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-insertionOrder: false + KinesisStreamArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: arn:[\w+=/,.@-]+:kinesis:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:stream/.+ + description: Kinesis stream ARN to which log events are published. + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-insertionOrder: false + UserAccessLoggingSettingsArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-stackQL-stringOnly: true + x-title: CreateUserAccessLoggingSettingsRequest + type: object + required: [] + CreateUserSettingsRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + AdditionalEncryptionContext: + $ref: '#/components/schemas/EncryptionContextMap' + AssociatedPortalArns: + type: array + items: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-insertionOrder: false + CookieSynchronizationConfiguration: + $ref: '#/components/schemas/CookieSynchronizationConfiguration' + CopyAllowed: + $ref: '#/components/schemas/EnabledType' + CustomerManagedKey: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:kms:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:key\/[a-zA-Z0-9-]+$ + DisconnectTimeoutInMinutes: + type: number + default: null + maximum: 600 + minimum: 1 + DownloadAllowed: + $ref: '#/components/schemas/EnabledType' + IdleDisconnectTimeoutInMinutes: + type: number + default: null + maximum: 60 + minimum: 0 + PasteAllowed: + $ref: '#/components/schemas/EnabledType' + PrintAllowed: + $ref: '#/components/schemas/EnabledType' + Tags: + type: array + items: + $ref: '#/components/schemas/Tag' + maxItems: 200 + minItems: 0 + x-insertionOrder: false + UploadAllowed: + $ref: '#/components/schemas/EnabledType' + UserSettingsArn: + type: string + maxLength: 2048 + minLength: 20 + pattern: ^arn:[\w+=\/,.@-]+:[a-zA-Z0-9\-]+:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:[a-zA-Z]+(\/[a-fA-F0-9\-]{36})+$ + x-stackQL-stringOnly: true + x-title: CreateUserSettingsRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -1347,6 +1806,7 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::BrowserSettings x-identifiers: - BrowserSettingsArn + x-type: get methods: update_resource: operation: @@ -1360,24 +1820,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WorkSpacesWeb::BrowserSettings" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/browser_settings/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/browser_settings/methods/delete_resource' - x-type: get config: views: select: @@ -1417,10 +1862,26 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::IdentityProvider x-identifiers: - IdentityProviderArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__IdentityProvider&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::WorkSpacesWeb::IdentityProvider" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1433,7 +1894,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/identity_providers/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/identity_providers/methods/delete_resource' config: views: select: @@ -1459,6 +1921,7 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::IdentityProvider x-identifiers: - IdentityProviderArn + x-type: get methods: update_resource: operation: @@ -1472,24 +1935,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WorkSpacesWeb::IdentityProvider" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/identity_provider/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/identity_provider/methods/delete_resource' - x-type: get config: views: select: @@ -1527,6 +1975,7 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::IpAccessSettings x-identifiers: - IpAccessSettingsArn + x-type: get methods: update_resource: operation: @@ -1540,24 +1989,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WorkSpacesWeb::IpAccessSettings" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/ip_access_settings/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/ip_access_settings/methods/delete_resource' - x-type: get config: views: select: @@ -1603,6 +2037,7 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::NetworkSettings x-identifiers: - NetworkSettingsArn + x-type: get methods: update_resource: operation: @@ -1616,24 +2051,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WorkSpacesWeb::NetworkSettings" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/network_settings/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/network_settings/methods/delete_resource' - x-type: get config: views: select: @@ -1673,10 +2093,26 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::Portal x-identifiers: - PortalArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Portal&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::WorkSpacesWeb::Portal" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1689,7 +2125,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/portals/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/portals/methods/delete_resource' config: views: select: @@ -1715,6 +2152,7 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::Portal x-identifiers: - PortalArn + x-type: get methods: update_resource: operation: @@ -1728,24 +2166,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WorkSpacesWeb::Portal" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/portal/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/portal/methods/delete_resource' - x-type: get config: views: select: @@ -1811,10 +2234,26 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::TrustStore x-identifiers: - TrustStoreArn + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState + operation: + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__TrustStore&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::WorkSpacesWeb::TrustStore" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -1827,7 +2266,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/trust_stores/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/trust_stores/methods/delete_resource' config: views: select: @@ -1853,6 +2293,7 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::TrustStore x-identifiers: - TrustStoreArn + x-type: get methods: update_resource: operation: @@ -1866,24 +2307,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WorkSpacesWeb::TrustStore" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/trust_store/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/trust_store/methods/delete_resource' - x-type: get config: views: select: @@ -1919,6 +2345,7 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::UserAccessLoggingSettings x-identifiers: - UserAccessLoggingSettingsArn + x-type: get methods: update_resource: operation: @@ -1932,24 +2359,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WorkSpacesWeb::UserAccessLoggingSettings" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/user_access_logging_settings/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/user_access_logging_settings/methods/delete_resource' - x-type: get config: views: select: @@ -1985,6 +2397,7 @@ components: x-cfn-type-name: AWS::WorkSpacesWeb::UserSettings x-identifiers: - UserSettingsArn + x-type: get methods: update_resource: operation: @@ -1998,24 +2411,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::WorkSpacesWeb::UserSettings" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/user_settings/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/user_settings/methods/delete_resource' - x-type: get config: views: select: @@ -2205,8 +2603,346 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__BrowserSettings&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateBrowserSettings + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateBrowserSettingsRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__IdentityProvider&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIdentityProvider + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIdentityProviderRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__IpAccessSettings&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateIpAccessSettings + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateIpAccessSettingsRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__NetworkSettings&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateNetworkSettings + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateNetworkSettingsRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__Portal&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreatePortal + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreatePortalRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__TrustStore&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateTrustStore + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateTrustStoreRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UserAccessLoggingSettings&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUserAccessLoggingSettings + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserAccessLoggingSettingsRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__UserSettings&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateUserSettings + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateUserSettingsRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body diff --git a/providers/src/aws/v00.00.00000/services/xray.yaml b/providers/src/aws/v00.00.00000/services/xray.yaml index 204e027a..b079d63b 100644 --- a/providers/src/aws/v00.00.00000/services/xray.yaml +++ b/providers/src/aws/v00.00.00000/services/xray.yaml @@ -627,6 +627,100 @@ components: RuleARN: description: The ARN of the sampling rule. Specify a rule by either name or ARN, but not both. type: string + CreateGroupRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + FilterExpression: + description: The filter expression defining criteria by which to group traces. + type: string + GroupName: + description: The case-sensitive name of the new group. Names must be unique. + type: string + minLength: 1 + maxLength: 32 + GroupARN: + description: The ARN of the group that was generated on creation. + type: string + minLength: 1 + maxLength: 400 + InsightsConfiguration: + $ref: '#/components/schemas/InsightsConfiguration' + Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateGroupRequest + type: object + required: [] + CreateResourcePolicyRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + PolicyName: + description: The name of the resource policy. Must be unique within a specific AWS account. + type: string + pattern: '[\w+=,.@-]+' + minLength: 1 + maxLength: 128 + PolicyDocument: + description: The resource policy document, which can be up to 5kb in size. + type: string + minLength: 1 + maxLength: 5120 + BypassPolicyLockoutCheck: + description: A flag to indicate whether to bypass the resource policy lockout safety check + type: boolean + x-stackQL-stringOnly: true + x-title: CreateResourcePolicyRequest + type: object + required: [] + CreateSamplingRuleRequest: + properties: + ClientToken: + type: string + RoleArn: + type: string + TypeName: + type: string + TypeVersionId: + type: string + DesiredState: + type: object + properties: + SamplingRule: + $ref: '#/components/schemas/SamplingRule' + SamplingRuleRecord: + $ref: '#/components/schemas/SamplingRuleRecord' + SamplingRuleUpdate: + $ref: '#/components/schemas/SamplingRuleUpdate' + RuleARN: + $ref: '#/components/schemas/RuleARN' + RuleName: + $ref: '#/components/schemas/RuleName' + Tags: + $ref: '#/components/schemas/Tags' + x-stackQL-stringOnly: true + x-title: CreateSamplingRuleRequest + type: object + required: [] securitySchemes: hmac: type: apiKey @@ -642,10 +736,26 @@ components: x-cfn-type-name: AWS::XRay::Group x-identifiers: - GroupARN + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__Group&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::XRay::Group" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -658,7 +768,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/groups/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/groups/methods/delete_resource' config: views: select: @@ -684,6 +795,7 @@ components: x-cfn-type-name: AWS::XRay::Group x-identifiers: - GroupARN + x-type: get methods: update_resource: operation: @@ -697,24 +809,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::XRay::Group" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/group/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/group/methods/delete_resource' - x-type: get config: views: select: @@ -752,10 +849,26 @@ components: x-cfn-type-name: AWS::XRay::ResourcePolicy x-identifiers: - PolicyName + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__ResourcePolicy&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::XRay::ResourcePolicy" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -768,7 +881,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/resource_policies/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/resource_policies/methods/delete_resource' config: views: select: @@ -794,6 +908,7 @@ components: x-cfn-type-name: AWS::XRay::ResourcePolicy x-identifiers: - PolicyName + x-type: get methods: update_resource: operation: @@ -807,24 +922,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::XRay::ResourcePolicy" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/resource_policy/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/resource_policy/methods/delete_resource' - x-type: get config: views: select: @@ -858,10 +958,26 @@ components: x-cfn-type-name: AWS::XRay::SamplingRule x-identifiers: - RuleARN + x-type: list methods: create_resource: + config: + requestBodyTranslate: + algorithm: naive_DesiredState operation: - $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30/post' + $ref: '#/paths/~1?Action=CreateResource&Version=2021-09-30&__SamplingRule&__detailTransformed=true/post' + request: + mediaType: application/x-amz-json-1.0 + base: |- + { + "TypeName": "AWS::XRay::SamplingRule" + } + response: + mediaType: application/json + openAPIDocKey: '200' + delete_resource: + operation: + $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' request: mediaType: application/x-amz-json-1.0 base: |- @@ -874,7 +990,8 @@ components: sqlVerbs: insert: - $ref: '#/components/x-stackQL-resources/sampling_rules/methods/create_resource' - x-type: list + delete: + - $ref: '#/components/x-stackQL-resources/sampling_rules/methods/delete_resource' config: views: select: @@ -900,6 +1017,7 @@ components: x-cfn-type-name: AWS::XRay::SamplingRule x-identifiers: - RuleARN + x-type: get methods: update_resource: operation: @@ -913,24 +1031,9 @@ components: response: mediaType: application/json openAPIDocKey: '200' - delete_resource: - operation: - $ref: '#/paths/~1?Action=DeleteResource&Version=2021-09-30/post' - request: - mediaType: application/x-amz-json-1.0 - base: |- - { - "TypeName": "AWS::XRay::SamplingRule" - } - response: - mediaType: application/json - openAPIDocKey: '200' sqlVerbs: update: - $ref: '#/components/x-stackQL-resources/sampling_rule/methods/update_resource' - delete: - - $ref: '#/components/x-stackQL-resources/sampling_rule/methods/delete_resource' - x-type: get config: views: select: @@ -1106,8 +1209,136 @@ paths: schema: $ref: '#/components/x-cloud-control-schemas/UpdateResourceOutput' description: Success + /?Action=CreateResource&Version=2021-09-30&__Group&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateGroup + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateGroupRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__ResourcePolicy&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateResourcePolicy + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateResourcePolicyRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success + /?Action=CreateResource&Version=2021-09-30&__SamplingRule&__detailTransformed=true: + parameters: + - $ref: '#/components/parameters/X-Amz-Content-Sha256' + - $ref: '#/components/parameters/X-Amz-Date' + - $ref: '#/components/parameters/X-Amz-Algorithm' + - $ref: '#/components/parameters/X-Amz-Credential' + - $ref: '#/components/parameters/X-Amz-Security-Token' + - $ref: '#/components/parameters/X-Amz-Signature' + - $ref: '#/components/parameters/X-Amz-SignedHeaders' + post: + operationId: CreateSamplingRule + parameters: + - description: Action Header + in: header + name: X-Amz-Target + required: false + schema: + default: CloudApiService.CreateResource + enum: + - CloudApiService.CreateResource + type: string + - in: header + name: Content-Type + required: false + schema: + default: application/x-amz-json-1.0 + enum: + - application/x-amz-json-1.0 + type: string + requestBody: + content: + application/x-amz-json-1.0: + schema: + $ref: '#/components/schemas/CreateSamplingRuleRequest' + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/x-cloud-control-schemas/ProgressEvent' + description: Success x-stackQL-config: pagination: + requestTranslate: + algorithm: drop_double_underscore_params requestToken: key: NextToken location: body