Socket
Socket
Sign inDemoInstall

@aws-sdk/client-amplify

Package Overview
Dependencies
Maintainers
5
Versions
401
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-amplify - npm Package Compare versions

Comparing version 3.515.0 to 3.517.0

15

dist-es/models/models_0.js

@@ -92,6 +92,12 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";

}
export const CertificateType = {
AMPLIFY_MANAGED: "AMPLIFY_MANAGED",
CUSTOM: "CUSTOM",
};
export const DomainStatus = {
AVAILABLE: "AVAILABLE",
AWAITING_APP_CNAME: "AWAITING_APP_CNAME",
CREATING: "CREATING",
FAILED: "FAILED",
IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE",
IN_PROGRESS: "IN_PROGRESS",

@@ -103,2 +109,11 @@ PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT",

};
export const UpdateStatus = {
AWAITING_APP_CNAME: "AWAITING_APP_CNAME",
IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE",
PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT",
PENDING_VERIFICATION: "PENDING_VERIFICATION",
REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE",
UPDATE_COMPLETE: "UPDATE_COMPLETE",
UPDATE_FAILED: "UPDATE_FAILED",
};
export const JobType = {

@@ -105,0 +120,0 @@ MANUAL: "MANUAL",

2

dist-es/protocols/Aws_restJson1.js

@@ -109,2 +109,3 @@ import { requestBuilder as rb } from "@smithy/core";

autoSubDomainIAMRole: [],
certificateSettings: (_) => _json(_),
domainName: [],

@@ -527,2 +528,3 @@ enableAutoSubDomain: [],

autoSubDomainIAMRole: [],
certificateSettings: (_) => _json(_),
enableAutoSubDomain: [],

@@ -529,0 +531,0 @@ subDomainSettings: (_) => _json(_),

4

dist-types/Amplify.d.ts

@@ -267,4 +267,4 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";

* <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
* Amplify Hosting provides a continuous delivery and hosting service for web
* applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
* Amplify Hosting provides a continuous delivery and hosting service for web applications.
* For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
* Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation

@@ -271,0 +271,0 @@ * for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>

@@ -193,4 +193,4 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";

* <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
* Amplify Hosting provides a continuous delivery and hosting service for web
* applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
* Amplify Hosting provides a continuous delivery and hosting service for web applications.
* For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
* Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation

@@ -197,0 +197,0 @@ * for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>

@@ -32,4 +32,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* <p>The maximum duration between the <code>CreateDeployment</code> call and the
* <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8 hours, the
* <code>StartDeployment</code> call and the associated <code>Job</code> will
* <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8
* hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will
* fail.</p>

@@ -36,0 +36,0 @@ * @example

@@ -29,3 +29,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* @public
* <p> Creates a new domain association for an Amplify app. This action associates a custom
* <p>Creates a new domain association for an Amplify app. This action associates a custom
* domain with the Amplify app </p>

@@ -52,2 +52,6 @@ * @example

* autoSubDomainIAMRole: "STRING_VALUE",
* certificateSettings: { // CertificateSettings
* type: "AMPLIFY_MANAGED" || "CUSTOM", // required
* customCertificateArn: "STRING_VALUE",
* },
* };

@@ -65,3 +69,4 @@ * const command = new CreateDomainAssociationCommand(input);

* // autoSubDomainIAMRole: "STRING_VALUE",
* // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "PENDING_DEPLOYMENT" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
* // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "IMPORTING_CUSTOM_CERTIFICATE" || "PENDING_DEPLOYMENT" || "AWAITING_APP_CNAME" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
* // updateStatus: "REQUESTING_CERTIFICATE" || "PENDING_VERIFICATION" || "IMPORTING_CUSTOM_CERTIFICATE" || "PENDING_DEPLOYMENT" || "AWAITING_APP_CNAME" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
* // statusReason: "STRING_VALUE", // required

@@ -79,2 +84,7 @@ * // certificateVerificationDNSRecord: "STRING_VALUE",

* // ],
* // certificate: { // Certificate
* // type: "AMPLIFY_MANAGED" || "CUSTOM", // required
* // customCertificateArn: "STRING_VALUE",
* // certificateVerificationDNSRecord: "STRING_VALUE",
* // },
* // },

@@ -81,0 +91,0 @@ * // };

@@ -29,3 +29,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* @public
* <p> Deletes a domain association for an Amplify app. </p>
* <p>Deletes a domain association for an Amplify app. </p>
* @example

@@ -52,3 +52,4 @@ * Use a bare-bones client and the command you need to make an API call.

* // autoSubDomainIAMRole: "STRING_VALUE",
* // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "PENDING_DEPLOYMENT" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
* // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "IMPORTING_CUSTOM_CERTIFICATE" || "PENDING_DEPLOYMENT" || "AWAITING_APP_CNAME" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
* // updateStatus: "REQUESTING_CERTIFICATE" || "PENDING_VERIFICATION" || "IMPORTING_CUSTOM_CERTIFICATE" || "PENDING_DEPLOYMENT" || "AWAITING_APP_CNAME" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
* // statusReason: "STRING_VALUE", // required

@@ -66,2 +67,7 @@ * // certificateVerificationDNSRecord: "STRING_VALUE",

* // ],
* // certificate: { // Certificate
* // type: "AMPLIFY_MANAGED" || "CUSTOM", // required
* // customCertificateArn: "STRING_VALUE",
* // certificateVerificationDNSRecord: "STRING_VALUE",
* // },
* // },

@@ -68,0 +74,0 @@ * // };

@@ -29,3 +29,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* @public
* <p> Returns the domain information for an Amplify app. </p>
* <p>Returns the domain information for an Amplify app. </p>
* @example

@@ -52,3 +52,4 @@ * Use a bare-bones client and the command you need to make an API call.

* // autoSubDomainIAMRole: "STRING_VALUE",
* // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "PENDING_DEPLOYMENT" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
* // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "IMPORTING_CUSTOM_CERTIFICATE" || "PENDING_DEPLOYMENT" || "AWAITING_APP_CNAME" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
* // updateStatus: "REQUESTING_CERTIFICATE" || "PENDING_VERIFICATION" || "IMPORTING_CUSTOM_CERTIFICATE" || "PENDING_DEPLOYMENT" || "AWAITING_APP_CNAME" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
* // statusReason: "STRING_VALUE", // required

@@ -66,2 +67,7 @@ * // certificateVerificationDNSRecord: "STRING_VALUE",

* // ],
* // certificate: { // Certificate
* // type: "AMPLIFY_MANAGED" || "CUSTOM", // required
* // customCertificateArn: "STRING_VALUE",
* // certificateVerificationDNSRecord: "STRING_VALUE",
* // },
* // },

@@ -68,0 +74,0 @@ * // };

@@ -29,3 +29,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* @public
* <p> Returns the domain associations for an Amplify app. </p>
* <p>Returns the domain associations for an Amplify app. </p>
* @example

@@ -54,3 +54,4 @@ * Use a bare-bones client and the command you need to make an API call.

* // autoSubDomainIAMRole: "STRING_VALUE",
* // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "PENDING_DEPLOYMENT" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
* // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "IMPORTING_CUSTOM_CERTIFICATE" || "PENDING_DEPLOYMENT" || "AWAITING_APP_CNAME" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
* // updateStatus: "REQUESTING_CERTIFICATE" || "PENDING_VERIFICATION" || "IMPORTING_CUSTOM_CERTIFICATE" || "PENDING_DEPLOYMENT" || "AWAITING_APP_CNAME" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
* // statusReason: "STRING_VALUE", // required

@@ -68,2 +69,7 @@ * // certificateVerificationDNSRecord: "STRING_VALUE",

* // ],
* // certificate: { // Certificate
* // type: "AMPLIFY_MANAGED" || "CUSTOM", // required
* // customCertificateArn: "STRING_VALUE",
* // certificateVerificationDNSRecord: "STRING_VALUE",
* // },
* // },

@@ -70,0 +76,0 @@ * // ],

@@ -32,4 +32,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* <p>The maximum duration between the <code>CreateDeployment</code> call and the
* <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8 hours, the
* <code>StartDeployment</code> call and the associated <code>Job</code> will
* <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8
* hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will
* fail.</p>

@@ -36,0 +36,0 @@ * @example

@@ -29,3 +29,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* @public
* <p> Creates a new domain association for an Amplify app.</p>
* <p>Creates a new domain association for an Amplify app.</p>
* @example

@@ -51,2 +51,6 @@ * Use a bare-bones client and the command you need to make an API call.

* autoSubDomainIAMRole: "STRING_VALUE",
* certificateSettings: { // CertificateSettings
* type: "AMPLIFY_MANAGED" || "CUSTOM", // required
* customCertificateArn: "STRING_VALUE",
* },
* };

@@ -64,3 +68,4 @@ * const command = new UpdateDomainAssociationCommand(input);

* // autoSubDomainIAMRole: "STRING_VALUE",
* // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "PENDING_DEPLOYMENT" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
* // domainStatus: "PENDING_VERIFICATION" || "IN_PROGRESS" || "AVAILABLE" || "IMPORTING_CUSTOM_CERTIFICATE" || "PENDING_DEPLOYMENT" || "AWAITING_APP_CNAME" || "FAILED" || "CREATING" || "REQUESTING_CERTIFICATE" || "UPDATING", // required
* // updateStatus: "REQUESTING_CERTIFICATE" || "PENDING_VERIFICATION" || "IMPORTING_CUSTOM_CERTIFICATE" || "PENDING_DEPLOYMENT" || "AWAITING_APP_CNAME" || "UPDATE_COMPLETE" || "UPDATE_FAILED",
* // statusReason: "STRING_VALUE", // required

@@ -78,2 +83,7 @@ * // certificateVerificationDNSRecord: "STRING_VALUE",

* // ],
* // certificate: { // Certificate
* // type: "AMPLIFY_MANAGED" || "CUSTOM", // required
* // customCertificateArn: "STRING_VALUE",
* // certificateVerificationDNSRecord: "STRING_VALUE",
* // },
* // },

@@ -80,0 +90,0 @@ * // };

/**
* <p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
* Amplify Hosting provides a continuous delivery and hosting service for web
* applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
* Amplify Hosting provides a continuous delivery and hosting service for web applications.
* For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
* Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation

@@ -6,0 +6,0 @@ * for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>

@@ -225,2 +225,12 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";

}
export declare const CertificateType: {
readonly AMPLIFY_MANAGED: "AMPLIFY_MANAGED";
readonly CUSTOM: "CUSTOM";
};
export type CertificateType =
(typeof CertificateType)[keyof typeof CertificateType];
export interface CertificateSettings {
type: CertificateType | undefined;
customCertificateArn?: string;
}
export interface SubDomainSetting {

@@ -237,7 +247,15 @@ prefix: string | undefined;

autoSubDomainIAMRole?: string;
certificateSettings?: CertificateSettings;
}
export interface Certificate {
type: CertificateType | undefined;
customCertificateArn?: string;
certificateVerificationDNSRecord?: string;
}
export declare const DomainStatus: {
readonly AVAILABLE: "AVAILABLE";
readonly AWAITING_APP_CNAME: "AWAITING_APP_CNAME";
readonly CREATING: "CREATING";
readonly FAILED: "FAILED";
readonly IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE";
readonly IN_PROGRESS: "IN_PROGRESS";

@@ -255,2 +273,12 @@ readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";

}
export declare const UpdateStatus: {
readonly AWAITING_APP_CNAME: "AWAITING_APP_CNAME";
readonly IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE";
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
readonly UPDATE_FAILED: "UPDATE_FAILED";
};
export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
export interface DomainAssociation {

@@ -263,5 +291,7 @@ domainAssociationArn: string | undefined;

domainStatus: DomainStatus | undefined;
updateStatus?: UpdateStatus;
statusReason: string | undefined;
certificateVerificationDNSRecord?: string;
subDomains: SubDomain[] | undefined;
certificate?: Certificate;
}

@@ -609,2 +639,3 @@ export interface CreateDomainAssociationResult {

autoSubDomainIAMRole?: string;
certificateSettings?: CertificateSettings;
}

@@ -611,0 +642,0 @@ export interface UpdateDomainAssociationResult {

{
"name": "@aws-sdk/client-amplify",
"description": "AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native",
"version": "3.515.0",
"version": "3.517.0",
"scripts": {

@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

@@ -10,4 +10,4 @@ <!-- generated file, do not edit directly -->

<p>Amplify enables developers to develop and deploy cloud-powered mobile and web apps.
Amplify Hosting provides a continuous delivery and hosting service for web
applications. For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
Amplify Hosting provides a continuous delivery and hosting service for web applications.
For more information, see the <a href="https://docs.aws.amazon.com/amplify/latest/userguide/welcome.html">Amplify Hosting User Guide</a>. The
Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation

@@ -14,0 +14,0 @@ for client app development. For more information, see the <a href="https://docs.amplify.aws/">Amplify Framework.</a>

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc