diff --git a/README.md b/README.md index ed5389f..8ca1458 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,31 @@ The only required input is `project-name`. the one defined here replaces the one in the CodeBuild project. For a list of CodeBuild environment variables, see +1. **update-interval** (optional) : + Update interval as seconds for how often the API is called to check on the status. + + A higher value mitigates the chance of hitting API rate-limiting especially when + running many instances of this action in parallel, but also introduces a larger + potential time overhead (ranging from 0 to update interval) for the action to + fetch the build result and finish. + + Lower value limits the potential time overhead worst case but it may hit the API + rate-limit more often, depending on the use-case. + + The default value is 30. + +1. **update-back-off** (optional) : + Base back-off time in seconds for the update interval. + + When API rate-limiting is hit the back-off time, augmented with jitter, will be + added to the next update interval. + E.g. with update interval of 30 and back-off time of 15, upon hitting the rate-limit + the next interval for the update call will be 30 + random_between(0, 15 _ 2 \*\* 0)) + seconds and if the rate-limit is hit again the next interval will be + 30 + random_between(0, 15 _ 2 \*\* 1) and so on. + + The default value is 15. + ### Outputs 1. **aws-build-id** : The CodeBuild build ID of the build that the action ran. diff --git a/action.yml b/action.yml index ac05253..0e647ce 100644 --- a/action.yml +++ b/action.yml @@ -22,6 +22,13 @@ inputs: env-vars-for-codebuild: description: 'Comma separated list of environment variables to send to CodeBuild' required: false + update-interval: + description: 'How often the action calls the API for updates' + required: false + update-back-off: + description: 'Base back-off time for the update calls for API if rate-limiting is encountered' + required: false + outputs: aws-build-id: description: 'The AWS CodeBuild Build ID for this build.' diff --git a/code-build.js b/code-build.js index fae10d6..4cec993 100644 --- a/code-build.js +++ b/code-build.js @@ -20,34 +20,37 @@ function runBuild() { // get a codeBuild instance from the SDK const sdk = buildSdk(); + const inputs = githubInputs(); + + const config = (({ updateInterval, updateBackOff }) => ({ + updateInterval, + updateBackOff, + }))(inputs); + // Get input options for startBuild - const params = inputs2Parameters(githubInputs()); + const params = inputs2Parameters(inputs); - return build(sdk, params); + return build(sdk, params, config); } -async function build(sdk, params) { +async function build(sdk, params, config) { // Start the build const start = await sdk.codeBuild.startBuild(params).promise(); // Wait for the build to "complete" - return waitForBuildEndTime(sdk, start.build); + return waitForBuildEndTime(sdk, start.build, config); } async function waitForBuildEndTime( sdk, { id, logs }, + { updateInterval, updateBackOff }, seqEmptyLogs, totalEvents, throttleCount, nextToken ) { - const { - codeBuild, - cloudWatchLogs, - wait = 1000 * 30, - backOff = 1000 * 15, - } = sdk; + const { codeBuild, cloudWatchLogs } = sdk; totalEvents = totalEvents || 0; seqEmptyLogs = seqEmptyLogs || 0; @@ -86,8 +89,11 @@ async function waitForBuildEndTime( if (errObject) { //We caught an error in trying to make the AWS api call, and are now checking to see if it was just a rate limiting error if (errObject.message && errObject.message.search("Rate exceeded") !== -1) { - //We were rate-limited, so add `backOff` seconds to the wait time - let newWait = wait + backOff; + // We were rate-limited, so add backoff with Full Jitter, ref: https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/ + let jitteredBackOff = Math.floor( + Math.random() * (updateBackOff * 2 ** throttleCount) + ); + let newWait = updateInterval + jitteredBackOff; throttleCount++; //Sleep before trying again @@ -95,8 +101,9 @@ async function waitForBuildEndTime( // Try again from the same token position return waitForBuildEndTime( - { ...sdk, wait: newWait }, + { ...sdk }, { id, logs }, + { updateInterval: newWait, updateBackOff }, seqEmptyLogs, totalEvents, throttleCount, @@ -136,13 +143,19 @@ async function waitForBuildEndTime( // More to do: Sleep for a few seconds to avoid rate limiting // If never throttled and build is complete, halve CWL polling delay to minimize latency await new Promise((resolve) => - setTimeout(resolve, current.endTime && throttleCount == 0 ? wait / 2 : wait) + setTimeout( + resolve, + current.endTime && throttleCount == 0 + ? updateInterval / 2 + : updateInterval + ) ); // Try again return waitForBuildEndTime( sdk, current, + { updateInterval, updateBackOff }, seqEmptyLogs, totalEvents, throttleCount, @@ -173,8 +186,9 @@ function githubInputs() { core.getInput("compute-type-override", { required: false }) || undefined; const environmentTypeOverride = - core.getInput("environment-type-override", { required: false }) || undefined; - const imageOverride = + core.getInput("environment-type-override", { required: false }) || + undefined; + const imageOverride = core.getInput("image-override", { required: false }) || undefined; const envPassthrough = core @@ -183,6 +197,17 @@ function githubInputs() { .map((i) => i.trim()) .filter((i) => i !== ""); + const updateInterval = + parseInt( + core.getInput("update-interval", { required: false }) || "30", + 10 + ) * 1000; + const updateBackOff = + parseInt( + core.getInput("update-back-off", { required: false }) || "15", + 10 + ) * 1000; + return { projectName, owner, @@ -193,6 +218,8 @@ function githubInputs() { environmentTypeOverride, imageOverride, envPassthrough, + updateInterval, + updateBackOff, }; } diff --git a/dist/index.js b/dist/index.js index 2f200d1..fe7c114 100644 --- a/dist/index.js +++ b/dist/index.js @@ -207,6 +207,12 @@ module.exports = /******/ (function (modules, runtime) { output_token: "NextToken", result_key: "CapacityReservations", }, + DescribeCarrierGateways: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "CarrierGateways", + }, DescribeClassicLinkInstances: { input_token: "NextToken", limit_key: "MaxResults", @@ -423,6 +429,12 @@ module.exports = /******/ (function (modules, runtime) { output_token: "NextToken", result_key: "LocalGateways", }, + DescribeManagedPrefixLists: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "PrefixLists", + }, DescribeMovingAddresses: { input_token: "NextToken", limit_key: "MaxResults", @@ -441,6 +453,18 @@ module.exports = /******/ (function (modules, runtime) { output_token: "NextToken", result_key: "NetworkAcls", }, + DescribeNetworkInsightsAnalyses: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "NetworkInsightsAnalyses", + }, + DescribeNetworkInsightsPaths: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "NetworkInsightsPaths", + }, DescribeNetworkInterfacePermissions: { input_token: "NextToken", limit_key: "MaxResults", @@ -578,6 +602,18 @@ module.exports = /******/ (function (modules, runtime) { output_token: "NextToken", result_key: "TransitGatewayAttachments", }, + DescribeTransitGatewayConnectPeers: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "TransitGatewayConnectPeers", + }, + DescribeTransitGatewayConnects: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "TransitGatewayConnects", + }, DescribeTransitGatewayMulticastDomains: { input_token: "NextToken", limit_key: "MaxResults", @@ -682,6 +718,24 @@ module.exports = /******/ (function (modules, runtime) { output_token: "NextToken", result_key: "Ipv6CidrAssociations", }, + GetGroupsForCapacityReservation: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "CapacityReservationGroups", + }, + GetManagedPrefixListAssociations: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "PrefixListAssociations", + }, + GetManagedPrefixListEntries: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Entries", + }, GetTransitGatewayAttachmentPropagations: { input_token: "NextToken", limit_key: "MaxResults", @@ -694,6 +748,12 @@ module.exports = /******/ (function (modules, runtime) { output_token: "NextToken", result_key: "MulticastDomainAssociations", }, + GetTransitGatewayPrefixListReferences: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "TransitGatewayPrefixListReferences", + }, GetTransitGatewayRouteTableAssociations: { input_token: "NextToken", limit_key: "MaxResults", @@ -724,6 +784,1137 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 52: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2020-11-19", + endpointPrefix: "geo", + jsonVersion: "1.1", + protocol: "rest-json", + serviceFullName: "Amazon Location Service", + serviceId: "Location", + signatureVersion: "v4", + signingName: "geo", + uid: "location-2020-11-19", + }, + operations: { + AssociateTrackerConsumer: { + http: { + requestUri: "/tracking/v0/trackers/{TrackerName}/consumers", + responseCode: 200, + }, + input: { + type: "structure", + required: ["ConsumerArn", "TrackerName"], + members: { + ConsumerArn: {}, + TrackerName: { location: "uri", locationName: "TrackerName" }, + }, + }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "tracking." }, + }, + BatchDeleteGeofence: { + http: { + requestUri: + "/geofencing/v0/collections/{CollectionName}/delete-geofences", + responseCode: 200, + }, + input: { + type: "structure", + required: ["CollectionName", "GeofenceIds"], + members: { + CollectionName: { + location: "uri", + locationName: "CollectionName", + }, + GeofenceIds: { type: "list", member: {} }, + }, + }, + output: { + type: "structure", + required: ["Errors"], + members: { + Errors: { + type: "list", + member: { + type: "structure", + required: ["Error", "GeofenceId"], + members: { Error: { shape: "Sb" }, GeofenceId: {} }, + }, + }, + }, + }, + endpoint: { hostPrefix: "geofencing." }, + }, + BatchEvaluateGeofences: { + http: { + requestUri: + "/geofencing/v0/collections/{CollectionName}/positions", + responseCode: 200, + }, + input: { + type: "structure", + required: ["CollectionName", "DevicePositionUpdates"], + members: { + CollectionName: { + location: "uri", + locationName: "CollectionName", + }, + DevicePositionUpdates: { + type: "list", + member: { shape: "Sg" }, + }, + }, + }, + output: { + type: "structure", + required: ["Errors"], + members: { + Errors: { + type: "list", + member: { + type: "structure", + required: ["DeviceId", "Error", "SampleTime"], + members: { + DeviceId: {}, + Error: { shape: "Sb" }, + SampleTime: { shape: "Sj" }, + }, + }, + }, + }, + }, + endpoint: { hostPrefix: "geofencing." }, + }, + BatchGetDevicePosition: { + http: { + requestUri: "/tracking/v0/trackers/{TrackerName}/get-positions", + responseCode: 200, + }, + input: { + type: "structure", + required: ["DeviceIds", "TrackerName"], + members: { + DeviceIds: { type: "list", member: {} }, + TrackerName: { location: "uri", locationName: "TrackerName" }, + }, + }, + output: { + type: "structure", + required: ["DevicePositions", "Errors"], + members: { + DevicePositions: { shape: "Sr" }, + Errors: { + type: "list", + member: { + type: "structure", + required: ["DeviceId", "Error"], + members: { DeviceId: {}, Error: { shape: "Sb" } }, + }, + }, + }, + }, + endpoint: { hostPrefix: "tracking." }, + }, + BatchPutGeofence: { + http: { + requestUri: + "/geofencing/v0/collections/{CollectionName}/put-geofences", + responseCode: 200, + }, + input: { + type: "structure", + required: ["CollectionName", "Entries"], + members: { + CollectionName: { + location: "uri", + locationName: "CollectionName", + }, + Entries: { + type: "list", + member: { + type: "structure", + required: ["GeofenceId", "Geometry"], + members: { GeofenceId: {}, Geometry: { shape: "Sy" } }, + }, + }, + }, + }, + output: { + type: "structure", + required: ["Errors", "Successes"], + members: { + Errors: { + type: "list", + member: { + type: "structure", + required: ["Error", "GeofenceId"], + members: { Error: { shape: "Sb" }, GeofenceId: {} }, + }, + }, + Successes: { + type: "list", + member: { + type: "structure", + required: ["CreateTime", "GeofenceId", "UpdateTime"], + members: { + CreateTime: { shape: "Sj" }, + GeofenceId: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + }, + }, + }, + endpoint: { hostPrefix: "geofencing." }, + }, + BatchUpdateDevicePosition: { + http: { + requestUri: "/tracking/v0/trackers/{TrackerName}/positions", + responseCode: 200, + }, + input: { + type: "structure", + required: ["TrackerName", "Updates"], + members: { + TrackerName: { location: "uri", locationName: "TrackerName" }, + Updates: { type: "list", member: { shape: "Sg" } }, + }, + }, + output: { + type: "structure", + required: ["Errors"], + members: { + Errors: { + type: "list", + member: { + type: "structure", + required: ["DeviceId", "Error", "SampleTime"], + members: { + DeviceId: {}, + Error: { shape: "Sb" }, + SampleTime: { shape: "Sj" }, + }, + }, + }, + }, + }, + endpoint: { hostPrefix: "tracking." }, + }, + CreateGeofenceCollection: { + http: { + requestUri: "/geofencing/v0/collections", + responseCode: 200, + }, + input: { + type: "structure", + required: ["CollectionName", "PricingPlan"], + members: { CollectionName: {}, Description: {}, PricingPlan: {} }, + }, + output: { + type: "structure", + required: ["CollectionArn", "CollectionName", "CreateTime"], + members: { + CollectionArn: {}, + CollectionName: {}, + CreateTime: { shape: "Sj" }, + }, + }, + endpoint: { hostPrefix: "geofencing." }, + idempotent: true, + }, + CreateMap: { + http: { requestUri: "/maps/v0/maps", responseCode: 200 }, + input: { + type: "structure", + required: ["Configuration", "MapName", "PricingPlan"], + members: { + Configuration: { shape: "S1g" }, + Description: {}, + MapName: {}, + PricingPlan: {}, + }, + }, + output: { + type: "structure", + required: ["CreateTime", "MapArn", "MapName"], + members: { CreateTime: { shape: "Sj" }, MapArn: {}, MapName: {} }, + }, + endpoint: { hostPrefix: "maps." }, + idempotent: true, + }, + CreatePlaceIndex: { + http: { requestUri: "/places/v0/indexes", responseCode: 200 }, + input: { + type: "structure", + required: ["DataSource", "IndexName", "PricingPlan"], + members: { + DataSource: {}, + DataSourceConfiguration: { shape: "S1k" }, + Description: {}, + IndexName: {}, + PricingPlan: {}, + }, + }, + output: { + type: "structure", + required: ["CreateTime", "IndexArn", "IndexName"], + members: { + CreateTime: { shape: "Sj" }, + IndexArn: {}, + IndexName: {}, + }, + }, + endpoint: { hostPrefix: "places." }, + idempotent: true, + }, + CreateTracker: { + http: { requestUri: "/tracking/v0/trackers", responseCode: 200 }, + input: { + type: "structure", + required: ["PricingPlan", "TrackerName"], + members: { Description: {}, PricingPlan: {}, TrackerName: {} }, + }, + output: { + type: "structure", + required: ["CreateTime", "TrackerArn", "TrackerName"], + members: { + CreateTime: { shape: "Sj" }, + TrackerArn: {}, + TrackerName: {}, + }, + }, + endpoint: { hostPrefix: "tracking." }, + idempotent: true, + }, + DeleteGeofenceCollection: { + http: { + method: "DELETE", + requestUri: "/geofencing/v0/collections/{CollectionName}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["CollectionName"], + members: { + CollectionName: { + location: "uri", + locationName: "CollectionName", + }, + }, + }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "geofencing." }, + idempotent: true, + }, + DeleteMap: { + http: { + method: "DELETE", + requestUri: "/maps/v0/maps/{MapName}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["MapName"], + members: { + MapName: { location: "uri", locationName: "MapName" }, + }, + }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "maps." }, + idempotent: true, + }, + DeletePlaceIndex: { + http: { + method: "DELETE", + requestUri: "/places/v0/indexes/{IndexName}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["IndexName"], + members: { + IndexName: { location: "uri", locationName: "IndexName" }, + }, + }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "places." }, + idempotent: true, + }, + DeleteTracker: { + http: { + method: "DELETE", + requestUri: "/tracking/v0/trackers/{TrackerName}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["TrackerName"], + members: { + TrackerName: { location: "uri", locationName: "TrackerName" }, + }, + }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "tracking." }, + idempotent: true, + }, + DescribeGeofenceCollection: { + http: { + method: "GET", + requestUri: "/geofencing/v0/collections/{CollectionName}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["CollectionName"], + members: { + CollectionName: { + location: "uri", + locationName: "CollectionName", + }, + }, + }, + output: { + type: "structure", + required: [ + "CollectionArn", + "CollectionName", + "CreateTime", + "Description", + "UpdateTime", + ], + members: { + CollectionArn: {}, + CollectionName: {}, + CreateTime: { shape: "Sj" }, + Description: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + endpoint: { hostPrefix: "geofencing." }, + }, + DescribeMap: { + http: { + method: "GET", + requestUri: "/maps/v0/maps/{MapName}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["MapName"], + members: { + MapName: { location: "uri", locationName: "MapName" }, + }, + }, + output: { + type: "structure", + required: [ + "Configuration", + "CreateTime", + "DataSource", + "Description", + "MapArn", + "MapName", + "UpdateTime", + ], + members: { + Configuration: { shape: "S1g" }, + CreateTime: { shape: "Sj" }, + DataSource: {}, + Description: {}, + MapArn: {}, + MapName: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + endpoint: { hostPrefix: "maps." }, + }, + DescribePlaceIndex: { + http: { + method: "GET", + requestUri: "/places/v0/indexes/{IndexName}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["IndexName"], + members: { + IndexName: { location: "uri", locationName: "IndexName" }, + }, + }, + output: { + type: "structure", + required: [ + "CreateTime", + "DataSource", + "DataSourceConfiguration", + "Description", + "IndexArn", + "IndexName", + "UpdateTime", + ], + members: { + CreateTime: { shape: "Sj" }, + DataSource: {}, + DataSourceConfiguration: { shape: "S1k" }, + Description: {}, + IndexArn: {}, + IndexName: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + endpoint: { hostPrefix: "places." }, + }, + DescribeTracker: { + http: { + method: "GET", + requestUri: "/tracking/v0/trackers/{TrackerName}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["TrackerName"], + members: { + TrackerName: { location: "uri", locationName: "TrackerName" }, + }, + }, + output: { + type: "structure", + required: [ + "CreateTime", + "Description", + "TrackerArn", + "TrackerName", + "UpdateTime", + ], + members: { + CreateTime: { shape: "Sj" }, + Description: {}, + TrackerArn: {}, + TrackerName: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + endpoint: { hostPrefix: "tracking." }, + }, + DisassociateTrackerConsumer: { + http: { + method: "DELETE", + requestUri: + "/tracking/v0/trackers/{TrackerName}/consumers/{ConsumerArn}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["ConsumerArn", "TrackerName"], + members: { + ConsumerArn: { location: "uri", locationName: "ConsumerArn" }, + TrackerName: { location: "uri", locationName: "TrackerName" }, + }, + }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "tracking." }, + }, + GetDevicePosition: { + http: { + method: "GET", + requestUri: + "/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/positions/latest", + responseCode: 200, + }, + input: { + type: "structure", + required: ["DeviceId", "TrackerName"], + members: { + DeviceId: { location: "uri", locationName: "DeviceId" }, + TrackerName: { location: "uri", locationName: "TrackerName" }, + }, + }, + output: { + type: "structure", + required: ["Position", "ReceivedTime", "SampleTime"], + members: { + DeviceId: {}, + Position: { shape: "Sh" }, + ReceivedTime: { shape: "Sj" }, + SampleTime: { shape: "Sj" }, + }, + }, + endpoint: { hostPrefix: "tracking." }, + }, + GetDevicePositionHistory: { + http: { + requestUri: + "/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/list-positions", + responseCode: 200, + }, + input: { + type: "structure", + required: ["DeviceId", "TrackerName"], + members: { + DeviceId: { location: "uri", locationName: "DeviceId" }, + EndTimeExclusive: { shape: "Sj" }, + NextToken: {}, + StartTimeInclusive: { shape: "Sj" }, + TrackerName: { location: "uri", locationName: "TrackerName" }, + }, + }, + output: { + type: "structure", + required: ["DevicePositions"], + members: { DevicePositions: { shape: "Sr" }, NextToken: {} }, + }, + endpoint: { hostPrefix: "tracking." }, + }, + GetGeofence: { + http: { + method: "GET", + requestUri: + "/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["CollectionName", "GeofenceId"], + members: { + CollectionName: { + location: "uri", + locationName: "CollectionName", + }, + GeofenceId: { location: "uri", locationName: "GeofenceId" }, + }, + }, + output: { + type: "structure", + required: [ + "CreateTime", + "GeofenceId", + "Geometry", + "Status", + "UpdateTime", + ], + members: { + CreateTime: { shape: "Sj" }, + GeofenceId: {}, + Geometry: { shape: "Sy" }, + Status: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + endpoint: { hostPrefix: "geofencing." }, + }, + GetMapGlyphs: { + http: { + method: "GET", + requestUri: + "/maps/v0/maps/{MapName}/glyphs/{FontStack}/{FontUnicodeRange}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["FontStack", "FontUnicodeRange", "MapName"], + members: { + FontStack: { location: "uri", locationName: "FontStack" }, + FontUnicodeRange: { + location: "uri", + locationName: "FontUnicodeRange", + }, + MapName: { location: "uri", locationName: "MapName" }, + }, + }, + output: { + type: "structure", + members: { + Blob: { type: "blob" }, + ContentType: { + location: "header", + locationName: "Content-Type", + }, + }, + payload: "Blob", + }, + endpoint: { hostPrefix: "maps." }, + }, + GetMapSprites: { + http: { + method: "GET", + requestUri: "/maps/v0/maps/{MapName}/sprites/{FileName}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["FileName", "MapName"], + members: { + FileName: { location: "uri", locationName: "FileName" }, + MapName: { location: "uri", locationName: "MapName" }, + }, + }, + output: { + type: "structure", + members: { + Blob: { type: "blob" }, + ContentType: { + location: "header", + locationName: "Content-Type", + }, + }, + payload: "Blob", + }, + endpoint: { hostPrefix: "maps." }, + }, + GetMapStyleDescriptor: { + http: { + method: "GET", + requestUri: "/maps/v0/maps/{MapName}/style-descriptor", + responseCode: 200, + }, + input: { + type: "structure", + required: ["MapName"], + members: { + MapName: { location: "uri", locationName: "MapName" }, + }, + }, + output: { + type: "structure", + members: { + Blob: { type: "blob" }, + ContentType: { + location: "header", + locationName: "Content-Type", + }, + }, + payload: "Blob", + }, + endpoint: { hostPrefix: "maps." }, + }, + GetMapTile: { + http: { + method: "GET", + requestUri: "/maps/v0/maps/{MapName}/tiles/{Z}/{X}/{Y}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["MapName", "X", "Y", "Z"], + members: { + MapName: { location: "uri", locationName: "MapName" }, + X: { location: "uri", locationName: "X" }, + Y: { location: "uri", locationName: "Y" }, + Z: { location: "uri", locationName: "Z" }, + }, + }, + output: { + type: "structure", + members: { + Blob: { type: "blob" }, + ContentType: { + location: "header", + locationName: "Content-Type", + }, + }, + payload: "Blob", + }, + endpoint: { hostPrefix: "maps." }, + }, + ListGeofenceCollections: { + http: { + requestUri: "/geofencing/v0/list-collections", + responseCode: 200, + }, + input: { + type: "structure", + members: { MaxResults: { type: "integer" }, NextToken: {} }, + }, + output: { + type: "structure", + required: ["Entries"], + members: { + Entries: { + type: "list", + member: { + type: "structure", + required: [ + "CollectionName", + "CreateTime", + "Description", + "UpdateTime", + ], + members: { + CollectionName: {}, + CreateTime: { shape: "Sj" }, + Description: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + }, + NextToken: {}, + }, + }, + endpoint: { hostPrefix: "geofencing." }, + }, + ListGeofences: { + http: { + requestUri: + "/geofencing/v0/collections/{CollectionName}/list-geofences", + responseCode: 200, + }, + input: { + type: "structure", + required: ["CollectionName"], + members: { + CollectionName: { + location: "uri", + locationName: "CollectionName", + }, + NextToken: {}, + }, + }, + output: { + type: "structure", + required: ["Entries"], + members: { + Entries: { + type: "list", + member: { + type: "structure", + required: [ + "CreateTime", + "GeofenceId", + "Geometry", + "Status", + "UpdateTime", + ], + members: { + CreateTime: { shape: "Sj" }, + GeofenceId: {}, + Geometry: { shape: "Sy" }, + Status: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + }, + NextToken: {}, + }, + }, + endpoint: { hostPrefix: "geofencing." }, + }, + ListMaps: { + http: { requestUri: "/maps/v0/list-maps", responseCode: 200 }, + input: { + type: "structure", + members: { MaxResults: { type: "integer" }, NextToken: {} }, + }, + output: { + type: "structure", + required: ["Entries"], + members: { + Entries: { + type: "list", + member: { + type: "structure", + required: [ + "CreateTime", + "DataSource", + "Description", + "MapName", + "UpdateTime", + ], + members: { + CreateTime: { shape: "Sj" }, + DataSource: {}, + Description: {}, + MapName: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + }, + NextToken: {}, + }, + }, + endpoint: { hostPrefix: "maps." }, + }, + ListPlaceIndexes: { + http: { requestUri: "/places/v0/list-indexes", responseCode: 200 }, + input: { + type: "structure", + members: { MaxResults: { type: "integer" }, NextToken: {} }, + }, + output: { + type: "structure", + required: ["Entries"], + members: { + Entries: { + type: "list", + member: { + type: "structure", + required: [ + "CreateTime", + "DataSource", + "Description", + "IndexName", + "UpdateTime", + ], + members: { + CreateTime: { shape: "Sj" }, + DataSource: {}, + Description: {}, + IndexName: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + }, + NextToken: {}, + }, + }, + endpoint: { hostPrefix: "places." }, + }, + ListTrackerConsumers: { + http: { + requestUri: "/tracking/v0/trackers/{TrackerName}/list-consumers", + responseCode: 200, + }, + input: { + type: "structure", + required: ["TrackerName"], + members: { + MaxResults: { type: "integer" }, + NextToken: {}, + TrackerName: { location: "uri", locationName: "TrackerName" }, + }, + }, + output: { + type: "structure", + required: ["ConsumerArns"], + members: { + ConsumerArns: { type: "list", member: {} }, + NextToken: {}, + }, + }, + endpoint: { hostPrefix: "tracking." }, + }, + ListTrackers: { + http: { + requestUri: "/tracking/v0/list-trackers", + responseCode: 200, + }, + input: { + type: "structure", + members: { MaxResults: { type: "integer" }, NextToken: {} }, + }, + output: { + type: "structure", + required: ["Entries"], + members: { + Entries: { + type: "list", + member: { + type: "structure", + required: [ + "CreateTime", + "Description", + "TrackerName", + "UpdateTime", + ], + members: { + CreateTime: { shape: "Sj" }, + Description: {}, + TrackerName: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + }, + NextToken: {}, + }, + }, + endpoint: { hostPrefix: "tracking." }, + }, + PutGeofence: { + http: { + method: "PUT", + requestUri: + "/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["CollectionName", "GeofenceId", "Geometry"], + members: { + CollectionName: { + location: "uri", + locationName: "CollectionName", + }, + GeofenceId: { location: "uri", locationName: "GeofenceId" }, + Geometry: { shape: "Sy" }, + }, + }, + output: { + type: "structure", + required: ["CreateTime", "GeofenceId", "UpdateTime"], + members: { + CreateTime: { shape: "Sj" }, + GeofenceId: {}, + UpdateTime: { shape: "Sj" }, + }, + }, + endpoint: { hostPrefix: "geofencing." }, + }, + SearchPlaceIndexForPosition: { + http: { + requestUri: "/places/v0/indexes/{IndexName}/search/position", + responseCode: 200, + }, + input: { + type: "structure", + required: ["IndexName", "Position"], + members: { + IndexName: { location: "uri", locationName: "IndexName" }, + MaxResults: { type: "integer" }, + Position: { shape: "Sh" }, + }, + }, + output: { + type: "structure", + required: ["Results", "Summary"], + members: { + Results: { + type: "list", + member: { + type: "structure", + required: ["Place"], + members: { Place: { shape: "S3r" } }, + }, + }, + Summary: { + type: "structure", + required: ["DataSource", "Position"], + members: { + DataSource: {}, + MaxResults: { type: "integer" }, + Position: { shape: "Sh" }, + }, + }, + }, + }, + endpoint: { hostPrefix: "places." }, + }, + SearchPlaceIndexForText: { + http: { + requestUri: "/places/v0/indexes/{IndexName}/search/text", + responseCode: 200, + }, + input: { + type: "structure", + required: ["IndexName", "Text"], + members: { + BiasPosition: { shape: "Sh" }, + FilterBBox: { shape: "S3v" }, + FilterCountries: { shape: "S3w" }, + IndexName: { location: "uri", locationName: "IndexName" }, + MaxResults: { type: "integer" }, + Text: { type: "string", sensitive: true }, + }, + }, + output: { + type: "structure", + required: ["Results", "Summary"], + members: { + Results: { + type: "list", + member: { + type: "structure", + required: ["Place"], + members: { Place: { shape: "S3r" } }, + }, + }, + Summary: { + type: "structure", + required: ["DataSource", "Text"], + members: { + BiasPosition: { shape: "Sh" }, + DataSource: {}, + FilterBBox: { shape: "S3v" }, + FilterCountries: { shape: "S3w" }, + MaxResults: { type: "integer" }, + ResultBBox: { shape: "S3v" }, + Text: { type: "string", sensitive: true }, + }, + }, + }, + }, + endpoint: { hostPrefix: "places." }, + }, + }, + shapes: { + Sb: { type: "structure", members: { Code: {}, Message: {} } }, + Sg: { + type: "structure", + required: ["DeviceId", "Position", "SampleTime"], + members: { + DeviceId: {}, + Position: { shape: "Sh" }, + SampleTime: { shape: "Sj" }, + }, + }, + Sh: { type: "list", member: { type: "double" }, sensitive: true }, + Sj: { type: "timestamp", timestampFormat: "iso8601" }, + Sr: { + type: "list", + member: { + type: "structure", + required: ["Position", "ReceivedTime", "SampleTime"], + members: { + DeviceId: {}, + Position: { shape: "Sh" }, + ReceivedTime: { shape: "Sj" }, + SampleTime: { shape: "Sj" }, + }, + }, + }, + Sy: { + type: "structure", + members: { + Polygon: { + type: "list", + member: { type: "list", member: { shape: "Sh" } }, + }, + }, + }, + S1g: { + type: "structure", + required: ["Style"], + members: { Style: {} }, + }, + S1k: { type: "structure", members: { IntendedUse: {} } }, + S3r: { + type: "structure", + required: ["Geometry"], + members: { + AddressNumber: {}, + Country: {}, + Geometry: { + type: "structure", + members: { Point: { shape: "Sh" } }, + }, + Label: {}, + Municipality: {}, + Neighborhood: {}, + PostalCode: {}, + Region: {}, + Street: {}, + SubRegion: {}, + }, + }, + S3v: { type: "list", member: { type: "double" }, sensitive: true }, + S3w: { type: "list", member: {} }, + }, + }; + + /***/ + }, + /***/ 72: /***/ function (module) { module.exports = { version: "2.0", @@ -790,7 +1981,7 @@ module.exports = /******/ (function (modules, runtime) { CertificateAuthorityArn: {}, Principal: {}, SourceAccount: {}, - Actions: { shape: "S10" }, + Actions: { shape: "S11" }, }, }, }, @@ -815,6 +2006,13 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + DeletePolicy: { + input: { + type: "structure", + required: ["ResourceArn"], + members: { ResourceArn: {} }, + }, + }, DescribeCertificateAuthority: { input: { type: "structure", @@ -823,7 +2021,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CertificateAuthority: { shape: "S17" } }, + members: { CertificateAuthority: { shape: "S19" } }, }, }, DescribeCertificateAuthorityAuditReport: { @@ -872,6 +2070,14 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", members: { Csr: {} } }, }, + GetPolicy: { + input: { + type: "structure", + required: ["ResourceArn"], + members: { ResourceArn: {} }, + }, + output: { type: "structure", members: { Policy: {} } }, + }, ImportCertificateAuthorityCertificate: { input: { type: "structure", @@ -911,14 +2117,18 @@ module.exports = /******/ (function (modules, runtime) { ListCertificateAuthorities: { input: { type: "structure", - members: { NextToken: {}, MaxResults: { type: "integer" } }, + members: { + NextToken: {}, + MaxResults: { type: "integer" }, + ResourceOwner: {}, + }, }, output: { type: "structure", members: { CertificateAuthorities: { type: "list", - member: { shape: "S17" }, + member: { shape: "S19" }, }, NextToken: {}, }, @@ -946,7 +2156,7 @@ module.exports = /******/ (function (modules, runtime) { CreatedAt: { type: "timestamp" }, Principal: {}, SourceAccount: {}, - Actions: { shape: "S10" }, + Actions: { shape: "S11" }, Policy: {}, }, }, @@ -970,6 +2180,13 @@ module.exports = /******/ (function (modules, runtime) { members: { Tags: { shape: "Sm" }, NextToken: {} }, }, }, + PutPolicy: { + input: { + type: "structure", + required: ["ResourceArn", "Policy"], + members: { ResourceArn: {}, Policy: {} }, + }, + }, RestoreCertificateAuthority: { input: { type: "structure", @@ -1069,11 +2286,12 @@ module.exports = /******/ (function (modules, runtime) { members: { Key: {}, Value: {} }, }, }, - S10: { type: "list", member: {} }, - S17: { + S11: { type: "list", member: {} }, + S19: { type: "structure", members: { Arn: {}, + OwnerAccount: {}, CreatedAt: { type: "timestamp" }, LastStateChangeAt: { type: "timestamp" }, Type: {}, @@ -1093,6 +2311,29 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 89: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["mwaa"] = {}; + AWS.MWAA = Service.defineService("mwaa", ["2020-07-01"]); + Object.defineProperty(apiLoader.services["mwaa"], "2020-07-01", { + get: function get() { + var model = __webpack_require__(4669); + model.paginators = __webpack_require__(925).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.MWAA; + + /***/ + }, + /***/ 91: /***/ function (module) { module.exports = { pagination: {} }; @@ -1255,6 +2496,21 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 124: /***/ function (module) { + module.exports = { + pagination: { + ListEndpoints: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Endpoints", + }, + }, + }; + + /***/ + }, + /***/ 126: /***/ function (module) { /** * lodash (Custom Build) @@ -2468,6 +3724,18 @@ module.exports = /******/ (function (modules, runtime) { var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/); if (section) { currentSection = section[1]; + if ( + currentSection === "__proto__" || + currentSection.split(/\s/)[1] === "__proto__" + ) { + throw util.error( + new Error( + "Cannot load profile name '" + + currentSection + + "' from shared ini file." + ) + ); + } } else if (currentSection) { var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/); if (item) { @@ -3418,17 +4686,21 @@ module.exports = /******/ (function (modules, runtime) { var errCallback = function (err) { var maxRetries = options.maxRetries || 0; if (err && err.code === "TimeoutError") err.retryable = true; - var delay = util.calculateRetryDelay( - retryCount, - options.retryDelayOptions, - err - ); - if (err && err.retryable && retryCount < maxRetries && delay >= 0) { - retryCount++; - setTimeout(sendRequest, delay + (err.retryAfter || 0)); - } else { - cb(err); + + // Call `calculateRetryDelay()` only when relevant, see #3401 + if (err && err.retryable && retryCount < maxRetries) { + var delay = util.calculateRetryDelay( + retryCount, + options.retryDelayOptions, + err + ); + if (delay >= 0) { + retryCount++; + setTimeout(sendRequest, delay + (err.retryAfter || 0)); + return; + } } + cb(err); }; var sendRequest = function () { @@ -3526,27 +4798,49 @@ module.exports = /******/ (function (modules, runtime) { filename: process.env[util.sharedConfigFileEnv], }); } - var profilesFromCreds = iniLoader.loadFrom({ - filename: - filename || - (process.env[util.configOptInEnv] && - process.env[util.sharedCredentialsFileEnv]), - }); + var profilesFromCreds = {}; + try { + var profilesFromCreds = iniLoader.loadFrom({ + filename: + filename || + (process.env[util.configOptInEnv] && + process.env[util.sharedCredentialsFileEnv]), + }); + } catch (error) { + // if using config, assume it is fully descriptive without a credentials file: + if (!process.env[util.configOptInEnv]) throw error; + } for ( var i = 0, profileNames = Object.keys(profilesFromConfig); i < profileNames.length; i++ ) { - profiles[profileNames[i]] = profilesFromConfig[profileNames[i]]; + profiles[profileNames[i]] = objectAssign( + profiles[profileNames[i]] || {}, + profilesFromConfig[profileNames[i]] + ); } for ( var i = 0, profileNames = Object.keys(profilesFromCreds); i < profileNames.length; i++ ) { - profiles[profileNames[i]] = profilesFromCreds[profileNames[i]]; + profiles[profileNames[i]] = objectAssign( + profiles[profileNames[i]] || {}, + profilesFromCreds[profileNames[i]] + ); } return profiles; + + /** + * Roughly the semantics of `Object.assign(target, source)` + */ + function objectAssign(target, source) { + for (var i = 0, keys = Object.keys(source); i < keys.length; i++) { + target[keys[i]] = source[keys[i]]; + } + return target; + } }, /** @@ -3751,6 +5045,29 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 212: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["auditmanager"] = {}; + AWS.AuditManager = Service.defineService("auditmanager", ["2017-07-25"]); + Object.defineProperty(apiLoader.services["auditmanager"], "2017-07-25", { + get: function get() { + var model = __webpack_require__(5830); + model.paginators = __webpack_require__(386).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.AuditManager; + + /***/ + }, + /***/ 215: /***/ function (module, __unusedexports, __webpack_require__) { __webpack_require__(3234); var AWS = __webpack_require__(395); @@ -3823,57 +5140,79 @@ module.exports = /******/ (function (modules, runtime) { http: { requestUri: "/groups" }, input: { type: "structure", - required: ["Name", "ResourceQuery"], + required: ["Name"], members: { Name: {}, Description: {}, ResourceQuery: { shape: "S4" }, Tags: { shape: "S7" }, + Configuration: { shape: "Sa" }, }, }, output: { type: "structure", members: { - Group: { shape: "Sb" }, + Group: { shape: "Sj" }, ResourceQuery: { shape: "S4" }, Tags: { shape: "S7" }, + GroupConfiguration: { shape: "Sl" }, }, }, }, DeleteGroup: { - http: { method: "DELETE", requestUri: "/groups/{GroupName}" }, + http: { requestUri: "/delete-group" }, input: { type: "structure", - required: ["GroupName"], members: { - GroupName: { location: "uri", locationName: "GroupName" }, + GroupName: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use Group instead.", + }, + Group: {}, }, }, - output: { type: "structure", members: { Group: { shape: "Sb" } } }, + output: { type: "structure", members: { Group: { shape: "Sj" } } }, }, GetGroup: { - http: { method: "GET", requestUri: "/groups/{GroupName}" }, + http: { requestUri: "/get-group" }, input: { type: "structure", - required: ["GroupName"], members: { - GroupName: { location: "uri", locationName: "GroupName" }, + GroupName: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use Group instead.", + }, + Group: {}, }, }, - output: { type: "structure", members: { Group: { shape: "Sb" } } }, + output: { type: "structure", members: { Group: { shape: "Sj" } } }, + }, + GetGroupConfiguration: { + http: { requestUri: "/get-group-configuration" }, + input: { type: "structure", members: { Group: {} } }, + output: { + type: "structure", + members: { GroupConfiguration: { shape: "Sl" } }, + }, }, GetGroupQuery: { - http: { method: "GET", requestUri: "/groups/{GroupName}/query" }, + http: { requestUri: "/get-group-query" }, input: { type: "structure", - required: ["GroupName"], members: { - GroupName: { location: "uri", locationName: "GroupName" }, + GroupName: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use Group instead.", + }, + Group: {}, }, }, output: { type: "structure", - members: { GroupQuery: { shape: "Sj" } }, + members: { GroupQuery: { shape: "Sx" } }, }, }, GetTags: { @@ -3888,15 +5227,32 @@ module.exports = /******/ (function (modules, runtime) { members: { Arn: {}, Tags: { shape: "S7" } }, }, }, - ListGroupResources: { - http: { - requestUri: "/groups/{GroupName}/resource-identifiers-list", + GroupResources: { + http: { requestUri: "/group-resources" }, + input: { + type: "structure", + required: ["Group", "ResourceArns"], + members: { Group: {}, ResourceArns: { shape: "S11" } }, }, + output: { + type: "structure", + members: { + Succeeded: { shape: "S11" }, + Failed: { shape: "S14" }, + }, + }, + }, + ListGroupResources: { + http: { requestUri: "/list-group-resources" }, input: { type: "structure", - required: ["GroupName"], members: { - GroupName: { location: "uri", locationName: "GroupName" }, + GroupName: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use Group instead.", + }, + Group: {}, Filters: { type: "list", member: { @@ -3905,23 +5261,16 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: {}, Values: { type: "list", member: {} } }, }, }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, output: { type: "structure", members: { - ResourceIdentifiers: { shape: "Sv" }, + ResourceIdentifiers: { shape: "S1h" }, NextToken: {}, - QueryErrors: { shape: "Sz" }, + QueryErrors: { shape: "S1k" }, }, }, }, @@ -3964,7 +5313,7 @@ module.exports = /******/ (function (modules, runtime) { deprecatedMessage: "This field is deprecated, use GroupIdentifiers instead.", type: "list", - member: { shape: "Sb" }, + member: { shape: "Sj" }, }, NextToken: {}, }, @@ -3984,9 +5333,9 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - ResourceIdentifiers: { shape: "Sv" }, + ResourceIdentifiers: { shape: "S1h" }, NextToken: {}, - QueryErrors: { shape: "Sz" }, + QueryErrors: { shape: "S1k" }, }, }, }, @@ -4005,6 +5354,21 @@ module.exports = /******/ (function (modules, runtime) { members: { Arn: {}, Tags: { shape: "S7" } }, }, }, + UngroupResources: { + http: { requestUri: "/ungroup-resources" }, + input: { + type: "structure", + required: ["Group", "ResourceArns"], + members: { Group: {}, ResourceArns: { shape: "S11" } }, + }, + output: { + type: "structure", + members: { + Succeeded: { shape: "S11" }, + Failed: { shape: "S14" }, + }, + }, + }, Untag: { http: { method: "PATCH", requestUri: "/resources/{Arn}/tags" }, input: { @@ -4012,39 +5376,48 @@ module.exports = /******/ (function (modules, runtime) { required: ["Arn", "Keys"], members: { Arn: { location: "uri", locationName: "Arn" }, - Keys: { shape: "S1i" }, + Keys: { shape: "S25" }, }, }, output: { type: "structure", - members: { Arn: {}, Keys: { shape: "S1i" } }, + members: { Arn: {}, Keys: { shape: "S25" } }, }, }, UpdateGroup: { - http: { method: "PUT", requestUri: "/groups/{GroupName}" }, + http: { requestUri: "/update-group" }, input: { type: "structure", - required: ["GroupName"], members: { - GroupName: { location: "uri", locationName: "GroupName" }, + GroupName: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use Group instead.", + }, + Group: {}, Description: {}, }, }, - output: { type: "structure", members: { Group: { shape: "Sb" } } }, + output: { type: "structure", members: { Group: { shape: "Sj" } } }, }, UpdateGroupQuery: { - http: { method: "PUT", requestUri: "/groups/{GroupName}/query" }, + http: { requestUri: "/update-group-query" }, input: { type: "structure", - required: ["GroupName", "ResourceQuery"], + required: ["ResourceQuery"], members: { - GroupName: { location: "uri", locationName: "GroupName" }, + GroupName: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use Group instead.", + }, + Group: {}, ResourceQuery: { shape: "S4" }, }, }, output: { type: "structure", - members: { GroupQuery: { shape: "Sj" } }, + members: { GroupQuery: { shape: "Sx" } }, }, }, }, @@ -4055,31 +5428,66 @@ module.exports = /******/ (function (modules, runtime) { members: { Type: {}, Query: {} }, }, S7: { type: "map", key: {}, value: {} }, - Sb: { + Sa: { + type: "list", + member: { + type: "structure", + required: ["Type"], + members: { + Type: {}, + Parameters: { + type: "list", + member: { + type: "structure", + required: ["Name"], + members: { Name: {}, Values: { type: "list", member: {} } }, + }, + }, + }, + }, + }, + Sj: { type: "structure", required: ["GroupArn", "Name"], members: { GroupArn: {}, Name: {}, Description: {} }, }, - Sj: { + Sl: { + type: "structure", + members: { + Configuration: { shape: "Sa" }, + ProposedConfiguration: { shape: "Sa" }, + Status: {}, + FailureReason: {}, + }, + }, + Sx: { type: "structure", required: ["GroupName", "ResourceQuery"], members: { GroupName: {}, ResourceQuery: { shape: "S4" } }, }, - Sv: { + S11: { type: "list", member: {} }, + S14: { + type: "list", + member: { + type: "structure", + members: { ResourceArn: {}, ErrorMessage: {}, ErrorCode: {} }, + }, + }, + S1h: { type: "list", member: { type: "structure", members: { ResourceArn: {}, ResourceType: {} }, }, }, - Sz: { + S1k: { type: "list", member: { type: "structure", members: { ErrorCode: {}, Message: {} }, }, }, - S1i: { type: "list", member: {} }, + S25: { type: "list", member: {} }, }, }; @@ -4102,6 +5510,54 @@ module.exports = /******/ (function (modules, runtime) { uid: "transcribe-2017-10-26", }, operations: { + CreateLanguageModel: { + input: { + type: "structure", + required: [ + "LanguageCode", + "BaseModelName", + "ModelName", + "InputDataConfig", + ], + members: { + LanguageCode: {}, + BaseModelName: {}, + ModelName: {}, + InputDataConfig: { shape: "S5" }, + }, + }, + output: { + type: "structure", + members: { + LanguageCode: {}, + BaseModelName: {}, + ModelName: {}, + InputDataConfig: { shape: "S5" }, + ModelStatus: {}, + }, + }, + }, + CreateMedicalVocabulary: { + input: { + type: "structure", + required: ["VocabularyName", "LanguageCode", "VocabularyFileUri"], + members: { + VocabularyName: {}, + LanguageCode: {}, + VocabularyFileUri: {}, + }, + }, + output: { + type: "structure", + members: { + VocabularyName: {}, + LanguageCode: {}, + VocabularyState: {}, + LastModifiedTime: { type: "timestamp" }, + FailureReason: {}, + }, + }, + }, CreateVocabulary: { input: { type: "structure", @@ -4109,7 +5565,7 @@ module.exports = /******/ (function (modules, runtime) { members: { VocabularyName: {}, LanguageCode: {}, - Phrases: { shape: "S4" }, + Phrases: { shape: "Si" }, VocabularyFileUri: {}, }, }, @@ -4131,7 +5587,7 @@ module.exports = /******/ (function (modules, runtime) { members: { VocabularyFilterName: {}, LanguageCode: {}, - Words: { shape: "Sd" }, + Words: { shape: "Sn" }, VocabularyFilterFileUri: {}, }, }, @@ -4144,6 +5600,13 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + DeleteLanguageModel: { + input: { + type: "structure", + required: ["ModelName"], + members: { ModelName: {} }, + }, + }, DeleteMedicalTranscriptionJob: { input: { type: "structure", @@ -4151,6 +5614,13 @@ module.exports = /******/ (function (modules, runtime) { members: { MedicalTranscriptionJobName: {} }, }, }, + DeleteMedicalVocabulary: { + input: { + type: "structure", + required: ["VocabularyName"], + members: { VocabularyName: {} }, + }, + }, DeleteTranscriptionJob: { input: { type: "structure", @@ -4172,6 +5642,17 @@ module.exports = /******/ (function (modules, runtime) { members: { VocabularyFilterName: {} }, }, }, + DescribeLanguageModel: { + input: { + type: "structure", + required: ["ModelName"], + members: { ModelName: {} }, + }, + output: { + type: "structure", + members: { LanguageModel: { shape: "Sz" } }, + }, + }, GetMedicalTranscriptionJob: { input: { type: "structure", @@ -4180,7 +5661,25 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MedicalTranscriptionJob: { shape: "Sn" } }, + members: { MedicalTranscriptionJob: { shape: "S13" } }, + }, + }, + GetMedicalVocabulary: { + input: { + type: "structure", + required: ["VocabularyName"], + members: { VocabularyName: {} }, + }, + output: { + type: "structure", + members: { + VocabularyName: {}, + LanguageCode: {}, + VocabularyState: {}, + LastModifiedTime: { type: "timestamp" }, + FailureReason: {}, + DownloadUri: {}, + }, }, }, GetTranscriptionJob: { @@ -4191,7 +5690,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { TranscriptionJob: { shape: "S11" } }, + members: { TranscriptionJob: { shape: "S1i" } }, }, }, GetVocabulary: { @@ -4228,6 +5727,24 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + ListLanguageModels: { + input: { + type: "structure", + members: { + StatusEquals: {}, + NameContains: {}, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + NextToken: {}, + Models: { type: "list", member: { shape: "Sz" } }, + }, + }, + }, ListMedicalTranscriptionJobs: { input: { type: "structure", @@ -4264,6 +5781,25 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + ListMedicalVocabularies: { + input: { + type: "structure", + members: { + NextToken: {}, + MaxResults: { type: "integer" }, + StateEquals: {}, + NameContains: {}, + }, + }, + output: { + type: "structure", + members: { + Status: {}, + NextToken: {}, + Vocabularies: { shape: "S29" }, + }, + }, + }, ListTranscriptionJobs: { input: { type: "structure", @@ -4292,7 +5828,10 @@ module.exports = /******/ (function (modules, runtime) { TranscriptionJobStatus: {}, FailureReason: {}, OutputLocationType: {}, - ContentRedaction: { shape: "S17" }, + ContentRedaction: { shape: "S1o" }, + ModelSettings: { shape: "S1m" }, + IdentifyLanguage: { type: "boolean" }, + IdentifiedLanguageScore: { type: "float" }, }, }, }, @@ -4314,18 +5853,7 @@ module.exports = /******/ (function (modules, runtime) { members: { Status: {}, NextToken: {}, - Vocabularies: { - type: "list", - member: { - type: "structure", - members: { - VocabularyName: {}, - LanguageCode: {}, - LastModifiedTime: { type: "timestamp" }, - VocabularyState: {}, - }, - }, - }, + Vocabularies: { shape: "S29" }, }, }, }, @@ -4372,39 +5900,64 @@ module.exports = /******/ (function (modules, runtime) { LanguageCode: {}, MediaSampleRateHertz: { type: "integer" }, MediaFormat: {}, - Media: { shape: "Sr" }, + Media: { shape: "S17" }, OutputBucketName: {}, + OutputKey: {}, OutputEncryptionKMSKeyId: {}, - Settings: { shape: "St" }, + Settings: { shape: "S19" }, Specialty: {}, Type: {}, }, }, output: { type: "structure", - members: { MedicalTranscriptionJob: { shape: "Sn" } }, + members: { MedicalTranscriptionJob: { shape: "S13" } }, }, }, StartTranscriptionJob: { input: { type: "structure", - required: ["TranscriptionJobName", "LanguageCode", "Media"], + required: ["TranscriptionJobName", "Media"], members: { TranscriptionJobName: {}, LanguageCode: {}, MediaSampleRateHertz: { type: "integer" }, MediaFormat: {}, - Media: { shape: "Sr" }, + Media: { shape: "S17" }, OutputBucketName: {}, + OutputKey: {}, OutputEncryptionKMSKeyId: {}, - Settings: { shape: "S13" }, - JobExecutionSettings: { shape: "S15" }, - ContentRedaction: { shape: "S17" }, + Settings: { shape: "S1k" }, + ModelSettings: { shape: "S1m" }, + JobExecutionSettings: { shape: "S1n" }, + ContentRedaction: { shape: "S1o" }, + IdentifyLanguage: { type: "boolean" }, + LanguageOptions: { shape: "S1r" }, }, }, output: { type: "structure", - members: { TranscriptionJob: { shape: "S11" } }, + members: { TranscriptionJob: { shape: "S1i" } }, + }, + }, + UpdateMedicalVocabulary: { + input: { + type: "structure", + required: ["VocabularyName", "LanguageCode"], + members: { + VocabularyName: {}, + LanguageCode: {}, + VocabularyFileUri: {}, + }, + }, + output: { + type: "structure", + members: { + VocabularyName: {}, + LanguageCode: {}, + LastModifiedTime: { type: "timestamp" }, + VocabularyState: {}, + }, }, }, UpdateVocabulary: { @@ -4414,7 +5967,7 @@ module.exports = /******/ (function (modules, runtime) { members: { VocabularyName: {}, LanguageCode: {}, - Phrases: { shape: "S4" }, + Phrases: { shape: "Si" }, VocabularyFileUri: {}, }, }, @@ -4434,7 +5987,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["VocabularyFilterName"], members: { VocabularyFilterName: {}, - Words: { shape: "Sd" }, + Words: { shape: "Sn" }, VocabularyFilterFileUri: {}, }, }, @@ -4449,9 +6002,28 @@ module.exports = /******/ (function (modules, runtime) { }, }, shapes: { - S4: { type: "list", member: {} }, - Sd: { type: "list", member: {} }, - Sn: { + S5: { + type: "structure", + required: ["S3Uri", "DataAccessRoleArn"], + members: { S3Uri: {}, TuningDataS3Uri: {}, DataAccessRoleArn: {} }, + }, + Si: { type: "list", member: {} }, + Sn: { type: "list", member: {} }, + Sz: { + type: "structure", + members: { + ModelName: {}, + CreateTime: { type: "timestamp" }, + LastModifiedTime: { type: "timestamp" }, + LanguageCode: {}, + BaseModelName: {}, + ModelStatus: {}, + UpgradeAvailability: { type: "boolean" }, + FailureReason: {}, + InputDataConfig: { shape: "S5" }, + }, + }, + S13: { type: "structure", members: { MedicalTranscriptionJobName: {}, @@ -4459,7 +6031,7 @@ module.exports = /******/ (function (modules, runtime) { LanguageCode: {}, MediaSampleRateHertz: { type: "integer" }, MediaFormat: {}, - Media: { shape: "Sr" }, + Media: { shape: "S17" }, Transcript: { type: "structure", members: { TranscriptFileUri: {} }, @@ -4468,13 +6040,13 @@ module.exports = /******/ (function (modules, runtime) { CreationTime: { type: "timestamp" }, CompletionTime: { type: "timestamp" }, FailureReason: {}, - Settings: { shape: "St" }, + Settings: { shape: "S19" }, Specialty: {}, Type: {}, }, }, - Sr: { type: "structure", members: { MediaFileUri: {} } }, - St: { + S17: { type: "structure", members: { MediaFileUri: {} } }, + S19: { type: "structure", members: { ShowSpeakerLabels: { type: "boolean" }, @@ -4482,9 +6054,10 @@ module.exports = /******/ (function (modules, runtime) { ChannelIdentification: { type: "boolean" }, ShowAlternatives: { type: "boolean" }, MaxAlternatives: { type: "integer" }, + VocabularyName: {}, }, }, - S11: { + S1i: { type: "structure", members: { TranscriptionJobName: {}, @@ -4492,7 +6065,7 @@ module.exports = /******/ (function (modules, runtime) { LanguageCode: {}, MediaSampleRateHertz: { type: "integer" }, MediaFormat: {}, - Media: { shape: "Sr" }, + Media: { shape: "S17" }, Transcript: { type: "structure", members: { @@ -4504,12 +6077,16 @@ module.exports = /******/ (function (modules, runtime) { CreationTime: { type: "timestamp" }, CompletionTime: { type: "timestamp" }, FailureReason: {}, - Settings: { shape: "S13" }, - JobExecutionSettings: { shape: "S15" }, - ContentRedaction: { shape: "S17" }, + Settings: { shape: "S1k" }, + ModelSettings: { shape: "S1m" }, + JobExecutionSettings: { shape: "S1n" }, + ContentRedaction: { shape: "S1o" }, + IdentifyLanguage: { type: "boolean" }, + LanguageOptions: { shape: "S1r" }, + IdentifiedLanguageScore: { type: "float" }, }, }, - S13: { + S1k: { type: "structure", members: { VocabularyName: {}, @@ -4522,18 +6099,32 @@ module.exports = /******/ (function (modules, runtime) { VocabularyFilterMethod: {}, }, }, - S15: { + S1m: { type: "structure", members: { LanguageModelName: {} } }, + S1n: { type: "structure", members: { AllowDeferredExecution: { type: "boolean" }, DataAccessRoleArn: {}, }, }, - S17: { + S1o: { type: "structure", required: ["RedactionType", "RedactionOutput"], members: { RedactionType: {}, RedactionOutput: {} }, }, + S1r: { type: "list", member: {} }, + S29: { + type: "list", + member: { + type: "structure", + members: { + VocabularyName: {}, + LanguageCode: {}, + LastModifiedTime: { type: "timestamp" }, + VocabularyState: {}, + }, + }, + }, }, }; @@ -4569,6 +6160,11 @@ module.exports = /******/ (function (modules, runtime) { output_token: "Marker", result_key: "Instances", }, + ListNotebookExecutions: { + input_token: "Marker", + output_token: "Marker", + result_key: "NotebookExecutions", + }, ListSecurityConfigurations: { input_token: "Marker", output_token: "Marker", @@ -4579,14 +6175,103 @@ module.exports = /******/ (function (modules, runtime) { output_token: "Marker", result_key: "Steps", }, + ListStudioSessionMappings: { + input_token: "Marker", + output_token: "Marker", + result_key: "SessionMappings", + }, + ListStudios: { + input_token: "Marker", + output_token: "Marker", + result_key: "Studios", + }, }, }; /***/ }, + /***/ 254: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["healthlake"] = {}; + AWS.HealthLake = Service.defineService("healthlake", ["2017-07-01"]); + Object.defineProperty(apiLoader.services["healthlake"], "2017-07-01", { + get: function get() { + var model = __webpack_require__(5048); + model.paginators = __webpack_require__(7140).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.HealthLake; + + /***/ + }, + /***/ 280: /***/ function (module) { - module.exports = { pagination: {} }; + module.exports = { + pagination: { + ListAccelerators: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Accelerators", + }, + ListByoipCidrs: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "ByoipCidrs", + }, + ListCustomRoutingAccelerators: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Accelerators", + }, + ListCustomRoutingEndpointGroups: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListCustomRoutingListeners: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Listeners", + }, + ListCustomRoutingPortMappings: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "PortMappings", + }, + ListCustomRoutingPortMappingsByDestination: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "DestinationPortMappings", + }, + ListEndpointGroups: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "EndpointGroups", + }, + ListListeners: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Listeners", + }, + }, + }; /***/ }, @@ -5370,6 +7055,11 @@ module.exports = /******/ (function (modules, runtime) { /***/ 324: /***/ function (module) { module.exports = { pagination: { + ListParallelData: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, ListTerminologies: { input_token: "NextToken", limit_key: "MaxResults", @@ -6857,6 +8547,70 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 386: /***/ function (module) { + module.exports = { + pagination: { + GetChangeLogs: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetDelegations: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetEvidenceByEvidenceFolder: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetEvidenceFoldersByAssessment: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetEvidenceFoldersByAssessmentControl: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListAssessmentFrameworks: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListAssessmentReports: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListAssessments: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListControls: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListKeywordsForDataSource: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListNotifications: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + }, + }; + + /***/ + }, + /***/ 395: /***/ function (module, __unusedexports, __webpack_require__) { /** * The main AWS namespace @@ -6880,7 +8634,7 @@ module.exports = /******/ (function (modules, runtime) { /** * @constant */ - VERSION: "2.654.0", + VERSION: "2.814.0", /** * @api private @@ -7107,7 +8861,52 @@ module.exports = /******/ (function (modules, runtime) { }, /***/ 422: /***/ function (module) { - module.exports = { pagination: {} }; + module.exports = { + pagination: { + DescribeBudgetActionHistories: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "ActionHistories", + }, + DescribeBudgetActionsForAccount: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Actions", + }, + DescribeBudgetActionsForBudget: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Actions", + }, + DescribeBudgetPerformanceHistory: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "BudgetPerformanceHistory", + }, + DescribeBudgets: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Budgets", + }, + DescribeNotificationsForBudget: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Notifications", + }, + DescribeSubscribersForNotification: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Subscribers", + }, + }, + }; /***/ }, @@ -7143,7 +8942,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["InstanceGroups", "JobFlowId"], - members: { InstanceGroups: { shape: "Sr" }, JobFlowId: {} }, + members: { InstanceGroups: { shape: "Su" }, JobFlowId: {} }, }, output: { type: "structure", @@ -7158,18 +8957,18 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["JobFlowId", "Steps"], - members: { JobFlowId: {}, Steps: { shape: "S1c" } }, + members: { JobFlowId: {}, Steps: { shape: "S1f" } }, }, output: { type: "structure", - members: { StepIds: { shape: "S1l" } }, + members: { StepIds: { shape: "S1o" } }, }, }, AddTags: { input: { type: "structure", required: ["ResourceId", "Tags"], - members: { ResourceId: {}, Tags: { shape: "S1o" } }, + members: { ResourceId: {}, Tags: { shape: "S1r" } }, }, output: { type: "structure", members: {} }, }, @@ -7179,7 +8978,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["ClusterId", "StepIds"], members: { ClusterId: {}, - StepIds: { shape: "S1l" }, + StepIds: { shape: "S1o" }, StepCancellationOption: {}, }, }, @@ -7208,6 +9007,48 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: {}, CreationDateTime: { type: "timestamp" } }, }, }, + CreateStudio: { + input: { + type: "structure", + required: [ + "Name", + "AuthMode", + "VpcId", + "SubnetIds", + "ServiceRole", + "UserRole", + "WorkspaceSecurityGroupId", + "EngineSecurityGroupId", + ], + members: { + Name: {}, + Description: {}, + AuthMode: {}, + VpcId: {}, + SubnetIds: { shape: "S26" }, + ServiceRole: {}, + UserRole: {}, + WorkspaceSecurityGroupId: {}, + EngineSecurityGroupId: {}, + DefaultS3Location: {}, + Tags: { shape: "S1r" }, + }, + }, + output: { type: "structure", members: { StudioId: {}, Url: {} } }, + }, + CreateStudioSessionMapping: { + input: { + type: "structure", + required: ["StudioId", "IdentityType", "SessionPolicyArn"], + members: { + StudioId: {}, + IdentityId: {}, + IdentityName: {}, + IdentityType: {}, + SessionPolicyArn: {}, + }, + }, + }, DeleteSecurityConfiguration: { input: { type: "structure", @@ -7216,6 +9057,25 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", members: {} }, }, + DeleteStudio: { + input: { + type: "structure", + required: ["StudioId"], + members: { StudioId: {} }, + }, + }, + DeleteStudioSessionMapping: { + input: { + type: "structure", + required: ["StudioId", "IdentityType"], + members: { + StudioId: {}, + IdentityId: {}, + IdentityName: {}, + IdentityType: {}, + }, + }, + }, DescribeCluster: { input: { type: "structure", @@ -7230,33 +9090,34 @@ module.exports = /******/ (function (modules, runtime) { members: { Id: {}, Name: {}, - Status: { shape: "S27" }, + Status: { shape: "S2i" }, Ec2InstanceAttributes: { type: "structure", members: { Ec2KeyName: {}, Ec2SubnetId: {}, - RequestedEc2SubnetIds: { shape: "S2d" }, + RequestedEc2SubnetIds: { shape: "S2o" }, Ec2AvailabilityZone: {}, - RequestedEc2AvailabilityZones: { shape: "S2d" }, + RequestedEc2AvailabilityZones: { shape: "S2o" }, IamInstanceProfile: {}, EmrManagedMasterSecurityGroup: {}, EmrManagedSlaveSecurityGroup: {}, ServiceAccessSecurityGroup: {}, - AdditionalMasterSecurityGroups: { shape: "S2e" }, - AdditionalSlaveSecurityGroups: { shape: "S2e" }, + AdditionalMasterSecurityGroups: { shape: "S2p" }, + AdditionalSlaveSecurityGroups: { shape: "S2p" }, }, }, InstanceCollectionType: {}, LogUri: {}, + LogEncryptionKmsKeyId: {}, RequestedAmiVersion: {}, RunningAmiVersion: {}, ReleaseLabel: {}, AutoTerminate: { type: "boolean" }, TerminationProtected: { type: "boolean" }, VisibleToAllUsers: { type: "boolean" }, - Applications: { shape: "S2h" }, - Tags: { shape: "S1o" }, + Applications: { shape: "S2s" }, + Tags: { shape: "S1r" }, ServiceRole: {}, NormalizedInstanceHours: { type: "integer" }, MasterPublicDnsName: {}, @@ -7267,10 +9128,11 @@ module.exports = /******/ (function (modules, runtime) { CustomAmiId: {}, EbsRootVolumeSize: { type: "integer" }, RepoUpgradeOnBoot: {}, - KerberosAttributes: { shape: "S2l" }, + KerberosAttributes: { shape: "S2w" }, ClusterArn: {}, - StepConcurrencyLevel: { type: "integer" }, OutpostArn: {}, + StepConcurrencyLevel: { type: "integer" }, + PlacementGroups: { shape: "S2y" }, }, }, }, @@ -7282,7 +9144,7 @@ module.exports = /******/ (function (modules, runtime) { members: { CreatedAfter: { type: "timestamp" }, CreatedBefore: { type: "timestamp" }, - JobFlowIds: { shape: "S1j" }, + JobFlowIds: { shape: "S1m" }, JobFlowStates: { type: "list", member: {} }, }, }, @@ -7303,6 +9165,7 @@ module.exports = /******/ (function (modules, runtime) { JobFlowId: {}, Name: {}, LogUri: {}, + LogEncryptionKmsKeyId: {}, AmiVersion: {}, ExecutionStatusDetail: { type: "structure", @@ -7363,7 +9226,7 @@ module.exports = /******/ (function (modules, runtime) { NormalizedInstanceHours: { type: "integer" }, Ec2KeyName: {}, Ec2SubnetId: {}, - Placement: { shape: "S2y" }, + Placement: { shape: "S3c" }, KeepJobFlowAliveWhenNoSteps: { type: "boolean" }, TerminationProtected: { type: "boolean" }, HadoopVersion: {}, @@ -7375,7 +9238,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: ["StepConfig", "ExecutionStatusDetail"], members: { - StepConfig: { shape: "S1d" }, + StepConfig: { shape: "S1g" }, ExecutionStatusDetail: { type: "structure", required: ["State", "CreationDateTime"], @@ -7394,10 +9257,10 @@ module.exports = /******/ (function (modules, runtime) { type: "list", member: { type: "structure", - members: { BootstrapActionConfig: { shape: "S35" } }, + members: { BootstrapActionConfig: { shape: "S3j" } }, }, }, - SupportedProducts: { shape: "S37" }, + SupportedProducts: { shape: "S3l" }, VisibleToAllUsers: { type: "boolean" }, JobFlowRole: {}, ServiceRole: {}, @@ -7410,6 +9273,36 @@ module.exports = /******/ (function (modules, runtime) { }, deprecated: true, }, + DescribeNotebookExecution: { + input: { + type: "structure", + required: ["NotebookExecutionId"], + members: { NotebookExecutionId: {} }, + }, + output: { + type: "structure", + members: { + NotebookExecution: { + type: "structure", + members: { + NotebookExecutionId: {}, + EditorId: {}, + ExecutionEngine: { shape: "S3p" }, + NotebookExecutionName: {}, + NotebookParams: {}, + Status: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + Arn: {}, + OutputNotebookURI: {}, + LastStateChangeReason: {}, + NotebookInstanceSecurityGroupId: {}, + Tags: { shape: "S1r" }, + }, + }, + }, + }, + }, DescribeSecurityConfiguration: { input: { type: "structure", @@ -7439,9 +9332,41 @@ module.exports = /******/ (function (modules, runtime) { members: { Id: {}, Name: {}, - Config: { shape: "S3d" }, + Config: { shape: "S3x" }, ActionOnFailure: {}, - Status: { shape: "S3e" }, + Status: { shape: "S3y" }, + }, + }, + }, + }, + }, + DescribeStudio: { + input: { + type: "structure", + required: ["StudioId"], + members: { StudioId: {} }, + }, + output: { + type: "structure", + members: { + Studio: { + type: "structure", + members: { + StudioId: {}, + StudioArn: {}, + Name: {}, + Description: {}, + AuthMode: {}, + VpcId: {}, + SubnetIds: { shape: "S26" }, + ServiceRole: {}, + UserRole: {}, + WorkspaceSecurityGroupId: {}, + EngineSecurityGroupId: {}, + Url: {}, + CreationTime: { type: "timestamp" }, + DefaultS3Location: {}, + Tags: { shape: "S1r" }, }, }, }, @@ -7456,7 +9381,7 @@ module.exports = /******/ (function (modules, runtime) { "BlockPublicAccessConfigurationMetadata", ], members: { - BlockPublicAccessConfiguration: { shape: "S3m" }, + BlockPublicAccessConfiguration: { shape: "S49" }, BlockPublicAccessConfigurationMetadata: { type: "structure", required: ["CreationDateTime", "CreatedByArn"], @@ -7468,6 +9393,46 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + GetManagedScalingPolicy: { + input: { + type: "structure", + required: ["ClusterId"], + members: { ClusterId: {} }, + }, + output: { + type: "structure", + members: { ManagedScalingPolicy: { shape: "S4g" } }, + }, + }, + GetStudioSessionMapping: { + input: { + type: "structure", + required: ["StudioId", "IdentityType"], + members: { + StudioId: {}, + IdentityId: {}, + IdentityName: {}, + IdentityType: {}, + }, + }, + output: { + type: "structure", + members: { + SessionMapping: { + type: "structure", + members: { + StudioId: {}, + IdentityId: {}, + IdentityName: {}, + IdentityType: {}, + SessionPolicyArn: {}, + CreationTime: { type: "timestamp" }, + LastModifiedTime: { type: "timestamp" }, + }, + }, + }, + }, + }, ListBootstrapActions: { input: { type: "structure", @@ -7484,7 +9449,7 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: {}, ScriptPath: {}, - Args: { shape: "S2e" }, + Args: { shape: "S2p" }, }, }, }, @@ -7512,7 +9477,7 @@ module.exports = /******/ (function (modules, runtime) { members: { Id: {}, Name: {}, - Status: { shape: "S27" }, + Status: { shape: "S2i" }, NormalizedInstanceHours: { type: "integer" }, ClusterArn: {}, OutpostArn: {}, @@ -7574,7 +9539,7 @@ module.exports = /******/ (function (modules, runtime) { type: "double", }, Configurations: { shape: "Sh" }, - EbsBlockDevices: { shape: "S4c" }, + EbsBlockDevices: { shape: "S57" }, EbsOptimized: { type: "boolean" }, }, }, @@ -7633,10 +9598,10 @@ module.exports = /******/ (function (modules, runtime) { LastSuccessfullyAppliedConfigurationsVersion: { type: "long", }, - EbsBlockDevices: { shape: "S4c" }, + EbsBlockDevices: { shape: "S57" }, EbsOptimized: { type: "boolean" }, - ShrinkPolicy: { shape: "S4p" }, - AutoScalingPolicy: { shape: "S4t" }, + ShrinkPolicy: { shape: "S5k" }, + AutoScalingPolicy: { shape: "S5o" }, }, }, }, @@ -7708,6 +9673,38 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + ListNotebookExecutions: { + input: { + type: "structure", + members: { + EditorId: {}, + Status: {}, + From: { type: "timestamp" }, + To: { type: "timestamp" }, + Marker: {}, + }, + }, + output: { + type: "structure", + members: { + NotebookExecutions: { + type: "list", + member: { + type: "structure", + members: { + NotebookExecutionId: {}, + EditorId: {}, + NotebookExecutionName: {}, + Status: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + }, + }, + }, + Marker: {}, + }, + }, + }, ListSecurityConfigurations: { input: { type: "structure", members: { Marker: {} } }, output: { @@ -7734,7 +9731,7 @@ module.exports = /******/ (function (modules, runtime) { members: { ClusterId: {}, StepStates: { type: "list", member: {} }, - StepIds: { shape: "S1j" }, + StepIds: { shape: "S1m" }, Marker: {}, }, }, @@ -7748,9 +9745,58 @@ module.exports = /******/ (function (modules, runtime) { members: { Id: {}, Name: {}, - Config: { shape: "S3d" }, + Config: { shape: "S3x" }, ActionOnFailure: {}, - Status: { shape: "S3e" }, + Status: { shape: "S3y" }, + }, + }, + }, + Marker: {}, + }, + }, + }, + ListStudioSessionMappings: { + input: { + type: "structure", + members: { StudioId: {}, IdentityType: {}, Marker: {} }, + }, + output: { + type: "structure", + members: { + SessionMappings: { + type: "list", + member: { + type: "structure", + members: { + StudioId: {}, + IdentityId: {}, + IdentityName: {}, + IdentityType: {}, + SessionPolicyArn: {}, + CreationTime: { type: "timestamp" }, + }, + }, + }, + Marker: {}, + }, + }, + }, + ListStudios: { + input: { type: "structure", members: { Marker: {} } }, + output: { + type: "structure", + members: { + Studios: { + type: "list", + member: { + type: "structure", + members: { + StudioId: {}, + Name: {}, + VpcId: {}, + Description: {}, + Url: {}, + CreationTime: { type: "timestamp" }, }, }, }, @@ -7804,7 +9850,7 @@ module.exports = /******/ (function (modules, runtime) { InstanceGroupId: {}, InstanceCount: { type: "integer" }, EC2InstanceIdsToTerminate: { type: "list", member: {} }, - ShrinkPolicy: { shape: "S4p" }, + ShrinkPolicy: { shape: "S5k" }, Configurations: { shape: "Sh" }, }, }, @@ -7819,7 +9865,7 @@ module.exports = /******/ (function (modules, runtime) { members: { ClusterId: {}, InstanceGroupId: {}, - AutoScalingPolicy: { shape: "Sv" }, + AutoScalingPolicy: { shape: "Sy" }, }, }, output: { @@ -7827,7 +9873,7 @@ module.exports = /******/ (function (modules, runtime) { members: { ClusterId: {}, InstanceGroupId: {}, - AutoScalingPolicy: { shape: "S4t" }, + AutoScalingPolicy: { shape: "S5o" }, ClusterArn: {}, }, }, @@ -7836,7 +9882,18 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["BlockPublicAccessConfiguration"], - members: { BlockPublicAccessConfiguration: { shape: "S3m" } }, + members: { BlockPublicAccessConfiguration: { shape: "S49" } }, + }, + output: { type: "structure", members: {} }, + }, + PutManagedScalingPolicy: { + input: { + type: "structure", + required: ["ClusterId", "ManagedScalingPolicy"], + members: { + ClusterId: {}, + ManagedScalingPolicy: { shape: "S4g" }, + }, }, output: { type: "structure", members: {} }, }, @@ -7848,11 +9905,19 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", members: {} }, }, + RemoveManagedScalingPolicy: { + input: { + type: "structure", + required: ["ClusterId"], + members: { ClusterId: {} }, + }, + output: { type: "structure", members: {} }, + }, RemoveTags: { input: { type: "structure", required: ["ResourceId", "TagKeys"], - members: { ResourceId: {}, TagKeys: { shape: "S2e" } }, + members: { ResourceId: {}, TagKeys: { shape: "S2p" } }, }, output: { type: "structure", members: {} }, }, @@ -7863,6 +9928,7 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: {}, LogUri: {}, + LogEncryptionKmsKeyId: {}, AdditionalInfo: {}, AmiVersion: {}, ReleaseLabel: {}, @@ -7872,46 +9938,48 @@ module.exports = /******/ (function (modules, runtime) { MasterInstanceType: {}, SlaveInstanceType: {}, InstanceCount: { type: "integer" }, - InstanceGroups: { shape: "Sr" }, + InstanceGroups: { shape: "Su" }, InstanceFleets: { type: "list", member: { shape: "S3" } }, Ec2KeyName: {}, - Placement: { shape: "S2y" }, + Placement: { shape: "S3c" }, KeepJobFlowAliveWhenNoSteps: { type: "boolean" }, TerminationProtected: { type: "boolean" }, HadoopVersion: {}, Ec2SubnetId: {}, - Ec2SubnetIds: { shape: "S2d" }, + Ec2SubnetIds: { shape: "S2o" }, EmrManagedMasterSecurityGroup: {}, EmrManagedSlaveSecurityGroup: {}, ServiceAccessSecurityGroup: {}, - AdditionalMasterSecurityGroups: { shape: "S63" }, - AdditionalSlaveSecurityGroups: { shape: "S63" }, + AdditionalMasterSecurityGroups: { shape: "S7e" }, + AdditionalSlaveSecurityGroups: { shape: "S7e" }, }, }, - Steps: { shape: "S1c" }, - BootstrapActions: { type: "list", member: { shape: "S35" } }, - SupportedProducts: { shape: "S37" }, + Steps: { shape: "S1f" }, + BootstrapActions: { type: "list", member: { shape: "S3j" } }, + SupportedProducts: { shape: "S3l" }, NewSupportedProducts: { type: "list", member: { type: "structure", - members: { Name: {}, Args: { shape: "S1j" } }, + members: { Name: {}, Args: { shape: "S1m" } }, }, }, - Applications: { shape: "S2h" }, + Applications: { shape: "S2s" }, Configurations: { shape: "Sh" }, VisibleToAllUsers: { type: "boolean" }, JobFlowRole: {}, ServiceRole: {}, - Tags: { shape: "S1o" }, + Tags: { shape: "S1r" }, SecurityConfiguration: {}, AutoScalingRole: {}, ScaleDownBehavior: {}, CustomAmiId: {}, EbsRootVolumeSize: { type: "integer" }, RepoUpgradeOnBoot: {}, - KerberosAttributes: { shape: "S2l" }, + KerberosAttributes: { shape: "S2w" }, StepConcurrencyLevel: { type: "integer" }, + ManagedScalingPolicy: { shape: "S4g" }, + PlacementGroupConfigs: { shape: "S2y" }, }, }, output: { @@ -7924,7 +9992,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: ["JobFlowIds", "TerminationProtected"], members: { - JobFlowIds: { shape: "S1j" }, + JobFlowIds: { shape: "S1m" }, TerminationProtected: { type: "boolean" }, }, }, @@ -7934,16 +10002,58 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: ["JobFlowIds", "VisibleToAllUsers"], members: { - JobFlowIds: { shape: "S1j" }, + JobFlowIds: { shape: "S1m" }, VisibleToAllUsers: { type: "boolean" }, }, }, }, + StartNotebookExecution: { + input: { + type: "structure", + required: [ + "EditorId", + "RelativePath", + "ExecutionEngine", + "ServiceRole", + ], + members: { + EditorId: {}, + RelativePath: {}, + NotebookExecutionName: {}, + NotebookParams: {}, + ExecutionEngine: { shape: "S3p" }, + ServiceRole: {}, + NotebookInstanceSecurityGroupId: {}, + Tags: { shape: "S1r" }, + }, + }, + output: { type: "structure", members: { NotebookExecutionId: {} } }, + }, + StopNotebookExecution: { + input: { + type: "structure", + required: ["NotebookExecutionId"], + members: { NotebookExecutionId: {} }, + }, + }, TerminateJobFlows: { input: { type: "structure", required: ["JobFlowIds"], - members: { JobFlowIds: { shape: "S1j" } }, + members: { JobFlowIds: { shape: "S1m" } }, + }, + }, + UpdateStudioSessionMapping: { + input: { + type: "structure", + required: ["StudioId", "IdentityType", "SessionPolicyArn"], + members: { + StudioId: {}, + IdentityId: {}, + IdentityName: {}, + IdentityType: {}, + SessionPolicyArn: {}, + }, }, }, }, @@ -8014,7 +10124,6 @@ module.exports = /******/ (function (modules, runtime) { Sj: { type: "map", key: {}, value: {} }, Sk: { type: "structure", - required: ["SpotSpecification"], members: { SpotSpecification: { type: "structure", @@ -8023,11 +10132,17 @@ module.exports = /******/ (function (modules, runtime) { TimeoutDurationMinutes: { type: "integer" }, TimeoutAction: {}, BlockDurationMinutes: { type: "integer" }, + AllocationStrategy: {}, }, }, + OnDemandSpecification: { + type: "structure", + required: ["AllocationStrategy"], + members: { AllocationStrategy: {} }, + }, }, }, - Sr: { + Su: { type: "list", member: { type: "structure", @@ -8041,16 +10156,16 @@ module.exports = /******/ (function (modules, runtime) { InstanceCount: { type: "integer" }, Configurations: { shape: "Sh" }, EbsConfiguration: { shape: "Sa" }, - AutoScalingPolicy: { shape: "Sv" }, + AutoScalingPolicy: { shape: "Sy" }, }, }, }, - Sv: { + Sy: { type: "structure", required: ["Constraints", "Rules"], - members: { Constraints: { shape: "Sw" }, Rules: { shape: "Sx" } }, + members: { Constraints: { shape: "Sz" }, Rules: { shape: "S10" } }, }, - Sw: { + Sz: { type: "structure", required: ["MinCapacity", "MaxCapacity"], members: { @@ -8058,7 +10173,7 @@ module.exports = /******/ (function (modules, runtime) { MaxCapacity: { type: "integer" }, }, }, - Sx: { + S10: { type: "list", member: { type: "structure", @@ -8117,8 +10232,8 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S1c: { type: "list", member: { shape: "S1d" } }, - S1d: { + S1f: { type: "list", member: { shape: "S1g" } }, + S1g: { type: "structure", required: ["Name", "HadoopJarStep"], members: { @@ -8137,18 +10252,19 @@ module.exports = /******/ (function (modules, runtime) { }, Jar: {}, MainClass: {}, - Args: { shape: "S1j" }, + Args: { shape: "S1m" }, }, }, }, }, - S1j: { type: "list", member: {} }, - S1l: { type: "list", member: {} }, - S1o: { + S1m: { type: "list", member: {} }, + S1o: { type: "list", member: {} }, + S1r: { type: "list", member: { type: "structure", members: { Key: {}, Value: {} } }, }, - S27: { + S26: { type: "list", member: {} }, + S2i: { type: "structure", members: { State: {}, @@ -8166,21 +10282,21 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S2d: { type: "list", member: {} }, - S2e: { type: "list", member: {} }, - S2h: { + S2o: { type: "list", member: {} }, + S2p: { type: "list", member: {} }, + S2s: { type: "list", member: { type: "structure", members: { Name: {}, Version: {}, - Args: { shape: "S2e" }, + Args: { shape: "S2p" }, AdditionalInfo: { shape: "Sj" }, }, }, }, - S2l: { + S2w: { type: "structure", required: ["Realm", "KdcAdminPassword"], members: { @@ -8192,13 +10308,21 @@ module.exports = /******/ (function (modules, runtime) { }, }, S2y: { + type: "list", + member: { + type: "structure", + required: ["InstanceRole"], + members: { InstanceRole: {}, PlacementStrategy: {} }, + }, + }, + S3c: { type: "structure", members: { AvailabilityZone: {}, - AvailabilityZones: { shape: "S2d" }, + AvailabilityZones: { shape: "S2o" }, }, }, - S35: { + S3j: { type: "structure", required: ["Name", "ScriptBootstrapAction"], members: { @@ -8206,21 +10330,26 @@ module.exports = /******/ (function (modules, runtime) { ScriptBootstrapAction: { type: "structure", required: ["Path"], - members: { Path: {}, Args: { shape: "S1j" } }, + members: { Path: {}, Args: { shape: "S1m" } }, }, }, }, - S37: { type: "list", member: {} }, - S3d: { + S3l: { type: "list", member: {} }, + S3p: { + type: "structure", + required: ["Id"], + members: { Id: {}, Type: {}, MasterInstanceSecurityGroupId: {} }, + }, + S3x: { type: "structure", members: { Jar: {}, Properties: { shape: "Sj" }, MainClass: {}, - Args: { shape: "S2e" }, + Args: { shape: "S2p" }, }, }, - S3e: { + S3y: { type: "structure", members: { State: {}, @@ -8242,7 +10371,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S3m: { + S49: { type: "structure", required: ["BlockPublicSecurityGroupRules"], members: { @@ -8260,29 +10389,49 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S4c: { + S4g: { + type: "structure", + members: { + ComputeLimits: { + type: "structure", + required: [ + "UnitType", + "MinimumCapacityUnits", + "MaximumCapacityUnits", + ], + members: { + UnitType: {}, + MinimumCapacityUnits: { type: "integer" }, + MaximumCapacityUnits: { type: "integer" }, + MaximumOnDemandCapacityUnits: { type: "integer" }, + MaximumCoreCapacityUnits: { type: "integer" }, + }, + }, + }, + }, + S57: { type: "list", member: { type: "structure", members: { VolumeSpecification: { shape: "Sd" }, Device: {} }, }, }, - S4p: { + S5k: { type: "structure", members: { DecommissionTimeout: { type: "integer" }, InstanceResizePolicy: { type: "structure", members: { - InstancesToTerminate: { shape: "S4r" }, - InstancesToProtect: { shape: "S4r" }, + InstancesToTerminate: { shape: "S5m" }, + InstancesToProtect: { shape: "S5m" }, InstanceTerminationTimeout: { type: "integer" }, }, }, }, }, - S4r: { type: "list", member: {} }, - S4t: { + S5m: { type: "list", member: {} }, + S5o: { type: "structure", members: { Status: { @@ -8295,11 +10444,11 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - Constraints: { shape: "Sw" }, - Rules: { shape: "Sx" }, + Constraints: { shape: "Sz" }, + Rules: { shape: "S10" }, }, }, - S63: { type: "list", member: {} }, + S7e: { type: "list", member: {} }, }, }; @@ -8556,8 +10705,114 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 475: /***/ function (module) { + module.exports = { + pagination: { + ListDestinations: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListDeviceProfiles: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListServiceProfiles: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListWirelessDevices: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListWirelessGateways: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + }, + }; + + /***/ + }, + /***/ 484: /***/ function (module) { - module.exports = { pagination: {} }; + module.exports = { + pagination: { + DescribeCodeCoverages: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "codeCoverages", + }, + DescribeTestCases: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "testCases", + }, + ListBuildBatches: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "ids", + }, + ListBuildBatchesForProject: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "ids", + }, + ListBuilds: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "ids", + }, + ListBuildsForProject: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "ids", + }, + ListProjects: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "projects", + }, + ListReportGroups: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "reportGroups", + }, + ListReports: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "reports", + }, + ListReportsForReportGroup: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "reports", + }, + ListSharedProjects: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "projects", + }, + ListSharedReportGroups: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "reportGroups", + }, + }, + }; /***/ }, @@ -8896,6 +11151,7 @@ module.exports = /******/ (function (modules, runtime) { state: {}, computeResources: { shape: "S7" }, serviceRole: {}, + tags: { shape: "Si" }, }, }, output: { @@ -8915,7 +11171,8 @@ module.exports = /******/ (function (modules, runtime) { jobQueueName: {}, state: {}, priority: { type: "integer" }, - computeEnvironmentOrder: { shape: "Sh" }, + computeEnvironmentOrder: { shape: "So" }, + tags: { shape: "Si" }, }, }, output: { @@ -8977,6 +11234,7 @@ module.exports = /******/ (function (modules, runtime) { computeEnvironmentName: {}, computeEnvironmentArn: {}, ecsClusterArn: {}, + tags: { shape: "Si" }, type: {}, state: {}, status: {}, @@ -9021,11 +11279,14 @@ module.exports = /******/ (function (modules, runtime) { revision: { type: "integer" }, status: {}, type: {}, - parameters: { shape: "Sz" }, - retryStrategy: { shape: "S10" }, - containerProperties: { shape: "S11" }, - timeout: { shape: "S1k" }, - nodeProperties: { shape: "S1l" }, + parameters: { shape: "S16" }, + retryStrategy: { shape: "S17" }, + containerProperties: { shape: "S1b" }, + timeout: { shape: "S24" }, + nodeProperties: { shape: "S25" }, + tags: { shape: "Si" }, + propagateTags: { type: "boolean" }, + platformCapabilities: { shape: "S28" }, }, }, }, @@ -9064,7 +11325,8 @@ module.exports = /******/ (function (modules, runtime) { status: {}, statusReason: {}, priority: { type: "integer" }, - computeEnvironmentOrder: { shape: "Sh" }, + computeEnvironmentOrder: { shape: "So" }, + tags: { shape: "Si" }, }, }, }, @@ -9095,6 +11357,7 @@ module.exports = /******/ (function (modules, runtime) { "jobDefinition", ], members: { + jobArn: {}, jobName: {}, jobId: {}, jobQueue: {}, @@ -9112,7 +11375,7 @@ module.exports = /******/ (function (modules, runtime) { exitCode: { type: "integer" }, reason: {}, logStreamName: {}, - networkInterfaces: { shape: "S21" }, + networkInterfaces: { shape: "S2n" }, }, }, startedAt: { type: "long" }, @@ -9123,12 +11386,12 @@ module.exports = /******/ (function (modules, runtime) { }, statusReason: {}, createdAt: { type: "long" }, - retryStrategy: { shape: "S10" }, + retryStrategy: { shape: "S17" }, startedAt: { type: "long" }, stoppedAt: { type: "long" }, - dependsOn: { shape: "S24" }, + dependsOn: { shape: "S2q" }, jobDefinition: {}, - parameters: { shape: "Sz" }, + parameters: { shape: "S16" }, container: { type: "structure", members: { @@ -9137,11 +11400,12 @@ module.exports = /******/ (function (modules, runtime) { memory: { type: "integer" }, command: { shape: "Sb" }, jobRoleArn: {}, - volumes: { shape: "S12" }, - environment: { shape: "S15" }, - mountPoints: { shape: "S17" }, + executionRoleArn: {}, + volumes: { shape: "S1c" }, + environment: { shape: "S1f" }, + mountPoints: { shape: "S1h" }, readonlyRootFilesystem: { type: "boolean" }, - ulimits: { shape: "S1a" }, + ulimits: { shape: "S1k" }, privileged: { type: "boolean" }, user: {}, exitCode: { type: "integer" }, @@ -9150,9 +11414,13 @@ module.exports = /******/ (function (modules, runtime) { taskArn: {}, logStreamName: {}, instanceType: {}, - networkInterfaces: { shape: "S21" }, - resourceRequirements: { shape: "S1c" }, - linuxParameters: { shape: "S1f" }, + networkInterfaces: { shape: "S2n" }, + resourceRequirements: { shape: "S1m" }, + linuxParameters: { shape: "S1p" }, + logConfiguration: { shape: "S1w" }, + secrets: { shape: "S1z" }, + networkConfiguration: { shape: "S21" }, + fargatePlatformConfiguration: { shape: "S23" }, }, }, nodeDetails: { @@ -9162,7 +11430,7 @@ module.exports = /******/ (function (modules, runtime) { isMainNode: { type: "boolean" }, }, }, - nodeProperties: { shape: "S1l" }, + nodeProperties: { shape: "S25" }, arrayProperties: { type: "structure", members: { @@ -9175,7 +11443,10 @@ module.exports = /******/ (function (modules, runtime) { index: { type: "integer" }, }, }, - timeout: { shape: "S1k" }, + timeout: { shape: "S24" }, + tags: { shape: "Si" }, + propagateTags: { type: "boolean" }, + platformCapabilities: { shape: "S28" }, }, }, }, @@ -9205,6 +11476,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: ["jobId", "jobName"], members: { + jobArn: {}, jobId: {}, jobName: {}, createdAt: { type: "long" }, @@ -9238,6 +11510,17 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + ListTagsForResource: { + http: { method: "GET", requestUri: "/v1/tags/{resourceArn}" }, + input: { + type: "structure", + required: ["resourceArn"], + members: { + resourceArn: { location: "uri", locationName: "resourceArn" }, + }, + }, + output: { type: "structure", members: { tags: { shape: "Si" } } }, + }, RegisterJobDefinition: { http: { requestUri: "/v1/registerjobdefinition" }, input: { @@ -9246,11 +11529,14 @@ module.exports = /******/ (function (modules, runtime) { members: { jobDefinitionName: {}, type: {}, - parameters: { shape: "Sz" }, - containerProperties: { shape: "S11" }, - nodeProperties: { shape: "S1l" }, - retryStrategy: { shape: "S10" }, - timeout: { shape: "S1k" }, + parameters: { shape: "S16" }, + containerProperties: { shape: "S1b" }, + nodeProperties: { shape: "S25" }, + retryStrategy: { shape: "S17" }, + propagateTags: { type: "boolean" }, + timeout: { shape: "S24" }, + tags: { shape: "Si" }, + platformCapabilities: { shape: "S28" }, }, }, output: { @@ -9275,10 +11561,10 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { size: { type: "integer" } }, }, - dependsOn: { shape: "S24" }, + dependsOn: { shape: "S2q" }, jobDefinition: {}, - parameters: { shape: "Sz" }, - containerOverrides: { shape: "S2n" }, + parameters: { shape: "S16" }, + containerOverrides: { shape: "S3b" }, nodeOverrides: { type: "structure", members: { @@ -9290,21 +11576,35 @@ module.exports = /******/ (function (modules, runtime) { required: ["targetNodes"], members: { targetNodes: {}, - containerOverrides: { shape: "S2n" }, + containerOverrides: { shape: "S3b" }, }, }, }, }, }, - retryStrategy: { shape: "S10" }, - timeout: { shape: "S1k" }, + retryStrategy: { shape: "S17" }, + propagateTags: { type: "boolean" }, + timeout: { shape: "S24" }, + tags: { shape: "Si" }, }, }, output: { type: "structure", required: ["jobName", "jobId"], - members: { jobName: {}, jobId: {} }, + members: { jobArn: {}, jobName: {}, jobId: {} }, + }, + }, + TagResource: { + http: { requestUri: "/v1/tags/{resourceArn}" }, + input: { + type: "structure", + required: ["resourceArn", "tags"], + members: { + resourceArn: { location: "uri", locationName: "resourceArn" }, + tags: { shape: "Si" }, + }, }, + output: { type: "structure", members: {} }, }, TerminateJob: { http: { requestUri: "/v1/terminatejob" }, @@ -9315,6 +11615,23 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", members: {} }, }, + UntagResource: { + http: { method: "DELETE", requestUri: "/v1/tags/{resourceArn}" }, + input: { + type: "structure", + required: ["resourceArn", "tagKeys"], + members: { + resourceArn: { location: "uri", locationName: "resourceArn" }, + tagKeys: { + location: "querystring", + locationName: "tagKeys", + type: "list", + member: {}, + }, + }, + }, + output: { type: "structure", members: {} }, + }, UpdateComputeEnvironment: { http: { requestUri: "/v1/updatecomputeenvironment" }, input: { @@ -9329,6 +11646,8 @@ module.exports = /******/ (function (modules, runtime) { minvCpus: { type: "integer" }, maxvCpus: { type: "integer" }, desiredvCpus: { type: "integer" }, + subnets: { shape: "Sb" }, + securityGroupIds: { shape: "Sb" }, }, }, serviceRole: {}, @@ -9351,7 +11670,7 @@ module.exports = /******/ (function (modules, runtime) { jobQueue: {}, state: {}, priority: { type: "integer" }, - computeEnvironmentOrder: { shape: "Sh" }, + computeEnvironmentOrder: { shape: "So" }, }, }, output: { @@ -9363,14 +11682,7 @@ module.exports = /******/ (function (modules, runtime) { shapes: { S7: { type: "structure", - required: [ - "type", - "minvCpus", - "maxvCpus", - "instanceTypes", - "subnets", - "instanceRole", - ], + required: ["type", "maxvCpus", "subnets"], members: { type: {}, allocationStrategy: {}, @@ -9378,7 +11690,11 @@ module.exports = /******/ (function (modules, runtime) { maxvCpus: { type: "integer" }, desiredvCpus: { type: "integer" }, instanceTypes: { shape: "Sb" }, - imageId: {}, + imageId: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use ec2Configuration[].imageIdOverride instead.", + }, subnets: { shape: "Sb" }, securityGroupIds: { shape: "Sb" }, ec2KeyPair: {}, @@ -9395,10 +11711,19 @@ module.exports = /******/ (function (modules, runtime) { version: {}, }, }, + ec2Configuration: { + type: "list", + member: { + type: "structure", + required: ["imageType"], + members: { imageType: {}, imageIdOverride: {} }, + }, + }, }, }, Sb: { type: "list", member: {} }, - Sh: { + Si: { type: "map", key: {}, value: {} }, + So: { type: "list", member: { type: "structure", @@ -9406,32 +11731,62 @@ module.exports = /******/ (function (modules, runtime) { members: { order: { type: "integer" }, computeEnvironment: {} }, }, }, - Sz: { type: "map", key: {}, value: {} }, - S10: { + S16: { type: "map", key: {}, value: {} }, + S17: { type: "structure", - members: { attempts: { type: "integer" } }, + members: { + attempts: { type: "integer" }, + evaluateOnExit: { + type: "list", + member: { + type: "structure", + required: ["action"], + members: { + onStatusReason: {}, + onReason: {}, + onExitCode: {}, + action: {}, + }, + }, + }, + }, }, - S11: { + S1b: { type: "structure", members: { image: {}, - vcpus: { type: "integer" }, - memory: { type: "integer" }, + vcpus: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use resourceRequirements instead.", + type: "integer", + }, + memory: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use resourceRequirements instead.", + type: "integer", + }, command: { shape: "Sb" }, jobRoleArn: {}, - volumes: { shape: "S12" }, - environment: { shape: "S15" }, - mountPoints: { shape: "S17" }, + executionRoleArn: {}, + volumes: { shape: "S1c" }, + environment: { shape: "S1f" }, + mountPoints: { shape: "S1h" }, readonlyRootFilesystem: { type: "boolean" }, privileged: { type: "boolean" }, - ulimits: { shape: "S1a" }, + ulimits: { shape: "S1k" }, user: {}, instanceType: {}, - resourceRequirements: { shape: "S1c" }, - linuxParameters: { shape: "S1f" }, + resourceRequirements: { shape: "S1m" }, + linuxParameters: { shape: "S1p" }, + logConfiguration: { shape: "S1w" }, + secrets: { shape: "S1z" }, + networkConfiguration: { shape: "S21" }, + fargatePlatformConfiguration: { shape: "S23" }, }, }, - S12: { + S1c: { type: "list", member: { type: "structure", @@ -9441,11 +11796,11 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S15: { + S1f: { type: "list", member: { type: "structure", members: { name: {}, value: {} } }, }, - S17: { + S1h: { type: "list", member: { type: "structure", @@ -9456,7 +11811,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S1a: { + S1k: { type: "list", member: { type: "structure", @@ -9468,7 +11823,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S1c: { + S1m: { type: "list", member: { type: "structure", @@ -9476,7 +11831,7 @@ module.exports = /******/ (function (modules, runtime) { members: { value: {}, type: {} }, }, }, - S1f: { + S1p: { type: "structure", members: { devices: { @@ -9491,13 +11846,48 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + initProcessEnabled: { type: "boolean" }, + sharedMemorySize: { type: "integer" }, + tmpfs: { + type: "list", + member: { + type: "structure", + required: ["containerPath", "size"], + members: { + containerPath: {}, + size: { type: "integer" }, + mountOptions: { shape: "Sb" }, + }, + }, + }, + maxSwap: { type: "integer" }, + swappiness: { type: "integer" }, }, }, - S1k: { + S1w: { + type: "structure", + required: ["logDriver"], + members: { + logDriver: {}, + options: { type: "map", key: {}, value: {} }, + secretOptions: { shape: "S1z" }, + }, + }, + S1z: { + type: "list", + member: { + type: "structure", + required: ["name", "valueFrom"], + members: { name: {}, valueFrom: {} }, + }, + }, + S21: { type: "structure", members: { assignPublicIp: {} } }, + S23: { type: "structure", members: { platformVersion: {} } }, + S24: { type: "structure", members: { attemptDurationSeconds: { type: "integer" } }, }, - S1l: { + S25: { type: "structure", required: ["numNodes", "mainNode", "nodeRangeProperties"], members: { @@ -9508,12 +11898,13 @@ module.exports = /******/ (function (modules, runtime) { member: { type: "structure", required: ["targetNodes"], - members: { targetNodes: {}, container: { shape: "S11" } }, + members: { targetNodes: {}, container: { shape: "S1b" } }, }, }, }, }, - S21: { + S28: { type: "list", member: {} }, + S2n: { type: "list", member: { type: "structure", @@ -9524,19 +11915,29 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S24: { + S2q: { type: "list", member: { type: "structure", members: { jobId: {}, type: {} } }, }, - S2n: { + S3b: { type: "structure", members: { - vcpus: { type: "integer" }, - memory: { type: "integer" }, + vcpus: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use resourceRequirements instead.", + type: "integer", + }, + memory: { + deprecated: true, + deprecatedMessage: + "This field is deprecated, use resourceRequirements instead.", + type: "integer", + }, command: { shape: "Sb" }, instanceType: {}, - environment: { shape: "S15" }, - resourceRequirements: { shape: "S1c" }, + environment: { shape: "S1f" }, + resourceRequirements: { shape: "S1m" }, }, }, }, @@ -9545,6 +11946,21 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 541: /***/ function (module) { + module.exports = { + pagination: { + ListWorkspaces: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "workspaces", + }, + }, + }; + + /***/ + }, + /***/ 543: /***/ function ( __unusedmodule, __unusedexports, @@ -9676,6 +12092,11 @@ module.exports = /******/ (function (modules, runtime) { /***/ 559: /***/ function (module) { module.exports = { pagination: { + DescribeAccountLimits: { + input_token: "NextToken", + output_token: "NextToken", + result_key: "AccountLimits", + }, DescribeStackEvents: { input_token: "NextToken", output_token: "NextToken", @@ -9692,6 +12113,11 @@ module.exports = /******/ (function (modules, runtime) { output_token: "NextToken", result_key: "Stacks", }, + ListChangeSets: { + input_token: "NextToken", + output_token: "NextToken", + result_key: "Summaries", + }, ListExports: { input_token: "NextToken", output_token: "NextToken", @@ -9702,11 +12128,35 @@ module.exports = /******/ (function (modules, runtime) { output_token: "NextToken", result_key: "Imports", }, + ListStackInstances: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Summaries", + }, ListStackResources: { input_token: "NextToken", output_token: "NextToken", result_key: "StackResourceSummaries", }, + ListStackSetOperationResults: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Summaries", + }, + ListStackSetOperations: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Summaries", + }, + ListStackSets: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Summaries", + }, ListStacks: { input_token: "NextToken", output_token: "NextToken", @@ -11552,46 +14002,61 @@ module.exports = /******/ (function (modules, runtime) { input_token: "nextToken", output_token: "nextToken", limit_key: "maxResults", + result_key: "componentSummaryList", }, ListComponents: { input_token: "nextToken", output_token: "nextToken", limit_key: "maxResults", + result_key: "componentVersionList", + }, + ListContainerRecipes: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "containerRecipeSummaryList", }, ListDistributionConfigurations: { input_token: "nextToken", output_token: "nextToken", limit_key: "maxResults", + result_key: "distributionConfigurationSummaryList", }, ListImageBuildVersions: { input_token: "nextToken", output_token: "nextToken", limit_key: "maxResults", + result_key: "imageSummaryList", }, ListImagePipelineImages: { input_token: "nextToken", output_token: "nextToken", limit_key: "maxResults", + result_key: "imageSummaryList", }, ListImagePipelines: { input_token: "nextToken", output_token: "nextToken", limit_key: "maxResults", + result_key: "imagePipelineList", }, ListImageRecipes: { input_token: "nextToken", output_token: "nextToken", limit_key: "maxResults", + result_key: "imageRecipeSummaryList", }, ListImages: { input_token: "nextToken", output_token: "nextToken", limit_key: "maxResults", + result_key: "imageVersionList", }, ListInfrastructureConfigurations: { input_token: "nextToken", output_token: "nextToken", limit_key: "maxResults", + result_key: "infrastructureConfigurationSummaryList", }, }, }; @@ -11736,6 +14201,18 @@ module.exports = /******/ (function (modules, runtime) { output_token: "Marker", result_key: "UpdateActions", }, + DescribeUserGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "UserGroups", + }, + DescribeUsers: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "Users", + }, }, }; @@ -11860,6 +14337,60 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 743: /***/ function (module) { + module.exports = { + pagination: { + ListAnswers: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListLensReviewImprovements: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListLensReviews: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListLenses: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListMilestones: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListNotifications: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListShareInvitations: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListWorkloadShares: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListWorkloads: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + }, + }; + + /***/ + }, + /***/ 747: /***/ function ( __unusedmodule, __unusedexports, @@ -12125,6 +14656,29 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 779: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["location"] = {}; + AWS.Location = Service.defineService("location", ["2020-11-19"]); + Object.defineProperty(apiLoader.services["location"], "2020-11-19", { + get: function get() { + var model = __webpack_require__(52); + model.paginators = __webpack_require__(2122).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.Location; + + /***/ + }, + /***/ 807: /***/ function (module) { module.exports = { version: "2.0", @@ -12485,6 +15039,26 @@ module.exports = /******/ (function (modules, runtime) { members: { permissions: { shape: "S1u" }, nextToken: {} }, }, }, + ListResourceTypes: { + http: { requestUri: "/listresourcetypes" }, + input: { + type: "structure", + members: { nextToken: {}, maxResults: { type: "integer" } }, + }, + output: { + type: "structure", + members: { + resourceTypes: { + type: "list", + member: { + type: "structure", + members: { resourceType: {}, serviceName: {} }, + }, + }, + nextToken: {}, + }, + }, + }, ListResources: { http: { requestUri: "/listresources" }, input: { @@ -26348,6 +28922,51 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 848: /***/ function (module) { + module.exports = { + pagination: { + ListDomains: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "domains", + }, + ListPackageVersionAssets: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "assets", + }, + ListPackageVersions: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "versions", + }, + ListPackages: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "packages", + }, + ListRepositories: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "repositories", + }, + ListRepositoriesInDomain: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "repositories", + }, + }, + }; + + /***/ + }, + /***/ 850: /***/ function (module, __unusedexports, __webpack_require__) { module.exports = paginationMethodsPlugin; @@ -26365,6 +28984,1504 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 856: /***/ function (module, __unusedexports, __webpack_require__) { + "use strict"; + + const punycode = __webpack_require__(4213); + const tr46 = __webpack_require__(2530); + + const specialSchemes = { + ftp: 21, + file: null, + gopher: 70, + http: 80, + https: 443, + ws: 80, + wss: 443, + }; + + const failure = Symbol("failure"); + + function countSymbols(str) { + return punycode.ucs2.decode(str).length; + } + + function at(input, idx) { + const c = input[idx]; + return isNaN(c) ? undefined : String.fromCodePoint(c); + } + + function isASCIIDigit(c) { + return c >= 0x30 && c <= 0x39; + } + + function isASCIIAlpha(c) { + return (c >= 0x41 && c <= 0x5a) || (c >= 0x61 && c <= 0x7a); + } + + function isASCIIAlphanumeric(c) { + return isASCIIAlpha(c) || isASCIIDigit(c); + } + + function isASCIIHex(c) { + return ( + isASCIIDigit(c) || + (c >= 0x41 && c <= 0x46) || + (c >= 0x61 && c <= 0x66) + ); + } + + function isSingleDot(buffer) { + return buffer === "." || buffer.toLowerCase() === "%2e"; + } + + function isDoubleDot(buffer) { + buffer = buffer.toLowerCase(); + return ( + buffer === ".." || + buffer === "%2e." || + buffer === ".%2e" || + buffer === "%2e%2e" + ); + } + + function isWindowsDriveLetterCodePoints(cp1, cp2) { + return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); + } + + function isWindowsDriveLetterString(string) { + return ( + string.length === 2 && + isASCIIAlpha(string.codePointAt(0)) && + (string[1] === ":" || string[1] === "|") + ); + } + + function isNormalizedWindowsDriveLetterString(string) { + return ( + string.length === 2 && + isASCIIAlpha(string.codePointAt(0)) && + string[1] === ":" + ); + } + + function containsForbiddenHostCodePoint(string) { + return ( + string.search( + /\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/ + ) !== -1 + ); + } + + function containsForbiddenHostCodePointExcludingPercent(string) { + return ( + string.search( + /\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/ + ) !== -1 + ); + } + + function isSpecialScheme(scheme) { + return specialSchemes[scheme] !== undefined; + } + + function isSpecial(url) { + return isSpecialScheme(url.scheme); + } + + function defaultPort(scheme) { + return specialSchemes[scheme]; + } + + function percentEncode(c) { + let hex = c.toString(16).toUpperCase(); + if (hex.length === 1) { + hex = "0" + hex; + } + + return "%" + hex; + } + + function utf8PercentEncode(c) { + const buf = new Buffer(c); + + let str = ""; + + for (let i = 0; i < buf.length; ++i) { + str += percentEncode(buf[i]); + } + + return str; + } + + function utf8PercentDecode(str) { + const input = new Buffer(str); + const output = []; + for (let i = 0; i < input.length; ++i) { + if (input[i] !== 37) { + output.push(input[i]); + } else if ( + input[i] === 37 && + isASCIIHex(input[i + 1]) && + isASCIIHex(input[i + 2]) + ) { + output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)); + i += 2; + } else { + output.push(input[i]); + } + } + return new Buffer(output).toString(); + } + + function isC0ControlPercentEncode(c) { + return c <= 0x1f || c > 0x7e; + } + + const extraPathPercentEncodeSet = new Set([ + 32, + 34, + 35, + 60, + 62, + 63, + 96, + 123, + 125, + ]); + function isPathPercentEncode(c) { + return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); + } + + const extraUserinfoPercentEncodeSet = new Set([ + 47, + 58, + 59, + 61, + 64, + 91, + 92, + 93, + 94, + 124, + ]); + function isUserinfoPercentEncode(c) { + return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); + } + + function percentEncodeChar(c, encodeSetPredicate) { + const cStr = String.fromCodePoint(c); + + if (encodeSetPredicate(c)) { + return utf8PercentEncode(cStr); + } + + return cStr; + } + + function parseIPv4Number(input) { + let R = 10; + + if ( + input.length >= 2 && + input.charAt(0) === "0" && + input.charAt(1).toLowerCase() === "x" + ) { + input = input.substring(2); + R = 16; + } else if (input.length >= 2 && input.charAt(0) === "0") { + input = input.substring(1); + R = 8; + } + + if (input === "") { + return 0; + } + + const regex = + R === 10 ? /[^0-9]/ : R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/; + if (regex.test(input)) { + return failure; + } + + return parseInt(input, R); + } + + function parseIPv4(input) { + const parts = input.split("."); + if (parts[parts.length - 1] === "") { + if (parts.length > 1) { + parts.pop(); + } + } + + if (parts.length > 4) { + return input; + } + + const numbers = []; + for (const part of parts) { + if (part === "") { + return input; + } + const n = parseIPv4Number(part); + if (n === failure) { + return input; + } + + numbers.push(n); + } + + for (let i = 0; i < numbers.length - 1; ++i) { + if (numbers[i] > 255) { + return failure; + } + } + if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) { + return failure; + } + + let ipv4 = numbers.pop(); + let counter = 0; + + for (const n of numbers) { + ipv4 += n * Math.pow(256, 3 - counter); + ++counter; + } + + return ipv4; + } + + function serializeIPv4(address) { + let output = ""; + let n = address; + + for (let i = 1; i <= 4; ++i) { + output = String(n % 256) + output; + if (i !== 4) { + output = "." + output; + } + n = Math.floor(n / 256); + } + + return output; + } + + function parseIPv6(input) { + const address = [0, 0, 0, 0, 0, 0, 0, 0]; + let pieceIndex = 0; + let compress = null; + let pointer = 0; + + input = punycode.ucs2.decode(input); + + if (input[pointer] === 58) { + if (input[pointer + 1] !== 58) { + return failure; + } + + pointer += 2; + ++pieceIndex; + compress = pieceIndex; + } + + while (pointer < input.length) { + if (pieceIndex === 8) { + return failure; + } + + if (input[pointer] === 58) { + if (compress !== null) { + return failure; + } + ++pointer; + ++pieceIndex; + compress = pieceIndex; + continue; + } + + let value = 0; + let length = 0; + + while (length < 4 && isASCIIHex(input[pointer])) { + value = value * 0x10 + parseInt(at(input, pointer), 16); + ++pointer; + ++length; + } + + if (input[pointer] === 46) { + if (length === 0) { + return failure; + } + + pointer -= length; + + if (pieceIndex > 6) { + return failure; + } + + let numbersSeen = 0; + + while (input[pointer] !== undefined) { + let ipv4Piece = null; + + if (numbersSeen > 0) { + if (input[pointer] === 46 && numbersSeen < 4) { + ++pointer; + } else { + return failure; + } + } + + if (!isASCIIDigit(input[pointer])) { + return failure; + } + + while (isASCIIDigit(input[pointer])) { + const number = parseInt(at(input, pointer)); + if (ipv4Piece === null) { + ipv4Piece = number; + } else if (ipv4Piece === 0) { + return failure; + } else { + ipv4Piece = ipv4Piece * 10 + number; + } + if (ipv4Piece > 255) { + return failure; + } + ++pointer; + } + + address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece; + + ++numbersSeen; + + if (numbersSeen === 2 || numbersSeen === 4) { + ++pieceIndex; + } + } + + if (numbersSeen !== 4) { + return failure; + } + + break; + } else if (input[pointer] === 58) { + ++pointer; + if (input[pointer] === undefined) { + return failure; + } + } else if (input[pointer] !== undefined) { + return failure; + } + + address[pieceIndex] = value; + ++pieceIndex; + } + + if (compress !== null) { + let swaps = pieceIndex - compress; + pieceIndex = 7; + while (pieceIndex !== 0 && swaps > 0) { + const temp = address[compress + swaps - 1]; + address[compress + swaps - 1] = address[pieceIndex]; + address[pieceIndex] = temp; + --pieceIndex; + --swaps; + } + } else if (compress === null && pieceIndex !== 8) { + return failure; + } + + return address; + } + + function serializeIPv6(address) { + let output = ""; + const seqResult = findLongestZeroSequence(address); + const compress = seqResult.idx; + let ignore0 = false; + + for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) { + if (ignore0 && address[pieceIndex] === 0) { + continue; + } else if (ignore0) { + ignore0 = false; + } + + if (compress === pieceIndex) { + const separator = pieceIndex === 0 ? "::" : ":"; + output += separator; + ignore0 = true; + continue; + } + + output += address[pieceIndex].toString(16); + + if (pieceIndex !== 7) { + output += ":"; + } + } + + return output; + } + + function parseHost(input, isSpecialArg) { + if (input[0] === "[") { + if (input[input.length - 1] !== "]") { + return failure; + } + + return parseIPv6(input.substring(1, input.length - 1)); + } + + if (!isSpecialArg) { + return parseOpaqueHost(input); + } + + const domain = utf8PercentDecode(input); + const asciiDomain = tr46.toASCII( + domain, + false, + tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, + false + ); + if (asciiDomain === null) { + return failure; + } + + if (containsForbiddenHostCodePoint(asciiDomain)) { + return failure; + } + + const ipv4Host = parseIPv4(asciiDomain); + if (typeof ipv4Host === "number" || ipv4Host === failure) { + return ipv4Host; + } + + return asciiDomain; + } + + function parseOpaqueHost(input) { + if (containsForbiddenHostCodePointExcludingPercent(input)) { + return failure; + } + + let output = ""; + const decoded = punycode.ucs2.decode(input); + for (let i = 0; i < decoded.length; ++i) { + output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); + } + return output; + } + + function findLongestZeroSequence(arr) { + let maxIdx = null; + let maxLen = 1; // only find elements > 1 + let currStart = null; + let currLen = 0; + + for (let i = 0; i < arr.length; ++i) { + if (arr[i] !== 0) { + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + currStart = null; + currLen = 0; + } else { + if (currStart === null) { + currStart = i; + } + ++currLen; + } + } + + // if trailing zeros + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + return { + idx: maxIdx, + len: maxLen, + }; + } + + function serializeHost(host) { + if (typeof host === "number") { + return serializeIPv4(host); + } + + // IPv6 serializer + if (host instanceof Array) { + return "[" + serializeIPv6(host) + "]"; + } + + return host; + } + + function trimControlChars(url) { + return url.replace( + /^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, + "" + ); + } + + function trimTabAndNewline(url) { + return url.replace(/\u0009|\u000A|\u000D/g, ""); + } + + function shortenPath(url) { + const path = url.path; + if (path.length === 0) { + return; + } + if ( + url.scheme === "file" && + path.length === 1 && + isNormalizedWindowsDriveLetter(path[0]) + ) { + return; + } + + path.pop(); + } + + function includesCredentials(url) { + return url.username !== "" || url.password !== ""; + } + + function cannotHaveAUsernamePasswordPort(url) { + return ( + url.host === null || + url.host === "" || + url.cannotBeABaseURL || + url.scheme === "file" + ); + } + + function isNormalizedWindowsDriveLetter(string) { + return /^[A-Za-z]:$/.test(string); + } + + function URLStateMachine( + input, + base, + encodingOverride, + url, + stateOverride + ) { + this.pointer = 0; + this.input = input; + this.base = base || null; + this.encodingOverride = encodingOverride || "utf-8"; + this.stateOverride = stateOverride; + this.url = url; + this.failure = false; + this.parseError = false; + + if (!this.url) { + this.url = { + scheme: "", + username: "", + password: "", + host: null, + port: null, + path: [], + query: null, + fragment: null, + + cannotBeABaseURL: false, + }; + + const res = trimControlChars(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + } + + const res = trimTabAndNewline(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + + this.state = stateOverride || "scheme start"; + + this.buffer = ""; + this.atFlag = false; + this.arrFlag = false; + this.passwordTokenSeenFlag = false; + + this.input = punycode.ucs2.decode(this.input); + + for (; this.pointer <= this.input.length; ++this.pointer) { + const c = this.input[this.pointer]; + const cStr = isNaN(c) ? undefined : String.fromCodePoint(c); + + // exec state machine + const ret = this["parse " + this.state](c, cStr); + if (!ret) { + break; // terminate algorithm + } else if (ret === failure) { + this.failure = true; + break; + } + } + } + + URLStateMachine.prototype[ + "parse scheme start" + ] = function parseSchemeStart(c, cStr) { + if (isASCIIAlpha(c)) { + this.buffer += cStr.toLowerCase(); + this.state = "scheme"; + } else if (!this.stateOverride) { + this.state = "no scheme"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; + }; + + URLStateMachine.prototype["parse scheme"] = function parseScheme( + c, + cStr + ) { + if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { + this.buffer += cStr.toLowerCase(); + } else if (c === 58) { + if (this.stateOverride) { + if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) { + return false; + } + + if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { + return false; + } + + if ( + (includesCredentials(this.url) || this.url.port !== null) && + this.buffer === "file" + ) { + return false; + } + + if ( + this.url.scheme === "file" && + (this.url.host === "" || this.url.host === null) + ) { + return false; + } + } + this.url.scheme = this.buffer; + this.buffer = ""; + if (this.stateOverride) { + return false; + } + if (this.url.scheme === "file") { + if ( + this.input[this.pointer + 1] !== 47 || + this.input[this.pointer + 2] !== 47 + ) { + this.parseError = true; + } + this.state = "file"; + } else if ( + isSpecial(this.url) && + this.base !== null && + this.base.scheme === this.url.scheme + ) { + this.state = "special relative or authority"; + } else if (isSpecial(this.url)) { + this.state = "special authority slashes"; + } else if (this.input[this.pointer + 1] === 47) { + this.state = "path or authority"; + ++this.pointer; + } else { + this.url.cannotBeABaseURL = true; + this.url.path.push(""); + this.state = "cannot-be-a-base-URL path"; + } + } else if (!this.stateOverride) { + this.buffer = ""; + this.state = "no scheme"; + this.pointer = -1; + } else { + this.parseError = true; + return failure; + } + + return true; + }; + + URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { + if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { + return failure; + } else if (this.base.cannotBeABaseURL && c === 35) { + this.url.scheme = this.base.scheme; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.url.cannotBeABaseURL = true; + this.state = "fragment"; + } else if (this.base.scheme === "file") { + this.state = "file"; + --this.pointer; + } else { + this.state = "relative"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype[ + "parse special relative or authority" + ] = function parseSpecialRelativeOrAuthority(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "relative"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype[ + "parse path or authority" + ] = function parsePathOrAuthority(c) { + if (c === 47) { + this.state = "authority"; + } else { + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse relative"] = function parseRelative(c) { + this.url.scheme = this.base.scheme; + if (isNaN(c)) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 47) { + this.state = "relative slash"; + } else if (c === 63) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else if (isSpecial(this.url) && c === 92) { + this.parseError = true; + this.state = "relative slash"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(0, this.base.path.length - 1); + + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype[ + "parse relative slash" + ] = function parseRelativeSlash(c) { + if (isSpecial(this.url) && (c === 47 || c === 92)) { + if (c === 92) { + this.parseError = true; + } + this.state = "special authority ignore slashes"; + } else if (c === 47) { + this.state = "authority"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype[ + "parse special authority slashes" + ] = function parseSpecialAuthoritySlashes(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "special authority ignore slashes"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype[ + "parse special authority ignore slashes" + ] = function parseSpecialAuthorityIgnoreSlashes(c) { + if (c !== 47 && c !== 92) { + this.state = "authority"; + --this.pointer; + } else { + this.parseError = true; + } + + return true; + }; + + URLStateMachine.prototype["parse authority"] = function parseAuthority( + c, + cStr + ) { + if (c === 64) { + this.parseError = true; + if (this.atFlag) { + this.buffer = "%40" + this.buffer; + } + this.atFlag = true; + + // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars + const len = countSymbols(this.buffer); + for (let pointer = 0; pointer < len; ++pointer) { + const codePoint = this.buffer.codePointAt(pointer); + + if (codePoint === 58 && !this.passwordTokenSeenFlag) { + this.passwordTokenSeenFlag = true; + continue; + } + const encodedCodePoints = percentEncodeChar( + codePoint, + isUserinfoPercentEncode + ); + if (this.passwordTokenSeenFlag) { + this.url.password += encodedCodePoints; + } else { + this.url.username += encodedCodePoints; + } + } + this.buffer = ""; + } else if ( + isNaN(c) || + c === 47 || + c === 63 || + c === 35 || + (isSpecial(this.url) && c === 92) + ) { + if (this.atFlag && this.buffer === "") { + this.parseError = true; + return failure; + } + this.pointer -= countSymbols(this.buffer) + 1; + this.buffer = ""; + this.state = "host"; + } else { + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse hostname"] = URLStateMachine.prototype[ + "parse host" + ] = function parseHostName(c, cStr) { + if (this.stateOverride && this.url.scheme === "file") { + --this.pointer; + this.state = "file host"; + } else if (c === 58 && !this.arrFlag) { + if (this.buffer === "") { + this.parseError = true; + return failure; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "port"; + if (this.stateOverride === "hostname") { + return false; + } + } else if ( + isNaN(c) || + c === 47 || + c === 63 || + c === 35 || + (isSpecial(this.url) && c === 92) + ) { + --this.pointer; + if (isSpecial(this.url) && this.buffer === "") { + this.parseError = true; + return failure; + } else if ( + this.stateOverride && + this.buffer === "" && + (includesCredentials(this.url) || this.url.port !== null) + ) { + this.parseError = true; + return false; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "path start"; + if (this.stateOverride) { + return false; + } + } else { + if (c === 91) { + this.arrFlag = true; + } else if (c === 93) { + this.arrFlag = false; + } + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { + if (isASCIIDigit(c)) { + this.buffer += cStr; + } else if ( + isNaN(c) || + c === 47 || + c === 63 || + c === 35 || + (isSpecial(this.url) && c === 92) || + this.stateOverride + ) { + if (this.buffer !== "") { + const port = parseInt(this.buffer); + if (port > Math.pow(2, 16) - 1) { + this.parseError = true; + return failure; + } + this.url.port = port === defaultPort(this.url.scheme) ? null : port; + this.buffer = ""; + } + if (this.stateOverride) { + return false; + } + this.state = "path start"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; + }; + + const fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); + + URLStateMachine.prototype["parse file"] = function parseFile(c) { + this.url.scheme = "file"; + + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file slash"; + } else if (this.base !== null && this.base.scheme === "file") { + if (isNaN(c)) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 63) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else { + if ( + this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points + !isWindowsDriveLetterCodePoints( + c, + this.input[this.pointer + 1] + ) || + (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points + !fileOtherwiseCodePoints.has(this.input[this.pointer + 2])) + ) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + shortenPath(this.url); + } else { + this.parseError = true; + } + + this.state = "path"; + --this.pointer; + } + } else { + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse file slash"] = function parseFileSlash( + c + ) { + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file host"; + } else { + if (this.base !== null && this.base.scheme === "file") { + if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { + this.url.path.push(this.base.path[0]); + } else { + this.url.host = this.base.host; + } + } + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse file host"] = function parseFileHost( + c, + cStr + ) { + if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { + --this.pointer; + if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { + this.parseError = true; + this.state = "path"; + } else if (this.buffer === "") { + this.url.host = ""; + if (this.stateOverride) { + return false; + } + this.state = "path start"; + } else { + let host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + if (host === "localhost") { + host = ""; + } + this.url.host = host; + + if (this.stateOverride) { + return false; + } + + this.buffer = ""; + this.state = "path start"; + } + } else { + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse path start"] = function parsePathStart( + c + ) { + if (isSpecial(this.url)) { + if (c === 92) { + this.parseError = true; + } + this.state = "path"; + + if (c !== 47 && c !== 92) { + --this.pointer; + } + } else if (!this.stateOverride && c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (!this.stateOverride && c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else if (c !== undefined) { + this.state = "path"; + if (c !== 47) { + --this.pointer; + } + } + + return true; + }; + + URLStateMachine.prototype["parse path"] = function parsePath(c) { + if ( + isNaN(c) || + c === 47 || + (isSpecial(this.url) && c === 92) || + (!this.stateOverride && (c === 63 || c === 35)) + ) { + if (isSpecial(this.url) && c === 92) { + this.parseError = true; + } + + if (isDoubleDot(this.buffer)) { + shortenPath(this.url); + if (c !== 47 && !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } + } else if ( + isSingleDot(this.buffer) && + c !== 47 && + !(isSpecial(this.url) && c === 92) + ) { + this.url.path.push(""); + } else if (!isSingleDot(this.buffer)) { + if ( + this.url.scheme === "file" && + this.url.path.length === 0 && + isWindowsDriveLetterString(this.buffer) + ) { + if (this.url.host !== "" && this.url.host !== null) { + this.parseError = true; + this.url.host = ""; + } + this.buffer = this.buffer[0] + ":"; + } + this.url.path.push(this.buffer); + } + this.buffer = ""; + if ( + this.url.scheme === "file" && + (c === undefined || c === 63 || c === 35) + ) { + while (this.url.path.length > 1 && this.url.path[0] === "") { + this.parseError = true; + this.url.path.shift(); + } + } + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + + if ( + c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2])) + ) { + this.parseError = true; + } + + this.buffer += percentEncodeChar(c, isPathPercentEncode); + } + + return true; + }; + + URLStateMachine.prototype[ + "parse cannot-be-a-base-URL path" + ] = function parseCannotBeABaseURLPath(c) { + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else { + // TODO: Add: not a URL code point + if (!isNaN(c) && c !== 37) { + this.parseError = true; + } + + if ( + c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2])) + ) { + this.parseError = true; + } + + if (!isNaN(c)) { + this.url.path[0] = + this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); + } + } + + return true; + }; + + URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { + if (isNaN(c) || (!this.stateOverride && c === 35)) { + if ( + !isSpecial(this.url) || + this.url.scheme === "ws" || + this.url.scheme === "wss" + ) { + this.encodingOverride = "utf-8"; + } + + const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead + for (let i = 0; i < buffer.length; ++i) { + if ( + buffer[i] < 0x21 || + buffer[i] > 0x7e || + buffer[i] === 0x22 || + buffer[i] === 0x23 || + buffer[i] === 0x3c || + buffer[i] === 0x3e + ) { + this.url.query += percentEncode(buffer[i]); + } else { + this.url.query += String.fromCodePoint(buffer[i]); + } + } + + this.buffer = ""; + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if ( + c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2])) + ) { + this.parseError = true; + } + + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { + if (isNaN(c)) { + // do nothing + } else if (c === 0x0) { + this.parseError = true; + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if ( + c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2])) + ) { + this.parseError = true; + } + + this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); + } + + return true; + }; + + function serializeURL(url, excludeFragment) { + let output = url.scheme + ":"; + if (url.host !== null) { + output += "//"; + + if (url.username !== "" || url.password !== "") { + output += url.username; + if (url.password !== "") { + output += ":" + url.password; + } + output += "@"; + } + + output += serializeHost(url.host); + + if (url.port !== null) { + output += ":" + url.port; + } + } else if (url.host === null && url.scheme === "file") { + output += "//"; + } + + if (url.cannotBeABaseURL) { + output += url.path[0]; + } else { + for (const string of url.path) { + output += "/" + string; + } + } + + if (url.query !== null) { + output += "?" + url.query; + } + + if (!excludeFragment && url.fragment !== null) { + output += "#" + url.fragment; + } + + return output; + } + + function serializeOrigin(tuple) { + let result = tuple.scheme + "://"; + result += serializeHost(tuple.host); + + if (tuple.port !== null) { + result += ":" + tuple.port; + } + + return result; + } + + module.exports.serializeURL = serializeURL; + + module.exports.serializeURLOrigin = function (url) { + // https://url.spec.whatwg.org/#concept-url-origin + switch (url.scheme) { + case "blob": + try { + return module.exports.serializeURLOrigin( + module.exports.parseURL(url.path[0]) + ); + } catch (e) { + // serializing an opaque origin returns "null" + return "null"; + } + case "ftp": + case "gopher": + case "http": + case "https": + case "ws": + case "wss": + return serializeOrigin({ + scheme: url.scheme, + host: url.host, + port: url.port, + }); + case "file": + // spec says "exercise to the reader", chrome says "file://" + return "file://"; + default: + // serializing an opaque origin returns "null" + return "null"; + } + }; + + module.exports.basicURLParse = function (input, options) { + if (options === undefined) { + options = {}; + } + + const usm = new URLStateMachine( + input, + options.baseURL, + options.encodingOverride, + options.url, + options.stateOverride + ); + if (usm.failure) { + return "failure"; + } + + return usm.url; + }; + + module.exports.setTheUsername = function (url, username) { + url.username = ""; + const decoded = punycode.ucs2.decode(username); + for (let i = 0; i < decoded.length; ++i) { + url.username += percentEncodeChar( + decoded[i], + isUserinfoPercentEncode + ); + } + }; + + module.exports.setThePassword = function (url, password) { + url.password = ""; + const decoded = punycode.ucs2.decode(password); + for (let i = 0; i < decoded.length; ++i) { + url.password += percentEncodeChar( + decoded[i], + isUserinfoPercentEncode + ); + } + }; + + module.exports.serializeHost = serializeHost; + + module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; + + module.exports.serializeInteger = function (integer) { + return String(integer); + }; + + module.exports.parseURL = function (input, options) { + if (options === undefined) { + options = {}; + } + + // We don't handle blobs, so this just delegates: + return module.exports.basicURLParse(input, { + baseURL: options.baseURL, + encodingOverride: options.encodingOverride, + }); + }; + + /***/ + }, + /***/ 858: /***/ function (module) { module.exports = { version: "2.0", @@ -26579,11 +30696,44 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: {} }, }, }, + CancelReplay: { + input: { + type: "structure", + required: ["ReplayName"], + members: { ReplayName: {} }, + }, + output: { + type: "structure", + members: { ReplayArn: {}, State: {}, StateReason: {} }, + }, + }, + CreateArchive: { + input: { + type: "structure", + required: ["ArchiveName", "EventSourceArn"], + members: { + ArchiveName: {}, + EventSourceArn: {}, + Description: {}, + EventPattern: {}, + RetentionDays: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + ArchiveArn: {}, + State: {}, + StateReason: {}, + CreationTime: { type: "timestamp" }, + }, + }, + }, CreateEventBus: { input: { type: "structure", required: ["Name"], - members: { Name: {}, EventSourceName: {}, Tags: { shape: "S5" } }, + members: { Name: {}, EventSourceName: {}, Tags: { shape: "Sm" } }, }, output: { type: "structure", members: { EventBusArn: {} } }, }, @@ -26602,6 +30752,14 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: {} }, }, }, + DeleteArchive: { + input: { + type: "structure", + required: ["ArchiveName"], + members: { ArchiveName: {} }, + }, + output: { type: "structure", members: {} }, + }, DeleteEventBus: { input: { type: "structure", @@ -26627,6 +30785,29 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + DescribeArchive: { + input: { + type: "structure", + required: ["ArchiveName"], + members: { ArchiveName: {} }, + }, + output: { + type: "structure", + members: { + ArchiveArn: {}, + ArchiveName: {}, + EventSourceArn: {}, + Description: {}, + EventPattern: {}, + State: {}, + StateReason: {}, + RetentionDays: { type: "integer" }, + SizeBytes: { type: "long" }, + EventCount: { type: "long" }, + CreationTime: { type: "timestamp" }, + }, + }, + }, DescribeEventBus: { input: { type: "structure", members: { Name: {} } }, output: { @@ -26660,6 +30841,30 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", members: { Arn: {}, Name: {} } }, }, + DescribeReplay: { + input: { + type: "structure", + required: ["ReplayName"], + members: { ReplayName: {} }, + }, + output: { + type: "structure", + members: { + ReplayName: {}, + ReplayArn: {}, + Description: {}, + State: {}, + StateReason: {}, + EventSourceArn: {}, + Destination: { shape: "S1h" }, + EventStartTime: { type: "timestamp" }, + EventEndTime: { type: "timestamp" }, + EventLastReplayedTime: { type: "timestamp" }, + ReplayStartTime: { type: "timestamp" }, + ReplayEndTime: { type: "timestamp" }, + }, + }, + }, DescribeRule: { input: { type: "structure", @@ -26678,6 +30883,7 @@ module.exports = /******/ (function (modules, runtime) { RoleArn: {}, ManagedBy: {}, EventBusName: {}, + CreatedBy: {}, }, }, }, @@ -26695,6 +30901,40 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: {}, EventBusName: {} }, }, }, + ListArchives: { + input: { + type: "structure", + members: { + NamePrefix: {}, + EventSourceArn: {}, + State: {}, + NextToken: {}, + Limit: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + Archives: { + type: "list", + member: { + type: "structure", + members: { + ArchiveName: {}, + EventSourceArn: {}, + State: {}, + StateReason: {}, + RetentionDays: { type: "integer" }, + SizeBytes: { type: "long" }, + EventCount: { type: "long" }, + CreationTime: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, + }, + }, + }, ListEventBuses: { input: { type: "structure", @@ -26798,6 +31038,41 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + ListReplays: { + input: { + type: "structure", + members: { + NamePrefix: {}, + State: {}, + EventSourceArn: {}, + NextToken: {}, + Limit: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + Replays: { + type: "list", + member: { + type: "structure", + members: { + ReplayName: {}, + EventSourceArn: {}, + State: {}, + StateReason: {}, + EventStartTime: { type: "timestamp" }, + EventEndTime: { type: "timestamp" }, + EventLastReplayedTime: { type: "timestamp" }, + ReplayStartTime: { type: "timestamp" }, + ReplayEndTime: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, + }, + }, + }, ListRuleNamesByTarget: { input: { type: "structure", @@ -26857,7 +31132,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["ResourceARN"], members: { ResourceARN: {} }, }, - output: { type: "structure", members: { Tags: { shape: "S5" } } }, + output: { type: "structure", members: { Tags: { shape: "Sm" } } }, }, ListTargetsByRule: { input: { @@ -26872,7 +31147,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Targets: { shape: "S20" }, NextToken: {} }, + members: { Targets: { shape: "S2y" }, NextToken: {} }, }, }, PutEvents: { @@ -26887,7 +31162,7 @@ module.exports = /******/ (function (modules, runtime) { members: { Time: { type: "timestamp" }, Source: {}, - Resources: { shape: "S2y" }, + Resources: { shape: "S4g" }, DetailType: {}, Detail: {}, EventBusName: {}, @@ -26922,7 +31197,7 @@ module.exports = /******/ (function (modules, runtime) { members: { Time: { type: "timestamp" }, Source: {}, - Resources: { shape: "S2y" }, + Resources: { shape: "S4g" }, DetailType: {}, Detail: {}, }, @@ -26947,7 +31222,6 @@ module.exports = /******/ (function (modules, runtime) { PutPermission: { input: { type: "structure", - required: ["Action", "Principal", "StatementId"], members: { EventBusName: {}, Action: {}, @@ -26958,6 +31232,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["Type", "Key", "Value"], members: { Type: {}, Key: {}, Value: {} }, }, + Policy: {}, }, }, }, @@ -26972,7 +31247,7 @@ module.exports = /******/ (function (modules, runtime) { State: {}, Description: {}, RoleArn: {}, - Tags: { shape: "S5" }, + Tags: { shape: "Sm" }, EventBusName: {}, }, }, @@ -26985,7 +31260,7 @@ module.exports = /******/ (function (modules, runtime) { members: { Rule: {}, EventBusName: {}, - Targets: { shape: "S20" }, + Targets: { shape: "S2y" }, }, }, output: { @@ -27005,8 +31280,11 @@ module.exports = /******/ (function (modules, runtime) { RemovePermission: { input: { type: "structure", - required: ["StatementId"], - members: { StatementId: {}, EventBusName: {} }, + members: { + StatementId: {}, + RemoveAllPermissions: { type: "boolean" }, + EventBusName: {}, + }, }, }, RemoveTargets: { @@ -27034,11 +31312,40 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + StartReplay: { + input: { + type: "structure", + required: [ + "ReplayName", + "EventSourceArn", + "EventStartTime", + "EventEndTime", + "Destination", + ], + members: { + ReplayName: {}, + Description: {}, + EventSourceArn: {}, + EventStartTime: { type: "timestamp" }, + EventEndTime: { type: "timestamp" }, + Destination: { shape: "S1h" }, + }, + }, + output: { + type: "structure", + members: { + ReplayArn: {}, + State: {}, + StateReason: {}, + ReplayStartTime: { type: "timestamp" }, + }, + }, + }, TagResource: { input: { type: "structure", required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S5" } }, + members: { ResourceARN: {}, Tags: { shape: "Sm" } }, }, output: { type: "structure", members: {} }, }, @@ -27064,9 +31371,30 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", members: {} }, }, + UpdateArchive: { + input: { + type: "structure", + required: ["ArchiveName"], + members: { + ArchiveName: {}, + Description: {}, + EventPattern: {}, + RetentionDays: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + ArchiveArn: {}, + State: {}, + StateReason: {}, + CreationTime: { type: "timestamp" }, + }, + }, + }, }, shapes: { - S5: { + Sm: { type: "list", member: { type: "structure", @@ -27074,7 +31402,12 @@ module.exports = /******/ (function (modules, runtime) { members: { Key: {}, Value: {} }, }, }, - S20: { + S1h: { + type: "structure", + required: ["Arn"], + members: { Arn: {}, FilterArns: { type: "list", member: {} } }, + }, + S2y: { type: "list", member: { type: "structure", @@ -27129,8 +31462,8 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: ["Subnets"], members: { - Subnets: { shape: "S2m" }, - SecurityGroups: { shape: "S2m" }, + Subnets: { shape: "S3k" }, + SecurityGroups: { shape: "S3k" }, AssignPublicIp: {}, }, }, @@ -27160,11 +31493,39 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { MessageGroupId: {} }, }, + HttpParameters: { + type: "structure", + members: { + PathParameterValues: { type: "list", member: {} }, + HeaderParameters: { type: "map", key: {}, value: {} }, + QueryStringParameters: { type: "map", key: {}, value: {} }, + }, + }, + RedshiftDataParameters: { + type: "structure", + required: ["Database", "Sql"], + members: { + SecretManagerArn: {}, + Database: {}, + DbUser: {}, + Sql: {}, + StatementName: {}, + WithEvent: { type: "boolean" }, + }, + }, + DeadLetterConfig: { type: "structure", members: { Arn: {} } }, + RetryPolicy: { + type: "structure", + members: { + MaximumRetryAttempts: { type: "integer" }, + MaximumEventAgeInSeconds: { type: "integer" }, + }, + }, }, }, }, - S2m: { type: "list", member: {} }, - S2y: { type: "list", member: {} }, + S3k: { type: "list", member: {} }, + S4g: { type: "list", member: {} }, }, }; @@ -27632,6 +31993,43 @@ module.exports = /******/ (function (modules, runtime) { }, ], }, + AddonActive: { + delay: 10, + operation: "DescribeAddon", + maxAttempts: 60, + acceptors: [ + { + expected: "CREATE_FAILED", + matcher: "path", + state: "failure", + argument: "addon.status", + }, + { + expected: "ACTIVE", + matcher: "path", + state: "success", + argument: "addon.status", + }, + ], + }, + AddonDeleted: { + delay: 10, + operation: "DescribeAddon", + maxAttempts: 60, + acceptors: [ + { + expected: "DELETE_FAILED", + matcher: "path", + state: "failure", + argument: "addon.status", + }, + { + expected: "ResourceNotFoundException", + matcher: "error", + state: "success", + }, + ], + }, }, }; @@ -27727,7 +32125,7 @@ module.exports = /******/ (function (modules, runtime) { JobStatus: {}, NextToken: {}, Blocks: { shape: "Sj" }, - Warnings: { shape: "S1e" }, + Warnings: { shape: "S1f" }, StatusMessage: {}, AnalyzeDocumentModelVersion: {}, }, @@ -27750,7 +32148,7 @@ module.exports = /******/ (function (modules, runtime) { JobStatus: {}, NextToken: {}, Blocks: { shape: "Sj" }, - Warnings: { shape: "S1e" }, + Warnings: { shape: "S1f" }, StatusMessage: {}, DetectDocumentTextModelVersion: {}, }, @@ -27761,11 +32159,13 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: ["DocumentLocation", "FeatureTypes"], members: { - DocumentLocation: { shape: "S1m" }, + DocumentLocation: { shape: "S1n" }, FeatureTypes: { shape: "S8" }, ClientRequestToken: {}, JobTag: {}, - NotificationChannel: { shape: "S1p" }, + NotificationChannel: { shape: "S1q" }, + OutputConfig: { shape: "S1t" }, + KMSKeyId: {}, }, }, output: { type: "structure", members: { JobId: {} } }, @@ -27775,10 +32175,12 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: ["DocumentLocation"], members: { - DocumentLocation: { shape: "S1m" }, + DocumentLocation: { shape: "S1n" }, ClientRequestToken: {}, JobTag: {}, - NotificationChannel: { shape: "S1p" }, + NotificationChannel: { shape: "S1q" }, + OutputConfig: { shape: "S1t" }, + KMSKeyId: {}, }, }, output: { type: "structure", members: { JobId: {} } }, @@ -27803,6 +32205,7 @@ module.exports = /******/ (function (modules, runtime) { BlockType: {}, Confidence: { type: "float" }, Text: {}, + TextType: {}, RowIndex: { type: "integer" }, ColumnIndex: { type: "integer" }, RowSpan: { type: "integer" }, @@ -27842,7 +32245,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S1e: { + S1f: { type: "list", member: { type: "structure", @@ -27852,12 +32255,32 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S1m: { type: "structure", members: { S3Object: { shape: "S4" } } }, - S1p: { + S1n: { type: "structure", members: { S3Object: { shape: "S4" } } }, + S1q: { type: "structure", required: ["SNSTopicArn", "RoleArn"], members: { SNSTopicArn: {}, RoleArn: {} }, }, + S1t: { + type: "structure", + required: ["S3Bucket"], + members: { S3Bucket: {}, S3Prefix: {} }, + }, + }, + }; + + /***/ + }, + + /***/ 925: /***/ function (module) { + module.exports = { + pagination: { + ListEnvironments: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Environments", + }, }, }; @@ -29165,6 +33588,121 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 985: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2020-06-15", + endpointPrefix: "identitystore", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "IdentityStore", + serviceFullName: "AWS SSO Identity Store", + serviceId: "identitystore", + signatureVersion: "v4", + signingName: "identitystore", + targetPrefix: "AWSIdentityStore", + uid: "identitystore-2020-06-15", + }, + operations: { + DescribeGroup: { + input: { + type: "structure", + required: ["IdentityStoreId", "GroupId"], + members: { IdentityStoreId: {}, GroupId: {} }, + }, + output: { + type: "structure", + required: ["GroupId", "DisplayName"], + members: { GroupId: {}, DisplayName: {} }, + }, + }, + DescribeUser: { + input: { + type: "structure", + required: ["IdentityStoreId", "UserId"], + members: { IdentityStoreId: {}, UserId: {} }, + }, + output: { + type: "structure", + required: ["UserName", "UserId"], + members: { UserName: { shape: "S8" }, UserId: {} }, + }, + }, + ListGroups: { + input: { + type: "structure", + required: ["IdentityStoreId"], + members: { + IdentityStoreId: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + Filters: { shape: "Sc" }, + }, + }, + output: { + type: "structure", + required: ["Groups"], + members: { + Groups: { + type: "list", + member: { + type: "structure", + required: ["GroupId", "DisplayName"], + members: { GroupId: {}, DisplayName: {} }, + }, + }, + NextToken: {}, + }, + }, + }, + ListUsers: { + input: { + type: "structure", + required: ["IdentityStoreId"], + members: { + IdentityStoreId: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + Filters: { shape: "Sc" }, + }, + }, + output: { + type: "structure", + required: ["Users"], + members: { + Users: { + type: "list", + member: { + type: "structure", + required: ["UserName", "UserId"], + members: { UserName: { shape: "S8" }, UserId: {} }, + }, + }, + NextToken: {}, + }, + }, + }, + }, + shapes: { + S8: { type: "string", sensitive: true }, + Sc: { + type: "list", + member: { + type: "structure", + required: ["AttributePath", "AttributeValue"], + members: { + AttributePath: {}, + AttributeValue: { type: "string", sensitive: true }, + }, + }, + }, + }, + }; + + /***/ + }, + /***/ 988: /***/ function (module) { module.exports = { version: "2.0", @@ -29231,7 +33769,6 @@ module.exports = /******/ (function (modules, runtime) { required: [ "DirectoryName", "OrganizationalUnitDistinguishedNames", - "ServiceAccountCredentials", ], members: { DirectoryName: {}, @@ -29265,9 +33802,10 @@ module.exports = /******/ (function (modules, runtime) { Tags: { shape: "S16" }, IdleDisconnectTimeoutInSeconds: { type: "integer" }, IamRoleArn: {}, + StreamView: {}, }, }, - output: { type: "structure", members: { Fleet: { shape: "S1a" } } }, + output: { type: "structure", members: { Fleet: { shape: "S1b" } } }, }, CreateImageBuilder: { input: { @@ -29286,12 +33824,12 @@ module.exports = /******/ (function (modules, runtime) { DomainJoinInfo: { shape: "S15" }, AppstreamAgentVersion: {}, Tags: { shape: "S16" }, - AccessEndpoints: { shape: "S1i" }, + AccessEndpoints: { shape: "S1j" }, }, }, output: { type: "structure", - members: { ImageBuilder: { shape: "S1m" } }, + members: { ImageBuilder: { shape: "S1n" } }, }, }, CreateImageBuilderStreamingURL: { @@ -29313,17 +33851,17 @@ module.exports = /******/ (function (modules, runtime) { Name: {}, Description: {}, DisplayName: {}, - StorageConnectors: { shape: "S1y" }, + StorageConnectors: { shape: "S1z" }, RedirectURL: {}, FeedbackURL: {}, - UserSettings: { shape: "S26" }, - ApplicationSettings: { shape: "S2a" }, + UserSettings: { shape: "S27" }, + ApplicationSettings: { shape: "S2b" }, Tags: { shape: "S16" }, - AccessEndpoints: { shape: "S1i" }, - EmbedHostDomains: { shape: "S2c" }, + AccessEndpoints: { shape: "S1j" }, + EmbedHostDomains: { shape: "S2d" }, }, }, - output: { type: "structure", members: { Stack: { shape: "S2f" } } }, + output: { type: "structure", members: { Stack: { shape: "S2g" } } }, }, CreateStreamingURL: { input: { @@ -29357,8 +33895,8 @@ module.exports = /******/ (function (modules, runtime) { members: { UserName: { shape: "S7" }, MessageAction: {}, - FirstName: { shape: "S2s" }, - LastName: { shape: "S2s" }, + FirstName: { shape: "S2t" }, + LastName: { shape: "S2t" }, AuthenticationType: {}, }, }, @@ -29386,7 +33924,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["Name"], members: { Name: {} }, }, - output: { type: "structure", members: { Image: { shape: "S30" } } }, + output: { type: "structure", members: { Image: { shape: "S31" } } }, }, DeleteImageBuilder: { input: { @@ -29396,7 +33934,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ImageBuilder: { shape: "S1m" } }, + members: { ImageBuilder: { shape: "S1n" } }, }, }, DeleteImagePermissions: { @@ -29447,12 +33985,12 @@ module.exports = /******/ (function (modules, runtime) { DescribeFleets: { input: { type: "structure", - members: { Names: { shape: "S3p" }, NextToken: {} }, + members: { Names: { shape: "S3q" }, NextToken: {} }, }, output: { type: "structure", members: { - Fleets: { type: "list", member: { shape: "S1a" } }, + Fleets: { type: "list", member: { shape: "S1b" } }, NextToken: {}, }, }, @@ -29461,7 +33999,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - Names: { shape: "S3p" }, + Names: { shape: "S3q" }, MaxResults: { type: "integer" }, NextToken: {}, }, @@ -29469,7 +34007,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - ImageBuilders: { type: "list", member: { shape: "S1m" } }, + ImageBuilders: { type: "list", member: { shape: "S1n" } }, NextToken: {}, }, }, @@ -29496,7 +34034,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["sharedAccountId", "imagePermissions"], members: { sharedAccountId: {}, - imagePermissions: { shape: "S38" }, + imagePermissions: { shape: "S39" }, }, }, }, @@ -29508,7 +34046,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - Names: { shape: "S3p" }, + Names: { shape: "S3q" }, Arns: { type: "list", member: {} }, Type: {}, NextToken: {}, @@ -29518,7 +34056,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - Images: { type: "list", member: { shape: "S30" } }, + Images: { type: "list", member: { shape: "S31" } }, NextToken: {}, }, }, @@ -29560,7 +34098,7 @@ module.exports = /******/ (function (modules, runtime) { StartTime: { type: "timestamp" }, MaxExpirationTime: { type: "timestamp" }, AuthenticationType: {}, - NetworkAccessConfiguration: { shape: "S1r" }, + NetworkAccessConfiguration: { shape: "S1s" }, }, }, }, @@ -29571,12 +34109,12 @@ module.exports = /******/ (function (modules, runtime) { DescribeStacks: { input: { type: "structure", - members: { Names: { shape: "S3p" }, NextToken: {} }, + members: { Names: { shape: "S3q" }, NextToken: {} }, }, output: { type: "structure", members: { - Stacks: { type: "list", member: { shape: "S2f" } }, + Stacks: { type: "list", member: { shape: "S2g" } }, NextToken: {}, }, }, @@ -29653,8 +34191,8 @@ module.exports = /******/ (function (modules, runtime) { UserName: { shape: "S7" }, Enabled: { type: "boolean" }, Status: {}, - FirstName: { shape: "S2s" }, - LastName: { shape: "S2s" }, + FirstName: { shape: "S2t" }, + LastName: { shape: "S2t" }, CreatedTime: { type: "timestamp" }, AuthenticationType: {}, }, @@ -29704,7 +34242,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Names: { shape: "S3p" }, NextToken: {} }, + members: { Names: { shape: "S3q" }, NextToken: {} }, }, }, ListAssociatedStacks: { @@ -29715,7 +34253,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Names: { shape: "S3p" }, NextToken: {} }, + members: { Names: { shape: "S3q" }, NextToken: {} }, }, }, ListTagsForResource: { @@ -29742,7 +34280,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ImageBuilder: { shape: "S1m" } }, + members: { ImageBuilder: { shape: "S1n" } }, }, }, StopFleet: { @@ -29761,7 +34299,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ImageBuilder: { shape: "S1m" } }, + members: { ImageBuilder: { shape: "S1n" } }, }, }, TagResource: { @@ -29818,9 +34356,10 @@ module.exports = /******/ (function (modules, runtime) { IdleDisconnectTimeoutInSeconds: { type: "integer" }, AttributesToDelete: { type: "list", member: {} }, IamRoleArn: {}, + StreamView: {}, }, }, - output: { type: "structure", members: { Fleet: { shape: "S1a" } } }, + output: { type: "structure", members: { Fleet: { shape: "S1b" } } }, }, UpdateImagePermissions: { input: { @@ -29829,7 +34368,7 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: {}, SharedAccountId: {}, - ImagePermissions: { shape: "S38" }, + ImagePermissions: { shape: "S39" }, }, }, output: { type: "structure", members: {} }, @@ -29842,18 +34381,18 @@ module.exports = /******/ (function (modules, runtime) { DisplayName: {}, Description: {}, Name: {}, - StorageConnectors: { shape: "S1y" }, + StorageConnectors: { shape: "S1z" }, DeleteStorageConnectors: { deprecated: true, type: "boolean" }, RedirectURL: {}, FeedbackURL: {}, AttributesToDelete: { type: "list", member: {} }, - UserSettings: { shape: "S26" }, - ApplicationSettings: { shape: "S2a" }, - AccessEndpoints: { shape: "S1i" }, - EmbedHostDomains: { shape: "S2c" }, + UserSettings: { shape: "S27" }, + ApplicationSettings: { shape: "S2b" }, + AccessEndpoints: { shape: "S1j" }, + EmbedHostDomains: { shape: "S2d" }, }, }, - output: { type: "structure", members: { Stack: { shape: "S2f" } } }, + output: { type: "structure", members: { Stack: { shape: "S2g" } } }, }, }, shapes: { @@ -29919,7 +34458,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, S16: { type: "map", key: {}, value: {} }, - S1a: { + S1b: { type: "structure", required: [ "Arn", @@ -29963,9 +34502,10 @@ module.exports = /******/ (function (modules, runtime) { DomainJoinInfo: { shape: "S15" }, IdleDisconnectTimeoutInSeconds: { type: "integer" }, IamRoleArn: {}, + StreamView: {}, }, }, - S1i: { + S1j: { type: "list", member: { type: "structure", @@ -29973,7 +34513,7 @@ module.exports = /******/ (function (modules, runtime) { members: { EndpointType: {}, VpceId: {} }, }, }, - S1m: { + S1n: { type: "structure", required: ["Name"], members: { @@ -29994,7 +34534,7 @@ module.exports = /******/ (function (modules, runtime) { CreatedTime: { type: "timestamp" }, EnableDefaultInternetAccess: { type: "boolean" }, DomainJoinInfo: { shape: "S15" }, - NetworkAccessConfiguration: { shape: "S1r" }, + NetworkAccessConfiguration: { shape: "S1s" }, ImageBuilderErrors: { type: "list", member: { @@ -30007,14 +34547,14 @@ module.exports = /******/ (function (modules, runtime) { }, }, AppstreamAgentVersion: {}, - AccessEndpoints: { shape: "S1i" }, + AccessEndpoints: { shape: "S1j" }, }, }, - S1r: { + S1s: { type: "structure", members: { EniPrivateIpAddress: {}, EniId: {} }, }, - S1y: { + S1z: { type: "list", member: { type: "structure", @@ -30026,7 +34566,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S26: { + S27: { type: "list", member: { type: "structure", @@ -30034,13 +34574,13 @@ module.exports = /******/ (function (modules, runtime) { members: { Action: {}, Permission: {} }, }, }, - S2a: { + S2b: { type: "structure", required: ["Enabled"], members: { Enabled: { type: "boolean" }, SettingsGroup: {} }, }, - S2c: { type: "list", member: {} }, - S2f: { + S2d: { type: "list", member: {} }, + S2g: { type: "structure", required: ["Name"], members: { @@ -30049,7 +34589,7 @@ module.exports = /******/ (function (modules, runtime) { Description: {}, DisplayName: {}, CreatedTime: { type: "timestamp" }, - StorageConnectors: { shape: "S1y" }, + StorageConnectors: { shape: "S1z" }, RedirectURL: {}, FeedbackURL: {}, StackErrors: { @@ -30059,7 +34599,7 @@ module.exports = /******/ (function (modules, runtime) { members: { ErrorCode: {}, ErrorMessage: {} }, }, }, - UserSettings: { shape: "S26" }, + UserSettings: { shape: "S27" }, ApplicationSettings: { type: "structure", members: { @@ -30068,12 +34608,12 @@ module.exports = /******/ (function (modules, runtime) { S3BucketName: {}, }, }, - AccessEndpoints: { shape: "S1i" }, - EmbedHostDomains: { shape: "S2c" }, + AccessEndpoints: { shape: "S1j" }, + EmbedHostDomains: { shape: "S2d" }, }, }, - S2s: { type: "string", sensitive: true }, - S30: { + S2t: { type: "string", sensitive: true }, + S31: { type: "structure", required: ["Name"], members: { @@ -30109,17 +34649,17 @@ module.exports = /******/ (function (modules, runtime) { CreatedTime: { type: "timestamp" }, PublicBaseImageReleasedDate: { type: "timestamp" }, AppstreamAgentVersion: {}, - ImagePermissions: { shape: "S38" }, + ImagePermissions: { shape: "S39" }, }, }, - S38: { + S39: { type: "structure", members: { allowFleet: { type: "boolean" }, allowImageBuilder: { type: "boolean" }, }, }, - S3p: { type: "list", member: {} }, + S3q: { type: "list", member: {} }, }, }; @@ -30183,7 +34723,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CampaignResponse: { shape: "S14" } }, + members: { CampaignResponse: { shape: "S18" } }, required: ["CampaignResponse"], payload: "CampaignResponse", }, @@ -30196,7 +34736,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - EmailTemplateRequest: { shape: "S1a" }, + EmailTemplateRequest: { shape: "S1e" }, TemplateName: { location: "uri", locationName: "template-name", @@ -30207,7 +34747,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CreateTemplateMessageBody: { shape: "S1c" } }, + members: { CreateTemplateMessageBody: { shape: "S1g" } }, required: ["CreateTemplateMessageBody"], payload: "CreateTemplateMessageBody", }, @@ -30240,7 +34780,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ExportJobResponse: { shape: "S1g" } }, + members: { ExportJobResponse: { shape: "S1k" } }, required: ["ExportJobResponse"], payload: "ExportJobResponse", }, @@ -30277,7 +34817,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ImportJobResponse: { shape: "S1n" } }, + members: { ImportJobResponse: { shape: "S1r" } }, required: ["ImportJobResponse"], payload: "ImportJobResponse", }, @@ -30294,14 +34834,14 @@ module.exports = /******/ (function (modules, runtime) { location: "uri", locationName: "application-id", }, - WriteJourneyRequest: { shape: "S1q" }, + WriteJourneyRequest: { shape: "S1u" }, }, required: ["ApplicationId", "WriteJourneyRequest"], payload: "WriteJourneyRequest", }, output: { type: "structure", - members: { JourneyResponse: { shape: "S2q" } }, + members: { JourneyResponse: { shape: "S32" } }, required: ["JourneyResponse"], payload: "JourneyResponse", }, @@ -30314,7 +34854,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - PushNotificationTemplateRequest: { shape: "S2s" }, + PushNotificationTemplateRequest: { shape: "S34" }, TemplateName: { location: "uri", locationName: "template-name", @@ -30325,7 +34865,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CreateTemplateMessageBody: { shape: "S1c" } }, + members: { CreateTemplateMessageBody: { shape: "S1g" } }, required: ["CreateTemplateMessageBody"], payload: "CreateTemplateMessageBody", }, @@ -30359,7 +34899,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { RecommenderConfigurationResponse: { shape: "S30" } }, + members: { RecommenderConfigurationResponse: { shape: "S3c" } }, required: ["RecommenderConfigurationResponse"], payload: "RecommenderConfigurationResponse", }, @@ -30376,14 +34916,14 @@ module.exports = /******/ (function (modules, runtime) { location: "uri", locationName: "application-id", }, - WriteSegmentRequest: { shape: "S32" }, + WriteSegmentRequest: { shape: "S3e" }, }, required: ["ApplicationId", "WriteSegmentRequest"], payload: "WriteSegmentRequest", }, output: { type: "structure", - members: { SegmentResponse: { shape: "S3d" } }, + members: { SegmentResponse: { shape: "S3p" } }, required: ["SegmentResponse"], payload: "SegmentResponse", }, @@ -30396,7 +34936,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - SMSTemplateRequest: { shape: "S3i" }, + SMSTemplateRequest: { shape: "S3u" }, TemplateName: { location: "uri", locationName: "template-name", @@ -30407,7 +34947,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CreateTemplateMessageBody: { shape: "S1c" } }, + members: { CreateTemplateMessageBody: { shape: "S1g" } }, required: ["CreateTemplateMessageBody"], payload: "CreateTemplateMessageBody", }, @@ -30424,14 +34964,14 @@ module.exports = /******/ (function (modules, runtime) { location: "uri", locationName: "template-name", }, - VoiceTemplateRequest: { shape: "S3l" }, + VoiceTemplateRequest: { shape: "S3x" }, }, required: ["TemplateName", "VoiceTemplateRequest"], payload: "VoiceTemplateRequest", }, output: { type: "structure", - members: { CreateTemplateMessageBody: { shape: "S1c" } }, + members: { CreateTemplateMessageBody: { shape: "S1g" } }, required: ["CreateTemplateMessageBody"], payload: "CreateTemplateMessageBody", }, @@ -30454,7 +34994,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ADMChannelResponse: { shape: "S3p" } }, + members: { ADMChannelResponse: { shape: "S41" } }, required: ["ADMChannelResponse"], payload: "ADMChannelResponse", }, @@ -30477,7 +35017,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSChannelResponse: { shape: "S3s" } }, + members: { APNSChannelResponse: { shape: "S44" } }, required: ["APNSChannelResponse"], payload: "APNSChannelResponse", }, @@ -30500,7 +35040,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSSandboxChannelResponse: { shape: "S3v" } }, + members: { APNSSandboxChannelResponse: { shape: "S47" } }, required: ["APNSSandboxChannelResponse"], payload: "APNSSandboxChannelResponse", }, @@ -30523,7 +35063,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSVoipChannelResponse: { shape: "S3y" } }, + members: { APNSVoipChannelResponse: { shape: "S4a" } }, required: ["APNSVoipChannelResponse"], payload: "APNSVoipChannelResponse", }, @@ -30547,7 +35087,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSVoipSandboxChannelResponse: { shape: "S41" } }, + members: { APNSVoipSandboxChannelResponse: { shape: "S4d" } }, required: ["APNSVoipSandboxChannelResponse"], payload: "APNSVoipSandboxChannelResponse", }, @@ -30593,7 +35133,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { BaiduChannelResponse: { shape: "S46" } }, + members: { BaiduChannelResponse: { shape: "S4i" } }, required: ["BaiduChannelResponse"], payload: "BaiduChannelResponse", }, @@ -30617,7 +35157,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CampaignResponse: { shape: "S14" } }, + members: { CampaignResponse: { shape: "S18" } }, required: ["CampaignResponse"], payload: "CampaignResponse", }, @@ -30640,7 +35180,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EmailChannelResponse: { shape: "S4b" } }, + members: { EmailChannelResponse: { shape: "S4n" } }, required: ["EmailChannelResponse"], payload: "EmailChannelResponse", }, @@ -30664,7 +35204,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -30688,7 +35228,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EndpointResponse: { shape: "S4h" } }, + members: { EndpointResponse: { shape: "S4t" } }, required: ["EndpointResponse"], payload: "EndpointResponse", }, @@ -30711,7 +35251,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EventStream: { shape: "S4q" } }, + members: { EventStream: { shape: "S52" } }, required: ["EventStream"], payload: "EventStream", }, @@ -30734,7 +35274,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { GCMChannelResponse: { shape: "S4t" } }, + members: { GCMChannelResponse: { shape: "S55" } }, required: ["GCMChannelResponse"], payload: "GCMChannelResponse", }, @@ -30758,7 +35298,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { JourneyResponse: { shape: "S2q" } }, + members: { JourneyResponse: { shape: "S32" } }, required: ["JourneyResponse"], payload: "JourneyResponse", }, @@ -30782,7 +35322,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -30805,7 +35345,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { RecommenderConfigurationResponse: { shape: "S30" } }, + members: { RecommenderConfigurationResponse: { shape: "S3c" } }, required: ["RecommenderConfigurationResponse"], payload: "RecommenderConfigurationResponse", }, @@ -30829,7 +35369,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { SegmentResponse: { shape: "S3d" } }, + members: { SegmentResponse: { shape: "S3p" } }, required: ["SegmentResponse"], payload: "SegmentResponse", }, @@ -30852,7 +35392,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { SMSChannelResponse: { shape: "S54" } }, + members: { SMSChannelResponse: { shape: "S5g" } }, required: ["SMSChannelResponse"], payload: "SMSChannelResponse", }, @@ -30876,7 +35416,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -30900,7 +35440,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EndpointsResponse: { shape: "S59" } }, + members: { EndpointsResponse: { shape: "S5l" } }, required: ["EndpointsResponse"], payload: "EndpointsResponse", }, @@ -30923,7 +35463,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { VoiceChannelResponse: { shape: "S5d" } }, + members: { VoiceChannelResponse: { shape: "S5p" } }, required: ["VoiceChannelResponse"], payload: "VoiceChannelResponse", }, @@ -30947,7 +35487,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -30970,7 +35510,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ADMChannelResponse: { shape: "S3p" } }, + members: { ADMChannelResponse: { shape: "S41" } }, required: ["ADMChannelResponse"], payload: "ADMChannelResponse", }, @@ -30993,7 +35533,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSChannelResponse: { shape: "S3s" } }, + members: { APNSChannelResponse: { shape: "S44" } }, required: ["APNSChannelResponse"], payload: "APNSChannelResponse", }, @@ -31016,7 +35556,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSSandboxChannelResponse: { shape: "S3v" } }, + members: { APNSSandboxChannelResponse: { shape: "S47" } }, required: ["APNSSandboxChannelResponse"], payload: "APNSSandboxChannelResponse", }, @@ -31039,7 +35579,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSVoipChannelResponse: { shape: "S3y" } }, + members: { APNSVoipChannelResponse: { shape: "S4a" } }, required: ["APNSVoipChannelResponse"], payload: "APNSVoipChannelResponse", }, @@ -31063,7 +35603,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSVoipSandboxChannelResponse: { shape: "S41" } }, + members: { APNSVoipSandboxChannelResponse: { shape: "S4d" } }, required: ["APNSVoipSandboxChannelResponse"], payload: "APNSVoipSandboxChannelResponse", }, @@ -31105,7 +35645,7 @@ module.exports = /******/ (function (modules, runtime) { locationName: "application-id", }, EndTime: { - shape: "S2m", + shape: "S2w", location: "querystring", locationName: "end-time", }, @@ -31119,7 +35659,7 @@ module.exports = /******/ (function (modules, runtime) { locationName: "page-size", }, StartTime: { - shape: "S2m", + shape: "S2w", location: "querystring", locationName: "start-time", }, @@ -31133,11 +35673,11 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { ApplicationId: {}, - EndTime: { shape: "S2m" }, + EndTime: { shape: "S2w" }, KpiName: {}, - KpiResult: { shape: "S5v" }, + KpiResult: { shape: "S67" }, NextToken: {}, - StartTime: { shape: "S2m" }, + StartTime: { shape: "S2w" }, }, required: [ "KpiResult", @@ -31170,7 +35710,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ApplicationSettingsResource: { shape: "S62" } }, + members: { ApplicationSettingsResource: { shape: "S6e" } }, required: ["ApplicationSettingsResource"], payload: "ApplicationSettingsResource", }, @@ -31220,7 +35760,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { BaiduChannelResponse: { shape: "S46" } }, + members: { BaiduChannelResponse: { shape: "S4i" } }, required: ["BaiduChannelResponse"], payload: "BaiduChannelResponse", }, @@ -31244,7 +35784,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CampaignResponse: { shape: "S14" } }, + members: { CampaignResponse: { shape: "S18" } }, required: ["CampaignResponse"], payload: "CampaignResponse", }, @@ -31325,7 +35865,7 @@ module.exports = /******/ (function (modules, runtime) { }, CampaignId: { location: "uri", locationName: "campaign-id" }, EndTime: { - shape: "S2m", + shape: "S2w", location: "querystring", locationName: "end-time", }, @@ -31339,7 +35879,7 @@ module.exports = /******/ (function (modules, runtime) { locationName: "page-size", }, StartTime: { - shape: "S2m", + shape: "S2w", location: "querystring", locationName: "start-time", }, @@ -31354,11 +35894,11 @@ module.exports = /******/ (function (modules, runtime) { members: { ApplicationId: {}, CampaignId: {}, - EndTime: { shape: "S2m" }, + EndTime: { shape: "S2w" }, KpiName: {}, - KpiResult: { shape: "S5v" }, + KpiResult: { shape: "S67" }, NextToken: {}, - StartTime: { shape: "S2m" }, + StartTime: { shape: "S2w" }, }, required: [ "KpiResult", @@ -31395,7 +35935,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CampaignResponse: { shape: "S14" } }, + members: { CampaignResponse: { shape: "S18" } }, required: ["CampaignResponse"], payload: "CampaignResponse", }, @@ -31425,7 +35965,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CampaignsResponse: { shape: "S6n" } }, + members: { CampaignsResponse: { shape: "S6z" } }, required: ["CampaignsResponse"], payload: "CampaignsResponse", }, @@ -31453,7 +35993,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CampaignsResponse: { shape: "S6n" } }, + members: { CampaignsResponse: { shape: "S6z" } }, required: ["CampaignsResponse"], payload: "CampaignsResponse", }, @@ -31524,7 +36064,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EmailChannelResponse: { shape: "S4b" } }, + members: { EmailChannelResponse: { shape: "S4n" } }, required: ["EmailChannelResponse"], payload: "EmailChannelResponse", }, @@ -31597,7 +36137,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EndpointResponse: { shape: "S4h" } }, + members: { EndpointResponse: { shape: "S4t" } }, required: ["EndpointResponse"], payload: "EndpointResponse", }, @@ -31620,7 +36160,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EventStream: { shape: "S4q" } }, + members: { EventStream: { shape: "S52" } }, required: ["EventStream"], payload: "EventStream", }, @@ -31644,7 +36184,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ExportJobResponse: { shape: "S1g" } }, + members: { ExportJobResponse: { shape: "S1k" } }, required: ["ExportJobResponse"], payload: "ExportJobResponse", }, @@ -31672,7 +36212,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ExportJobsResponse: { shape: "S7a" } }, + members: { ExportJobsResponse: { shape: "S7m" } }, required: ["ExportJobsResponse"], payload: "ExportJobsResponse", }, @@ -31695,7 +36235,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { GCMChannelResponse: { shape: "S4t" } }, + members: { GCMChannelResponse: { shape: "S55" } }, required: ["GCMChannelResponse"], payload: "GCMChannelResponse", }, @@ -31719,7 +36259,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ImportJobResponse: { shape: "S1n" } }, + members: { ImportJobResponse: { shape: "S1r" } }, required: ["ImportJobResponse"], payload: "ImportJobResponse", }, @@ -31747,7 +36287,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ImportJobsResponse: { shape: "S7i" } }, + members: { ImportJobsResponse: { shape: "S7u" } }, required: ["ImportJobsResponse"], payload: "ImportJobsResponse", }, @@ -31771,7 +36311,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { JourneyResponse: { shape: "S2q" } }, + members: { JourneyResponse: { shape: "S32" } }, required: ["JourneyResponse"], payload: "JourneyResponse", }, @@ -31791,7 +36331,7 @@ module.exports = /******/ (function (modules, runtime) { locationName: "application-id", }, EndTime: { - shape: "S2m", + shape: "S2w", location: "querystring", locationName: "end-time", }, @@ -31806,7 +36346,7 @@ module.exports = /******/ (function (modules, runtime) { locationName: "page-size", }, StartTime: { - shape: "S2m", + shape: "S2w", location: "querystring", locationName: "start-time", }, @@ -31820,12 +36360,12 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { ApplicationId: {}, - EndTime: { shape: "S2m" }, + EndTime: { shape: "S2w" }, JourneyId: {}, KpiName: {}, - KpiResult: { shape: "S5v" }, + KpiResult: { shape: "S67" }, NextToken: {}, - StartTime: { shape: "S2m" }, + StartTime: { shape: "S2w" }, }, required: [ "KpiResult", @@ -31970,14 +36510,14 @@ module.exports = /******/ (function (modules, runtime) { PushNotificationTemplateResponse: { type: "structure", members: { - ADM: { shape: "S2t" }, - APNS: { shape: "S2u" }, + ADM: { shape: "S35" }, + APNS: { shape: "S36" }, Arn: {}, - Baidu: { shape: "S2t" }, + Baidu: { shape: "S35" }, CreationDate: {}, - Default: { shape: "S2v" }, + Default: { shape: "S37" }, DefaultSubstitutions: {}, - GCM: { shape: "S2t" }, + GCM: { shape: "S35" }, LastModifiedDate: {}, RecommenderId: {}, tags: { shape: "S4", locationName: "tags" }, @@ -32016,7 +36556,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { RecommenderConfigurationResponse: { shape: "S30" } }, + members: { RecommenderConfigurationResponse: { shape: "S3c" } }, required: ["RecommenderConfigurationResponse"], payload: "RecommenderConfigurationResponse", }, @@ -32043,7 +36583,7 @@ module.exports = /******/ (function (modules, runtime) { ListRecommenderConfigurationsResponse: { type: "structure", members: { - Item: { type: "list", member: { shape: "S30" } }, + Item: { type: "list", member: { shape: "S3c" } }, NextToken: {}, }, required: ["Item"], @@ -32072,7 +36612,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { SegmentResponse: { shape: "S3d" } }, + members: { SegmentResponse: { shape: "S3p" } }, required: ["SegmentResponse"], payload: "SegmentResponse", }, @@ -32102,7 +36642,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ExportJobsResponse: { shape: "S7a" } }, + members: { ExportJobsResponse: { shape: "S7m" } }, required: ["ExportJobsResponse"], payload: "ExportJobsResponse", }, @@ -32132,7 +36672,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ImportJobsResponse: { shape: "S7i" } }, + members: { ImportJobsResponse: { shape: "S7u" } }, required: ["ImportJobsResponse"], payload: "ImportJobsResponse", }, @@ -32158,7 +36698,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { SegmentResponse: { shape: "S3d" } }, + members: { SegmentResponse: { shape: "S3p" } }, required: ["SegmentResponse"], payload: "SegmentResponse", }, @@ -32188,7 +36728,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { SegmentsResponse: { shape: "S8e" } }, + members: { SegmentsResponse: { shape: "S8q" } }, required: ["SegmentsResponse"], payload: "SegmentsResponse", }, @@ -32216,7 +36756,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { SegmentsResponse: { shape: "S8e" } }, + members: { SegmentsResponse: { shape: "S8q" } }, required: ["SegmentsResponse"], payload: "SegmentsResponse", }, @@ -32239,7 +36779,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { SMSChannelResponse: { shape: "S54" } }, + members: { SMSChannelResponse: { shape: "S5g" } }, required: ["SMSChannelResponse"], payload: "SMSChannelResponse", }, @@ -32310,7 +36850,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EndpointsResponse: { shape: "S59" } }, + members: { EndpointsResponse: { shape: "S5l" } }, required: ["EndpointsResponse"], payload: "EndpointsResponse", }, @@ -32333,7 +36873,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { VoiceChannelResponse: { shape: "S5d" } }, + members: { VoiceChannelResponse: { shape: "S5p" } }, required: ["VoiceChannelResponse"], payload: "VoiceChannelResponse", }, @@ -32413,7 +36953,7 @@ module.exports = /******/ (function (modules, runtime) { JourneysResponse: { type: "structure", members: { - Item: { type: "list", member: { shape: "S2q" } }, + Item: { type: "list", member: { shape: "S32" } }, NextToken: {}, }, required: ["Item"], @@ -32438,7 +36978,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { TagsModel: { shape: "S90" } }, + members: { TagsModel: { shape: "S9c" } }, required: ["TagsModel"], payload: "TagsModel", }, @@ -32638,7 +37178,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EventStream: { shape: "S4q" } }, + members: { EventStream: { shape: "S52" } }, required: ["EventStream"], payload: "EventStream", }, @@ -32668,16 +37208,16 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Address: {}, - Attributes: { shape: "S4i" }, + Attributes: { shape: "S4u" }, ChannelType: {}, - Demographic: { shape: "S4k" }, + Demographic: { shape: "S4w" }, EffectiveDate: {}, EndpointStatus: {}, - Location: { shape: "S4l" }, - Metrics: { shape: "S4m" }, + Location: { shape: "S4x" }, + Metrics: { shape: "S4y" }, OptOut: {}, RequestId: {}, - User: { shape: "S4n" }, + User: { shape: "S4z" }, }, }, Events: { @@ -32692,7 +37232,7 @@ module.exports = /******/ (function (modules, runtime) { Attributes: { shape: "S4" }, ClientSdkVersion: {}, EventType: {}, - Metrics: { shape: "S4m" }, + Metrics: { shape: "S4y" }, SdkName: {}, Session: { type: "structure", @@ -32780,7 +37320,7 @@ module.exports = /******/ (function (modules, runtime) { }, UpdateAttributesRequest: { type: "structure", - members: { Blacklist: { shape: "Sp" } }, + members: { Blacklist: { shape: "St" } }, }, }, required: [ @@ -32798,7 +37338,7 @@ module.exports = /******/ (function (modules, runtime) { members: { ApplicationId: {}, AttributeType: {}, - Attributes: { shape: "Sp" }, + Attributes: { shape: "St" }, }, required: ["AttributeType", "ApplicationId"], }, @@ -32832,15 +37372,15 @@ module.exports = /******/ (function (modules, runtime) { ChannelType: {}, Context: { shape: "S4" }, RawContent: {}, - Substitutions: { shape: "S4i" }, + Substitutions: { shape: "S4u" }, TitleOverride: {}, }, }, }, Context: { shape: "S4" }, - Endpoints: { shape: "Sa5" }, - MessageConfiguration: { shape: "Sa7" }, - TemplateConfiguration: { shape: "Sy" }, + Endpoints: { shape: "Sah" }, + MessageConfiguration: { shape: "Saj" }, + TemplateConfiguration: { shape: "S12" }, TraceId: {}, }, required: ["MessageConfiguration"], @@ -32856,7 +37396,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { ApplicationId: {}, - EndpointResult: { shape: "San" }, + EndpointResult: { shape: "Saz" }, RequestId: {}, Result: { type: "map", @@ -32897,10 +37437,10 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Context: { shape: "S4" }, - MessageConfiguration: { shape: "Sa7" }, - TemplateConfiguration: { shape: "Sy" }, + MessageConfiguration: { shape: "Saj" }, + TemplateConfiguration: { shape: "S12" }, TraceId: {}, - Users: { shape: "Sa5" }, + Users: { shape: "Sah" }, }, required: ["MessageConfiguration", "Users"], }, @@ -32916,7 +37456,7 @@ module.exports = /******/ (function (modules, runtime) { members: { ApplicationId: {}, RequestId: {}, - Result: { type: "map", key: {}, value: { shape: "San" } }, + Result: { type: "map", key: {}, value: { shape: "Saz" } }, }, required: ["ApplicationId"], }, @@ -32931,7 +37471,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { ResourceArn: { location: "uri", locationName: "resource-arn" }, - TagsModel: { shape: "S90" }, + TagsModel: { shape: "S9c" }, }, required: ["ResourceArn", "TagsModel"], payload: "TagsModel", @@ -32948,7 +37488,7 @@ module.exports = /******/ (function (modules, runtime) { members: { ResourceArn: { location: "uri", locationName: "resource-arn" }, TagKeys: { - shape: "Sp", + shape: "St", location: "querystring", locationName: "tagKeys", }, @@ -32984,7 +37524,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ADMChannelResponse: { shape: "S3p" } }, + members: { ADMChannelResponse: { shape: "S41" } }, required: ["ADMChannelResponse"], payload: "ADMChannelResponse", }, @@ -33021,7 +37561,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSChannelResponse: { shape: "S3s" } }, + members: { APNSChannelResponse: { shape: "S44" } }, required: ["APNSChannelResponse"], payload: "APNSChannelResponse", }, @@ -33058,7 +37598,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSSandboxChannelResponse: { shape: "S3v" } }, + members: { APNSSandboxChannelResponse: { shape: "S47" } }, required: ["APNSSandboxChannelResponse"], payload: "APNSSandboxChannelResponse", }, @@ -33095,7 +37635,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSVoipChannelResponse: { shape: "S3y" } }, + members: { APNSVoipChannelResponse: { shape: "S4a" } }, required: ["APNSVoipChannelResponse"], payload: "APNSVoipChannelResponse", }, @@ -33133,7 +37673,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { APNSVoipSandboxChannelResponse: { shape: "S41" } }, + members: { APNSVoipSandboxChannelResponse: { shape: "S4d" } }, required: ["APNSVoipSandboxChannelResponse"], payload: "APNSVoipSandboxChannelResponse", }, @@ -33154,10 +37694,11 @@ module.exports = /******/ (function (modules, runtime) { WriteApplicationSettingsRequest: { type: "structure", members: { - CampaignHook: { shape: "S10" }, + CampaignHook: { shape: "S14" }, CloudWatchMetricsEnabled: { type: "boolean" }, - Limits: { shape: "S12" }, - QuietTime: { shape: "Sx" }, + EventTaggingEnabled: { type: "boolean" }, + Limits: { shape: "S16" }, + QuietTime: { shape: "S11" }, }, }, }, @@ -33166,7 +37707,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ApplicationSettingsResource: { shape: "S62" } }, + members: { ApplicationSettingsResource: { shape: "S6e" } }, required: ["ApplicationSettingsResource"], payload: "ApplicationSettingsResource", }, @@ -33199,7 +37740,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { BaiduChannelResponse: { shape: "S46" } }, + members: { BaiduChannelResponse: { shape: "S4i" } }, required: ["BaiduChannelResponse"], payload: "BaiduChannelResponse", }, @@ -33225,7 +37766,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { CampaignResponse: { shape: "S14" } }, + members: { CampaignResponse: { shape: "S18" } }, required: ["CampaignResponse"], payload: "CampaignResponse", }, @@ -33260,7 +37801,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EmailChannelResponse: { shape: "S4b" } }, + members: { EmailChannelResponse: { shape: "S4n" } }, required: ["EmailChannelResponse"], payload: "EmailChannelResponse", }, @@ -33279,7 +37820,7 @@ module.exports = /******/ (function (modules, runtime) { locationName: "create-new-version", type: "boolean", }, - EmailTemplateRequest: { shape: "S1a" }, + EmailTemplateRequest: { shape: "S1e" }, TemplateName: { location: "uri", locationName: "template-name", @@ -33291,7 +37832,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -33314,16 +37855,16 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Address: {}, - Attributes: { shape: "S4i" }, + Attributes: { shape: "S4u" }, ChannelType: {}, - Demographic: { shape: "S4k" }, + Demographic: { shape: "S4w" }, EffectiveDate: {}, EndpointStatus: {}, - Location: { shape: "S4l" }, - Metrics: { shape: "S4m" }, + Location: { shape: "S4x" }, + Metrics: { shape: "S4y" }, OptOut: {}, RequestId: {}, - User: { shape: "S4n" }, + User: { shape: "S4z" }, }, }, }, @@ -33332,7 +37873,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -33359,17 +37900,17 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Address: {}, - Attributes: { shape: "S4i" }, + Attributes: { shape: "S4u" }, ChannelType: {}, - Demographic: { shape: "S4k" }, + Demographic: { shape: "S4w" }, EffectiveDate: {}, EndpointStatus: {}, Id: {}, - Location: { shape: "S4l" }, - Metrics: { shape: "S4m" }, + Location: { shape: "S4x" }, + Metrics: { shape: "S4y" }, OptOut: {}, RequestId: {}, - User: { shape: "S4n" }, + User: { shape: "S4z" }, }, }, }, @@ -33382,7 +37923,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -33411,7 +37952,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { GCMChannelResponse: { shape: "S4t" } }, + members: { GCMChannelResponse: { shape: "S55" } }, required: ["GCMChannelResponse"], payload: "GCMChannelResponse", }, @@ -33430,14 +37971,14 @@ module.exports = /******/ (function (modules, runtime) { locationName: "application-id", }, JourneyId: { location: "uri", locationName: "journey-id" }, - WriteJourneyRequest: { shape: "S1q" }, + WriteJourneyRequest: { shape: "S1u" }, }, required: ["JourneyId", "ApplicationId", "WriteJourneyRequest"], payload: "WriteJourneyRequest", }, output: { type: "structure", - members: { JourneyResponse: { shape: "S2q" } }, + members: { JourneyResponse: { shape: "S32" } }, required: ["JourneyResponse"], payload: "JourneyResponse", }, @@ -33467,7 +38008,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { JourneyResponse: { shape: "S2q" } }, + members: { JourneyResponse: { shape: "S32" } }, required: ["JourneyResponse"], payload: "JourneyResponse", }, @@ -33486,7 +38027,7 @@ module.exports = /******/ (function (modules, runtime) { locationName: "create-new-version", type: "boolean", }, - PushNotificationTemplateRequest: { shape: "S2s" }, + PushNotificationTemplateRequest: { shape: "S34" }, TemplateName: { location: "uri", locationName: "template-name", @@ -33498,7 +38039,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -33540,7 +38081,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { RecommenderConfigurationResponse: { shape: "S30" } }, + members: { RecommenderConfigurationResponse: { shape: "S3c" } }, required: ["RecommenderConfigurationResponse"], payload: "RecommenderConfigurationResponse", }, @@ -33559,14 +38100,14 @@ module.exports = /******/ (function (modules, runtime) { locationName: "application-id", }, SegmentId: { location: "uri", locationName: "segment-id" }, - WriteSegmentRequest: { shape: "S32" }, + WriteSegmentRequest: { shape: "S3e" }, }, required: ["SegmentId", "ApplicationId", "WriteSegmentRequest"], payload: "WriteSegmentRequest", }, output: { type: "structure", - members: { SegmentResponse: { shape: "S3d" } }, + members: { SegmentResponse: { shape: "S3p" } }, required: ["SegmentResponse"], payload: "SegmentResponse", }, @@ -33598,7 +38139,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { SMSChannelResponse: { shape: "S54" } }, + members: { SMSChannelResponse: { shape: "S5g" } }, required: ["SMSChannelResponse"], payload: "SMSChannelResponse", }, @@ -33617,7 +38158,7 @@ module.exports = /******/ (function (modules, runtime) { locationName: "create-new-version", type: "boolean", }, - SMSTemplateRequest: { shape: "S3i" }, + SMSTemplateRequest: { shape: "S3u" }, TemplateName: { location: "uri", locationName: "template-name", @@ -33629,7 +38170,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -33666,7 +38207,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -33694,7 +38235,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { VoiceChannelResponse: { shape: "S5d" } }, + members: { VoiceChannelResponse: { shape: "S5p" } }, required: ["VoiceChannelResponse"], payload: "VoiceChannelResponse", }, @@ -33718,14 +38259,14 @@ module.exports = /******/ (function (modules, runtime) { locationName: "template-name", }, Version: { location: "querystring", locationName: "version" }, - VoiceTemplateRequest: { shape: "S3l" }, + VoiceTemplateRequest: { shape: "S3x" }, }, required: ["TemplateName", "VoiceTemplateRequest"], payload: "VoiceTemplateRequest", }, output: { type: "structure", - members: { MessageBody: { shape: "S4e" } }, + members: { MessageBody: { shape: "S4q" } }, required: ["MessageBody"], payload: "MessageBody", }, @@ -33751,51 +38292,60 @@ module.exports = /******/ (function (modules, runtime) { member: { type: "structure", members: { - MessageConfiguration: { shape: "Sb" }, - Schedule: { shape: "Sj" }, + CustomDeliveryConfiguration: { shape: "Sb" }, + MessageConfiguration: { shape: "Se" }, + Schedule: { shape: "Sn" }, SizePercent: { type: "integer" }, - TemplateConfiguration: { shape: "Sy" }, + TemplateConfiguration: { shape: "S12" }, TreatmentDescription: {}, TreatmentName: {}, }, required: ["SizePercent"], }, }, + CustomDeliveryConfiguration: { shape: "Sb" }, Description: {}, HoldoutPercent: { type: "integer" }, - Hook: { shape: "S10" }, + Hook: { shape: "S14" }, IsPaused: { type: "boolean" }, - Limits: { shape: "S12" }, - MessageConfiguration: { shape: "Sb" }, + Limits: { shape: "S16" }, + MessageConfiguration: { shape: "Se" }, Name: {}, - Schedule: { shape: "Sj" }, + Schedule: { shape: "Sn" }, SegmentId: {}, SegmentVersion: { type: "integer" }, tags: { shape: "S4", locationName: "tags" }, - TemplateConfiguration: { shape: "Sy" }, + TemplateConfiguration: { shape: "S12" }, TreatmentDescription: {}, TreatmentName: {}, }, }, Sb: { + type: "structure", + members: { DeliveryUri: {}, EndpointTypes: { shape: "Sc" } }, + required: ["DeliveryUri"], + }, + Sc: { type: "list", member: {} }, + Se: { type: "structure", members: { - ADMMessage: { shape: "Sc" }, - APNSMessage: { shape: "Sc" }, - BaiduMessage: { shape: "Sc" }, - DefaultMessage: { shape: "Sc" }, + ADMMessage: { shape: "Sf" }, + APNSMessage: { shape: "Sf" }, + BaiduMessage: { shape: "Sf" }, + CustomMessage: { type: "structure", members: { Data: {} } }, + DefaultMessage: { shape: "Sf" }, EmailMessage: { type: "structure", members: { Body: {}, FromAddress: {}, HtmlBody: {}, Title: {} }, }, - GCMMessage: { shape: "Sc" }, + GCMMessage: { shape: "Sf" }, SMSMessage: { type: "structure", members: { Body: {}, MessageType: {}, SenderId: {} }, }, }, }, - Sc: { + Sf: { type: "structure", members: { Action: {}, @@ -33812,47 +38362,47 @@ module.exports = /******/ (function (modules, runtime) { Url: {}, }, }, - Sj: { + Sn: { type: "structure", members: { EndTime: {}, EventFilter: { type: "structure", - members: { Dimensions: { shape: "Sl" }, FilterType: {} }, + members: { Dimensions: { shape: "Sp" }, FilterType: {} }, required: ["FilterType", "Dimensions"], }, Frequency: {}, IsLocalTime: { type: "boolean" }, - QuietTime: { shape: "Sx" }, + QuietTime: { shape: "S11" }, StartTime: {}, Timezone: {}, }, required: ["StartTime"], }, - Sl: { + Sp: { type: "structure", members: { - Attributes: { shape: "Sm" }, - EventType: { shape: "Sq" }, - Metrics: { shape: "Ss" }, + Attributes: { shape: "Sq" }, + EventType: { shape: "Su" }, + Metrics: { shape: "Sw" }, }, }, - Sm: { + Sq: { type: "map", key: {}, value: { type: "structure", - members: { AttributeType: {}, Values: { shape: "Sp" } }, + members: { AttributeType: {}, Values: { shape: "St" } }, required: ["Values"], }, }, - Sp: { type: "list", member: {} }, - Sq: { + St: { type: "list", member: {} }, + Su: { type: "structure", - members: { DimensionType: {}, Values: { shape: "Sp" } }, + members: { DimensionType: {}, Values: { shape: "St" } }, required: ["Values"], }, - Ss: { + Sw: { type: "map", key: {}, value: { @@ -33861,22 +38411,22 @@ module.exports = /******/ (function (modules, runtime) { required: ["ComparisonOperator", "Value"], }, }, - Sx: { type: "structure", members: { End: {}, Start: {} } }, - Sy: { + S11: { type: "structure", members: { End: {}, Start: {} } }, + S12: { type: "structure", members: { - EmailTemplate: { shape: "Sz" }, - PushTemplate: { shape: "Sz" }, - SMSTemplate: { shape: "Sz" }, - VoiceTemplate: { shape: "Sz" }, + EmailTemplate: { shape: "S13" }, + PushTemplate: { shape: "S13" }, + SMSTemplate: { shape: "S13" }, + VoiceTemplate: { shape: "S13" }, }, }, - Sz: { type: "structure", members: { Name: {}, Version: {} } }, - S10: { + S13: { type: "structure", members: { Name: {}, Version: {} } }, + S14: { type: "structure", members: { LambdaFunctionName: {}, Mode: {}, WebUrl: {} }, }, - S12: { + S16: { type: "structure", members: { Daily: { type: "integer" }, @@ -33885,7 +38435,7 @@ module.exports = /******/ (function (modules, runtime) { Total: { type: "integer" }, }, }, - S14: { + S18: { type: "structure", members: { AdditionalTreatments: { @@ -33893,12 +38443,13 @@ module.exports = /******/ (function (modules, runtime) { member: { type: "structure", members: { + CustomDeliveryConfiguration: { shape: "Sb" }, Id: {}, - MessageConfiguration: { shape: "Sb" }, - Schedule: { shape: "Sj" }, + MessageConfiguration: { shape: "Se" }, + Schedule: { shape: "Sn" }, SizePercent: { type: "integer" }, - State: { shape: "S17" }, - TemplateConfiguration: { shape: "Sy" }, + State: { shape: "S1b" }, + TemplateConfiguration: { shape: "S12" }, TreatmentDescription: {}, TreatmentName: {}, }, @@ -33908,22 +38459,23 @@ module.exports = /******/ (function (modules, runtime) { ApplicationId: {}, Arn: {}, CreationDate: {}, - DefaultState: { shape: "S17" }, + CustomDeliveryConfiguration: { shape: "Sb" }, + DefaultState: { shape: "S1b" }, Description: {}, HoldoutPercent: { type: "integer" }, - Hook: { shape: "S10" }, + Hook: { shape: "S14" }, Id: {}, IsPaused: { type: "boolean" }, LastModifiedDate: {}, - Limits: { shape: "S12" }, - MessageConfiguration: { shape: "Sb" }, + Limits: { shape: "S16" }, + MessageConfiguration: { shape: "Se" }, Name: {}, - Schedule: { shape: "Sj" }, + Schedule: { shape: "Sn" }, SegmentId: {}, SegmentVersion: { type: "integer" }, - State: { shape: "S17" }, + State: { shape: "S1b" }, tags: { shape: "S4", locationName: "tags" }, - TemplateConfiguration: { shape: "Sy" }, + TemplateConfiguration: { shape: "S12" }, TreatmentDescription: {}, TreatmentName: {}, Version: { type: "integer" }, @@ -33938,8 +38490,8 @@ module.exports = /******/ (function (modules, runtime) { "ApplicationId", ], }, - S17: { type: "structure", members: { CampaignStatus: {} } }, - S1a: { + S1b: { type: "structure", members: { CampaignStatus: {} } }, + S1e: { type: "structure", members: { DefaultSubstitutions: {}, @@ -33951,11 +38503,11 @@ module.exports = /******/ (function (modules, runtime) { TextPart: {}, }, }, - S1c: { + S1g: { type: "structure", members: { Arn: {}, Message: {}, RequestID: {} }, }, - S1g: { + S1k: { type: "structure", members: { ApplicationId: {}, @@ -33973,7 +38525,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["S3UrlPrefix", "RoleArn"], }, FailedPieces: { type: "integer" }, - Failures: { shape: "Sp" }, + Failures: { shape: "St" }, Id: {}, JobStatus: {}, TotalFailures: { type: "integer" }, @@ -33990,7 +38542,7 @@ module.exports = /******/ (function (modules, runtime) { "ApplicationId", ], }, - S1n: { + S1r: { type: "structure", members: { ApplicationId: {}, @@ -34012,7 +38564,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["Format", "S3Url", "RoleArn"], }, FailedPieces: { type: "integer" }, - Failures: { shape: "Sp" }, + Failures: { shape: "St" }, Id: {}, JobStatus: {}, TotalFailures: { type: "integer" }, @@ -34029,41 +38581,52 @@ module.exports = /******/ (function (modules, runtime) { "ApplicationId", ], }, - S1q: { + S1u: { type: "structure", members: { - Activities: { shape: "S1r" }, + Activities: { shape: "S1v" }, CreationDate: {}, LastModifiedDate: {}, - Limits: { shape: "S2k" }, + Limits: { shape: "S2u" }, LocalTime: { type: "boolean" }, Name: {}, - QuietTime: { shape: "Sx" }, + QuietTime: { shape: "S11" }, RefreshFrequency: {}, - Schedule: { shape: "S2l" }, + Schedule: { shape: "S2v" }, StartActivity: {}, - StartCondition: { shape: "S2n" }, + StartCondition: { shape: "S2x" }, State: {}, }, required: ["Name"], }, - S1r: { + S1v: { type: "map", key: {}, value: { type: "structure", members: { + CUSTOM: { + type: "structure", + members: { + DeliveryUri: {}, + EndpointTypes: { shape: "Sc" }, + MessageConfig: { type: "structure", members: { Data: {} } }, + NextActivity: {}, + TemplateName: {}, + TemplateVersion: {}, + }, + }, ConditionalSplit: { type: "structure", members: { Condition: { type: "structure", members: { - Conditions: { type: "list", member: { shape: "S1w" } }, + Conditions: { type: "list", member: { shape: "S22" } }, Operator: {}, }, }, - EvaluationWaitTime: { shape: "S29" }, + EvaluationWaitTime: { shape: "S2f" }, FalseActivity: {}, TrueActivity: {}, }, @@ -34097,13 +38660,25 @@ module.exports = /******/ (function (modules, runtime) { member: { type: "structure", members: { - Condition: { shape: "S1w" }, + Condition: { shape: "S22" }, NextActivity: {}, }, }, }, DefaultActivity: {}, - EvaluationWaitTime: { shape: "S29" }, + EvaluationWaitTime: { shape: "S2f" }, + }, + }, + PUSH: { + type: "structure", + members: { + MessageConfig: { + type: "structure", + members: { TimeToLive: {} }, + }, + NextActivity: {}, + TemplateName: {}, + TemplateVersion: {}, }, }, RandomSplit: { @@ -34121,37 +38696,48 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + SMS: { + type: "structure", + members: { + MessageConfig: { + type: "structure", + members: { MessageType: {}, SenderId: {} }, + }, + NextActivity: {}, + TemplateName: {}, + TemplateVersion: {}, + }, + }, Wait: { type: "structure", - members: { NextActivity: {}, WaitTime: { shape: "S29" } }, + members: { NextActivity: {}, WaitTime: { shape: "S2f" } }, }, }, }, }, - S1w: { + S22: { type: "structure", members: { EventCondition: { type: "structure", - members: { Dimensions: { shape: "Sl" }, MessageActivity: {} }, - required: ["Dimensions"], + members: { Dimensions: { shape: "Sp" }, MessageActivity: {} }, }, - SegmentCondition: { shape: "S1y" }, + SegmentCondition: { shape: "S24" }, SegmentDimensions: { - shape: "S1z", + shape: "S25", locationName: "segmentDimensions", }, }, }, - S1y: { + S24: { type: "structure", members: { SegmentId: {} }, required: ["SegmentId"], }, - S1z: { + S25: { type: "structure", members: { - Attributes: { shape: "Sm" }, + Attributes: { shape: "Sq" }, Behavior: { type: "structure", members: { @@ -34165,18 +38751,18 @@ module.exports = /******/ (function (modules, runtime) { Demographic: { type: "structure", members: { - AppVersion: { shape: "Sq" }, - Channel: { shape: "Sq" }, - DeviceType: { shape: "Sq" }, - Make: { shape: "Sq" }, - Model: { shape: "Sq" }, - Platform: { shape: "Sq" }, + AppVersion: { shape: "Su" }, + Channel: { shape: "Su" }, + DeviceType: { shape: "Su" }, + Make: { shape: "Su" }, + Model: { shape: "Su" }, + Platform: { shape: "Su" }, }, }, Location: { type: "structure", members: { - Country: { shape: "Sq" }, + Country: { shape: "Su" }, GPSPoint: { type: "structure", members: { @@ -34194,12 +38780,12 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - Metrics: { shape: "Ss" }, - UserAttributes: { shape: "Sm" }, + Metrics: { shape: "Sw" }, + UserAttributes: { shape: "Sq" }, }, }, - S29: { type: "structure", members: { WaitFor: {}, WaitUntil: {} } }, - S2k: { + S2f: { type: "structure", members: { WaitFor: {}, WaitUntil: {} } }, + S2u: { type: "structure", members: { DailyCap: { type: "integer" }, @@ -34207,58 +38793,69 @@ module.exports = /******/ (function (modules, runtime) { MessagesPerSecond: { type: "integer" }, }, }, - S2l: { + S2v: { type: "structure", members: { - EndTime: { shape: "S2m" }, - StartTime: { shape: "S2m" }, + EndTime: { shape: "S2w" }, + StartTime: { shape: "S2w" }, Timezone: {}, }, }, - S2m: { type: "timestamp", timestampFormat: "iso8601" }, - S2n: { + S2w: { type: "timestamp", timestampFormat: "iso8601" }, + S2x: { type: "structure", members: { Description: {}, - SegmentStartCondition: { shape: "S1y" }, + EventStartCondition: { + type: "structure", + members: { + EventFilter: { + type: "structure", + members: { Dimensions: { shape: "Sp" }, FilterType: {} }, + required: ["FilterType", "Dimensions"], + }, + SegmentId: {}, + }, + }, + SegmentStartCondition: { shape: "S24" }, }, }, - S2q: { + S32: { type: "structure", members: { - Activities: { shape: "S1r" }, + Activities: { shape: "S1v" }, ApplicationId: {}, CreationDate: {}, Id: {}, LastModifiedDate: {}, - Limits: { shape: "S2k" }, + Limits: { shape: "S2u" }, LocalTime: { type: "boolean" }, Name: {}, - QuietTime: { shape: "Sx" }, + QuietTime: { shape: "S11" }, RefreshFrequency: {}, - Schedule: { shape: "S2l" }, + Schedule: { shape: "S2v" }, StartActivity: {}, - StartCondition: { shape: "S2n" }, + StartCondition: { shape: "S2x" }, State: {}, tags: { shape: "S4", locationName: "tags" }, }, required: ["Name", "Id", "ApplicationId"], }, - S2s: { + S34: { type: "structure", members: { - ADM: { shape: "S2t" }, - APNS: { shape: "S2u" }, - Baidu: { shape: "S2t" }, - Default: { shape: "S2v" }, + ADM: { shape: "S35" }, + APNS: { shape: "S36" }, + Baidu: { shape: "S35" }, + Default: { shape: "S37" }, DefaultSubstitutions: {}, - GCM: { shape: "S2t" }, + GCM: { shape: "S35" }, RecommenderId: {}, tags: { shape: "S4", locationName: "tags" }, TemplateDescription: {}, }, }, - S2t: { + S35: { type: "structure", members: { Action: {}, @@ -34272,7 +38869,7 @@ module.exports = /******/ (function (modules, runtime) { Url: {}, }, }, - S2u: { + S36: { type: "structure", members: { Action: {}, @@ -34284,11 +38881,11 @@ module.exports = /******/ (function (modules, runtime) { Url: {}, }, }, - S2v: { + S37: { type: "structure", members: { Action: {}, Body: {}, Sound: {}, Title: {}, Url: {} }, }, - S30: { + S3c: { type: "structure", members: { Attributes: { shape: "S4" }, @@ -34312,16 +38909,16 @@ module.exports = /******/ (function (modules, runtime) { "Id", ], }, - S32: { + S3e: { type: "structure", members: { - Dimensions: { shape: "S1z" }, + Dimensions: { shape: "S25" }, Name: {}, - SegmentGroups: { shape: "S33" }, + SegmentGroups: { shape: "S3f" }, tags: { shape: "S4", locationName: "tags" }, }, }, - S33: { + S3f: { type: "structure", members: { Groups: { @@ -34329,7 +38926,7 @@ module.exports = /******/ (function (modules, runtime) { member: { type: "structure", members: { - Dimensions: { type: "list", member: { shape: "S1z" } }, + Dimensions: { type: "list", member: { shape: "S25" } }, SourceSegments: { type: "list", member: { @@ -34346,13 +38943,13 @@ module.exports = /******/ (function (modules, runtime) { Include: {}, }, }, - S3d: { + S3p: { type: "structure", members: { ApplicationId: {}, Arn: {}, CreationDate: {}, - Dimensions: { shape: "S1z" }, + Dimensions: { shape: "S25" }, Id: {}, ImportDefinition: { type: "structure", @@ -34372,7 +38969,7 @@ module.exports = /******/ (function (modules, runtime) { }, LastModifiedDate: {}, Name: {}, - SegmentGroups: { shape: "S33" }, + SegmentGroups: { shape: "S3f" }, SegmentType: {}, tags: { shape: "S4", locationName: "tags" }, Version: { type: "integer" }, @@ -34385,7 +38982,7 @@ module.exports = /******/ (function (modules, runtime) { "ApplicationId", ], }, - S3i: { + S3u: { type: "structure", members: { Body: {}, @@ -34395,7 +38992,7 @@ module.exports = /******/ (function (modules, runtime) { TemplateDescription: {}, }, }, - S3l: { + S3x: { type: "structure", members: { Body: {}, @@ -34406,7 +39003,7 @@ module.exports = /******/ (function (modules, runtime) { VoiceId: {}, }, }, - S3p: { + S41: { type: "structure", members: { ApplicationId: {}, @@ -34422,7 +39019,7 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Platform"], }, - S3s: { + S44: { type: "structure", members: { ApplicationId: {}, @@ -34440,7 +39037,7 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Platform"], }, - S3v: { + S47: { type: "structure", members: { ApplicationId: {}, @@ -34458,7 +39055,7 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Platform"], }, - S3y: { + S4a: { type: "structure", members: { ApplicationId: {}, @@ -34476,7 +39073,7 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Platform"], }, - S41: { + S4d: { type: "structure", members: { ApplicationId: {}, @@ -34494,7 +39091,7 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Platform"], }, - S46: { + S4i: { type: "structure", members: { ApplicationId: {}, @@ -34511,7 +39108,7 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Credential", "Platform"], }, - S4b: { + S4n: { type: "structure", members: { ApplicationId: {}, @@ -34532,29 +39129,29 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Platform"], }, - S4e: { type: "structure", members: { Message: {}, RequestID: {} } }, - S4h: { + S4q: { type: "structure", members: { Message: {}, RequestID: {} } }, + S4t: { type: "structure", members: { Address: {}, ApplicationId: {}, - Attributes: { shape: "S4i" }, + Attributes: { shape: "S4u" }, ChannelType: {}, CohortId: {}, CreationDate: {}, - Demographic: { shape: "S4k" }, + Demographic: { shape: "S4w" }, EffectiveDate: {}, EndpointStatus: {}, Id: {}, - Location: { shape: "S4l" }, - Metrics: { shape: "S4m" }, + Location: { shape: "S4x" }, + Metrics: { shape: "S4y" }, OptOut: {}, RequestId: {}, - User: { shape: "S4n" }, + User: { shape: "S4z" }, }, }, - S4i: { type: "map", key: {}, value: { shape: "Sp" } }, - S4k: { + S4u: { type: "map", key: {}, value: { shape: "St" } }, + S4w: { type: "structure", members: { AppVersion: {}, @@ -34567,7 +39164,7 @@ module.exports = /******/ (function (modules, runtime) { Timezone: {}, }, }, - S4l: { + S4x: { type: "structure", members: { City: {}, @@ -34578,12 +39175,12 @@ module.exports = /******/ (function (modules, runtime) { Region: {}, }, }, - S4m: { type: "map", key: {}, value: { type: "double" } }, - S4n: { + S4y: { type: "map", key: {}, value: { type: "double" } }, + S4z: { type: "structure", - members: { UserAttributes: { shape: "S4i" }, UserId: {} }, + members: { UserAttributes: { shape: "S4u" }, UserId: {} }, }, - S4q: { + S52: { type: "structure", members: { ApplicationId: {}, @@ -34595,7 +39192,7 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["ApplicationId", "RoleArn", "DestinationStreamArn"], }, - S4t: { + S55: { type: "structure", members: { ApplicationId: {}, @@ -34612,7 +39209,7 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Credential", "Platform"], }, - S54: { + S5g: { type: "structure", members: { ApplicationId: {}, @@ -34632,12 +39229,12 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Platform"], }, - S59: { + S5l: { type: "structure", - members: { Item: { type: "list", member: { shape: "S4h" } } }, + members: { Item: { type: "list", member: { shape: "S4t" } } }, required: ["Item"], }, - S5d: { + S5p: { type: "structure", members: { ApplicationId: {}, @@ -34653,7 +39250,7 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Platform"], }, - S5v: { + S67: { type: "structure", members: { Rows: { @@ -34661,8 +39258,8 @@ module.exports = /******/ (function (modules, runtime) { member: { type: "structure", members: { - GroupedBys: { shape: "S5y" }, - Values: { shape: "S5y" }, + GroupedBys: { shape: "S6a" }, + Values: { shape: "S6a" }, }, required: ["GroupedBys", "Values"], }, @@ -34670,7 +39267,7 @@ module.exports = /******/ (function (modules, runtime) { }, required: ["Rows"], }, - S5y: { + S6a: { type: "list", member: { type: "structure", @@ -34678,55 +39275,55 @@ module.exports = /******/ (function (modules, runtime) { required: ["Type", "Value", "Key"], }, }, - S62: { + S6e: { type: "structure", members: { ApplicationId: {}, - CampaignHook: { shape: "S10" }, + CampaignHook: { shape: "S14" }, LastModifiedDate: {}, - Limits: { shape: "S12" }, - QuietTime: { shape: "Sx" }, + Limits: { shape: "S16" }, + QuietTime: { shape: "S11" }, }, required: ["ApplicationId"], }, - S6n: { + S6z: { type: "structure", members: { - Item: { type: "list", member: { shape: "S14" } }, + Item: { type: "list", member: { shape: "S18" } }, NextToken: {}, }, required: ["Item"], }, - S7a: { + S7m: { type: "structure", members: { - Item: { type: "list", member: { shape: "S1g" } }, + Item: { type: "list", member: { shape: "S1k" } }, NextToken: {}, }, required: ["Item"], }, - S7i: { + S7u: { type: "structure", members: { - Item: { type: "list", member: { shape: "S1n" } }, + Item: { type: "list", member: { shape: "S1r" } }, NextToken: {}, }, required: ["Item"], }, - S8e: { + S8q: { type: "structure", members: { - Item: { type: "list", member: { shape: "S3d" } }, + Item: { type: "list", member: { shape: "S3p" } }, NextToken: {}, }, required: ["Item"], }, - S90: { + S9c: { type: "structure", members: { tags: { shape: "S4", locationName: "tags" } }, required: ["tags"], }, - Sa5: { + Sah: { type: "map", key: {}, value: { @@ -34735,12 +39332,12 @@ module.exports = /******/ (function (modules, runtime) { BodyOverride: {}, Context: { shape: "S4" }, RawContent: {}, - Substitutions: { shape: "S4i" }, + Substitutions: { shape: "S4u" }, TitleOverride: {}, }, }, }, - Sa7: { + Saj: { type: "structure", members: { ADMMessage: { @@ -34759,7 +39356,7 @@ module.exports = /******/ (function (modules, runtime) { SilentPush: { type: "boolean" }, SmallImageIconUrl: {}, Sound: {}, - Substitutions: { shape: "S4i" }, + Substitutions: { shape: "S4u" }, Title: {}, Url: {}, }, @@ -34780,7 +39377,7 @@ module.exports = /******/ (function (modules, runtime) { RawContent: {}, SilentPush: { type: "boolean" }, Sound: {}, - Substitutions: { shape: "S4i" }, + Substitutions: { shape: "S4u" }, ThreadId: {}, TimeToLive: { type: "integer" }, Title: {}, @@ -34800,7 +39397,7 @@ module.exports = /******/ (function (modules, runtime) { SilentPush: { type: "boolean" }, SmallImageIconUrl: {}, Sound: {}, - Substitutions: { shape: "S4i" }, + Substitutions: { shape: "S4u" }, TimeToLive: { type: "integer" }, Title: {}, Url: {}, @@ -34808,7 +39405,7 @@ module.exports = /******/ (function (modules, runtime) { }, DefaultMessage: { type: "structure", - members: { Body: {}, Substitutions: { shape: "S4i" } }, + members: { Body: {}, Substitutions: { shape: "S4u" } }, }, DefaultPushNotificationMessage: { type: "structure", @@ -34817,7 +39414,7 @@ module.exports = /******/ (function (modules, runtime) { Body: {}, Data: { shape: "S4" }, SilentPush: { type: "boolean" }, - Substitutions: { shape: "S4i" }, + Substitutions: { shape: "S4u" }, Title: {}, Url: {}, }, @@ -34832,16 +39429,16 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Data: { type: "blob" } }, }, - ReplyToAddresses: { shape: "Sp" }, + ReplyToAddresses: { shape: "St" }, SimpleEmail: { type: "structure", members: { - HtmlPart: { shape: "Sah" }, - Subject: { shape: "Sah" }, - TextPart: { shape: "Sah" }, + HtmlPart: { shape: "Sat" }, + Subject: { shape: "Sat" }, + TextPart: { shape: "Sat" }, }, }, - Substitutions: { shape: "S4i" }, + Substitutions: { shape: "S4u" }, }, }, GCMMessage: { @@ -34860,7 +39457,7 @@ module.exports = /******/ (function (modules, runtime) { SilentPush: { type: "boolean" }, SmallImageIconUrl: {}, Sound: {}, - Substitutions: { shape: "S4i" }, + Substitutions: { shape: "S4u" }, TimeToLive: { type: "integer" }, Title: {}, Url: {}, @@ -34875,7 +39472,7 @@ module.exports = /******/ (function (modules, runtime) { MessageType: {}, OriginationNumber: {}, SenderId: {}, - Substitutions: { shape: "S4i" }, + Substitutions: { shape: "S4u" }, }, }, VoiceMessage: { @@ -34884,14 +39481,14 @@ module.exports = /******/ (function (modules, runtime) { Body: {}, LanguageCode: {}, OriginationNumber: {}, - Substitutions: { shape: "S4i" }, + Substitutions: { shape: "S4u" }, VoiceId: {}, }, }, }, }, - Sah: { type: "structure", members: { Charset: {}, Data: {} } }, - San: { + Sat: { type: "structure", members: { Charset: {}, Data: {} } }, + Saz: { type: "map", key: {}, value: { @@ -34963,6 +39560,12 @@ module.exports = /******/ (function (modules, runtime) { output_token: "Marker", result_key: "Tags", }, + ListTapePools: { + input_token: "Marker", + limit_key: "Limit", + output_token: "Marker", + result_key: "PoolInfos", + }, ListTapes: { input_token: "Marker", limit_key: "Limit", @@ -35472,6 +40075,17 @@ module.exports = /******/ (function (modules, runtime) { members: { ResourcePendingMaintenanceActions: { shape: "S8" } }, }, }, + CancelReplicationTaskAssessmentRun: { + input: { + type: "structure", + required: ["ReplicationTaskAssessmentRunArn"], + members: { ReplicationTaskAssessmentRunArn: {} }, + }, + output: { + type: "structure", + members: { ReplicationTaskAssessmentRun: { shape: "Se" } }, + }, + }, CreateEndpoint: { input: { type: "structure", @@ -35481,7 +40095,7 @@ module.exports = /******/ (function (modules, runtime) { EndpointType: {}, EngineName: {}, Username: {}, - Password: { shape: "Se" }, + Password: { shape: "Sj" }, ServerName: {}, Port: { type: "integer" }, DatabaseName: {}, @@ -35492,19 +40106,28 @@ module.exports = /******/ (function (modules, runtime) { SslMode: {}, ServiceAccessRoleArn: {}, ExternalTableDefinition: {}, - DynamoDbSettings: { shape: "Sh" }, - S3Settings: { shape: "Si" }, - DmsTransferSettings: { shape: "Sp" }, - MongoDbSettings: { shape: "Sq" }, - KinesisSettings: { shape: "Su" }, - KafkaSettings: { shape: "Sw" }, - ElasticsearchSettings: { shape: "Sx" }, - RedshiftSettings: { shape: "Sy" }, + DynamoDbSettings: { shape: "Sm" }, + S3Settings: { shape: "Sn" }, + DmsTransferSettings: { shape: "Sw" }, + MongoDbSettings: { shape: "Sx" }, + KinesisSettings: { shape: "S11" }, + KafkaSettings: { shape: "S13" }, + ElasticsearchSettings: { shape: "S14" }, + NeptuneSettings: { shape: "S15" }, + RedshiftSettings: { shape: "S16" }, + PostgreSQLSettings: { shape: "S17" }, + MySQLSettings: { shape: "S18" }, + OracleSettings: { shape: "S1a" }, + SybaseSettings: { shape: "S1c" }, + MicrosoftSQLServerSettings: { shape: "S1d" }, + IBMDb2Settings: { shape: "S1f" }, + ResourceIdentifier: {}, + DocDbSettings: { shape: "S1g" }, }, }, output: { type: "structure", - members: { Endpoint: { shape: "S10" } }, + members: { Endpoint: { shape: "S1i" } }, }, }, CreateEventSubscription: { @@ -35515,15 +40138,15 @@ module.exports = /******/ (function (modules, runtime) { SubscriptionName: {}, SnsTopicArn: {}, SourceType: {}, - EventCategories: { shape: "S12" }, - SourceIds: { shape: "S13" }, + EventCategories: { shape: "S1k" }, + SourceIds: { shape: "S1l" }, Enabled: { type: "boolean" }, Tags: { shape: "S3" }, }, }, output: { type: "structure", - members: { EventSubscription: { shape: "S15" } }, + members: { EventSubscription: { shape: "S1n" } }, }, }, CreateReplicationInstance: { @@ -35537,7 +40160,7 @@ module.exports = /******/ (function (modules, runtime) { ReplicationInstanceIdentifier: {}, AllocatedStorage: { type: "integer" }, ReplicationInstanceClass: {}, - VpcSecurityGroupIds: { shape: "S18" }, + VpcSecurityGroupIds: { shape: "S1q" }, AvailabilityZone: {}, ReplicationSubnetGroupIdentifier: {}, PreferredMaintenanceWindow: {}, @@ -35548,11 +40171,12 @@ module.exports = /******/ (function (modules, runtime) { KmsKeyId: {}, PubliclyAccessible: { type: "boolean" }, DnsNameServers: {}, + ResourceIdentifier: {}, }, }, output: { type: "structure", - members: { ReplicationInstance: { shape: "S1a" } }, + members: { ReplicationInstance: { shape: "S1s" } }, }, }, CreateReplicationSubnetGroup: { @@ -35566,13 +40190,13 @@ module.exports = /******/ (function (modules, runtime) { members: { ReplicationSubnetGroupIdentifier: {}, ReplicationSubnetGroupDescription: {}, - SubnetIds: { shape: "S1m" }, + SubnetIds: { shape: "S23" }, Tags: { shape: "S3" }, }, }, output: { type: "structure", - members: { ReplicationSubnetGroup: { shape: "S1e" } }, + members: { ReplicationSubnetGroup: { shape: "S1v" } }, }, }, CreateReplicationTask: { @@ -35598,11 +40222,13 @@ module.exports = /******/ (function (modules, runtime) { CdcStartPosition: {}, CdcStopPosition: {}, Tags: { shape: "S3" }, + TaskData: {}, + ResourceIdentifier: {}, }, }, output: { type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, + members: { ReplicationTask: { shape: "S28" } }, }, }, DeleteCertificate: { @@ -35613,7 +40239,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Certificate: { shape: "S1w" } }, + members: { Certificate: { shape: "S2d" } }, }, }, DeleteConnection: { @@ -35624,7 +40250,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Connection: { shape: "S20" } }, + members: { Connection: { shape: "S2h" } }, }, }, DeleteEndpoint: { @@ -35635,7 +40261,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Endpoint: { shape: "S10" } }, + members: { Endpoint: { shape: "S1i" } }, }, }, DeleteEventSubscription: { @@ -35646,7 +40272,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EventSubscription: { shape: "S15" } }, + members: { EventSubscription: { shape: "S1n" } }, }, }, DeleteReplicationInstance: { @@ -35657,7 +40283,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ReplicationInstance: { shape: "S1a" } }, + members: { ReplicationInstance: { shape: "S1s" } }, }, }, DeleteReplicationSubnetGroup: { @@ -35676,7 +40302,18 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, + members: { ReplicationTask: { shape: "S28" } }, + }, + }, + DeleteReplicationTaskAssessmentRun: { + input: { + type: "structure", + required: ["ReplicationTaskAssessmentRunArn"], + members: { ReplicationTaskAssessmentRunArn: {} }, + }, + output: { + type: "structure", + members: { ReplicationTaskAssessmentRun: { shape: "Se" } }, }, }, DescribeAccountAttributes: { @@ -35699,11 +40336,32 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + DescribeApplicableIndividualAssessments: { + input: { + type: "structure", + members: { + ReplicationTaskArn: {}, + ReplicationInstanceArn: {}, + SourceEngineName: {}, + TargetEngineName: {}, + MigrationType: {}, + MaxRecords: { type: "integer" }, + Marker: {}, + }, + }, + output: { + type: "structure", + members: { + IndividualAssessmentNames: { type: "list", member: {} }, + Marker: {}, + }, + }, + }, DescribeCertificates: { input: { type: "structure", members: { - Filters: { shape: "S2g" }, + Filters: { shape: "S32" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -35712,7 +40370,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Marker: {}, - Certificates: { type: "list", member: { shape: "S1w" } }, + Certificates: { type: "list", member: { shape: "S2d" } }, }, }, }, @@ -35720,7 +40378,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - Filters: { shape: "S2g" }, + Filters: { shape: "S32" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -35729,7 +40387,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Marker: {}, - Connections: { type: "list", member: { shape: "S20" } }, + Connections: { type: "list", member: { shape: "S2h" } }, }, }, }, @@ -35737,7 +40395,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - Filters: { shape: "S2g" }, + Filters: { shape: "S32" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -35754,6 +40412,7 @@ module.exports = /******/ (function (modules, runtime) { EngineName: {}, SupportsCDC: { type: "boolean" }, EndpointType: {}, + ReplicationInstanceEngineMinimumVersion: {}, EngineDisplayName: {}, }, }, @@ -35765,7 +40424,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - Filters: { shape: "S2g" }, + Filters: { shape: "S32" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -35774,14 +40433,14 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Marker: {}, - Endpoints: { type: "list", member: { shape: "S10" } }, + Endpoints: { type: "list", member: { shape: "S1i" } }, }, }, }, DescribeEventCategories: { input: { type: "structure", - members: { SourceType: {}, Filters: { shape: "S2g" } }, + members: { SourceType: {}, Filters: { shape: "S32" } }, }, output: { type: "structure", @@ -35792,7 +40451,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { SourceType: {}, - EventCategories: { shape: "S12" }, + EventCategories: { shape: "S1k" }, }, }, }, @@ -35804,7 +40463,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { SubscriptionName: {}, - Filters: { shape: "S2g" }, + Filters: { shape: "S32" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -35815,7 +40474,7 @@ module.exports = /******/ (function (modules, runtime) { Marker: {}, EventSubscriptionsList: { type: "list", - member: { shape: "S15" }, + member: { shape: "S1n" }, }, }, }, @@ -35829,8 +40488,8 @@ module.exports = /******/ (function (modules, runtime) { StartTime: { type: "timestamp" }, EndTime: { type: "timestamp" }, Duration: { type: "integer" }, - EventCategories: { shape: "S12" }, - Filters: { shape: "S2g" }, + EventCategories: { shape: "S1k" }, + Filters: { shape: "S32" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -35847,7 +40506,7 @@ module.exports = /******/ (function (modules, runtime) { SourceIdentifier: {}, SourceType: {}, Message: {}, - EventCategories: { shape: "S12" }, + EventCategories: { shape: "S1k" }, Date: { type: "timestamp" }, }, }, @@ -35889,7 +40548,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { ReplicationInstanceArn: {}, - Filters: { shape: "S2g" }, + Filters: { shape: "S32" }, Marker: {}, MaxRecords: { type: "integer" }, }, @@ -35913,7 +40572,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { RefreshSchemasStatus: { shape: "S3i" } }, + members: { RefreshSchemasStatus: { shape: "S44" } }, }, }, DescribeReplicationInstanceTaskLogs: { @@ -35949,7 +40608,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - Filters: { shape: "S2g" }, + Filters: { shape: "S32" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -35960,7 +40619,7 @@ module.exports = /******/ (function (modules, runtime) { Marker: {}, ReplicationInstances: { type: "list", - member: { shape: "S1a" }, + member: { shape: "S1s" }, }, }, }, @@ -35969,7 +40628,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - Filters: { shape: "S2g" }, + Filters: { shape: "S32" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -35980,7 +40639,7 @@ module.exports = /******/ (function (modules, runtime) { Marker: {}, ReplicationSubnetGroups: { type: "list", - member: { shape: "S1e" }, + member: { shape: "S1v" }, }, }, }, @@ -36017,11 +40676,62 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + DescribeReplicationTaskAssessmentRuns: { + input: { + type: "structure", + members: { + Filters: { shape: "S32" }, + MaxRecords: { type: "integer" }, + Marker: {}, + }, + }, + output: { + type: "structure", + members: { + Marker: {}, + ReplicationTaskAssessmentRuns: { + type: "list", + member: { shape: "Se" }, + }, + }, + }, + }, + DescribeReplicationTaskIndividualAssessments: { + input: { + type: "structure", + members: { + Filters: { shape: "S32" }, + MaxRecords: { type: "integer" }, + Marker: {}, + }, + }, + output: { + type: "structure", + members: { + Marker: {}, + ReplicationTaskIndividualAssessments: { + type: "list", + member: { + type: "structure", + members: { + ReplicationTaskIndividualAssessmentArn: {}, + ReplicationTaskAssessmentRunArn: {}, + IndividualAssessmentName: {}, + Status: {}, + ReplicationTaskIndividualAssessmentStartDate: { + type: "timestamp", + }, + }, + }, + }, + }, + }, + }, DescribeReplicationTasks: { input: { type: "structure", members: { - Filters: { shape: "S2g" }, + Filters: { shape: "S32" }, MaxRecords: { type: "integer" }, Marker: {}, WithoutSettings: { type: "boolean" }, @@ -36031,7 +40741,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Marker: {}, - ReplicationTasks: { type: "list", member: { shape: "S1r" } }, + ReplicationTasks: { type: "list", member: { shape: "S28" } }, }, }, }, @@ -36058,7 +40768,7 @@ module.exports = /******/ (function (modules, runtime) { ReplicationTaskArn: {}, MaxRecords: { type: "integer" }, Marker: {}, - Filters: { shape: "S2g" }, + Filters: { shape: "S32" }, }, }, output: { @@ -36109,7 +40819,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Certificate: { shape: "S1w" } }, + members: { Certificate: { shape: "S2d" } }, }, }, ListTagsForResource: { @@ -36133,7 +40843,7 @@ module.exports = /******/ (function (modules, runtime) { EndpointType: {}, EngineName: {}, Username: {}, - Password: { shape: "Se" }, + Password: { shape: "Sj" }, ServerName: {}, Port: { type: "integer" }, DatabaseName: {}, @@ -36142,19 +40852,27 @@ module.exports = /******/ (function (modules, runtime) { SslMode: {}, ServiceAccessRoleArn: {}, ExternalTableDefinition: {}, - DynamoDbSettings: { shape: "Sh" }, - S3Settings: { shape: "Si" }, - DmsTransferSettings: { shape: "Sp" }, - MongoDbSettings: { shape: "Sq" }, - KinesisSettings: { shape: "Su" }, - KafkaSettings: { shape: "Sw" }, - ElasticsearchSettings: { shape: "Sx" }, - RedshiftSettings: { shape: "Sy" }, + DynamoDbSettings: { shape: "Sm" }, + S3Settings: { shape: "Sn" }, + DmsTransferSettings: { shape: "Sw" }, + MongoDbSettings: { shape: "Sx" }, + KinesisSettings: { shape: "S11" }, + KafkaSettings: { shape: "S13" }, + ElasticsearchSettings: { shape: "S14" }, + NeptuneSettings: { shape: "S15" }, + RedshiftSettings: { shape: "S16" }, + PostgreSQLSettings: { shape: "S17" }, + MySQLSettings: { shape: "S18" }, + OracleSettings: { shape: "S1a" }, + SybaseSettings: { shape: "S1c" }, + MicrosoftSQLServerSettings: { shape: "S1d" }, + IBMDb2Settings: { shape: "S1f" }, + DocDbSettings: { shape: "S1g" }, }, }, output: { type: "structure", - members: { Endpoint: { shape: "S10" } }, + members: { Endpoint: { shape: "S1i" } }, }, }, ModifyEventSubscription: { @@ -36165,13 +40883,13 @@ module.exports = /******/ (function (modules, runtime) { SubscriptionName: {}, SnsTopicArn: {}, SourceType: {}, - EventCategories: { shape: "S12" }, + EventCategories: { shape: "S1k" }, Enabled: { type: "boolean" }, }, }, output: { type: "structure", - members: { EventSubscription: { shape: "S15" } }, + members: { EventSubscription: { shape: "S1n" } }, }, }, ModifyReplicationInstance: { @@ -36183,7 +40901,7 @@ module.exports = /******/ (function (modules, runtime) { AllocatedStorage: { type: "integer" }, ApplyImmediately: { type: "boolean" }, ReplicationInstanceClass: {}, - VpcSecurityGroupIds: { shape: "S18" }, + VpcSecurityGroupIds: { shape: "S1q" }, PreferredMaintenanceWindow: {}, MultiAZ: { type: "boolean" }, EngineVersion: {}, @@ -36194,7 +40912,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ReplicationInstance: { shape: "S1a" } }, + members: { ReplicationInstance: { shape: "S1s" } }, }, }, ModifyReplicationSubnetGroup: { @@ -36204,12 +40922,12 @@ module.exports = /******/ (function (modules, runtime) { members: { ReplicationSubnetGroupIdentifier: {}, ReplicationSubnetGroupDescription: {}, - SubnetIds: { shape: "S1m" }, + SubnetIds: { shape: "S23" }, }, }, output: { type: "structure", - members: { ReplicationSubnetGroup: { shape: "S1e" } }, + members: { ReplicationSubnetGroup: { shape: "S1v" } }, }, }, ModifyReplicationTask: { @@ -36225,11 +40943,26 @@ module.exports = /******/ (function (modules, runtime) { CdcStartTime: { type: "timestamp" }, CdcStartPosition: {}, CdcStopPosition: {}, + TaskData: {}, + }, + }, + output: { + type: "structure", + members: { ReplicationTask: { shape: "S28" } }, + }, + }, + MoveReplicationTask: { + input: { + type: "structure", + required: ["ReplicationTaskArn", "TargetReplicationInstanceArn"], + members: { + ReplicationTaskArn: {}, + TargetReplicationInstanceArn: {}, }, }, output: { type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, + members: { ReplicationTask: { shape: "S28" } }, }, }, RebootReplicationInstance: { @@ -36243,7 +40976,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ReplicationInstance: { shape: "S1a" } }, + members: { ReplicationInstance: { shape: "S1s" } }, }, }, RefreshSchemas: { @@ -36254,7 +40987,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { RefreshSchemasStatus: { shape: "S3i" } }, + members: { RefreshSchemasStatus: { shape: "S44" } }, }, }, ReloadTables: { @@ -36267,6 +41000,7 @@ module.exports = /******/ (function (modules, runtime) { type: "list", member: { type: "structure", + required: ["SchemaName", "TableName"], members: { SchemaName: {}, TableName: {} }, }, }, @@ -36300,7 +41034,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, + members: { ReplicationTask: { shape: "S28" } }, }, }, StartReplicationTaskAssessment: { @@ -36311,7 +41045,33 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, + members: { ReplicationTask: { shape: "S28" } }, + }, + }, + StartReplicationTaskAssessmentRun: { + input: { + type: "structure", + required: [ + "ReplicationTaskArn", + "ServiceAccessRoleArn", + "ResultLocationBucket", + "AssessmentRunName", + ], + members: { + ReplicationTaskArn: {}, + ServiceAccessRoleArn: {}, + ResultLocationBucket: {}, + ResultLocationFolder: {}, + ResultEncryptionMode: {}, + ResultKmsKeyArn: {}, + AssessmentRunName: {}, + IncludeOnly: { type: "list", member: {} }, + Exclude: { type: "list", member: {} }, + }, + }, + output: { + type: "structure", + members: { ReplicationTaskAssessmentRun: { shape: "Se" } }, }, }, StopReplicationTask: { @@ -36322,7 +41082,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ReplicationTask: { shape: "S1r" } }, + members: { ReplicationTask: { shape: "S28" } }, }, }, TestConnection: { @@ -36333,7 +41093,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Connection: { shape: "S20" } }, + members: { Connection: { shape: "S2h" } }, }, }, }, @@ -36362,13 +41122,36 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - Se: { type: "string", sensitive: true }, - Sh: { + Se: { + type: "structure", + members: { + ReplicationTaskAssessmentRunArn: {}, + ReplicationTaskArn: {}, + Status: {}, + ReplicationTaskAssessmentRunCreationDate: { type: "timestamp" }, + AssessmentProgress: { + type: "structure", + members: { + IndividualAssessmentCount: { type: "integer" }, + IndividualAssessmentCompletedCount: { type: "integer" }, + }, + }, + LastFailureMessage: {}, + ServiceAccessRoleArn: {}, + ResultLocationBucket: {}, + ResultLocationFolder: {}, + ResultEncryptionMode: {}, + ResultKmsKeyArn: {}, + AssessmentRunName: {}, + }, + }, + Sj: { type: "string", sensitive: true }, + Sm: { type: "structure", required: ["ServiceAccessRoleArn"], members: { ServiceAccessRoleArn: {} }, }, - Si: { + Sn: { type: "structure", members: { ServiceAccessRoleArn: {}, @@ -36392,17 +41175,24 @@ module.exports = /******/ (function (modules, runtime) { TimestampColumnName: {}, ParquetTimestampInMillisecond: { type: "boolean" }, CdcInsertsAndUpdates: { type: "boolean" }, + DatePartitionEnabled: { type: "boolean" }, + DatePartitionSequence: {}, + DatePartitionDelimiter: {}, + UseCsvNoSupValue: { type: "boolean" }, + CsvNoSupValue: {}, + PreserveTransactions: { type: "boolean" }, + CdcPath: {}, }, }, - Sp: { + Sw: { type: "structure", members: { ServiceAccessRoleArn: {}, BucketName: {} }, }, - Sq: { + Sx: { type: "structure", members: { Username: {}, - Password: { shape: "Se" }, + Password: { shape: "Sj" }, ServerName: {}, Port: { type: "integer" }, DatabaseName: {}, @@ -36415,7 +41205,7 @@ module.exports = /******/ (function (modules, runtime) { KmsKeyId: {}, }, }, - Su: { + S11: { type: "structure", members: { StreamArn: {}, @@ -36426,10 +41216,25 @@ module.exports = /******/ (function (modules, runtime) { PartitionIncludeSchemaTable: { type: "boolean" }, IncludeTableAlterOperations: { type: "boolean" }, IncludeControlDetails: { type: "boolean" }, + IncludeNullAndEmpty: { type: "boolean" }, }, }, - Sw: { type: "structure", members: { Broker: {}, Topic: {} } }, - Sx: { + S13: { + type: "structure", + members: { + Broker: {}, + Topic: {}, + MessageFormat: {}, + IncludeTransactionDetails: { type: "boolean" }, + IncludePartitionValue: { type: "boolean" }, + PartitionIncludeSchemaTable: { type: "boolean" }, + IncludeTableAlterOperations: { type: "boolean" }, + IncludeControlDetails: { type: "boolean" }, + MessageMaxBytes: { type: "integer" }, + IncludeNullAndEmpty: { type: "boolean" }, + }, + }, + S14: { type: "structure", required: ["ServiceAccessRoleArn", "EndpointUri"], members: { @@ -36439,22 +41244,38 @@ module.exports = /******/ (function (modules, runtime) { ErrorRetryDuration: { type: "integer" }, }, }, - Sy: { + S15: { + type: "structure", + required: ["S3BucketName", "S3BucketFolder"], + members: { + ServiceAccessRoleArn: {}, + S3BucketName: {}, + S3BucketFolder: {}, + ErrorRetryDuration: { type: "integer" }, + MaxFileSize: { type: "integer" }, + MaxRetryCount: { type: "integer" }, + IamAuthEnabled: { type: "boolean" }, + }, + }, + S16: { type: "structure", members: { AcceptAnyDate: { type: "boolean" }, AfterConnectScript: {}, BucketFolder: {}, BucketName: {}, + CaseSensitiveNames: { type: "boolean" }, + CompUpdate: { type: "boolean" }, ConnectionTimeout: { type: "integer" }, DatabaseName: {}, DateFormat: {}, EmptyAsNull: { type: "boolean" }, EncryptionMode: {}, + ExplicitIds: { type: "boolean" }, FileTransferUploadStreams: { type: "integer" }, LoadTimeout: { type: "integer" }, MaxFileSize: { type: "integer" }, - Password: { shape: "Se" }, + Password: { shape: "Sj" }, Port: { type: "integer" }, RemoveQuotes: { type: "boolean" }, ReplaceInvalidChars: {}, @@ -36469,7 +41290,127 @@ module.exports = /******/ (function (modules, runtime) { WriteBufferSize: { type: "integer" }, }, }, - S10: { + S17: { + type: "structure", + members: { + AfterConnectScript: {}, + CaptureDdls: { type: "boolean" }, + MaxFileSize: { type: "integer" }, + DatabaseName: {}, + DdlArtifactsSchema: {}, + ExecuteTimeout: { type: "integer" }, + FailTasksOnLobTruncation: { type: "boolean" }, + Password: { shape: "Sj" }, + Port: { type: "integer" }, + ServerName: {}, + Username: {}, + SlotName: {}, + }, + }, + S18: { + type: "structure", + members: { + AfterConnectScript: {}, + DatabaseName: {}, + EventsPollInterval: { type: "integer" }, + TargetDbType: {}, + MaxFileSize: { type: "integer" }, + ParallelLoadThreads: { type: "integer" }, + Password: { shape: "Sj" }, + Port: { type: "integer" }, + ServerName: {}, + ServerTimezone: {}, + Username: {}, + }, + }, + S1a: { + type: "structure", + members: { + AddSupplementalLogging: { type: "boolean" }, + ArchivedLogDestId: { type: "integer" }, + AdditionalArchivedLogDestId: { type: "integer" }, + AllowSelectNestedTables: { type: "boolean" }, + ParallelAsmReadThreads: { type: "integer" }, + ReadAheadBlocks: { type: "integer" }, + AccessAlternateDirectly: { type: "boolean" }, + UseAlternateFolderForOnline: { type: "boolean" }, + OraclePathPrefix: {}, + UsePathPrefix: {}, + ReplacePathPrefix: { type: "boolean" }, + EnableHomogenousTablespace: { type: "boolean" }, + DirectPathNoLog: { type: "boolean" }, + ArchivedLogsOnly: { type: "boolean" }, + AsmPassword: { shape: "Sj" }, + AsmServer: {}, + AsmUser: {}, + CharLengthSemantics: {}, + DatabaseName: {}, + DirectPathParallelLoad: { type: "boolean" }, + FailTasksOnLobTruncation: { type: "boolean" }, + NumberDatatypeScale: { type: "integer" }, + Password: { shape: "Sj" }, + Port: { type: "integer" }, + ReadTableSpaceName: { type: "boolean" }, + RetryInterval: { type: "integer" }, + SecurityDbEncryption: { shape: "Sj" }, + SecurityDbEncryptionName: {}, + ServerName: {}, + Username: {}, + }, + }, + S1c: { + type: "structure", + members: { + DatabaseName: {}, + Password: { shape: "Sj" }, + Port: { type: "integer" }, + ServerName: {}, + Username: {}, + }, + }, + S1d: { + type: "structure", + members: { + Port: { type: "integer" }, + BcpPacketSize: { type: "integer" }, + DatabaseName: {}, + ControlTablesFileGroup: {}, + Password: { shape: "Sj" }, + ReadBackupOnly: { type: "boolean" }, + SafeguardPolicy: {}, + ServerName: {}, + Username: {}, + UseBcpFullLoad: { type: "boolean" }, + }, + }, + S1f: { + type: "structure", + members: { + DatabaseName: {}, + Password: { shape: "Sj" }, + Port: { type: "integer" }, + ServerName: {}, + SetDataCaptureChanges: { type: "boolean" }, + CurrentLsn: {}, + MaxKBytesPerRead: { type: "integer" }, + Username: {}, + }, + }, + S1g: { + type: "structure", + members: { + Username: {}, + Password: { shape: "Sj" }, + ServerName: {}, + Port: { type: "integer" }, + DatabaseName: {}, + NestingLevel: {}, + ExtractDocId: { type: "boolean" }, + DocsToInvestigate: { type: "integer" }, + KmsKeyId: {}, + }, + }, + S1i: { type: "structure", members: { EndpointIdentifier: {}, @@ -36489,19 +41430,27 @@ module.exports = /******/ (function (modules, runtime) { ServiceAccessRoleArn: {}, ExternalTableDefinition: {}, ExternalId: {}, - DynamoDbSettings: { shape: "Sh" }, - S3Settings: { shape: "Si" }, - DmsTransferSettings: { shape: "Sp" }, - MongoDbSettings: { shape: "Sq" }, - KinesisSettings: { shape: "Su" }, - KafkaSettings: { shape: "Sw" }, - ElasticsearchSettings: { shape: "Sx" }, - RedshiftSettings: { shape: "Sy" }, + DynamoDbSettings: { shape: "Sm" }, + S3Settings: { shape: "Sn" }, + DmsTransferSettings: { shape: "Sw" }, + MongoDbSettings: { shape: "Sx" }, + KinesisSettings: { shape: "S11" }, + KafkaSettings: { shape: "S13" }, + ElasticsearchSettings: { shape: "S14" }, + NeptuneSettings: { shape: "S15" }, + RedshiftSettings: { shape: "S16" }, + PostgreSQLSettings: { shape: "S17" }, + MySQLSettings: { shape: "S18" }, + OracleSettings: { shape: "S1a" }, + SybaseSettings: { shape: "S1c" }, + MicrosoftSQLServerSettings: { shape: "S1d" }, + IBMDb2Settings: { shape: "S1f" }, + DocDbSettings: { shape: "S1g" }, }, }, - S12: { type: "list", member: {} }, - S13: { type: "list", member: {} }, - S15: { + S1k: { type: "list", member: {} }, + S1l: { type: "list", member: {} }, + S1n: { type: "structure", members: { CustomerAwsId: {}, @@ -36510,13 +41459,13 @@ module.exports = /******/ (function (modules, runtime) { Status: {}, SubscriptionCreationTime: {}, SourceType: {}, - SourceIdsList: { shape: "S13" }, - EventCategoriesList: { shape: "S12" }, + SourceIdsList: { shape: "S1l" }, + EventCategoriesList: { shape: "S1k" }, Enabled: { type: "boolean" }, }, }, - S18: { type: "list", member: {} }, - S1a: { + S1q: { type: "list", member: {} }, + S1s: { type: "structure", members: { ReplicationInstanceIdentifier: {}, @@ -36532,7 +41481,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, AvailabilityZone: {}, - ReplicationSubnetGroup: { shape: "S1e" }, + ReplicationSubnetGroup: { shape: "S1v" }, PreferredMaintenanceWindow: {}, PendingModifiedValues: { type: "structure", @@ -36564,7 +41513,7 @@ module.exports = /******/ (function (modules, runtime) { DnsNameServers: {}, }, }, - S1e: { + S1v: { type: "structure", members: { ReplicationSubnetGroupIdentifier: {}, @@ -36587,8 +41536,8 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S1m: { type: "list", member: {} }, - S1r: { + S23: { type: "list", member: {} }, + S28: { type: "structure", members: { ReplicationTaskIdentifier: {}, @@ -36623,9 +41572,11 @@ module.exports = /******/ (function (modules, runtime) { FullLoadFinishDate: { type: "timestamp" }, }, }, + TaskData: {}, + TargetReplicationInstanceArn: {}, }, }, - S1w: { + S2d: { type: "structure", members: { CertificateIdentifier: {}, @@ -36640,7 +41591,7 @@ module.exports = /******/ (function (modules, runtime) { KeyLength: { type: "integer" }, }, }, - S20: { + S2h: { type: "structure", members: { ReplicationInstanceArn: {}, @@ -36651,7 +41602,7 @@ module.exports = /******/ (function (modules, runtime) { ReplicationInstanceIdentifier: {}, }, }, - S2g: { + S32: { type: "list", member: { type: "structure", @@ -36659,7 +41610,7 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: {}, Values: { type: "list", member: {} } }, }, }, - S3i: { + S44: { type: "structure", members: { EndpointArn: {}, @@ -36675,6 +41626,131 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1035: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2020-08-21", + endpointPrefix: "contact-lens", + jsonVersion: "1.1", + protocol: "rest-json", + serviceAbbreviation: "Amazon Connect Contact Lens", + serviceFullName: "Amazon Connect Contact Lens", + serviceId: "Connect Contact Lens", + signatureVersion: "v4", + signingName: "connect", + uid: "connect-contact-lens-2020-08-21", + }, + operations: { + ListRealtimeContactAnalysisSegments: { + http: { + requestUri: "/realtime-contact-analysis/analysis-segments", + }, + input: { + type: "structure", + required: ["InstanceId", "ContactId"], + members: { + InstanceId: {}, + ContactId: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + }, + }, + output: { + type: "structure", + required: ["Segments"], + members: { + Segments: { + type: "list", + member: { + type: "structure", + members: { + Transcript: { + type: "structure", + required: [ + "Id", + "ParticipantId", + "ParticipantRole", + "Content", + "BeginOffsetMillis", + "EndOffsetMillis", + "Sentiment", + ], + members: { + Id: {}, + ParticipantId: {}, + ParticipantRole: {}, + Content: {}, + BeginOffsetMillis: { type: "integer" }, + EndOffsetMillis: { type: "integer" }, + Sentiment: {}, + IssuesDetected: { + type: "list", + member: { + type: "structure", + required: ["CharacterOffsets"], + members: { + CharacterOffsets: { + type: "structure", + required: [ + "BeginOffsetChar", + "EndOffsetChar", + ], + members: { + BeginOffsetChar: { type: "integer" }, + EndOffsetChar: { type: "integer" }, + }, + }, + }, + }, + }, + }, + }, + Categories: { + type: "structure", + required: ["MatchedCategories", "MatchedDetails"], + members: { + MatchedCategories: { type: "list", member: {} }, + MatchedDetails: { + type: "map", + key: {}, + value: { + type: "structure", + required: ["PointsOfInterest"], + members: { + PointsOfInterest: { + type: "list", + member: { + type: "structure", + required: [ + "BeginOffsetMillis", + "EndOffsetMillis", + ], + members: { + BeginOffsetMillis: { type: "integer" }, + EndOffsetMillis: { type: "integer" }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + NextToken: {}, + }, + }, + }, + }, + shapes: {}, + }; + + /***/ + }, + /***/ 1037: /***/ function (module) { module.exports = { pagination: { @@ -36790,6 +41866,11 @@ module.exports = /******/ (function (modules, runtime) { /***/ 1056: /***/ function (module) { module.exports = { pagination: { + DescribeApplicableIndividualAssessments: { + input_token: "Marker", + output_token: "Marker", + limit_key: "MaxRecords", + }, DescribeCertificates: { input_token: "Marker", output_token: "Marker", @@ -36850,6 +41931,16 @@ module.exports = /******/ (function (modules, runtime) { output_token: "Marker", limit_key: "MaxRecords", }, + DescribeReplicationTaskAssessmentRuns: { + input_token: "Marker", + output_token: "Marker", + limit_key: "MaxRecords", + }, + DescribeReplicationTaskIndividualAssessments: { + input_token: "Marker", + output_token: "Marker", + limit_key: "MaxRecords", + }, DescribeReplicationTasks: { input_token: "Marker", output_token: "Marker", @@ -37050,7 +42141,7 @@ module.exports = /******/ (function (modules, runtime) { { get: function get() { var model = __webpack_require__(4664); - model.paginators = __webpack_require__(7572).pagination; + model.paginators = __webpack_require__(6052).pagination; return model; }, enumerable: true, @@ -37996,6 +43087,7 @@ module.exports = /******/ (function (modules, runtime) { type: {}, loggingConfiguration: { shape: "Sd" }, tags: { shape: "S3" }, + tracingConfiguration: { shape: "Sj" }, }, }, output: { @@ -38053,7 +43145,6 @@ module.exports = /******/ (function (modules, runtime) { "stateMachineArn", "status", "startDate", - "input", ], members: { executionArn: {}, @@ -38062,8 +43153,11 @@ module.exports = /******/ (function (modules, runtime) { status: {}, startDate: { type: "timestamp" }, stopDate: { type: "timestamp" }, - input: { shape: "St" }, - output: { shape: "St" }, + input: { shape: "Sv" }, + inputDetails: { shape: "Sw" }, + output: { shape: "Sv" }, + outputDetails: { shape: "Sw" }, + traceHeader: {}, }, }, }, @@ -38092,6 +43186,7 @@ module.exports = /******/ (function (modules, runtime) { type: {}, creationDate: { type: "timestamp" }, loggingConfiguration: { shape: "Sd" }, + tracingConfiguration: { shape: "Sj" }, }, }, }, @@ -38117,6 +43212,7 @@ module.exports = /******/ (function (modules, runtime) { roleArn: {}, updateDate: { type: "timestamp" }, loggingConfiguration: { shape: "Sd" }, + tracingConfiguration: { shape: "Sj" }, }, }, }, @@ -38143,6 +43239,7 @@ module.exports = /******/ (function (modules, runtime) { maxResults: { type: "integer" }, reverseOrder: { type: "boolean" }, nextToken: {}, + includeExecutionData: { type: "boolean" }, }, }, output: { @@ -38162,15 +43259,15 @@ module.exports = /******/ (function (modules, runtime) { activityFailedEventDetails: { type: "structure", members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, activityScheduleFailedEventDetails: { type: "structure", members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, activityScheduledEventDetails: { @@ -38178,7 +43275,8 @@ module.exports = /******/ (function (modules, runtime) { required: ["resource"], members: { resource: {}, - input: { shape: "St" }, + input: { shape: "Sv" }, + inputDetails: { shape: "S1n" }, timeoutInSeconds: { type: "long" }, heartbeatInSeconds: { type: "long" }, }, @@ -38189,13 +43287,16 @@ module.exports = /******/ (function (modules, runtime) { }, activitySucceededEventDetails: { type: "structure", - members: { output: { shape: "St" } }, + members: { + output: { shape: "Sv" }, + outputDetails: { shape: "S1n" }, + }, }, activityTimedOutEventDetails: { type: "structure", members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, taskFailedEventDetails: { @@ -38204,8 +43305,8 @@ module.exports = /******/ (function (modules, runtime) { members: { resourceType: {}, resource: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, taskScheduledEventDetails: { @@ -38222,6 +43323,7 @@ module.exports = /******/ (function (modules, runtime) { region: {}, parameters: { type: "string", sensitive: true }, timeoutInSeconds: { type: "long" }, + heartbeatInSeconds: { type: "long" }, }, }, taskStartFailedEventDetails: { @@ -38230,8 +43332,8 @@ module.exports = /******/ (function (modules, runtime) { members: { resourceType: {}, resource: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, taskStartedEventDetails: { @@ -38245,8 +43347,8 @@ module.exports = /******/ (function (modules, runtime) { members: { resourceType: {}, resource: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, taskSubmittedEventDetails: { @@ -38255,7 +43357,8 @@ module.exports = /******/ (function (modules, runtime) { members: { resourceType: {}, resource: {}, - output: { shape: "St" }, + output: { shape: "Sv" }, + outputDetails: { shape: "S1n" }, }, }, taskSucceededEventDetails: { @@ -38264,7 +43367,8 @@ module.exports = /******/ (function (modules, runtime) { members: { resourceType: {}, resource: {}, - output: { shape: "St" }, + output: { shape: "Sv" }, + outputDetails: { shape: "S1n" }, }, }, taskTimedOutEventDetails: { @@ -38273,59 +43377,66 @@ module.exports = /******/ (function (modules, runtime) { members: { resourceType: {}, resource: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, executionFailedEventDetails: { type: "structure", members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, executionStartedEventDetails: { type: "structure", - members: { input: { shape: "St" }, roleArn: {} }, + members: { + input: { shape: "Sv" }, + inputDetails: { shape: "S1n" }, + roleArn: {}, + }, }, executionSucceededEventDetails: { type: "structure", - members: { output: { shape: "St" } }, + members: { + output: { shape: "Sv" }, + outputDetails: { shape: "S1n" }, + }, }, executionAbortedEventDetails: { type: "structure", members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, executionTimedOutEventDetails: { type: "structure", members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, mapStateStartedEventDetails: { type: "structure", members: { length: { type: "integer" } }, }, - mapIterationStartedEventDetails: { shape: "S22" }, - mapIterationSucceededEventDetails: { shape: "S22" }, - mapIterationFailedEventDetails: { shape: "S22" }, - mapIterationAbortedEventDetails: { shape: "S22" }, + mapIterationStartedEventDetails: { shape: "S2a" }, + mapIterationSucceededEventDetails: { shape: "S2a" }, + mapIterationFailedEventDetails: { shape: "S2a" }, + mapIterationAbortedEventDetails: { shape: "S2a" }, lambdaFunctionFailedEventDetails: { type: "structure", members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, lambdaFunctionScheduleFailedEventDetails: { type: "structure", members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, lambdaFunctionScheduledEventDetails: { @@ -38333,37 +43444,49 @@ module.exports = /******/ (function (modules, runtime) { required: ["resource"], members: { resource: {}, - input: { shape: "St" }, + input: { shape: "Sv" }, + inputDetails: { shape: "S1n" }, timeoutInSeconds: { type: "long" }, }, }, lambdaFunctionStartFailedEventDetails: { type: "structure", members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, lambdaFunctionSucceededEventDetails: { type: "structure", - members: { output: { shape: "St" } }, + members: { + output: { shape: "Sv" }, + outputDetails: { shape: "S1n" }, + }, }, lambdaFunctionTimedOutEventDetails: { type: "structure", members: { - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, stateEnteredEventDetails: { type: "structure", required: ["name"], - members: { name: {}, input: { shape: "St" } }, + members: { + name: {}, + input: { shape: "Sv" }, + inputDetails: { shape: "S1n" }, + }, }, stateExitedEventDetails: { type: "structure", required: ["name"], - members: { name: {}, output: { shape: "St" } }, + members: { + name: {}, + output: { shape: "Sv" }, + outputDetails: { shape: "S1n" }, + }, }, }, }, @@ -38482,8 +43605,8 @@ module.exports = /******/ (function (modules, runtime) { required: ["taskToken"], members: { taskToken: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, output: { type: "structure", members: {} }, @@ -38500,7 +43623,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["taskToken", "output"], - members: { taskToken: {}, output: { shape: "St" } }, + members: { taskToken: {}, output: { shape: "Sv" } }, }, output: { type: "structure", members: {} }, }, @@ -38511,7 +43634,8 @@ module.exports = /******/ (function (modules, runtime) { members: { stateMachineArn: {}, name: {}, - input: { shape: "St" }, + input: { shape: "Sv" }, + traceHeader: {}, }, }, output: { @@ -38521,14 +43645,53 @@ module.exports = /******/ (function (modules, runtime) { }, idempotent: true, }, + StartSyncExecution: { + input: { + type: "structure", + required: ["stateMachineArn"], + members: { + stateMachineArn: {}, + name: {}, + input: { shape: "Sv" }, + traceHeader: {}, + }, + }, + output: { + type: "structure", + required: ["executionArn", "startDate", "stopDate", "status"], + members: { + executionArn: {}, + stateMachineArn: {}, + name: {}, + startDate: { type: "timestamp" }, + stopDate: { type: "timestamp" }, + status: {}, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, + input: { shape: "Sv" }, + inputDetails: { shape: "Sw" }, + output: { shape: "Sv" }, + outputDetails: { shape: "Sw" }, + traceHeader: {}, + billingDetails: { + type: "structure", + members: { + billedMemoryUsedInMB: { type: "long" }, + billedDurationInMilliseconds: { type: "long" }, + }, + }, + }, + }, + endpoint: { hostPrefix: "sync-" }, + }, StopExecution: { input: { type: "structure", required: ["executionArn"], members: { executionArn: {}, - error: { shape: "S1d" }, - cause: { shape: "S1e" }, + error: { shape: "S1j" }, + cause: { shape: "S1k" }, }, }, output: { @@ -38565,6 +43728,7 @@ module.exports = /******/ (function (modules, runtime) { definition: { shape: "Sb" }, roleArn: {}, loggingConfiguration: { shape: "Sd" }, + tracingConfiguration: { shape: "Sj" }, }, }, output: { @@ -38600,10 +43764,16 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - St: { type: "string", sensitive: true }, - S1d: { type: "string", sensitive: true }, - S1e: { type: "string", sensitive: true }, - S22: { + Sj: { type: "structure", members: { enabled: { type: "boolean" } } }, + Sv: { type: "string", sensitive: true }, + Sw: { type: "structure", members: { included: { type: "boolean" } } }, + S1j: { type: "string", sensitive: true }, + S1k: { type: "string", sensitive: true }, + S1n: { + type: "structure", + members: { truncated: { type: "boolean" } }, + }, + S2a: { type: "structure", members: { name: {}, index: { type: "integer" } }, }, @@ -38613,6 +43783,90 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1136: /***/ function (__unusedmodule, exports, __webpack_require__) { + "use strict"; + + Object.defineProperty(exports, "__esModule", { + value: true, + }); + exports.default = _default; + exports.URL = exports.DNS = void 0; + + var _stringify = _interopRequireDefault(__webpack_require__(1960)); + + var _parse = _interopRequireDefault(__webpack_require__(3204)); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + function stringToBytes(str) { + str = unescape(encodeURIComponent(str)); // UTF8 escape + + const bytes = []; + + for (let i = 0; i < str.length; ++i) { + bytes.push(str.charCodeAt(i)); + } + + return bytes; + } + + const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8"; + exports.DNS = DNS; + const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8"; + exports.URL = URL; + + function _default(name, version, hashfunc) { + function generateUUID(value, namespace, buf, offset) { + if (typeof value === "string") { + value = stringToBytes(value); + } + + if (typeof namespace === "string") { + namespace = (0, _parse.default)(namespace); + } + + if (namespace.length !== 16) { + throw TypeError( + "Namespace must be array-like (16 iterable integer values, 0-255)" + ); + } // Compute hash of namespace and value, Per 4.3 + // Future: Use spread syntax when supported on all platforms, e.g. `bytes = + // hashfunc([...namespace, ... value])` + + let bytes = new Uint8Array(16 + value.length); + bytes.set(namespace); + bytes.set(value, namespace.length); + bytes = hashfunc(bytes); + bytes[6] = (bytes[6] & 0x0f) | version; + bytes[8] = (bytes[8] & 0x3f) | 0x80; + + if (buf) { + offset = offset || 0; + + for (let i = 0; i < 16; ++i) { + buf[offset + i] = bytes[i]; + } + + return buf; + } + + return (0, _stringify.default)(bytes); + } // Function#name is not settable on some platforms (#270) + + try { + generateUUID.name = name; // eslint-disable-next-line no-empty + } catch (err) {} // For CommonJS default export support + + generateUUID.DNS = DNS; + generateUUID.URL = URL; + return generateUUID; + } + + /***/ + }, + /***/ 1152: /***/ function (module) { module.exports = { version: "2.0", @@ -38629,6 +43883,26 @@ module.exports = /******/ (function (modules, runtime) { uid: "globalaccelerator-2018-08-08", }, operations: { + AddCustomRoutingEndpoints: { + input: { + type: "structure", + required: ["EndpointConfigurations", "EndpointGroupArn"], + members: { + EndpointConfigurations: { + type: "list", + member: { type: "structure", members: { EndpointId: {} } }, + }, + EndpointGroupArn: {}, + }, + }, + output: { + type: "structure", + members: { + EndpointDescriptions: { shape: "S6" }, + EndpointGroupArn: {}, + }, + }, + }, AdvertiseByoipCidr: { input: { type: "structure", @@ -38637,7 +43911,20 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ByoipCidr: { shape: "S4" } }, + members: { ByoipCidr: { shape: "Sa" } }, + }, + }, + AllowCustomRoutingTraffic: { + input: { + type: "structure", + required: ["EndpointGroupArn", "EndpointId"], + members: { + EndpointGroupArn: {}, + EndpointId: {}, + DestinationAddresses: { shape: "Sg" }, + DestinationPorts: { shape: "Si" }, + AllowAllTrafficToEndpoint: { type: "boolean" }, + }, }, }, CreateAccelerator: { @@ -38647,15 +43934,79 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: {}, IpAddressType: {}, - IpAddresses: { shape: "Sb" }, + IpAddresses: { shape: "Sn" }, Enabled: { type: "boolean" }, IdempotencyToken: { idempotencyToken: true }, - Tags: { shape: "Sf" }, + Tags: { shape: "Sp" }, + }, + }, + output: { + type: "structure", + members: { Accelerator: { shape: "Su" } }, + }, + }, + CreateCustomRoutingAccelerator: { + input: { + type: "structure", + required: ["Name", "IdempotencyToken"], + members: { + Name: {}, + IpAddressType: {}, + Enabled: { type: "boolean" }, + IdempotencyToken: { idempotencyToken: true }, + Tags: { shape: "Sp" }, + }, + }, + output: { + type: "structure", + members: { Accelerator: { shape: "S10" } }, + }, + }, + CreateCustomRoutingEndpointGroup: { + input: { + type: "structure", + required: [ + "ListenerArn", + "EndpointGroupRegion", + "DestinationConfigurations", + "IdempotencyToken", + ], + members: { + ListenerArn: {}, + EndpointGroupRegion: {}, + DestinationConfigurations: { + type: "list", + member: { + type: "structure", + required: ["FromPort", "ToPort", "Protocols"], + members: { + FromPort: { type: "integer" }, + ToPort: { type: "integer" }, + Protocols: { shape: "S15" }, + }, + }, + }, + IdempotencyToken: { idempotencyToken: true }, + }, + }, + output: { + type: "structure", + members: { EndpointGroup: { shape: "S18" } }, + }, + }, + CreateCustomRoutingListener: { + input: { + type: "structure", + required: ["AcceleratorArn", "PortRanges", "IdempotencyToken"], + members: { + AcceleratorArn: {}, + PortRanges: { shape: "S1e" }, + IdempotencyToken: { idempotencyToken: true }, }, }, output: { type: "structure", - members: { Accelerator: { shape: "Sk" } }, + members: { Listener: { shape: "S1h" } }, }, }, CreateEndpointGroup: { @@ -38669,7 +44020,7 @@ module.exports = /******/ (function (modules, runtime) { members: { ListenerArn: {}, EndpointGroupRegion: {}, - EndpointConfigurations: { shape: "Sp" }, + EndpointConfigurations: { shape: "S1j" }, TrafficDialPercentage: { type: "float" }, HealthCheckPort: { type: "integer" }, HealthCheckProtocol: {}, @@ -38677,11 +44028,12 @@ module.exports = /******/ (function (modules, runtime) { HealthCheckIntervalSeconds: { type: "integer" }, ThresholdCount: { type: "integer" }, IdempotencyToken: { idempotencyToken: true }, + PortOverrides: { shape: "S1s" }, }, }, output: { type: "structure", - members: { EndpointGroup: { shape: "Sy" } }, + members: { EndpointGroup: { shape: "S1v" } }, }, }, CreateListener: { @@ -38695,7 +44047,7 @@ module.exports = /******/ (function (modules, runtime) { ], members: { AcceleratorArn: {}, - PortRanges: { shape: "S13" }, + PortRanges: { shape: "S1e" }, Protocol: {}, ClientAffinity: {}, IdempotencyToken: { idempotencyToken: true }, @@ -38703,7 +44055,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Listener: { shape: "S19" } }, + members: { Listener: { shape: "S22" } }, }, }, DeleteAccelerator: { @@ -38713,6 +44065,27 @@ module.exports = /******/ (function (modules, runtime) { members: { AcceleratorArn: {} }, }, }, + DeleteCustomRoutingAccelerator: { + input: { + type: "structure", + required: ["AcceleratorArn"], + members: { AcceleratorArn: {} }, + }, + }, + DeleteCustomRoutingEndpointGroup: { + input: { + type: "structure", + required: ["EndpointGroupArn"], + members: { EndpointGroupArn: {} }, + }, + }, + DeleteCustomRoutingListener: { + input: { + type: "structure", + required: ["ListenerArn"], + members: { ListenerArn: {} }, + }, + }, DeleteEndpointGroup: { input: { type: "structure", @@ -38727,6 +44100,19 @@ module.exports = /******/ (function (modules, runtime) { members: { ListenerArn: {} }, }, }, + DenyCustomRoutingTraffic: { + input: { + type: "structure", + required: ["EndpointGroupArn", "EndpointId"], + members: { + EndpointGroupArn: {}, + EndpointId: {}, + DestinationAddresses: { shape: "Sg" }, + DestinationPorts: { shape: "Si" }, + DenyAllTrafficToEndpoint: { type: "boolean" }, + }, + }, + }, DeprovisionByoipCidr: { input: { type: "structure", @@ -38735,7 +44121,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ByoipCidr: { shape: "S4" } }, + members: { ByoipCidr: { shape: "Sa" } }, }, }, DescribeAccelerator: { @@ -38746,7 +44132,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Accelerator: { shape: "Sk" } }, + members: { Accelerator: { shape: "Su" } }, }, }, DescribeAcceleratorAttributes: { @@ -38757,7 +44143,51 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { AcceleratorAttributes: { shape: "S1j" } }, + members: { AcceleratorAttributes: { shape: "S2g" } }, + }, + }, + DescribeCustomRoutingAccelerator: { + input: { + type: "structure", + required: ["AcceleratorArn"], + members: { AcceleratorArn: {} }, + }, + output: { + type: "structure", + members: { Accelerator: { shape: "S10" } }, + }, + }, + DescribeCustomRoutingAcceleratorAttributes: { + input: { + type: "structure", + required: ["AcceleratorArn"], + members: { AcceleratorArn: {} }, + }, + output: { + type: "structure", + members: { AcceleratorAttributes: { shape: "S2l" } }, + }, + }, + DescribeCustomRoutingEndpointGroup: { + input: { + type: "structure", + required: ["EndpointGroupArn"], + members: { EndpointGroupArn: {} }, + }, + output: { + type: "structure", + members: { EndpointGroup: { shape: "S18" } }, + }, + }, + DescribeCustomRoutingListener: { + input: { + type: "structure", + required: ["ListenerArn"], + members: { ListenerArn: {} }, + }, + output: { + type: "structure", + members: { Listener: { shape: "S1h" } }, }, }, DescribeEndpointGroup: { @@ -38768,7 +44198,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { EndpointGroup: { shape: "Sy" } }, + members: { EndpointGroup: { shape: "S1v" } }, }, }, DescribeListener: { @@ -38779,7 +44209,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Listener: { shape: "S19" } }, + members: { Listener: { shape: "S22" } }, }, }, ListAccelerators: { @@ -38790,7 +44220,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - Accelerators: { type: "list", member: { shape: "Sk" } }, + Accelerators: { type: "list", member: { shape: "Su" } }, NextToken: {}, }, }, @@ -38803,7 +44233,125 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - ByoipCidrs: { type: "list", member: { shape: "S4" } }, + ByoipCidrs: { type: "list", member: { shape: "Sa" } }, + NextToken: {}, + }, + }, + }, + ListCustomRoutingAccelerators: { + input: { + type: "structure", + members: { MaxResults: { type: "integer" }, NextToken: {} }, + }, + output: { + type: "structure", + members: { + Accelerators: { type: "list", member: { shape: "S10" } }, + NextToken: {}, + }, + }, + }, + ListCustomRoutingEndpointGroups: { + input: { + type: "structure", + required: ["ListenerArn"], + members: { + ListenerArn: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + }, + }, + output: { + type: "structure", + members: { + EndpointGroups: { type: "list", member: { shape: "S18" } }, + NextToken: {}, + }, + }, + }, + ListCustomRoutingListeners: { + input: { + type: "structure", + required: ["AcceleratorArn"], + members: { + AcceleratorArn: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + }, + }, + output: { + type: "structure", + members: { + Listeners: { type: "list", member: { shape: "S1h" } }, + NextToken: {}, + }, + }, + }, + ListCustomRoutingPortMappings: { + input: { + type: "structure", + required: ["AcceleratorArn"], + members: { + AcceleratorArn: {}, + EndpointGroupArn: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + }, + }, + output: { + type: "structure", + members: { + PortMappings: { + type: "list", + member: { + type: "structure", + members: { + AcceleratorPort: { type: "integer" }, + EndpointGroupArn: {}, + EndpointId: {}, + DestinationSocketAddress: { shape: "S3f" }, + Protocols: { shape: "S15" }, + DestinationTrafficState: {}, + }, + }, + }, + NextToken: {}, + }, + }, + }, + ListCustomRoutingPortMappingsByDestination: { + input: { + type: "structure", + required: ["EndpointId", "DestinationAddress"], + members: { + EndpointId: {}, + DestinationAddress: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + }, + }, + output: { + type: "structure", + members: { + DestinationPortMappings: { + type: "list", + member: { + type: "structure", + members: { + AcceleratorArn: {}, + AcceleratorSocketAddresses: { + type: "list", + member: { shape: "S3f" }, + }, + EndpointGroupArn: {}, + EndpointId: {}, + EndpointGroupRegion: {}, + DestinationSocketAddress: { shape: "S3f" }, + IpAddressType: {}, + DestinationTrafficState: {}, + }, + }, + }, NextToken: {}, }, }, @@ -38821,7 +44369,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - EndpointGroups: { type: "list", member: { shape: "Sy" } }, + EndpointGroups: { type: "list", member: { shape: "S1v" } }, NextToken: {}, }, }, @@ -38839,7 +44387,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - Listeners: { type: "list", member: { shape: "S19" } }, + Listeners: { type: "list", member: { shape: "S22" } }, NextToken: {}, }, }, @@ -38850,7 +44398,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["ResourceArn"], members: { ResourceArn: {} }, }, - output: { type: "structure", members: { Tags: { shape: "Sf" } } }, + output: { type: "structure", members: { Tags: { shape: "Sp" } } }, }, ProvisionByoipCidr: { input: { @@ -38867,14 +44415,24 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ByoipCidr: { shape: "S4" } }, + members: { ByoipCidr: { shape: "Sa" } }, + }, + }, + RemoveCustomRoutingEndpoints: { + input: { + type: "structure", + required: ["EndpointIds", "EndpointGroupArn"], + members: { + EndpointIds: { type: "list", member: {} }, + EndpointGroupArn: {}, + }, }, }, TagResource: { input: { type: "structure", required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "Sf" } }, + members: { ResourceArn: {}, Tags: { shape: "Sp" } }, }, output: { type: "structure", members: {} }, }, @@ -38902,7 +44460,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Accelerator: { shape: "Sk" } }, + members: { Accelerator: { shape: "Su" } }, }, }, UpdateAcceleratorAttributes: { @@ -38918,7 +44476,50 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { AcceleratorAttributes: { shape: "S1j" } }, + members: { AcceleratorAttributes: { shape: "S2g" } }, + }, + }, + UpdateCustomRoutingAccelerator: { + input: { + type: "structure", + required: ["AcceleratorArn"], + members: { + AcceleratorArn: {}, + Name: {}, + IpAddressType: {}, + Enabled: { type: "boolean" }, + }, + }, + output: { + type: "structure", + members: { Accelerator: { shape: "S10" } }, + }, + }, + UpdateCustomRoutingAcceleratorAttributes: { + input: { + type: "structure", + required: ["AcceleratorArn"], + members: { + AcceleratorArn: {}, + FlowLogsEnabled: { type: "boolean" }, + FlowLogsS3Bucket: {}, + FlowLogsS3Prefix: {}, + }, + }, + output: { + type: "structure", + members: { AcceleratorAttributes: { shape: "S2l" } }, + }, + }, + UpdateCustomRoutingListener: { + input: { + type: "structure", + required: ["ListenerArn", "PortRanges"], + members: { ListenerArn: {}, PortRanges: { shape: "S1e" } }, + }, + output: { + type: "structure", + members: { Listener: { shape: "S1h" } }, }, }, UpdateEndpointGroup: { @@ -38927,18 +44528,19 @@ module.exports = /******/ (function (modules, runtime) { required: ["EndpointGroupArn"], members: { EndpointGroupArn: {}, - EndpointConfigurations: { shape: "Sp" }, + EndpointConfigurations: { shape: "S1j" }, TrafficDialPercentage: { type: "float" }, HealthCheckPort: { type: "integer" }, HealthCheckProtocol: {}, HealthCheckPath: {}, HealthCheckIntervalSeconds: { type: "integer" }, ThresholdCount: { type: "integer" }, + PortOverrides: { shape: "S1s" }, }, }, output: { type: "structure", - members: { EndpointGroup: { shape: "Sy" } }, + members: { EndpointGroup: { shape: "S1v" } }, }, }, UpdateListener: { @@ -38947,14 +44549,14 @@ module.exports = /******/ (function (modules, runtime) { required: ["ListenerArn"], members: { ListenerArn: {}, - PortRanges: { shape: "S13" }, + PortRanges: { shape: "S1e" }, Protocol: {}, ClientAffinity: {}, }, }, output: { type: "structure", - members: { Listener: { shape: "S19" } }, + members: { Listener: { shape: "S22" } }, }, }, WithdrawByoipCidr: { @@ -38965,12 +44567,16 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ByoipCidr: { shape: "S4" } }, + members: { ByoipCidr: { shape: "Sa" } }, }, }, }, shapes: { - S4: { + S6: { + type: "list", + member: { type: "structure", members: { EndpointId: {} } }, + }, + Sa: { type: "structure", members: { Cidr: {}, @@ -38984,8 +44590,10 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - Sb: { type: "list", member: {} }, - Sf: { + Sg: { type: "list", member: {} }, + Si: { type: "list", member: { type: "integer" } }, + Sn: { type: "list", member: {} }, + Sp: { type: "list", member: { type: "structure", @@ -38993,27 +44601,76 @@ module.exports = /******/ (function (modules, runtime) { members: { Key: {}, Value: {} }, }, }, - Sk: { + Su: { + type: "structure", + members: { + AcceleratorArn: {}, + Name: {}, + IpAddressType: {}, + Enabled: { type: "boolean" }, + IpSets: { shape: "Sv" }, + DnsName: {}, + Status: {}, + CreatedTime: { type: "timestamp" }, + LastModifiedTime: { type: "timestamp" }, + }, + }, + Sv: { + type: "list", + member: { + type: "structure", + members: { IpFamily: {}, IpAddresses: { shape: "Sn" } }, + }, + }, + S10: { type: "structure", members: { AcceleratorArn: {}, Name: {}, IpAddressType: {}, Enabled: { type: "boolean" }, - IpSets: { + IpSets: { shape: "Sv" }, + DnsName: {}, + Status: {}, + CreatedTime: { type: "timestamp" }, + LastModifiedTime: { type: "timestamp" }, + }, + }, + S15: { type: "list", member: {} }, + S18: { + type: "structure", + members: { + EndpointGroupArn: {}, + EndpointGroupRegion: {}, + DestinationDescriptions: { type: "list", member: { type: "structure", - members: { IpFamily: {}, IpAddresses: { shape: "Sb" } }, + members: { + FromPort: { type: "integer" }, + ToPort: { type: "integer" }, + Protocols: { type: "list", member: {} }, + }, }, }, - DnsName: {}, - Status: {}, - CreatedTime: { type: "timestamp" }, - LastModifiedTime: { type: "timestamp" }, + EndpointDescriptions: { shape: "S6" }, }, }, - Sp: { + S1e: { + type: "list", + member: { + type: "structure", + members: { + FromPort: { type: "integer" }, + ToPort: { type: "integer" }, + }, + }, + }, + S1h: { + type: "structure", + members: { ListenerArn: {}, PortRanges: { shape: "S1e" } }, + }, + S1j: { type: "list", member: { type: "structure", @@ -39024,7 +44681,17 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - Sy: { + S1s: { + type: "list", + member: { + type: "structure", + members: { + ListenerPort: { type: "integer" }, + EndpointPort: { type: "integer" }, + }, + }, + }, + S1v: { type: "structure", members: { EndpointGroupArn: {}, @@ -39048,28 +44715,19 @@ module.exports = /******/ (function (modules, runtime) { HealthCheckPath: {}, HealthCheckIntervalSeconds: { type: "integer" }, ThresholdCount: { type: "integer" }, + PortOverrides: { shape: "S1s" }, }, }, - S13: { - type: "list", - member: { - type: "structure", - members: { - FromPort: { type: "integer" }, - ToPort: { type: "integer" }, - }, - }, - }, - S19: { + S22: { type: "structure", members: { ListenerArn: {}, - PortRanges: { shape: "S13" }, + PortRanges: { shape: "S1e" }, Protocol: {}, ClientAffinity: {}, }, }, - S1j: { + S2g: { type: "structure", members: { FlowLogsEnabled: { type: "boolean" }, @@ -39077,6 +44735,18 @@ module.exports = /******/ (function (modules, runtime) { FlowLogsS3Prefix: {}, }, }, + S2l: { + type: "structure", + members: { + FlowLogsEnabled: { type: "boolean" }, + FlowLogsS3Bucket: {}, + FlowLogsS3Prefix: {}, + }, + }, + S3f: { + type: "structure", + members: { IpAddress: {}, Port: { type: "integer" } }, + }, }, }; @@ -39755,6 +45425,22 @@ module.exports = /******/ (function (modules, runtime) { required: ["RegistryName"], }, }, + DeleteResourcePolicy: { + http: { + method: "DELETE", + requestUri: "/v1/policy", + responseCode: 204, + }, + input: { + type: "structure", + members: { + RegistryName: { + location: "querystring", + locationName: "registryName", + }, + }, + }, + }, DeleteSchema: { http: { method: "DELETE", @@ -39903,6 +45589,37 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + ExportSchema: { + http: { + method: "GET", + requestUri: + "/v1/registries/name/{registryName}/schemas/name/{schemaName}/export", + responseCode: 200, + }, + input: { + type: "structure", + members: { + RegistryName: { location: "uri", locationName: "registryName" }, + SchemaName: { location: "uri", locationName: "schemaName" }, + SchemaVersion: { + location: "querystring", + locationName: "schemaVersion", + }, + Type: { location: "querystring", locationName: "type" }, + }, + required: ["RegistryName", "SchemaName", "Type"], + }, + output: { + type: "structure", + members: { + Content: {}, + SchemaArn: {}, + SchemaName: {}, + SchemaVersion: {}, + Type: {}, + }, + }, + }, GetCodeBindingSource: { http: { method: "GET", @@ -39938,6 +45655,26 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", members: { Content: {} } }, }, + GetResourcePolicy: { + http: { + method: "GET", + requestUri: "/v1/policy", + responseCode: 200, + }, + input: { + type: "structure", + members: { + RegistryName: { + location: "querystring", + locationName: "registryName", + }, + }, + }, + output: { + type: "structure", + members: { Policy: { jsonvalue: true }, RevisionId: {} }, + }, + }, ListDiscoverers: { http: { method: "GET", @@ -39968,7 +45705,22 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Discoverers: { shape: "S12" }, NextToken: {} }, + members: { + Discoverers: { + type: "list", + member: { + type: "structure", + members: { + DiscovererArn: {}, + DiscovererId: {}, + SourceArn: {}, + State: {}, + Tags: { shape: "S4", locationName: "tags" }, + }, + }, + }, + NextToken: {}, + }, }, }, ListRegistries: { @@ -40050,6 +45802,7 @@ module.exports = /******/ (function (modules, runtime) { SchemaArn: {}, SchemaName: {}, SchemaVersion: {}, + Type: {}, }, }, }, @@ -40117,27 +45870,9 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Tags: { shape: "S4" } }, - required: ["Tags"], + members: { Tags: { shape: "S4", locationName: "tags" } }, }, }, - LockServiceLinkedRole: { - http: { requestUri: "/slr-deletion/lock", responseCode: 200 }, - input: { - type: "structure", - members: { RoleArn: {}, Timeout: { type: "integer" } }, - required: ["Timeout", "RoleArn"], - }, - output: { - type: "structure", - members: { - CanBeDeleted: { type: "boolean" }, - ReasonOfFailure: {}, - RelatedResources: { shape: "S12" }, - }, - }, - internal: true, - }, PutCodeBinding: { http: { requestUri: @@ -40167,6 +45902,29 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + PutResourcePolicy: { + http: { + method: "PUT", + requestUri: "/v1/policy", + responseCode: 200, + }, + input: { + type: "structure", + members: { + Policy: { jsonvalue: true }, + RegistryName: { + location: "querystring", + locationName: "registryName", + }, + RevisionId: {}, + }, + required: ["Policy"], + }, + output: { + type: "structure", + members: { Policy: { jsonvalue: true }, RevisionId: {} }, + }, + }, SearchSchemas: { http: { method: "GET", @@ -40209,6 +45967,7 @@ module.exports = /******/ (function (modules, runtime) { members: { CreatedDate: { shape: "Se" }, SchemaVersion: {}, + Type: {}, }, }, }, @@ -40263,16 +46022,6 @@ module.exports = /******/ (function (modules, runtime) { required: ["ResourceArn", "Tags"], }, }, - UnlockServiceLinkedRole: { - http: { requestUri: "/slr-deletion/unlock", responseCode: 200 }, - input: { - type: "structure", - members: { RoleArn: {} }, - required: ["RoleArn"], - }, - output: { type: "structure", members: {} }, - internal: true, - }, UntagResource: { http: { method: "DELETE", @@ -40380,19 +46129,6 @@ module.exports = /******/ (function (modules, runtime) { shapes: { S4: { type: "map", key: {}, value: {} }, Se: { type: "timestamp", timestampFormat: "iso8601" }, - S12: { - type: "list", - member: { - type: "structure", - members: { - DiscovererArn: {}, - DiscovererId: {}, - SourceArn: {}, - State: {}, - Tags: { shape: "S4", locationName: "tags" }, - }, - }, - }, }, }; @@ -40459,7 +46195,6 @@ module.exports = /******/ (function (modules, runtime) { module.exports = { version: "2.0", metadata: { - uid: "iot-data-2015-05-28", apiVersion: "2015-05-28", endpointPrefix: "data.iot", protocol: "rest-json", @@ -40467,6 +46202,7 @@ module.exports = /******/ (function (modules, runtime) { serviceId: "IoT Data Plane", signatureVersion: "v4", signingName: "iotdata", + uid: "iot-data-2015-05-28", }, operations: { DeleteThingShadow: { @@ -40479,6 +46215,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["thingName"], members: { thingName: { location: "uri", locationName: "thingName" }, + shadowName: { location: "querystring", locationName: "name" }, }, }, output: { @@ -40495,6 +46232,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["thingName"], members: { thingName: { location: "uri", locationName: "thingName" }, + shadowName: { location: "querystring", locationName: "name" }, }, }, output: { @@ -40503,6 +46241,37 @@ module.exports = /******/ (function (modules, runtime) { payload: "payload", }, }, + ListNamedShadowsForThing: { + http: { + method: "GET", + requestUri: + "/api/things/shadow/ListNamedShadowsForThing/{thingName}", + }, + input: { + type: "structure", + required: ["thingName"], + members: { + thingName: { location: "uri", locationName: "thingName" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + pageSize: { + location: "querystring", + locationName: "pageSize", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + results: { type: "list", member: {} }, + nextToken: {}, + timestamp: { type: "long" }, + }, + }, + }, Publish: { http: { requestUri: "/topics/{topic}" }, input: { @@ -40527,6 +46296,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["thingName", "payload"], members: { thingName: { location: "uri", locationName: "thingName" }, + shadowName: { location: "querystring", locationName: "name" }, payload: { type: "blob" }, }, payload: "payload", @@ -40570,6 +46340,17 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + AttachCertificateToDistribution: { + input: { + type: "structure", + required: ["distributionName", "certificateName"], + members: { distributionName: {}, certificateName: {} }, + }, + output: { + type: "structure", + members: { operation: { shape: "S5" } }, + }, + }, AttachDisk: { input: { type: "structure", @@ -40585,7 +46366,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["loadBalancerName", "instanceNames"], - members: { loadBalancerName: {}, instanceNames: { shape: "Si" } }, + members: { loadBalancerName: {}, instanceNames: { shape: "Sk" } }, }, output: { type: "structure", @@ -40618,7 +46399,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["portInfo", "instanceName"], - members: { portInfo: { shape: "Sp" }, instanceName: {} }, + members: { portInfo: { shape: "Sr" }, instanceName: {} }, }, output: { type: "structure", @@ -40643,6 +46424,25 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + CreateCertificate: { + input: { + type: "structure", + required: ["certificateName", "domainName"], + members: { + certificateName: {}, + domainName: {}, + subjectAlternativeNames: { shape: "S11" }, + tags: { shape: "S12" }, + }, + }, + output: { + type: "structure", + members: { + certificate: { shape: "S17" }, + operations: { shape: "S4" }, + }, + }, + }, CreateCloudFormationStack: { input: { type: "structure", @@ -40685,6 +46485,62 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + CreateContainerService: { + input: { + type: "structure", + required: ["serviceName", "power", "scale"], + members: { + serviceName: {}, + power: {}, + scale: { type: "integer" }, + tags: { shape: "S12" }, + publicDomainNames: { shape: "S20" }, + deployment: { + type: "structure", + members: { + containers: { shape: "S23" }, + publicEndpoint: { shape: "S29" }, + }, + }, + }, + }, + output: { + type: "structure", + members: { containerService: { shape: "S2d" } }, + }, + }, + CreateContainerServiceDeployment: { + input: { + type: "structure", + required: ["serviceName"], + members: { + serviceName: {}, + containers: { shape: "S23" }, + publicEndpoint: { shape: "S29" }, + }, + }, + output: { + type: "structure", + members: { containerService: { shape: "S2d" } }, + }, + }, + CreateContainerServiceRegistryLogin: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + members: { + registryLogin: { + type: "structure", + members: { + username: {}, + password: {}, + expiresAt: { type: "timestamp" }, + registry: {}, + }, + }, + }, + }, + }, CreateDisk: { input: { type: "structure", @@ -40693,8 +46549,8 @@ module.exports = /******/ (function (modules, runtime) { diskName: {}, availabilityZone: {}, sizeInGb: { type: "integer" }, - tags: { shape: "S16" }, - addOns: { shape: "S1a" }, + tags: { shape: "S12" }, + addOns: { shape: "S2o" }, }, }, output: { @@ -40711,8 +46567,8 @@ module.exports = /******/ (function (modules, runtime) { diskSnapshotName: {}, availabilityZone: {}, sizeInGb: { type: "integer" }, - tags: { shape: "S16" }, - addOns: { shape: "S1a" }, + tags: { shape: "S12" }, + addOns: { shape: "S2o" }, sourceDiskName: {}, restoreDate: {}, useLatestRestorableAutoSnapshot: { type: "boolean" }, @@ -40731,7 +46587,7 @@ module.exports = /******/ (function (modules, runtime) { diskName: {}, diskSnapshotName: {}, instanceName: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, }, }, output: { @@ -40739,11 +46595,38 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + CreateDistribution: { + input: { + type: "structure", + required: [ + "distributionName", + "origin", + "defaultCacheBehavior", + "bundleId", + ], + members: { + distributionName: {}, + origin: { shape: "S2z" }, + defaultCacheBehavior: { shape: "S31" }, + cacheBehaviorSettings: { shape: "S33" }, + cacheBehaviors: { shape: "S3b" }, + bundleId: {}, + tags: { shape: "S12" }, + }, + }, + output: { + type: "structure", + members: { + distribution: { shape: "S3e" }, + operation: { shape: "S5" }, + }, + }, + }, CreateDomain: { input: { type: "structure", required: ["domainName"], - members: { domainName: {}, tags: { shape: "S16" } }, + members: { domainName: {}, tags: { shape: "S12" } }, }, output: { type: "structure", @@ -40754,7 +46637,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["domainName", "domainEntry"], - members: { domainName: {}, domainEntry: { shape: "S1o" } }, + members: { domainName: {}, domainEntry: { shape: "S3j" } }, }, output: { type: "structure", @@ -40768,7 +46651,7 @@ module.exports = /******/ (function (modules, runtime) { members: { instanceSnapshotName: {}, instanceName: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, }, }, output: { @@ -40786,15 +46669,15 @@ module.exports = /******/ (function (modules, runtime) { "bundleId", ], members: { - instanceNames: { shape: "S1w" }, + instanceNames: { shape: "Su" }, availabilityZone: {}, customImageName: { deprecated: true }, blueprintId: {}, bundleId: {}, userData: {}, keyPairName: {}, - tags: { shape: "S16" }, - addOns: { shape: "S1a" }, + tags: { shape: "S12" }, + addOns: { shape: "S2o" }, }, }, output: { @@ -40807,7 +46690,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: ["instanceNames", "availabilityZone", "bundleId"], members: { - instanceNames: { shape: "S1w" }, + instanceNames: { shape: "Su" }, attachedDiskMapping: { type: "map", key: {}, @@ -40824,8 +46707,8 @@ module.exports = /******/ (function (modules, runtime) { bundleId: {}, userData: {}, keyPairName: {}, - tags: { shape: "S16" }, - addOns: { shape: "S1a" }, + tags: { shape: "S12" }, + addOns: { shape: "S2o" }, sourceInstanceName: {}, restoreDate: {}, useLatestRestorableAutoSnapshot: { type: "boolean" }, @@ -40840,12 +46723,12 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["keyPairName"], - members: { keyPairName: {}, tags: { shape: "S16" } }, + members: { keyPairName: {}, tags: { shape: "S12" } }, }, output: { type: "structure", members: { - keyPair: { shape: "S25" }, + keyPair: { shape: "S3z" }, publicKeyBase64: {}, privateKeyBase64: {}, operation: { shape: "S5" }, @@ -40862,8 +46745,8 @@ module.exports = /******/ (function (modules, runtime) { healthCheckPath: {}, certificateName: {}, certificateDomainName: {}, - certificateAlternativeNames: { shape: "S28" }, - tags: { shape: "S16" }, + certificateAlternativeNames: { shape: "S42" }, + tags: { shape: "S12" }, }, }, output: { @@ -40883,8 +46766,8 @@ module.exports = /******/ (function (modules, runtime) { loadBalancerName: {}, certificateName: {}, certificateDomainName: {}, - certificateAlternativeNames: { shape: "S28" }, - tags: { shape: "S16" }, + certificateAlternativeNames: { shape: "S42" }, + tags: { shape: "S12" }, }, }, output: { @@ -40909,11 +46792,11 @@ module.exports = /******/ (function (modules, runtime) { relationalDatabaseBundleId: {}, masterDatabaseName: {}, masterUsername: {}, - masterUserPassword: { shape: "S2d" }, + masterUserPassword: { shape: "S47" }, preferredBackupWindow: {}, preferredMaintenanceWindow: {}, publiclyAccessible: { type: "boolean" }, - tags: { shape: "S16" }, + tags: { shape: "S12" }, }, }, output: { @@ -40934,7 +46817,7 @@ module.exports = /******/ (function (modules, runtime) { sourceRelationalDatabaseName: {}, restoreTime: { type: "timestamp" }, useLatestRestorableTime: { type: "boolean" }, - tags: { shape: "S16" }, + tags: { shape: "S12" }, }, }, output: { @@ -40952,7 +46835,7 @@ module.exports = /******/ (function (modules, runtime) { members: { relationalDatabaseName: {}, relationalDatabaseSnapshotName: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, }, }, output: { @@ -40982,6 +46865,17 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + DeleteCertificate: { + input: { + type: "structure", + required: ["certificateName"], + members: { certificateName: {} }, + }, + output: { + type: "structure", + members: { operations: { shape: "S4" } }, + }, + }, DeleteContactMethod: { input: { type: "structure", @@ -40993,6 +46887,22 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + DeleteContainerImage: { + input: { + type: "structure", + required: ["serviceName", "image"], + members: { serviceName: {}, image: {} }, + }, + output: { type: "structure", members: {} }, + }, + DeleteContainerService: { + input: { + type: "structure", + required: ["serviceName"], + members: { serviceName: {} }, + }, + output: { type: "structure", members: {} }, + }, DeleteDisk: { input: { type: "structure", @@ -41015,6 +46925,13 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + DeleteDistribution: { + input: { type: "structure", members: { distributionName: {} } }, + output: { + type: "structure", + members: { operation: { shape: "S5" } }, + }, + }, DeleteDomain: { input: { type: "structure", @@ -41030,7 +46947,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["domainName", "domainEntry"], - members: { domainName: {}, domainEntry: { shape: "S1o" } }, + members: { domainName: {}, domainEntry: { shape: "S3j" } }, }, output: { type: "structure", @@ -41136,6 +47053,17 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + DetachCertificateFromDistribution: { + input: { + type: "structure", + required: ["distributionName"], + members: { distributionName: {} }, + }, + output: { + type: "structure", + members: { operation: { shape: "S5" } }, + }, + }, DetachDisk: { input: { type: "structure", @@ -41151,7 +47079,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["loadBalancerName", "instanceNames"], - members: { loadBalancerName: {}, instanceNames: { shape: "Si" } }, + members: { loadBalancerName: {}, instanceNames: { shape: "Sk" } }, }, output: { type: "structure", @@ -41191,7 +47119,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["resourceName", "addOnRequest"], - members: { resourceName: {}, addOnRequest: { shape: "S1b" } }, + members: { resourceName: {}, addOnRequest: { shape: "S2p" } }, }, output: { type: "structure", @@ -41213,7 +47141,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { pageToken: {} } }, output: { type: "structure", - members: { activeNames: { shape: "S1w" }, nextPageToken: {} }, + members: { activeNames: { shape: "Su" }, nextPageToken: {} }, }, }, GetAlarms: { @@ -41253,8 +47181,8 @@ module.exports = /******/ (function (modules, runtime) { metricName: {}, state: {}, unit: {}, - contactProtocols: { shape: "S48" }, - notificationTriggers: { shape: "S49" }, + contactProtocols: { shape: "S6c" }, + notificationTriggers: { shape: "S6d" }, notificationEnabled: { type: "boolean" }, }, }, @@ -41358,6 +47286,22 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + GetCertificates: { + input: { + type: "structure", + members: { + certificateStatuses: { type: "list", member: {} }, + includeCertificateDetails: { type: "boolean" }, + certificateName: {}, + }, + }, + output: { + type: "structure", + members: { + certificates: { type: "list", member: { shape: "S17" } }, + }, + }, + }, GetCloudFormationStackRecords: { input: { type: "structure", members: { pageToken: {} } }, output: { @@ -41381,7 +47325,7 @@ module.exports = /******/ (function (modules, runtime) { members: { resourceType: {}, name: {}, arn: {} }, }, }, - destinationInfo: { shape: "S51" }, + destinationInfo: { shape: "S7a" }, }, }, }, @@ -41392,7 +47336,7 @@ module.exports = /******/ (function (modules, runtime) { GetContactMethods: { input: { type: "structure", - members: { protocols: { shape: "S48" } }, + members: { protocols: { shape: "S6c" } }, }, output: { type: "structure", @@ -41417,13 +47361,134 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + GetContainerAPIMetadata: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + members: { + metadata: { + type: "list", + member: { type: "map", key: {}, value: {} }, + }, + }, + }, + }, + GetContainerImages: { + input: { + type: "structure", + required: ["serviceName"], + members: { serviceName: {} }, + }, + output: { + type: "structure", + members: { + containerImages: { type: "list", member: { shape: "S7n" } }, + }, + }, + }, + GetContainerLog: { + input: { + type: "structure", + required: ["serviceName", "containerName"], + members: { + serviceName: {}, + containerName: {}, + startTime: { type: "timestamp" }, + endTime: { type: "timestamp" }, + filterPattern: {}, + pageToken: {}, + }, + }, + output: { + type: "structure", + members: { + logEvents: { + type: "list", + member: { + type: "structure", + members: { createdAt: { type: "timestamp" }, message: {} }, + }, + }, + nextPageToken: {}, + }, + }, + }, + GetContainerServiceDeployments: { + input: { + type: "structure", + required: ["serviceName"], + members: { serviceName: {} }, + }, + output: { + type: "structure", + members: { + deployments: { type: "list", member: { shape: "S2f" } }, + }, + }, + }, + GetContainerServiceMetricData: { + input: { + type: "structure", + required: [ + "serviceName", + "metricName", + "startTime", + "endTime", + "period", + "statistics", + ], + members: { + serviceName: {}, + metricName: {}, + startTime: { type: "timestamp" }, + endTime: { type: "timestamp" }, + period: { type: "integer" }, + statistics: { shape: "S7x" }, + }, + }, + output: { + type: "structure", + members: { metricName: {}, metricData: { shape: "S7z" } }, + }, + }, + GetContainerServicePowers: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + members: { + powers: { + type: "list", + member: { + type: "structure", + members: { + powerId: {}, + price: { type: "float" }, + cpuCount: { type: "float" }, + ramSizeInGb: { type: "float" }, + name: {}, + isActive: { type: "boolean" }, + }, + }, + }, + }, + }, + }, + GetContainerServices: { + input: { type: "structure", members: { serviceName: {} } }, + output: { + type: "structure", + members: { + containerServices: { type: "list", member: { shape: "S2d" } }, + }, + }, + }, GetDisk: { input: { type: "structure", required: ["diskName"], members: { diskName: {} }, }, - output: { type: "structure", members: { disk: { shape: "S59" } } }, + output: { type: "structure", members: { disk: { shape: "S8b" } } }, }, GetDiskSnapshot: { input: { @@ -41433,7 +47498,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { diskSnapshot: { shape: "S5f" } }, + members: { diskSnapshot: { shape: "S8h" } }, }, }, GetDiskSnapshots: { @@ -41441,7 +47506,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - diskSnapshots: { type: "list", member: { shape: "S5f" } }, + diskSnapshots: { type: "list", member: { shape: "S8h" } }, nextPageToken: {}, }, }, @@ -41450,7 +47515,75 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { pageToken: {} } }, output: { type: "structure", - members: { disks: { shape: "S5m" }, nextPageToken: {} }, + members: { disks: { shape: "S8o" }, nextPageToken: {} }, + }, + }, + GetDistributionBundles: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + members: { + bundles: { + type: "list", + member: { + type: "structure", + members: { + bundleId: {}, + name: {}, + price: { type: "float" }, + transferPerMonthInGb: { type: "integer" }, + isActive: { type: "boolean" }, + }, + }, + }, + }, + }, + }, + GetDistributionLatestCacheReset: { + input: { type: "structure", members: { distributionName: {} } }, + output: { + type: "structure", + members: { status: {}, createTime: { type: "timestamp" } }, + }, + }, + GetDistributionMetricData: { + input: { + type: "structure", + required: [ + "distributionName", + "metricName", + "startTime", + "endTime", + "period", + "unit", + "statistics", + ], + members: { + distributionName: {}, + metricName: {}, + startTime: { type: "timestamp" }, + endTime: { type: "timestamp" }, + period: { type: "integer" }, + unit: {}, + statistics: { shape: "S7x" }, + }, + }, + output: { + type: "structure", + members: { metricName: {}, metricData: { shape: "S7z" } }, + }, + }, + GetDistributions: { + input: { + type: "structure", + members: { distributionName: {}, pageToken: {} }, + }, + output: { + type: "structure", + members: { + distributions: { type: "list", member: { shape: "S3e" } }, + nextPageToken: {}, + }, }, }, GetDomain: { @@ -41461,7 +47594,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { domain: { shape: "S5p" } }, + members: { domain: { shape: "S93" } }, }, }, GetDomains: { @@ -41469,7 +47602,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - domains: { type: "list", member: { shape: "S5p" } }, + domains: { type: "list", member: { shape: "S93" } }, nextPageToken: {}, }, }, @@ -41524,7 +47657,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - destinationInfo: { shape: "S51" }, + destinationInfo: { shape: "S7a" }, }, }, }, @@ -41540,7 +47673,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { instance: { shape: "S66" } }, + members: { instance: { shape: "S9k" } }, }, }, GetInstanceAccessDetails: { @@ -41606,12 +47739,12 @@ module.exports = /******/ (function (modules, runtime) { startTime: { type: "timestamp" }, endTime: { type: "timestamp" }, unit: {}, - statistics: { shape: "S6r" }, + statistics: { shape: "S7x" }, }, }, output: { type: "structure", - members: { metricName: {}, metricData: { shape: "S6t" } }, + members: { metricName: {}, metricData: { shape: "S7z" } }, }, }, GetInstancePortStates: { @@ -41632,6 +47765,8 @@ module.exports = /******/ (function (modules, runtime) { toPort: { type: "integer" }, protocol: {}, state: {}, + cidrs: { shape: "Su" }, + cidrListAliases: { shape: "Su" }, }, }, }, @@ -41646,7 +47781,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { instanceSnapshot: { shape: "S72" } }, + members: { instanceSnapshot: { shape: "Sac" } }, }, }, GetInstanceSnapshots: { @@ -41654,7 +47789,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - instanceSnapshots: { type: "list", member: { shape: "S72" } }, + instanceSnapshots: { type: "list", member: { shape: "Sac" } }, nextPageToken: {}, }, }, @@ -41665,14 +47800,14 @@ module.exports = /******/ (function (modules, runtime) { required: ["instanceName"], members: { instanceName: {} }, }, - output: { type: "structure", members: { state: { shape: "S6g" } } }, + output: { type: "structure", members: { state: { shape: "S9u" } } }, }, GetInstances: { input: { type: "structure", members: { pageToken: {} } }, output: { type: "structure", members: { - instances: { type: "list", member: { shape: "S66" } }, + instances: { type: "list", member: { shape: "S9k" } }, nextPageToken: {}, }, }, @@ -41685,7 +47820,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { keyPair: { shape: "S25" } }, + members: { keyPair: { shape: "S3z" } }, }, }, GetKeyPairs: { @@ -41693,7 +47828,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - keyPairs: { type: "list", member: { shape: "S25" } }, + keyPairs: { type: "list", member: { shape: "S3z" } }, nextPageToken: {}, }, }, @@ -41706,7 +47841,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { loadBalancer: { shape: "S7j" } }, + members: { loadBalancer: { shape: "Sat" } }, }, }, GetLoadBalancerMetricData: { @@ -41728,12 +47863,12 @@ module.exports = /******/ (function (modules, runtime) { startTime: { type: "timestamp" }, endTime: { type: "timestamp" }, unit: {}, - statistics: { shape: "S6r" }, + statistics: { shape: "S7x" }, }, }, output: { type: "structure", - members: { metricName: {}, metricData: { shape: "S6t" } }, + members: { metricName: {}, metricData: { shape: "S7z" } }, }, }, GetLoadBalancerTlsCertificates: { @@ -41756,7 +47891,7 @@ module.exports = /******/ (function (modules, runtime) { createdAt: { type: "timestamp" }, location: { shape: "S9" }, resourceType: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, loadBalancerName: {}, isAttached: { type: "boolean" }, status: {}, @@ -41798,7 +47933,7 @@ module.exports = /******/ (function (modules, runtime) { serial: {}, signatureAlgorithm: {}, subject: {}, - subjectAlternativeNames: { shape: "S1w" }, + subjectAlternativeNames: { shape: "Su" }, }, }, }, @@ -41810,7 +47945,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - loadBalancers: { type: "list", member: { shape: "S7j" } }, + loadBalancers: { type: "list", member: { shape: "Sat" } }, nextPageToken: {}, }, }, @@ -41868,8 +48003,8 @@ module.exports = /******/ (function (modules, runtime) { description: {}, displayName: {}, name: {}, - availabilityZones: { shape: "S8p" }, - relationalDatabaseAvailabilityZones: { shape: "S8p" }, + availabilityZones: { shape: "Sbz" }, + relationalDatabaseAvailabilityZones: { shape: "Sbz" }, }, }, }, @@ -41884,7 +48019,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { relationalDatabase: { shape: "S8t" } }, + members: { relationalDatabase: { shape: "Sc3" } }, }, }, GetRelationalDatabaseBlueprints: { @@ -41957,7 +48092,7 @@ module.exports = /******/ (function (modules, runtime) { resource: {}, createdAt: { type: "timestamp" }, message: {}, - eventCategories: { shape: "S1w" }, + eventCategories: { shape: "Su" }, }, }, }, @@ -42001,7 +48136,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { logStreams: { shape: "S1w" } }, + members: { logStreams: { shape: "Su" } }, }, }, GetRelationalDatabaseMasterUserPassword: { @@ -42013,7 +48148,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - masterUserPassword: { shape: "S2d" }, + masterUserPassword: { shape: "S47" }, createdAt: { type: "timestamp" }, }, }, @@ -42037,12 +48172,12 @@ module.exports = /******/ (function (modules, runtime) { startTime: { type: "timestamp" }, endTime: { type: "timestamp" }, unit: {}, - statistics: { shape: "S6r" }, + statistics: { shape: "S7x" }, }, }, output: { type: "structure", - members: { metricName: {}, metricData: { shape: "S6t" } }, + members: { metricName: {}, metricData: { shape: "S7z" } }, }, }, GetRelationalDatabaseParameters: { @@ -42053,7 +48188,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { parameters: { shape: "S9q" }, nextPageToken: {} }, + members: { parameters: { shape: "Sd0" }, nextPageToken: {} }, }, }, GetRelationalDatabaseSnapshot: { @@ -42064,7 +48199,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { relationalDatabaseSnapshot: { shape: "S9u" } }, + members: { relationalDatabaseSnapshot: { shape: "Sd4" } }, }, }, GetRelationalDatabaseSnapshots: { @@ -42074,7 +48209,7 @@ module.exports = /******/ (function (modules, runtime) { members: { relationalDatabaseSnapshots: { type: "list", - member: { shape: "S9u" }, + member: { shape: "Sd4" }, }, nextPageToken: {}, }, @@ -42085,7 +48220,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - relationalDatabases: { type: "list", member: { shape: "S8t" } }, + relationalDatabases: { type: "list", member: { shape: "Sc3" } }, nextPageToken: {}, }, }, @@ -42098,7 +48233,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { staticIp: { shape: "Sa3" } }, + members: { staticIp: { shape: "Sdd" } }, }, }, GetStaticIps: { @@ -42106,7 +48241,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - staticIps: { type: "list", member: { shape: "Sa3" } }, + staticIps: { type: "list", member: { shape: "Sdd" } }, nextPageToken: {}, }, }, @@ -42133,7 +48268,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["portInfo", "instanceName"], - members: { portInfo: { shape: "Sp" }, instanceName: {} }, + members: { portInfo: { shape: "Sr" }, instanceName: {} }, }, output: { type: "structure", @@ -42167,8 +48302,8 @@ module.exports = /******/ (function (modules, runtime) { evaluationPeriods: { type: "integer" }, datapointsToAlarm: { type: "integer" }, treatMissingData: {}, - contactProtocols: { shape: "S48" }, - notificationTriggers: { shape: "S49" }, + contactProtocols: { shape: "S6c" }, + notificationTriggers: { shape: "S6d" }, notificationEnabled: { type: "boolean" }, }, }, @@ -42182,7 +48317,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: ["portInfos", "instanceName"], members: { - portInfos: { type: "list", member: { shape: "Sp" } }, + portInfos: { type: "list", member: { shape: "Sr" } }, instanceName: {}, }, }, @@ -42213,6 +48348,17 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + RegisterContainerImage: { + input: { + type: "structure", + required: ["serviceName", "label", "digest"], + members: { serviceName: {}, label: {}, digest: {} }, + }, + output: { + type: "structure", + members: { containerImage: { shape: "S7n" } }, + }, + }, ReleaseStaticIp: { input: { type: "structure", @@ -42224,6 +48370,17 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + ResetDistributionCache: { + input: { type: "structure", members: { distributionName: {} } }, + output: { + type: "structure", + members: { + status: {}, + createTime: { type: "timestamp" }, + operation: { shape: "S5" }, + }, + }, + }, SendContactMethodVerification: { input: { type: "structure", @@ -42289,7 +48446,7 @@ module.exports = /******/ (function (modules, runtime) { members: { resourceName: {}, resourceArn: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, }, }, output: { @@ -42330,11 +48487,56 @@ module.exports = /******/ (function (modules, runtime) { members: { operations: { shape: "S4" } }, }, }, + UpdateContainerService: { + input: { + type: "structure", + required: ["serviceName"], + members: { + serviceName: {}, + power: {}, + scale: { type: "integer" }, + isDisabled: { type: "boolean" }, + publicDomainNames: { shape: "S20" }, + }, + }, + output: { + type: "structure", + members: { containerService: { shape: "S2d" } }, + }, + }, + UpdateDistribution: { + input: { + type: "structure", + required: ["distributionName"], + members: { + distributionName: {}, + origin: { shape: "S2z" }, + defaultCacheBehavior: { shape: "S31" }, + cacheBehaviorSettings: { shape: "S33" }, + cacheBehaviors: { shape: "S3b" }, + isEnabled: { type: "boolean" }, + }, + }, + output: { + type: "structure", + members: { operation: { shape: "S5" } }, + }, + }, + UpdateDistributionBundle: { + input: { + type: "structure", + members: { distributionName: {}, bundleId: {} }, + }, + output: { + type: "structure", + members: { operation: { shape: "S5" } }, + }, + }, UpdateDomainEntry: { input: { type: "structure", required: ["domainName", "domainEntry"], - members: { domainName: {}, domainEntry: { shape: "S1o" } }, + members: { domainName: {}, domainEntry: { shape: "S3j" } }, }, output: { type: "structure", @@ -42362,7 +48564,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["relationalDatabaseName"], members: { relationalDatabaseName: {}, - masterUserPassword: { shape: "S2d" }, + masterUserPassword: { shape: "S47" }, rotateMasterUserPassword: { type: "boolean" }, preferredBackupWindow: {}, preferredMaintenanceWindow: {}, @@ -42384,7 +48586,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["relationalDatabaseName", "parameters"], members: { relationalDatabaseName: {}, - parameters: { shape: "S9q" }, + parameters: { shape: "Sd0" }, }, }, output: { @@ -42416,21 +48618,154 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { availabilityZone: {}, regionName: {} }, }, - Si: { type: "list", member: {} }, - Sp: { + Sk: { type: "list", member: {} }, + Sr: { type: "structure", members: { fromPort: { type: "integer" }, toPort: { type: "integer" }, protocol: {}, + cidrs: { shape: "Su" }, + cidrListAliases: { shape: "Su" }, }, }, - S16: { + Su: { type: "list", member: {} }, + S11: { type: "list", member: {} }, + S12: { type: "list", member: { type: "structure", members: { key: {}, value: {} } }, }, - S1a: { type: "list", member: { shape: "S1b" } }, + S17: { + type: "structure", + members: { + certificateArn: {}, + certificateName: {}, + domainName: {}, + certificateDetail: { + type: "structure", + members: { + arn: {}, + name: {}, + domainName: {}, + status: {}, + serialNumber: {}, + subjectAlternativeNames: { shape: "S11" }, + domainValidationRecords: { shape: "S1b" }, + requestFailureReason: {}, + inUseResourceCount: { type: "integer" }, + keyAlgorithm: {}, + createdAt: { type: "timestamp" }, + issuedAt: { type: "timestamp" }, + issuerCA: {}, + notBefore: { type: "timestamp" }, + notAfter: { type: "timestamp" }, + eligibleToRenew: {}, + renewalSummary: { + type: "structure", + members: { + domainValidationRecords: { shape: "S1b" }, + renewalStatus: {}, + renewalStatusReason: {}, + updatedAt: { type: "timestamp" }, + }, + }, + revokedAt: { type: "timestamp" }, + revocationReason: {}, + tags: { shape: "S12" }, + supportCode: {}, + }, + }, + tags: { shape: "S12" }, + }, + }, S1b: { + type: "list", + member: { + type: "structure", + members: { + domainName: {}, + resourceRecord: { + type: "structure", + members: { name: {}, type: {}, value: {} }, + }, + }, + }, + }, + S20: { type: "map", key: {}, value: { type: "list", member: {} } }, + S23: { + type: "map", + key: {}, + value: { + type: "structure", + members: { + image: {}, + command: { shape: "Su" }, + environment: { type: "map", key: {}, value: {} }, + ports: { type: "map", key: {}, value: {} }, + }, + }, + }, + S29: { + type: "structure", + required: ["containerName", "containerPort"], + members: { + containerName: {}, + containerPort: { type: "integer" }, + healthCheck: { shape: "S2b" }, + }, + }, + S2b: { + type: "structure", + members: { + healthyThreshold: { type: "integer" }, + unhealthyThreshold: { type: "integer" }, + timeoutSeconds: { type: "integer" }, + intervalSeconds: { type: "integer" }, + path: {}, + successCodes: {}, + }, + }, + S2d: { + type: "structure", + members: { + containerServiceName: {}, + arn: {}, + createdAt: { type: "timestamp" }, + location: { shape: "S9" }, + resourceType: {}, + tags: { shape: "S12" }, + power: {}, + powerId: {}, + state: {}, + scale: { type: "integer" }, + currentDeployment: { shape: "S2f" }, + nextDeployment: { shape: "S2f" }, + isDisabled: { type: "boolean" }, + principalArn: {}, + privateDomainName: {}, + publicDomainNames: { shape: "S20" }, + url: {}, + }, + }, + S2f: { + type: "structure", + members: { + version: { type: "integer" }, + state: {}, + containers: { shape: "S23" }, + publicEndpoint: { + type: "structure", + members: { + containerName: {}, + containerPort: { type: "integer" }, + healthCheck: { shape: "S2b" }, + }, + }, + createdAt: { type: "timestamp" }, + }, + }, + S2o: { type: "list", member: { shape: "S2p" } }, + S2p: { type: "structure", required: ["addOnType"], members: { @@ -42441,7 +48776,76 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S1o: { + S2z: { + type: "structure", + members: { name: {}, regionName: {}, protocolPolicy: {} }, + }, + S31: { type: "structure", members: { behavior: {} } }, + S33: { + type: "structure", + members: { + defaultTTL: { type: "long" }, + minimumTTL: { type: "long" }, + maximumTTL: { type: "long" }, + allowedHTTPMethods: {}, + cachedHTTPMethods: {}, + forwardedCookies: { + type: "structure", + members: { option: {}, cookiesAllowList: { shape: "Su" } }, + }, + forwardedHeaders: { + type: "structure", + members: { + option: {}, + headersAllowList: { type: "list", member: {} }, + }, + }, + forwardedQueryStrings: { + type: "structure", + members: { + option: { type: "boolean" }, + queryStringsAllowList: { shape: "Su" }, + }, + }, + }, + }, + S3b: { + type: "list", + member: { type: "structure", members: { path: {}, behavior: {} } }, + }, + S3e: { + type: "structure", + members: { + name: {}, + arn: {}, + supportCode: {}, + createdAt: { type: "timestamp" }, + location: { shape: "S9" }, + resourceType: {}, + alternativeDomainNames: { shape: "Su" }, + status: {}, + isEnabled: { type: "boolean" }, + domainName: {}, + bundleId: {}, + certificateName: {}, + origin: { + type: "structure", + members: { + name: {}, + resourceType: {}, + regionName: {}, + protocolPolicy: {}, + }, + }, + originPublicDNS: {}, + defaultCacheBehavior: { shape: "S31" }, + cacheBehaviorSettings: { shape: "S33" }, + cacheBehaviors: { shape: "S3b" }, + ableToUpdateBundle: { type: "boolean" }, + tags: { shape: "S12" }, + }, + }, + S3j: { type: "structure", members: { id: {}, @@ -42452,8 +48856,7 @@ module.exports = /******/ (function (modules, runtime) { options: { deprecated: true, type: "map", key: {}, value: {} }, }, }, - S1w: { type: "list", member: {} }, - S25: { + S3z: { type: "structure", members: { name: {}, @@ -42462,16 +48865,40 @@ module.exports = /******/ (function (modules, runtime) { createdAt: { type: "timestamp" }, location: { shape: "S9" }, resourceType: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, fingerprint: {}, }, }, - S28: { type: "list", member: {} }, - S2d: { type: "string", sensitive: true }, - S48: { type: "list", member: {} }, - S49: { type: "list", member: {} }, - S51: { type: "structure", members: { id: {}, service: {} } }, - S59: { + S42: { type: "list", member: {} }, + S47: { type: "string", sensitive: true }, + S6c: { type: "list", member: {} }, + S6d: { type: "list", member: {} }, + S7a: { type: "structure", members: { id: {}, service: {} } }, + S7n: { + type: "structure", + members: { + image: {}, + digest: {}, + createdAt: { type: "timestamp" }, + }, + }, + S7x: { type: "list", member: {} }, + S7z: { + type: "list", + member: { + type: "structure", + members: { + average: { type: "double" }, + maximum: { type: "double" }, + minimum: { type: "double" }, + sampleCount: { type: "double" }, + sum: { type: "double" }, + timestamp: { type: "timestamp" }, + unit: {}, + }, + }, + }, + S8b: { type: "structure", members: { name: {}, @@ -42480,8 +48907,8 @@ module.exports = /******/ (function (modules, runtime) { createdAt: { type: "timestamp" }, location: { shape: "S9" }, resourceType: {}, - tags: { shape: "S16" }, - addOns: { shape: "S5a" }, + tags: { shape: "S12" }, + addOns: { shape: "S8c" }, sizeInGb: { type: "integer" }, isSystemDisk: { type: "boolean" }, iops: { type: "integer" }, @@ -42493,7 +48920,7 @@ module.exports = /******/ (function (modules, runtime) { gbInUse: { deprecated: true, type: "integer" }, }, }, - S5a: { + S8c: { type: "list", member: { type: "structure", @@ -42505,7 +48932,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S5f: { + S8h: { type: "structure", members: { name: {}, @@ -42514,7 +48941,7 @@ module.exports = /******/ (function (modules, runtime) { createdAt: { type: "timestamp" }, location: { shape: "S9" }, resourceType: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, sizeInGb: { type: "integer" }, state: {}, progress: {}, @@ -42525,8 +48952,8 @@ module.exports = /******/ (function (modules, runtime) { isFromAutoSnapshot: { type: "boolean" }, }, }, - S5m: { type: "list", member: { shape: "S59" } }, - S5p: { + S8o: { type: "list", member: { shape: "S8b" } }, + S93: { type: "structure", members: { name: {}, @@ -42535,11 +48962,11 @@ module.exports = /******/ (function (modules, runtime) { createdAt: { type: "timestamp" }, location: { shape: "S9" }, resourceType: {}, - tags: { shape: "S16" }, - domainEntries: { type: "list", member: { shape: "S1o" } }, + tags: { shape: "S12" }, + domainEntries: { type: "list", member: { shape: "S3j" } }, }, }, - S66: { + S9k: { type: "structure", members: { name: {}, @@ -42548,11 +48975,11 @@ module.exports = /******/ (function (modules, runtime) { createdAt: { type: "timestamp" }, location: { shape: "S9" }, resourceType: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, blueprintId: {}, blueprintName: {}, bundleId: {}, - addOns: { shape: "S5a" }, + addOns: { shape: "S8c" }, isStaticIp: { type: "boolean" }, privateIpAddress: {}, publicIpAddress: {}, @@ -42561,7 +48988,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { cpuCount: { type: "integer" }, - disks: { shape: "S5m" }, + disks: { shape: "S8o" }, ramSizeInGb: { type: "float" }, }, }, @@ -42584,37 +49011,23 @@ module.exports = /******/ (function (modules, runtime) { accessType: {}, commonName: {}, accessDirection: {}, + cidrs: { shape: "Su" }, + cidrListAliases: { shape: "Su" }, }, }, }, }, }, - state: { shape: "S6g" }, + state: { shape: "S9u" }, username: {}, sshKeyName: {}, }, }, - S6g: { + S9u: { type: "structure", members: { code: { type: "integer" }, name: {} }, }, - S6r: { type: "list", member: {} }, - S6t: { - type: "list", - member: { - type: "structure", - members: { - average: { type: "double" }, - maximum: { type: "double" }, - minimum: { type: "double" }, - sampleCount: { type: "double" }, - sum: { type: "double" }, - timestamp: { type: "timestamp" }, - unit: {}, - }, - }, - }, - S72: { + Sac: { type: "structure", members: { name: {}, @@ -42623,10 +49036,10 @@ module.exports = /******/ (function (modules, runtime) { createdAt: { type: "timestamp" }, location: { shape: "S9" }, resourceType: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, state: {}, progress: {}, - fromAttachedDisks: { shape: "S5m" }, + fromAttachedDisks: { shape: "S8o" }, fromInstanceName: {}, fromInstanceArn: {}, fromBlueprintId: {}, @@ -42635,7 +49048,7 @@ module.exports = /******/ (function (modules, runtime) { sizeInGb: { type: "integer" }, }, }, - S7j: { + Sat: { type: "structure", members: { name: {}, @@ -42644,7 +49057,7 @@ module.exports = /******/ (function (modules, runtime) { createdAt: { type: "timestamp" }, location: { shape: "S9" }, resourceType: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, dnsName: {}, state: {}, protocol: {}, @@ -42672,11 +49085,11 @@ module.exports = /******/ (function (modules, runtime) { configurationOptions: { type: "map", key: {}, value: {} }, }, }, - S8p: { + Sbz: { type: "list", member: { type: "structure", members: { zoneName: {}, state: {} } }, }, - S8t: { + Sc3: { type: "structure", members: { name: {}, @@ -42685,7 +49098,7 @@ module.exports = /******/ (function (modules, runtime) { createdAt: { type: "timestamp" }, location: { shape: "S9" }, resourceType: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, relationalDatabaseBlueprintId: {}, relationalDatabaseBundleId: {}, masterDatabaseName: {}, @@ -42734,7 +49147,7 @@ module.exports = /******/ (function (modules, runtime) { caCertificateIdentifier: {}, }, }, - S9q: { + Sd0: { type: "list", member: { type: "structure", @@ -42750,7 +49163,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S9u: { + Sd4: { type: "structure", members: { name: {}, @@ -42759,7 +49172,7 @@ module.exports = /******/ (function (modules, runtime) { createdAt: { type: "timestamp" }, location: { shape: "S9" }, resourceType: {}, - tags: { shape: "S16" }, + tags: { shape: "S12" }, engine: {}, engineVersion: {}, sizeInGb: { type: "integer" }, @@ -42770,7 +49183,7 @@ module.exports = /******/ (function (modules, runtime) { fromRelationalDatabaseBlueprintId: {}, }, }, - Sa3: { + Sdd: { type: "structure", members: { name: {}, @@ -42863,6 +49276,7 @@ module.exports = /******/ (function (modules, runtime) { members: { AssetDestinations: { shape: "Si" }, DataSetId: {}, + Encryption: { shape: "Sk" }, RevisionId: {}, }, required: [ @@ -42889,7 +49303,7 @@ module.exports = /******/ (function (modules, runtime) { ImportAssetsFromS3: { type: "structure", members: { - AssetSources: { shape: "So" }, + AssetSources: { shape: "Sq" }, DataSetId: {}, RevisionId: {}, }, @@ -42906,8 +49320,8 @@ module.exports = /******/ (function (modules, runtime) { members: { Arn: {}, CreatedAt: { shape: "Sa" }, - Details: { shape: "Ss" }, - Errors: { shape: "Sx" }, + Details: { shape: "Su" }, + Errors: { shape: "Sz" }, Id: {}, State: {}, Type: {}, @@ -43010,7 +49424,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Arn: {}, - AssetDetails: { shape: "S1f" }, + AssetDetails: { shape: "S1h" }, AssetType: {}, CreatedAt: { shape: "Sa" }, DataSetId: {}, @@ -43068,8 +49482,8 @@ module.exports = /******/ (function (modules, runtime) { members: { Arn: {}, CreatedAt: { shape: "Sa" }, - Details: { shape: "Ss" }, - Errors: { shape: "Sx" }, + Details: { shape: "Su" }, + Errors: { shape: "Sz" }, Id: {}, State: {}, Type: {}, @@ -43248,8 +49662,8 @@ module.exports = /******/ (function (modules, runtime) { members: { Arn: {}, CreatedAt: { shape: "Sa" }, - Details: { shape: "Ss" }, - Errors: { shape: "Sx" }, + Details: { shape: "Su" }, + Errors: { shape: "Sz" }, Id: {}, State: {}, Type: {}, @@ -43303,7 +49717,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Arn: {}, - AssetDetails: { shape: "S1f" }, + AssetDetails: { shape: "S1h" }, AssetType: {}, CreatedAt: { shape: "Sa" }, DataSetId: {}, @@ -43413,7 +49827,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { Arn: {}, - AssetDetails: { shape: "S1f" }, + AssetDetails: { shape: "S1h" }, AssetType: {}, CreatedAt: { shape: "Sa" }, DataSetId: {}, @@ -43503,7 +49917,12 @@ module.exports = /******/ (function (modules, runtime) { required: ["Bucket", "AssetId"], }, }, - So: { + Sk: { + type: "structure", + members: { KmsKeyArn: {}, Type: {} }, + required: ["Type"], + }, + Sq: { type: "list", member: { type: "structure", @@ -43511,7 +49930,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["Bucket", "Key"], }, }, - Ss: { + Su: { type: "structure", members: { ExportAssetToSignedUrl: { @@ -43530,6 +49949,7 @@ module.exports = /******/ (function (modules, runtime) { members: { AssetDestinations: { shape: "Si" }, DataSetId: {}, + Encryption: { shape: "Sk" }, RevisionId: {}, }, required: ["AssetDestinations", "DataSetId", "RevisionId"], @@ -43549,7 +49969,7 @@ module.exports = /******/ (function (modules, runtime) { ImportAssetsFromS3: { type: "structure", members: { - AssetSources: { shape: "So" }, + AssetSources: { shape: "Sq" }, DataSetId: {}, RevisionId: {}, }, @@ -43557,7 +49977,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - Sx: { + Sz: { type: "list", member: { type: "structure", @@ -43571,7 +49991,7 @@ module.exports = /******/ (function (modules, runtime) { members: { AssetName: {} }, required: ["AssetName"], }, - ImportAssetsFromS3JobErrorDetails: { shape: "So" }, + ImportAssetsFromS3JobErrorDetails: { shape: "Sq" }, }, }, LimitName: {}, @@ -43583,7 +50003,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["Message", "Code"], }, }, - S1f: { + S1h: { type: "structure", members: { S3SnapshotAsset: { @@ -43594,18 +50014,6 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - authorizers: { - create_job_authorizer: { - name: "create_job_authorizer", - type: "provided", - placement: { location: "header", name: "Authorization" }, - }, - start_cancel_get_job_authorizer: { - name: "start_cancel_get_job_authorizer", - type: "provided", - placement: { location: "header", name: "Authorization" }, - }, - }, }; /***/ @@ -45072,6 +51480,7 @@ module.exports = /******/ (function (modules, runtime) { Object.defineProperty(apiLoader.services["iotdata"], "2015-05-28", { get: function get() { var model = __webpack_require__(1200); + model.paginators = __webpack_require__(6010).pagination; return model; }, enumerable: true, @@ -45251,6 +51660,11 @@ module.exports = /******/ (function (modules, runtime) { limit_key: "maxResults", output_token: "nextToken", }, + GetCommentReactions: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + }, GetCommentsForComparedCommit: { input_token: "nextToken", limit_key: "maxResults", @@ -45347,6 +51761,294 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1340: /***/ function (module) { + module.exports = { + pagination: { + DescribeCanaries: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + DescribeCanariesLastRun: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + DescribeRuntimeVersions: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetCanaryRuns: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + }, + }; + + /***/ + }, + + /***/ 1341: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2019-12-20", + endpointPrefix: "redshift-data", + jsonVersion: "1.1", + protocol: "json", + serviceFullName: "Redshift Data API Service", + serviceId: "Redshift Data", + signatureVersion: "v4", + signingName: "redshift-data", + targetPrefix: "RedshiftData", + uid: "redshift-data-2019-12-20", + }, + operations: { + CancelStatement: { + input: { type: "structure", required: ["Id"], members: { Id: {} } }, + output: { + type: "structure", + members: { Status: { type: "boolean" } }, + }, + }, + DescribeStatement: { + input: { type: "structure", required: ["Id"], members: { Id: {} } }, + output: { + type: "structure", + required: ["Id"], + members: { + ClusterIdentifier: {}, + CreatedAt: { type: "timestamp" }, + Database: {}, + DbUser: {}, + Duration: { type: "long" }, + Error: {}, + Id: {}, + QueryString: {}, + RedshiftPid: { type: "long" }, + RedshiftQueryId: { type: "long" }, + ResultRows: { type: "long" }, + ResultSize: { type: "long" }, + SecretArn: {}, + Status: {}, + UpdatedAt: { type: "timestamp" }, + }, + }, + }, + DescribeTable: { + input: { + type: "structure", + required: ["ClusterIdentifier"], + members: { + ClusterIdentifier: {}, + Database: {}, + DbUser: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + Schema: {}, + SecretArn: {}, + Table: {}, + }, + }, + output: { + type: "structure", + members: { + ColumnList: { type: "list", member: { shape: "Si" } }, + NextToken: {}, + TableName: {}, + }, + }, + }, + ExecuteStatement: { + input: { + type: "structure", + required: ["ClusterIdentifier", "Sql"], + members: { + ClusterIdentifier: {}, + Database: {}, + DbUser: {}, + SecretArn: {}, + Sql: {}, + StatementName: {}, + WithEvent: { type: "boolean" }, + }, + }, + output: { + type: "structure", + members: { + ClusterIdentifier: {}, + CreatedAt: { type: "timestamp" }, + Database: {}, + DbUser: {}, + Id: {}, + SecretArn: {}, + }, + }, + }, + GetStatementResult: { + input: { + type: "structure", + required: ["Id"], + members: { Id: {}, NextToken: {} }, + }, + output: { + type: "structure", + required: ["Records"], + members: { + ColumnMetadata: { type: "list", member: { shape: "Si" } }, + NextToken: {}, + Records: { + type: "list", + member: { + type: "list", + member: { + type: "structure", + members: { + blobValue: { type: "blob" }, + booleanValue: { type: "boolean" }, + doubleValue: { type: "double" }, + isNull: { type: "boolean" }, + longValue: { type: "long" }, + stringValue: {}, + }, + }, + }, + }, + TotalNumRows: { type: "long" }, + }, + }, + }, + ListDatabases: { + input: { + type: "structure", + required: ["ClusterIdentifier"], + members: { + ClusterIdentifier: {}, + Database: {}, + DbUser: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + SecretArn: {}, + }, + }, + output: { + type: "structure", + members: { + Databases: { type: "list", member: {} }, + NextToken: {}, + }, + }, + }, + ListSchemas: { + input: { + type: "structure", + required: ["ClusterIdentifier", "Database"], + members: { + ClusterIdentifier: {}, + Database: {}, + DbUser: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + SchemaPattern: {}, + SecretArn: {}, + }, + }, + output: { + type: "structure", + members: { NextToken: {}, Schemas: { type: "list", member: {} } }, + }, + }, + ListStatements: { + input: { + type: "structure", + members: { + MaxResults: { type: "integer" }, + NextToken: {}, + StatementName: {}, + Status: {}, + }, + }, + output: { + type: "structure", + required: ["Statements"], + members: { + NextToken: {}, + Statements: { + type: "list", + member: { + type: "structure", + required: ["Id"], + members: { + CreatedAt: { type: "timestamp" }, + Id: {}, + QueryString: {}, + SecretArn: {}, + StatementName: {}, + Status: {}, + UpdatedAt: { type: "timestamp" }, + }, + }, + }, + }, + }, + }, + ListTables: { + input: { + type: "structure", + required: ["ClusterIdentifier", "Database"], + members: { + ClusterIdentifier: {}, + Database: {}, + DbUser: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + SchemaPattern: {}, + SecretArn: {}, + TablePattern: {}, + }, + }, + output: { + type: "structure", + members: { + NextToken: {}, + Tables: { + type: "list", + member: { + type: "structure", + members: { name: {}, schema: {}, type: {} }, + }, + }, + }, + }, + }, + }, + shapes: { + Si: { + type: "structure", + members: { + columnDefault: {}, + isCaseSensitive: { type: "boolean" }, + isCurrency: { type: "boolean" }, + isSigned: { type: "boolean" }, + label: {}, + length: { type: "integer" }, + name: {}, + nullable: { type: "integer" }, + precision: { type: "integer" }, + scale: { type: "integer" }, + schemaName: {}, + tableName: {}, + typeName: {}, + }, + }, + }, + }; + + /***/ + }, + /***/ 1344: /***/ function (module) { module.exports = { pagination: { @@ -45384,6 +52086,38 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1346: /***/ function (module) { + module.exports = { + pagination: { + ListTableColumns: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "tableColumns", + }, + ListTableRows: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "rows", + }, + ListTables: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "tables", + }, + QueryTableRows: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "rows", + }, + }, + }; + + /***/ + }, + /***/ 1348: /***/ function (module, __unusedexports, __webpack_require__) { "use strict"; @@ -45633,6 +52367,7 @@ module.exports = /******/ (function (modules, runtime) { sessionAttributes: { shape: "Sd" }, sessionId: {}, dialogAction: { shape: "Sh" }, + activeContexts: { shape: "Sk" }, }, }, }, @@ -45655,13 +52390,13 @@ module.exports = /******/ (function (modules, runtime) { botAlias: { location: "uri", locationName: "botAlias" }, userId: { location: "uri", locationName: "userId" }, sessionAttributes: { - shape: "Sl", + shape: "St", jsonvalue: true, location: "header", locationName: "x-amz-lex-session-attributes", }, requestAttributes: { - shape: "Sl", + shape: "St", jsonvalue: true, location: "header", locationName: "x-amz-lex-request-attributes", @@ -45671,7 +52406,13 @@ module.exports = /******/ (function (modules, runtime) { locationName: "Content-Type", }, accept: { location: "header", locationName: "Accept" }, - inputStream: { shape: "So" }, + inputStream: { shape: "Sw" }, + activeContexts: { + shape: "Sx", + jsonvalue: true, + location: "header", + locationName: "x-amz-lex-active-contexts", + }, }, payload: "inputStream", }, @@ -45686,6 +52427,16 @@ module.exports = /******/ (function (modules, runtime) { location: "header", locationName: "x-amz-lex-intent-name", }, + nluIntentConfidence: { + jsonvalue: true, + location: "header", + locationName: "x-amz-lex-nlu-intent-confidence", + }, + alternativeIntents: { + jsonvalue: true, + location: "header", + locationName: "x-amz-lex-alternative-intents", + }, slots: { jsonvalue: true, location: "header", @@ -45721,11 +52472,21 @@ module.exports = /******/ (function (modules, runtime) { location: "header", locationName: "x-amz-lex-input-transcript", }, - audioStream: { shape: "So" }, + audioStream: { shape: "Sw" }, + botVersion: { + location: "header", + locationName: "x-amz-lex-bot-version", + }, sessionId: { location: "header", locationName: "x-amz-lex-session-id", }, + activeContexts: { + shape: "Sx", + jsonvalue: true, + location: "header", + locationName: "x-amz-lex-active-contexts", + }, }, payload: "audioStream", }, @@ -45745,12 +52506,25 @@ module.exports = /******/ (function (modules, runtime) { sessionAttributes: { shape: "Sd" }, requestAttributes: { shape: "Sd" }, inputText: { shape: "Si" }, + activeContexts: { shape: "Sk" }, }, }, output: { type: "structure", members: { intentName: {}, + nluIntentConfidence: { shape: "S13" }, + alternativeIntents: { + type: "list", + member: { + type: "structure", + members: { + intentName: {}, + nluIntentConfidence: { shape: "S13" }, + slots: { shape: "Sd" }, + }, + }, + }, slots: { shape: "Sd" }, sessionAttributes: { shape: "Sd" }, message: { shape: "Si" }, @@ -45789,6 +52563,8 @@ module.exports = /******/ (function (modules, runtime) { }, }, sessionId: {}, + botVersion: {}, + activeContexts: { shape: "Sk" }, }, }, }, @@ -45808,6 +52584,7 @@ module.exports = /******/ (function (modules, runtime) { dialogAction: { shape: "Sh" }, recentIntentSummaryView: { shape: "Sa" }, accept: { location: "header", locationName: "Accept" }, + activeContexts: { shape: "Sk" }, }, }, output: { @@ -45848,11 +52625,17 @@ module.exports = /******/ (function (modules, runtime) { location: "header", locationName: "x-amz-lex-slot-to-elicit", }, - audioStream: { shape: "So" }, + audioStream: { shape: "Sw" }, sessionId: { location: "header", locationName: "x-amz-lex-session-id", }, + activeContexts: { + shape: "Sx", + jsonvalue: true, + location: "header", + locationName: "x-amz-lex-active-contexts", + }, }, payload: "audioStream", }, @@ -45890,8 +52673,29 @@ module.exports = /******/ (function (modules, runtime) { }, }, Si: { type: "string", sensitive: true }, - Sl: { type: "string", sensitive: true }, - So: { type: "blob", streaming: true }, + Sk: { + type: "list", + member: { + type: "structure", + required: ["name", "timeToLive", "parameters"], + members: { + name: {}, + timeToLive: { + type: "structure", + members: { + timeToLiveInSeconds: { type: "integer" }, + turnsToLive: { type: "integer" }, + }, + }, + parameters: { type: "map", key: {}, value: { shape: "Si" } }, + }, + }, + sensitive: true, + }, + St: { type: "string", sensitive: true }, + Sw: { type: "blob", streaming: true }, + Sx: { type: "string", sensitive: true }, + S13: { type: "structure", members: { score: { type: "double" } } }, }, }; @@ -45921,6 +52725,123 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1363: /***/ function (__unusedmodule, exports) { + "use strict"; + + var __awaiter = + (this && this.__awaiter) || + function (thisArg, _arguments, P, generator) { + function adopt(value) { + return value instanceof P + ? value + : new P(function (resolve) { + resolve(value); + }); + } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { + try { + step(generator.next(value)); + } catch (e) { + reject(e); + } + } + function rejected(value) { + try { + step(generator["throw"](value)); + } catch (e) { + reject(e); + } + } + function step(result) { + result.done + ? resolve(result.value) + : adopt(result.value).then(fulfilled, rejected); + } + step( + (generator = generator.apply(thisArg, _arguments || [])).next() + ); + }); + }; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0; + class BasicCredentialHandler { + constructor(username, password) { + this.username = username; + this.password = password; + } + prepareRequest(options) { + if (!options.headers) { + throw Error("The request has no headers"); + } + options.headers["Authorization"] = `Basic ${Buffer.from( + `${this.username}:${this.password}` + ).toString("base64")}`; + } + // This handler cannot handle 401 + canHandleAuthentication() { + return false; + } + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error("not implemented"); + }); + } + } + exports.BasicCredentialHandler = BasicCredentialHandler; + class BearerCredentialHandler { + constructor(token) { + this.token = token; + } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 + prepareRequest(options) { + if (!options.headers) { + throw Error("The request has no headers"); + } + options.headers["Authorization"] = `Bearer ${this.token}`; + } + // This handler cannot handle 401 + canHandleAuthentication() { + return false; + } + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error("not implemented"); + }); + } + } + exports.BearerCredentialHandler = BearerCredentialHandler; + class PersonalAccessTokenCredentialHandler { + constructor(token) { + this.token = token; + } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 + prepareRequest(options) { + if (!options.headers) { + throw Error("The request has no headers"); + } + options.headers["Authorization"] = `Basic ${Buffer.from( + `PAT:${this.token}` + ).toString("base64")}`; + } + // This handler cannot handle 401 + canHandleAuthentication() { + return false; + } + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error("not implemented"); + }); + } + } + exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; + //# sourceMappingURL=auth.js.map + + /***/ + }, + /***/ 1368: /***/ function (module) { module.exports = function atob(str) { return Buffer.from(str, "base64").toString("binary"); @@ -45983,6 +52904,9 @@ module.exports = /******/ (function (modules, runtime) { * the document client to convert empty values (0-length strings, binary * buffers, and sets) to be converted to NULL types when persisting to * DynamoDB. + * @option options wrapNumbers [Boolean] Set to true to return numbers as a + * NumberValue object instead of converting them to native JavaScript numbers. + * This allows for the safe round-trip transport of numbers of arbitrary size. * @see AWS.DynamoDB.constructor * */ @@ -46807,13 +53731,7 @@ module.exports = /******/ (function (modules, runtime) { http: { requestUri: "/v1/apis/{apiId}/functions" }, input: { type: "structure", - required: [ - "apiId", - "name", - "dataSourceName", - "requestMappingTemplate", - "functionVersion", - ], + required: ["apiId", "name", "dataSourceName", "functionVersion"], members: { apiId: { location: "uri", locationName: "apiId" }, name: {}, @@ -46854,12 +53772,7 @@ module.exports = /******/ (function (modules, runtime) { http: { requestUri: "/v1/apis/{apiId}/types/{typeName}/resolvers" }, input: { type: "structure", - required: [ - "apiId", - "typeName", - "fieldName", - "requestMappingTemplate", - ], + required: ["apiId", "typeName", "fieldName"], members: { apiId: { location: "uri", locationName: "apiId" }, typeName: { location: "uri", locationName: "typeName" }, @@ -47428,7 +54341,6 @@ module.exports = /******/ (function (modules, runtime) { "name", "functionId", "dataSourceName", - "requestMappingTemplate", "functionVersion", ], members: { @@ -47475,12 +54387,7 @@ module.exports = /******/ (function (modules, runtime) { }, input: { type: "structure", - required: [ - "apiId", - "typeName", - "fieldName", - "requestMappingTemplate", - ], + required: ["apiId", "typeName", "fieldName"], members: { apiId: { location: "uri", locationName: "apiId" }, typeName: { location: "uri", locationName: "typeName" }, @@ -47528,7 +54435,12 @@ module.exports = /******/ (function (modules, runtime) { }, Sc: { type: "structure", - members: { id: {}, description: {}, expires: { type: "long" } }, + members: { + id: {}, + description: {}, + expires: { type: "long" }, + deletes: { type: "long" }, + }, }, Sg: { type: "structure", @@ -47682,6 +54594,7 @@ module.exports = /******/ (function (modules, runtime) { tags: { shape: "S14" }, additionalAuthenticationProviders: { shape: "S17" }, xrayEnabled: { type: "boolean" }, + wafWebAclArn: {}, }, }, S1f: { @@ -47758,7 +54671,11 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["DBClusterIdentifier", "RoleArn"], - members: { DBClusterIdentifier: {}, RoleArn: {} }, + members: { + DBClusterIdentifier: {}, + RoleArn: {}, + FeatureName: {}, + }, }, }, AddSourceIdentifierToSubscription: { @@ -47897,6 +54814,40 @@ module.exports = /******/ (function (modules, runtime) { members: { DBCluster: { shape: "Sz" } }, }, }, + CreateDBClusterEndpoint: { + input: { + type: "structure", + required: [ + "DBClusterIdentifier", + "DBClusterEndpointIdentifier", + "EndpointType", + ], + members: { + DBClusterIdentifier: {}, + DBClusterEndpointIdentifier: {}, + EndpointType: {}, + StaticMembers: { shape: "S1a" }, + ExcludedMembers: { shape: "S1a" }, + Tags: { shape: "Sa" }, + }, + }, + output: { + resultWrapper: "CreateDBClusterEndpointResult", + type: "structure", + members: { + DBClusterEndpointIdentifier: {}, + DBClusterIdentifier: {}, + DBClusterEndpointResourceIdentifier: {}, + Endpoint: {}, + Status: {}, + EndpointType: {}, + CustomEndpointType: {}, + StaticMembers: { shape: "S1a" }, + ExcludedMembers: { shape: "S1a" }, + DBClusterEndpointArn: {}, + }, + }, + }, CreateDBClusterParameterGroup: { input: { type: "structure", @@ -47946,7 +54897,7 @@ module.exports = /******/ (function (modules, runtime) { Engine: {}, MasterUsername: {}, MasterUserPassword: {}, - DBSecurityGroups: { shape: "S1e" }, + DBSecurityGroups: { shape: "S1h" }, VpcSecurityGroupIds: { shape: "Sw" }, AvailabilityZone: {}, DBSubnetGroupName: {}, @@ -47987,7 +54938,7 @@ module.exports = /******/ (function (modules, runtime) { output: { resultWrapper: "CreateDBInstanceResult", type: "structure", - members: { DBInstance: { shape: "S1g" } }, + members: { DBInstance: { shape: "S1j" } }, }, }, CreateDBParameterGroup: { @@ -48022,14 +54973,14 @@ module.exports = /******/ (function (modules, runtime) { members: { DBSubnetGroupName: {}, DBSubnetGroupDescription: {}, - SubnetIds: { shape: "S23" }, + SubnetIds: { shape: "S26" }, Tags: { shape: "Sa" }, }, }, output: { resultWrapper: "CreateDBSubnetGroupResult", type: "structure", - members: { DBSubnetGroup: { shape: "S1m" } }, + members: { DBSubnetGroup: { shape: "S1p" } }, }, }, CreateEventSubscription: { @@ -48068,6 +55019,29 @@ module.exports = /******/ (function (modules, runtime) { members: { DBCluster: { shape: "Sz" } }, }, }, + DeleteDBClusterEndpoint: { + input: { + type: "structure", + required: ["DBClusterEndpointIdentifier"], + members: { DBClusterEndpointIdentifier: {} }, + }, + output: { + resultWrapper: "DeleteDBClusterEndpointResult", + type: "structure", + members: { + DBClusterEndpointIdentifier: {}, + DBClusterIdentifier: {}, + DBClusterEndpointResourceIdentifier: {}, + Endpoint: {}, + Status: {}, + EndpointType: {}, + CustomEndpointType: {}, + StaticMembers: { shape: "S1a" }, + ExcludedMembers: { shape: "S1a" }, + DBClusterEndpointArn: {}, + }, + }, + }, DeleteDBClusterParameterGroup: { input: { type: "structure", @@ -48100,7 +55074,7 @@ module.exports = /******/ (function (modules, runtime) { output: { resultWrapper: "DeleteDBInstanceResult", type: "structure", - members: { DBInstance: { shape: "S1g" } }, + members: { DBInstance: { shape: "S1j" } }, }, }, DeleteDBParameterGroup: { @@ -48129,12 +55103,50 @@ module.exports = /******/ (function (modules, runtime) { members: { EventSubscription: { shape: "S5" } }, }, }, + DescribeDBClusterEndpoints: { + input: { + type: "structure", + members: { + DBClusterIdentifier: {}, + DBClusterEndpointIdentifier: {}, + Filters: { shape: "S2o" }, + MaxRecords: { type: "integer" }, + Marker: {}, + }, + }, + output: { + resultWrapper: "DescribeDBClusterEndpointsResult", + type: "structure", + members: { + Marker: {}, + DBClusterEndpoints: { + type: "list", + member: { + locationName: "DBClusterEndpointList", + type: "structure", + members: { + DBClusterEndpointIdentifier: {}, + DBClusterIdentifier: {}, + DBClusterEndpointResourceIdentifier: {}, + Endpoint: {}, + Status: {}, + EndpointType: {}, + CustomEndpointType: {}, + StaticMembers: { shape: "S1a" }, + ExcludedMembers: { shape: "S1a" }, + DBClusterEndpointArn: {}, + }, + }, + }, + }, + }, + }, DescribeDBClusterParameterGroups: { input: { type: "structure", members: { DBClusterParameterGroupName: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48161,7 +55173,7 @@ module.exports = /******/ (function (modules, runtime) { members: { DBClusterParameterGroupName: {}, Source: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48169,7 +55181,7 @@ module.exports = /******/ (function (modules, runtime) { output: { resultWrapper: "DescribeDBClusterParametersResult", type: "structure", - members: { Parameters: { shape: "S2q" }, Marker: {} }, + members: { Parameters: { shape: "S2z" }, Marker: {} }, }, }, DescribeDBClusterSnapshotAttributes: { @@ -48181,7 +55193,7 @@ module.exports = /******/ (function (modules, runtime) { output: { resultWrapper: "DescribeDBClusterSnapshotAttributesResult", type: "structure", - members: { DBClusterSnapshotAttributesResult: { shape: "S2v" } }, + members: { DBClusterSnapshotAttributesResult: { shape: "S34" } }, }, }, DescribeDBClusterSnapshots: { @@ -48191,7 +55203,7 @@ module.exports = /******/ (function (modules, runtime) { DBClusterIdentifier: {}, DBClusterSnapshotIdentifier: {}, SnapshotType: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, IncludeShared: { type: "boolean" }, @@ -48215,7 +55227,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { DBClusterIdentifier: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48239,7 +55251,7 @@ module.exports = /******/ (function (modules, runtime) { Engine: {}, EngineVersion: {}, DBParameterGroupFamily: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, DefaultOnly: { type: "boolean" }, @@ -48263,10 +55275,10 @@ module.exports = /******/ (function (modules, runtime) { DBParameterGroupFamily: {}, DBEngineDescription: {}, DBEngineVersionDescription: {}, - DefaultCharacterSet: { shape: "S39" }, + DefaultCharacterSet: { shape: "S3i" }, SupportedCharacterSets: { type: "list", - member: { shape: "S39", locationName: "CharacterSet" }, + member: { shape: "S3i", locationName: "CharacterSet" }, }, ValidUpgradeTarget: { type: "list", @@ -48304,7 +55316,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { DBInstanceIdentifier: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48316,7 +55328,7 @@ module.exports = /******/ (function (modules, runtime) { Marker: {}, DBInstances: { type: "list", - member: { shape: "S1g", locationName: "DBInstance" }, + member: { shape: "S1j", locationName: "DBInstance" }, }, }, }, @@ -48326,7 +55338,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { DBParameterGroupName: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48350,7 +55362,7 @@ module.exports = /******/ (function (modules, runtime) { members: { DBParameterGroupName: {}, Source: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48358,7 +55370,7 @@ module.exports = /******/ (function (modules, runtime) { output: { resultWrapper: "DescribeDBParametersResult", type: "structure", - members: { Parameters: { shape: "S2q" }, Marker: {} }, + members: { Parameters: { shape: "S2z" }, Marker: {} }, }, }, DescribeDBSubnetGroups: { @@ -48366,7 +55378,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { DBSubnetGroupName: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48378,7 +55390,7 @@ module.exports = /******/ (function (modules, runtime) { Marker: {}, DBSubnetGroups: { type: "list", - member: { shape: "S1m", locationName: "DBSubnetGroup" }, + member: { shape: "S1p", locationName: "DBSubnetGroup" }, }, }, }, @@ -48389,7 +55401,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["DBParameterGroupFamily"], members: { DBParameterGroupFamily: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48397,7 +55409,7 @@ module.exports = /******/ (function (modules, runtime) { output: { resultWrapper: "DescribeEngineDefaultClusterParametersResult", type: "structure", - members: { EngineDefaults: { shape: "S3s" } }, + members: { EngineDefaults: { shape: "S41" } }, }, }, DescribeEngineDefaultParameters: { @@ -48406,7 +55418,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["DBParameterGroupFamily"], members: { DBParameterGroupFamily: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48414,13 +55426,13 @@ module.exports = /******/ (function (modules, runtime) { output: { resultWrapper: "DescribeEngineDefaultParametersResult", type: "structure", - members: { EngineDefaults: { shape: "S3s" } }, + members: { EngineDefaults: { shape: "S41" } }, }, }, DescribeEventCategories: { input: { type: "structure", - members: { SourceType: {}, Filters: { shape: "S2j" } }, + members: { SourceType: {}, Filters: { shape: "S2o" } }, }, output: { resultWrapper: "DescribeEventCategoriesResult", @@ -48446,7 +55458,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { SubscriptionName: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48473,7 +55485,7 @@ module.exports = /******/ (function (modules, runtime) { EndTime: { type: "timestamp" }, Duration: { type: "integer" }, EventCategories: { shape: "S7" }, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48511,7 +55523,7 @@ module.exports = /******/ (function (modules, runtime) { DBInstanceClass: {}, LicenseModel: {}, Vpc: { type: "boolean" }, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, MaxRecords: { type: "integer" }, Marker: {}, }, @@ -48533,7 +55545,7 @@ module.exports = /******/ (function (modules, runtime) { AvailabilityZones: { type: "list", member: { - shape: "S1p", + shape: "S1s", locationName: "AvailabilityZone", }, }, @@ -48565,7 +55577,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { ResourceIdentifier: {}, - Filters: { shape: "S2j" }, + Filters: { shape: "S2o" }, Marker: {}, MaxRecords: { type: "integer" }, }, @@ -48605,8 +55617,8 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { StorageType: {}, - StorageSize: { shape: "S4l" }, - ProvisionedIops: { shape: "S4l" }, + StorageSize: { shape: "S4u" }, + ProvisionedIops: { shape: "S4u" }, IopsToStorageRatio: { type: "list", member: { @@ -48645,7 +55657,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["ResourceName"], - members: { ResourceName: {}, Filters: { shape: "S2j" } }, + members: { ResourceName: {}, Filters: { shape: "S2o" } }, }, output: { resultWrapper: "ListTagsForResourceResult", @@ -48670,7 +55682,7 @@ module.exports = /******/ (function (modules, runtime) { PreferredBackupWindow: {}, PreferredMaintenanceWindow: {}, EnableIAMDatabaseAuthentication: { type: "boolean" }, - CloudwatchLogsExportConfiguration: { shape: "S4v" }, + CloudwatchLogsExportConfiguration: { shape: "S54" }, EngineVersion: {}, DeletionProtection: { type: "boolean" }, }, @@ -48681,17 +55693,45 @@ module.exports = /******/ (function (modules, runtime) { members: { DBCluster: { shape: "Sz" } }, }, }, + ModifyDBClusterEndpoint: { + input: { + type: "structure", + required: ["DBClusterEndpointIdentifier"], + members: { + DBClusterEndpointIdentifier: {}, + EndpointType: {}, + StaticMembers: { shape: "S1a" }, + ExcludedMembers: { shape: "S1a" }, + }, + }, + output: { + resultWrapper: "ModifyDBClusterEndpointResult", + type: "structure", + members: { + DBClusterEndpointIdentifier: {}, + DBClusterIdentifier: {}, + DBClusterEndpointResourceIdentifier: {}, + Endpoint: {}, + Status: {}, + EndpointType: {}, + CustomEndpointType: {}, + StaticMembers: { shape: "S1a" }, + ExcludedMembers: { shape: "S1a" }, + DBClusterEndpointArn: {}, + }, + }, + }, ModifyDBClusterParameterGroup: { input: { type: "structure", required: ["DBClusterParameterGroupName", "Parameters"], members: { DBClusterParameterGroupName: {}, - Parameters: { shape: "S2q" }, + Parameters: { shape: "S2z" }, }, }, output: { - shape: "S4y", + shape: "S59", resultWrapper: "ModifyDBClusterParameterGroupResult", }, }, @@ -48702,14 +55742,14 @@ module.exports = /******/ (function (modules, runtime) { members: { DBClusterSnapshotIdentifier: {}, AttributeName: {}, - ValuesToAdd: { shape: "S2y" }, - ValuesToRemove: { shape: "S2y" }, + ValuesToAdd: { shape: "S37" }, + ValuesToRemove: { shape: "S37" }, }, }, output: { resultWrapper: "ModifyDBClusterSnapshotAttributeResult", type: "structure", - members: { DBClusterSnapshotAttributesResult: { shape: "S2v" } }, + members: { DBClusterSnapshotAttributesResult: { shape: "S34" } }, }, }, ModifyDBInstance: { @@ -48721,7 +55761,7 @@ module.exports = /******/ (function (modules, runtime) { AllocatedStorage: { type: "integer" }, DBInstanceClass: {}, DBSubnetGroupName: {}, - DBSecurityGroups: { shape: "S1e" }, + DBSecurityGroups: { shape: "S1h" }, VpcSecurityGroupIds: { shape: "Sw" }, ApplyImmediately: { type: "boolean" }, MasterUserPassword: {}, @@ -48752,14 +55792,14 @@ module.exports = /******/ (function (modules, runtime) { EnableIAMDatabaseAuthentication: { type: "boolean" }, EnablePerformanceInsights: { type: "boolean" }, PerformanceInsightsKMSKeyId: {}, - CloudwatchLogsExportConfiguration: { shape: "S4v" }, + CloudwatchLogsExportConfiguration: { shape: "S54" }, DeletionProtection: { type: "boolean" }, }, }, output: { resultWrapper: "ModifyDBInstanceResult", type: "structure", - members: { DBInstance: { shape: "S1g" } }, + members: { DBInstance: { shape: "S1j" } }, }, }, ModifyDBParameterGroup: { @@ -48768,11 +55808,11 @@ module.exports = /******/ (function (modules, runtime) { required: ["DBParameterGroupName", "Parameters"], members: { DBParameterGroupName: {}, - Parameters: { shape: "S2q" }, + Parameters: { shape: "S2z" }, }, }, output: { - shape: "S54", + shape: "S5f", resultWrapper: "ModifyDBParameterGroupResult", }, }, @@ -48783,13 +55823,13 @@ module.exports = /******/ (function (modules, runtime) { members: { DBSubnetGroupName: {}, DBSubnetGroupDescription: {}, - SubnetIds: { shape: "S23" }, + SubnetIds: { shape: "S26" }, }, }, output: { resultWrapper: "ModifyDBSubnetGroupResult", type: "structure", - members: { DBSubnetGroup: { shape: "S1m" } }, + members: { DBSubnetGroup: { shape: "S1p" } }, }, }, ModifyEventSubscription: { @@ -48834,14 +55874,18 @@ module.exports = /******/ (function (modules, runtime) { output: { resultWrapper: "RebootDBInstanceResult", type: "structure", - members: { DBInstance: { shape: "S1g" } }, + members: { DBInstance: { shape: "S1j" } }, }, }, RemoveRoleFromDBCluster: { input: { type: "structure", required: ["DBClusterIdentifier", "RoleArn"], - members: { DBClusterIdentifier: {}, RoleArn: {} }, + members: { + DBClusterIdentifier: {}, + RoleArn: {}, + FeatureName: {}, + }, }, }, RemoveSourceIdentifierFromSubscription: { @@ -48873,11 +55917,11 @@ module.exports = /******/ (function (modules, runtime) { members: { DBClusterParameterGroupName: {}, ResetAllParameters: { type: "boolean" }, - Parameters: { shape: "S2q" }, + Parameters: { shape: "S2z" }, }, }, output: { - shape: "S4y", + shape: "S59", resultWrapper: "ResetDBClusterParameterGroupResult", }, }, @@ -48888,11 +55932,11 @@ module.exports = /******/ (function (modules, runtime) { members: { DBParameterGroupName: {}, ResetAllParameters: { type: "boolean" }, - Parameters: { shape: "S2q" }, + Parameters: { shape: "S2z" }, }, }, output: { - shape: "S54", + shape: "S5f", resultWrapper: "ResetDBParameterGroupResult", }, }, @@ -49138,7 +56182,7 @@ module.exports = /******/ (function (modules, runtime) { member: { locationName: "DBClusterRole", type: "structure", - members: { RoleArn: {}, Status: {} }, + members: { RoleArn: {}, Status: {}, FeatureName: {} }, }, }, IAMDatabaseAuthenticationEnabled: { type: "boolean" }, @@ -49157,11 +56201,12 @@ module.exports = /******/ (function (modules, runtime) { members: { VpcSecurityGroupId: {}, Status: {} }, }, }, - S1e: { + S1a: { type: "list", member: {} }, + S1h: { type: "list", member: { locationName: "DBSecurityGroupName" }, }, - S1g: { + S1j: { type: "structure", members: { DBInstanceIdentifier: {}, @@ -49203,7 +56248,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, AvailabilityZone: {}, - DBSubnetGroup: { shape: "S1m" }, + DBSubnetGroup: { shape: "S1p" }, PreferredMaintenanceWindow: {}, PendingModifiedValues: { type: "structure", @@ -49305,7 +56350,7 @@ module.exports = /******/ (function (modules, runtime) { }, wrapper: true, }, - S1m: { + S1p: { type: "structure", members: { DBSubnetGroupName: {}, @@ -49319,7 +56364,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { SubnetIdentifier: {}, - SubnetAvailabilityZone: { shape: "S1p" }, + SubnetAvailabilityZone: { shape: "S1s" }, SubnetStatus: {}, }, }, @@ -49328,9 +56373,9 @@ module.exports = /******/ (function (modules, runtime) { }, wrapper: true, }, - S1p: { type: "structure", members: { Name: {} }, wrapper: true }, - S23: { type: "list", member: { locationName: "SubnetIdentifier" } }, - S2j: { + S1s: { type: "structure", members: { Name: {} }, wrapper: true }, + S26: { type: "list", member: { locationName: "SubnetIdentifier" } }, + S2o: { type: "list", member: { locationName: "Filter", @@ -49342,7 +56387,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S2q: { + S2z: { type: "list", member: { locationName: "Parameter", @@ -49361,7 +56406,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S2v: { + S34: { type: "structure", members: { DBClusterSnapshotIdentifier: {}, @@ -49372,28 +56417,28 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { AttributeName: {}, - AttributeValues: { shape: "S2y" }, + AttributeValues: { shape: "S37" }, }, }, }, }, wrapper: true, }, - S2y: { type: "list", member: { locationName: "AttributeValue" } }, - S39: { + S37: { type: "list", member: { locationName: "AttributeValue" } }, + S3i: { type: "structure", members: { CharacterSetName: {}, CharacterSetDescription: {} }, }, - S3s: { + S41: { type: "structure", members: { DBParameterGroupFamily: {}, Marker: {}, - Parameters: { shape: "S2q" }, + Parameters: { shape: "S2z" }, }, wrapper: true, }, - S4l: { + S4u: { type: "list", member: { locationName: "Range", @@ -49405,18 +56450,18 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S4v: { + S54: { type: "structure", members: { EnableLogTypes: { shape: "Sx" }, DisableLogTypes: { shape: "Sx" }, }, }, - S4y: { + S59: { type: "structure", members: { DBClusterParameterGroupName: {} }, }, - S54: { type: "structure", members: { DBParameterGroupName: {} } }, + S5f: { type: "structure", members: { DBParameterGroupName: {} } }, }, }; @@ -50975,6 +58020,71 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1418: /***/ function (module) { + module.exports = { + version: 2, + waiters: { + CommandExecuted: { + delay: 5, + operation: "GetCommandInvocation", + maxAttempts: 20, + acceptors: [ + { + expected: "Pending", + matcher: "path", + state: "retry", + argument: "Status", + }, + { + expected: "InProgress", + matcher: "path", + state: "retry", + argument: "Status", + }, + { + expected: "Delayed", + matcher: "path", + state: "retry", + argument: "Status", + }, + { + expected: "Success", + matcher: "path", + state: "success", + argument: "Status", + }, + { + expected: "Cancelled", + matcher: "path", + state: "failure", + argument: "Status", + }, + { + expected: "TimedOut", + matcher: "path", + state: "failure", + argument: "Status", + }, + { + expected: "Failed", + matcher: "path", + state: "failure", + argument: "Status", + }, + { + expected: "Cancelling", + matcher: "path", + state: "failure", + argument: "Status", + }, + ], + }, + }, + }; + + /***/ + }, + /***/ 1420: /***/ function (module, __unusedexports, __webpack_require__) { __webpack_require__(3234); var AWS = __webpack_require__(395); @@ -51019,18 +58129,19 @@ module.exports = /******/ (function (modules, runtime) { http: { requestUri: "/outposts" }, input: { type: "structure", - required: ["SiteId"], + required: ["Name", "SiteId"], members: { Name: {}, Description: {}, SiteId: {}, AvailabilityZone: {}, AvailabilityZoneId: {}, + Tags: { shape: "S7" }, }, }, output: { type: "structure", - members: { Outpost: { shape: "S8" } }, + members: { Outpost: { shape: "Sb" } }, }, }, DeleteOutpost: { @@ -51064,7 +58175,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Outpost: { shape: "S8" } }, + members: { Outpost: { shape: "Sb" } }, }, }, GetOutpostInstanceTypes: { @@ -51120,7 +58231,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - Outposts: { type: "list", member: { shape: "S8" } }, + Outposts: { type: "list", member: { shape: "Sb" } }, NextToken: {}, }, }, @@ -51153,6 +58264,7 @@ module.exports = /******/ (function (modules, runtime) { AccountId: {}, Name: {}, Description: {}, + Tags: { shape: "S7" }, }, }, }, @@ -51162,7 +58274,8 @@ module.exports = /******/ (function (modules, runtime) { }, }, shapes: { - S8: { + S7: { type: "map", key: {}, value: {} }, + Sb: { type: "structure", members: { OutpostId: {}, @@ -51174,6 +58287,7 @@ module.exports = /******/ (function (modules, runtime) { LifeCycleStatus: {}, AvailabilityZone: {}, AvailabilityZoneId: {}, + Tags: { shape: "S7" }, }, }, }, @@ -51427,7 +58541,11 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { TrailARN: {}, EventSelectors: { shape: "Si" } }, + members: { + TrailARN: {}, + EventSelectors: { shape: "Si" }, + AdvancedEventSelectors: { shape: "Sp" }, + }, }, idempotent: true, }, @@ -51439,7 +58557,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { TrailARN: {}, InsightSelectors: { shape: "Sr" } }, + members: { TrailARN: {}, InsightSelectors: { shape: "Sz" } }, }, idempotent: true, }, @@ -51605,12 +58723,20 @@ module.exports = /******/ (function (modules, runtime) { PutEventSelectors: { input: { type: "structure", - required: ["TrailName", "EventSelectors"], - members: { TrailName: {}, EventSelectors: { shape: "Si" } }, + required: ["TrailName"], + members: { + TrailName: {}, + EventSelectors: { shape: "Si" }, + AdvancedEventSelectors: { shape: "Sp" }, + }, }, output: { type: "structure", - members: { TrailARN: {}, EventSelectors: { shape: "Si" } }, + members: { + TrailARN: {}, + EventSelectors: { shape: "Si" }, + AdvancedEventSelectors: { shape: "Sp" }, + }, }, idempotent: true, }, @@ -51618,11 +58744,11 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["TrailName", "InsightSelectors"], - members: { TrailName: {}, InsightSelectors: { shape: "Sr" } }, + members: { TrailName: {}, InsightSelectors: { shape: "Sz" } }, }, output: { type: "structure", - members: { TrailARN: {}, InsightSelectors: { shape: "Sr" } }, + members: { TrailARN: {}, InsightSelectors: { shape: "Sz" } }, }, idempotent: true, }, @@ -51740,7 +58866,34 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - Sr: { + Sp: { + type: "list", + member: { + type: "structure", + required: ["FieldSelectors"], + members: { + Name: {}, + FieldSelectors: { + type: "list", + member: { + type: "structure", + required: ["Field"], + members: { + Field: {}, + Equals: { shape: "Sv" }, + StartsWith: { shape: "Sv" }, + EndsWith: { shape: "Sv" }, + NotEquals: { shape: "Sv" }, + NotStartsWith: { shape: "Sv" }, + NotEndsWith: { shape: "Sv" }, + }, + }, + }, + }, + }, + }, + Sv: { type: "list", member: {} }, + Sz: { type: "list", member: { type: "structure", members: { InsightType: {} } }, }, @@ -51921,6 +59074,12 @@ module.exports = /******/ (function (modules, runtime) { limit_key: "MaxResults", output_token: "NextToken", }, + ListApprovedOrigins: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Origins", + }, ListContactFlows: { input_token: "NextToken", limit_key: "MaxResults", @@ -51933,30 +59092,90 @@ module.exports = /******/ (function (modules, runtime) { output_token: "NextToken", result_key: "HoursOfOperationSummaryList", }, + ListInstanceAttributes: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Attributes", + }, + ListInstanceStorageConfigs: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "StorageConfigs", + }, + ListInstances: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "InstanceSummaryList", + }, + ListIntegrationAssociations: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "IntegrationAssociationSummaryList", + }, + ListLambdaFunctions: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "LambdaFunctions", + }, + ListLexBots: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "LexBots", + }, ListPhoneNumbers: { input_token: "NextToken", limit_key: "MaxResults", output_token: "NextToken", result_key: "PhoneNumberSummaryList", }, + ListPrompts: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "PromptSummaryList", + }, ListQueues: { input_token: "NextToken", limit_key: "MaxResults", output_token: "NextToken", result_key: "QueueSummaryList", }, + ListRoutingProfileQueues: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "RoutingProfileQueueConfigSummaryList", + }, ListRoutingProfiles: { input_token: "NextToken", limit_key: "MaxResults", output_token: "NextToken", result_key: "RoutingProfileSummaryList", }, + ListSecurityKeys: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "SecurityKeys", + }, ListSecurityProfiles: { input_token: "NextToken", limit_key: "MaxResults", output_token: "NextToken", result_key: "SecurityProfileSummaryList", }, + ListUseCases: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "UseCaseSummaryList", + }, ListUserHierarchyGroups: { input_token: "NextToken", limit_key: "MaxResults", @@ -51975,43 +59194,176 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1487: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["s3outposts"] = {}; + AWS.S3Outposts = Service.defineService("s3outposts", ["2017-07-25"]); + Object.defineProperty(apiLoader.services["s3outposts"], "2017-07-25", { + get: function get() { + var model = __webpack_require__(9492); + model.paginators = __webpack_require__(124).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.S3Outposts; + + /***/ + }, + /***/ 1489: /***/ function ( __unusedmodule, __unusedexports, __webpack_require__ ) { var AWS = __webpack_require__(395); + var s3util = __webpack_require__(9338); + var regionUtil = __webpack_require__(3546); AWS.util.update(AWS.S3Control.prototype, { /** * @api private */ setupRequestListeners: function setupRequestListeners(request) { - request.addListener("afterBuild", this.prependAccountId); request.addListener("extractError", this.extractHostId); request.addListener("extractData", this.extractHostId); request.addListener("validate", this.validateAccountId); + + var isArnInBucket = s3util.isArnInParam(request, "Bucket"); + var isArnInName = s3util.isArnInParam(request, "Name"); + + if (isArnInBucket) { + request.service._parsedArn = AWS.util.ARN.parse( + request.params["Bucket"] + ); + request.service.signingName = request.service._parsedArn.service; + request.addListener("validate", this.validateOutpostsBucketArn); + request.addListener("validate", s3util.validateOutpostsArn); + request.addListener("afterBuild", this.addOutpostIdHeader); + } else if (isArnInName) { + request.service._parsedArn = AWS.util.ARN.parse( + request.params["Name"] + ); + request.service.signingName = request.service._parsedArn.service; + request.addListener( + "validate", + s3util.validateOutpostsAccessPointArn + ); + request.addListener("validate", s3util.validateOutpostsArn); + request.addListener("afterBuild", this.addOutpostIdHeader); + } + + if (isArnInBucket || isArnInName) { + request.addListener("validate", s3util.validateArnRegion); + request.addListener( + "validate", + this.validateArnAccountWithParams, + true + ); + request.addListener("validate", s3util.validateArnAccount); + request.addListener("validate", s3util.validateArnService); + request.addListener("build", this.populateParamFromArn, true); + request.addListener("build", this.populateUriFromArn); + request.addListener("build", s3util.validatePopulateUriFromArn); + } + + if ( + request.params.OutpostId && + (request.operation === "createBucket" || + request.operation === "listRegionalBuckets") + ) { + request.service.signingName = "s3-outposts"; + request.addListener("build", this.populateEndpointForOutpostId); + } + }, + + /** + * Adds outpostId header + */ + addOutpostIdHeader: function addOutpostIdHeader(req) { + req.httpRequest.headers["x-amz-outpost-id"] = + req.service._parsedArn.outpostId; + }, + + /** + * Validate Outposts ARN supplied in Bucket parameter is a valid bucket name + */ + validateOutpostsBucketArn: function validateOutpostsBucketArn(req) { + var parsedArn = req.service._parsedArn; + + //can be ':' or '/' + var delimiter = parsedArn.resource["outpost".length]; + + if (parsedArn.resource.split(delimiter).length !== 4) { + throw AWS.util.error(new Error(), { + code: "InvalidARN", + message: + "Bucket ARN should have two resources outpost/{outpostId}/bucket/{accesspointName}", + }); + } + + var bucket = parsedArn.resource.split(delimiter)[3]; + if (!s3util.dnsCompatibleBucketName(bucket) || bucket.match(/\./)) { + throw AWS.util.error(new Error(), { + code: "InvalidARN", + message: "Bucket ARN is not DNS compatible. Got " + bucket, + }); + } + + //set parsed valid bucket + req.service._parsedArn.bucket = bucket; }, /** * @api private */ - prependAccountId: function (request) { - var api = request.service.api; - var operationModel = api.operations[request.operation]; - var inputModel = operationModel.input; - var params = request.params; - if (inputModel.members.AccountId && params.AccountId) { - //customization needed - var accountId = params.AccountId; - var endpoint = request.httpRequest.endpoint; - var newHostname = String(accountId) + "." + endpoint.hostname; - endpoint.hostname = newHostname; - request.httpRequest.headers.Host = newHostname; - delete request.httpRequest.headers["x-amz-account-id"]; + populateParamFromArn: function populateParamFromArn(req) { + var parsedArn = req.service._parsedArn; + if (s3util.isArnInParam(req, "Bucket")) { + req.params.Bucket = parsedArn.bucket; + } else if (s3util.isArnInParam(req, "Name")) { + req.params.Name = parsedArn.accessPoint; } }, + /** + * Populate URI according to the ARN + */ + populateUriFromArn: function populateUriFromArn(req) { + var parsedArn = req.service._parsedArn; + + var endpoint = req.httpRequest.endpoint; + var useArnRegion = req.service.config.s3UseArnRegion; + + endpoint.hostname = [ + "s3-outposts", + useArnRegion ? parsedArn.region : req.service.config.region, + "amazonaws.com", + ].join("."); + endpoint.host = endpoint.hostname; + }, + + /** + * @api private + */ + populateEndpointForOutpostId: function populateEndpointForOutpostId( + req + ) { + var endpoint = req.httpRequest.endpoint; + endpoint.hostname = [ + "s3-outposts", + req.service.config.region, + "amazonaws.com", + ].join("."); + endpoint.host = endpoint.hostname; + }, + /** * @api private */ @@ -52025,6 +59377,33 @@ module.exports = /******/ (function (modules, runtime) { } }, + /** + * @api private + */ + validateArnAccountWithParams: function validateArnAccountWithParams( + req + ) { + var params = req.params; + var inputModel = req.service.api.operations[req.operation].input; + if (inputModel.members.AccountId) { + var parsedArn = req.service._parsedArn; + if (parsedArn.accountId) { + if (params.AccountId) { + if (params.AccountId !== parsedArn.accountId) { + throw AWS.util.error(new Error(), { + code: "ValidationError", + message: + "AccountId in ARN and request params should be same.", + }); + } + } else { + // Store accountId from ARN in params + params.AccountId = parsedArn.accountId; + } + } + } + }, + /** * @api private */ @@ -52059,11 +59438,504 @@ module.exports = /******/ (function (modules, runtime) { }); } }, + + /** + * @api private + */ + getSigningName: function getSigningName() { + var _super = AWS.Service.prototype.getSigningName; + return this.signingName ? this.signingName : _super.call(this); + }, }); /***/ }, + /***/ 1498: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2020-10-30", + endpointPrefix: "api.ecr-public", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "Amazon ECR Public", + serviceFullName: "Amazon Elastic Container Registry Public", + serviceId: "ECR PUBLIC", + signatureVersion: "v4", + signingName: "ecr-public", + targetPrefix: "SpencerFrontendService", + uid: "ecr-public-2020-10-30", + }, + operations: { + BatchCheckLayerAvailability: { + input: { + type: "structure", + required: ["repositoryName", "layerDigests"], + members: { + registryId: {}, + repositoryName: {}, + layerDigests: { type: "list", member: {} }, + }, + }, + output: { + type: "structure", + members: { + layers: { + type: "list", + member: { + type: "structure", + members: { + layerDigest: {}, + layerAvailability: {}, + layerSize: { type: "long" }, + mediaType: {}, + }, + }, + }, + failures: { + type: "list", + member: { + type: "structure", + members: { + layerDigest: {}, + failureCode: {}, + failureReason: {}, + }, + }, + }, + }, + }, + }, + BatchDeleteImage: { + input: { + type: "structure", + required: ["repositoryName", "imageIds"], + members: { + registryId: {}, + repositoryName: {}, + imageIds: { shape: "Sj" }, + }, + }, + output: { + type: "structure", + members: { + imageIds: { shape: "Sj" }, + failures: { + type: "list", + member: { + type: "structure", + members: { + imageId: { shape: "Sk" }, + failureCode: {}, + failureReason: {}, + }, + }, + }, + }, + }, + }, + CompleteLayerUpload: { + input: { + type: "structure", + required: ["repositoryName", "uploadId", "layerDigests"], + members: { + registryId: {}, + repositoryName: {}, + uploadId: {}, + layerDigests: { type: "list", member: {} }, + }, + }, + output: { + type: "structure", + members: { + registryId: {}, + repositoryName: {}, + uploadId: {}, + layerDigest: {}, + }, + }, + }, + CreateRepository: { + input: { + type: "structure", + required: ["repositoryName"], + members: { repositoryName: {}, catalogData: { shape: "Sx" } }, + }, + output: { + type: "structure", + members: { + repository: { shape: "S17" }, + catalogData: { shape: "S1b" }, + }, + }, + }, + DeleteRepository: { + input: { + type: "structure", + required: ["repositoryName"], + members: { + registryId: {}, + repositoryName: {}, + force: { type: "boolean" }, + }, + }, + output: { + type: "structure", + members: { repository: { shape: "S17" } }, + }, + }, + DeleteRepositoryPolicy: { + input: { + type: "structure", + required: ["repositoryName"], + members: { registryId: {}, repositoryName: {} }, + }, + output: { + type: "structure", + members: { registryId: {}, repositoryName: {}, policyText: {} }, + }, + }, + DescribeImageTags: { + input: { + type: "structure", + required: ["repositoryName"], + members: { + registryId: {}, + repositoryName: {}, + nextToken: {}, + maxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + imageTagDetails: { + type: "list", + member: { + type: "structure", + members: { + imageTag: {}, + createdAt: { type: "timestamp" }, + imageDetail: { + type: "structure", + members: { + imageDigest: {}, + imageSizeInBytes: { type: "long" }, + imagePushedAt: { type: "timestamp" }, + imageManifestMediaType: {}, + artifactMediaType: {}, + }, + }, + }, + }, + }, + nextToken: {}, + }, + }, + }, + DescribeImages: { + input: { + type: "structure", + required: ["repositoryName"], + members: { + registryId: {}, + repositoryName: {}, + imageIds: { shape: "Sj" }, + nextToken: {}, + maxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + imageDetails: { + type: "list", + member: { + type: "structure", + members: { + registryId: {}, + repositoryName: {}, + imageDigest: {}, + imageTags: { type: "list", member: {} }, + imageSizeInBytes: { type: "long" }, + imagePushedAt: { type: "timestamp" }, + imageManifestMediaType: {}, + artifactMediaType: {}, + }, + }, + }, + nextToken: {}, + }, + }, + }, + DescribeRegistries: { + input: { + type: "structure", + members: { nextToken: {}, maxResults: { type: "integer" } }, + }, + output: { + type: "structure", + required: ["registries"], + members: { + registries: { + type: "list", + member: { + type: "structure", + required: [ + "registryId", + "registryArn", + "registryUri", + "verified", + "aliases", + ], + members: { + registryId: {}, + registryArn: {}, + registryUri: {}, + verified: { type: "boolean" }, + aliases: { + type: "list", + member: { + type: "structure", + required: [ + "name", + "status", + "primaryRegistryAlias", + "defaultRegistryAlias", + ], + members: { + name: {}, + status: {}, + primaryRegistryAlias: { type: "boolean" }, + defaultRegistryAlias: { type: "boolean" }, + }, + }, + }, + }, + }, + }, + nextToken: {}, + }, + }, + }, + DescribeRepositories: { + input: { + type: "structure", + members: { + registryId: {}, + repositoryNames: { type: "list", member: {} }, + nextToken: {}, + maxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + repositories: { type: "list", member: { shape: "S17" } }, + nextToken: {}, + }, + }, + }, + GetAuthorizationToken: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + members: { + authorizationData: { + type: "structure", + members: { + authorizationToken: {}, + expiresAt: { type: "timestamp" }, + }, + }, + }, + }, + }, + GetRegistryCatalogData: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + required: ["registryCatalogData"], + members: { registryCatalogData: { shape: "S2k" } }, + }, + }, + GetRepositoryCatalogData: { + input: { + type: "structure", + required: ["repositoryName"], + members: { registryId: {}, repositoryName: {} }, + }, + output: { + type: "structure", + members: { catalogData: { shape: "S1b" } }, + }, + }, + GetRepositoryPolicy: { + input: { + type: "structure", + required: ["repositoryName"], + members: { registryId: {}, repositoryName: {} }, + }, + output: { + type: "structure", + members: { registryId: {}, repositoryName: {}, policyText: {} }, + }, + }, + InitiateLayerUpload: { + input: { + type: "structure", + required: ["repositoryName"], + members: { registryId: {}, repositoryName: {} }, + }, + output: { + type: "structure", + members: { uploadId: {}, partSize: { type: "long" } }, + }, + }, + PutImage: { + input: { + type: "structure", + required: ["repositoryName", "imageManifest"], + members: { + registryId: {}, + repositoryName: {}, + imageManifest: {}, + imageManifestMediaType: {}, + imageTag: {}, + imageDigest: {}, + }, + }, + output: { + type: "structure", + members: { + image: { + type: "structure", + members: { + registryId: {}, + repositoryName: {}, + imageId: { shape: "Sk" }, + imageManifest: {}, + imageManifestMediaType: {}, + }, + }, + }, + }, + }, + PutRegistryCatalogData: { + input: { type: "structure", members: { displayName: {} } }, + output: { + type: "structure", + required: ["registryCatalogData"], + members: { registryCatalogData: { shape: "S2k" } }, + }, + }, + PutRepositoryCatalogData: { + input: { + type: "structure", + required: ["repositoryName", "catalogData"], + members: { + registryId: {}, + repositoryName: {}, + catalogData: { shape: "Sx" }, + }, + }, + output: { + type: "structure", + members: { catalogData: { shape: "S1b" } }, + }, + }, + SetRepositoryPolicy: { + input: { + type: "structure", + required: ["repositoryName", "policyText"], + members: { + registryId: {}, + repositoryName: {}, + policyText: {}, + force: { type: "boolean" }, + }, + }, + output: { + type: "structure", + members: { registryId: {}, repositoryName: {}, policyText: {} }, + }, + }, + UploadLayerPart: { + input: { + type: "structure", + required: [ + "repositoryName", + "uploadId", + "partFirstByte", + "partLastByte", + "layerPartBlob", + ], + members: { + registryId: {}, + repositoryName: {}, + uploadId: {}, + partFirstByte: { type: "long" }, + partLastByte: { type: "long" }, + layerPartBlob: { type: "blob" }, + }, + }, + output: { + type: "structure", + members: { + registryId: {}, + repositoryName: {}, + uploadId: {}, + lastByteReceived: { type: "long" }, + }, + }, + }, + }, + shapes: { + Sj: { type: "list", member: { shape: "Sk" } }, + Sk: { type: "structure", members: { imageDigest: {}, imageTag: {} } }, + Sx: { + type: "structure", + members: { + description: {}, + architectures: { shape: "Sz" }, + operatingSystems: { shape: "S11" }, + logoImageBlob: { type: "blob" }, + aboutText: {}, + usageText: {}, + }, + }, + Sz: { type: "list", member: {} }, + S11: { type: "list", member: {} }, + S17: { + type: "structure", + members: { + repositoryArn: {}, + registryId: {}, + repositoryName: {}, + repositoryUri: {}, + createdAt: { type: "timestamp" }, + }, + }, + S1b: { + type: "structure", + members: { + description: {}, + architectures: { shape: "Sz" }, + operatingSystems: { shape: "S11" }, + logoUrl: {}, + aboutText: {}, + usageText: {}, + marketplaceCertified: { type: "boolean" }, + }, + }, + S2k: { type: "structure", members: { displayName: {} } }, + }, + }; + + /***/ + }, + /***/ 1511: /***/ function (module) { module.exports = { version: 2, @@ -52814,6 +60686,19 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1525: /***/ function (__unusedmodule, exports) { + "use strict"; + + Object.defineProperty(exports, "__esModule", { + value: true, + }); + exports.default = void 0; + var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; + exports.default = _default; + + /***/ + }, + /***/ 1527: /***/ function (module) { module.exports = { pagination: { @@ -52996,7 +60881,7 @@ module.exports = /******/ (function (modules, runtime) { version: "2.0", metadata: { apiVersion: "2017-07-25", - endpointPrefix: "elastic-inference", + endpointPrefix: "api.elastic-inference", jsonVersion: "1.1", protocol: "rest-json", serviceAbbreviation: "Amazon Elastic Inference", @@ -53007,6 +60892,102 @@ module.exports = /******/ (function (modules, runtime) { uid: "elastic-inference-2017-07-25", }, operations: { + DescribeAcceleratorOfferings: { + http: { requestUri: "/describe-accelerator-offerings" }, + input: { + type: "structure", + required: ["locationType"], + members: { + locationType: {}, + acceleratorTypes: { type: "list", member: {} }, + }, + }, + output: { + type: "structure", + members: { + acceleratorTypeOfferings: { + type: "list", + member: { + type: "structure", + members: { + acceleratorType: {}, + locationType: {}, + location: {}, + }, + }, + }, + }, + }, + }, + DescribeAcceleratorTypes: { + http: { method: "GET", requestUri: "/describe-accelerator-types" }, + input: { type: "structure", members: {} }, + output: { + type: "structure", + members: { + acceleratorTypes: { + type: "list", + member: { + type: "structure", + members: { + acceleratorTypeName: {}, + memoryInfo: { + type: "structure", + members: { sizeInMiB: { type: "integer" } }, + }, + throughputInfo: { + type: "list", + member: { + type: "structure", + members: { key: {}, value: { type: "integer" } }, + }, + }, + }, + }, + }, + }, + }, + }, + DescribeAccelerators: { + http: { requestUri: "/describe-accelerators" }, + input: { + type: "structure", + members: { + acceleratorIds: { type: "list", member: {} }, + filters: { + type: "list", + member: { + type: "structure", + members: { name: {}, values: { type: "list", member: {} } }, + }, + }, + maxResults: { type: "integer" }, + nextToken: {}, + }, + }, + output: { + type: "structure", + members: { + acceleratorSet: { + type: "list", + member: { + type: "structure", + members: { + acceleratorHealth: { + type: "structure", + members: { status: {} }, + }, + acceleratorType: {}, + acceleratorId: {}, + availabilityZone: {}, + attachedResource: {}, + }, + }, + }, + nextToken: {}, + }, + }, + }, ListTagsForResource: { http: { method: "GET", requestUri: "/tags/{resourceArn}" }, input: { @@ -53016,7 +60997,7 @@ module.exports = /******/ (function (modules, runtime) { resourceArn: { location: "uri", locationName: "resourceArn" }, }, }, - output: { type: "structure", members: { tags: { shape: "S4" } } }, + output: { type: "structure", members: { tags: { shape: "S13" } } }, }, TagResource: { http: { requestUri: "/tags/{resourceArn}" }, @@ -53025,7 +61006,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["resourceArn", "tags"], members: { resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "S4" }, + tags: { shape: "S13" }, }, }, output: { type: "structure", members: {} }, @@ -53048,7 +61029,281 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: {} }, }, }, - shapes: { S4: { type: "map", key: {}, value: {} } }, + shapes: { S13: { type: "map", key: {}, value: {} } }, + }; + + /***/ + }, + + /***/ 1596: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2018-11-01", + endpointPrefix: "ingest.timestream", + jsonVersion: "1.0", + protocol: "json", + serviceAbbreviation: "Timestream Write", + serviceFullName: "Amazon Timestream Write", + serviceId: "Timestream Write", + signatureVersion: "v4", + signingName: "timestream", + targetPrefix: "Timestream_20181101", + uid: "timestream-write-2018-11-01", + }, + operations: { + CreateDatabase: { + input: { + type: "structure", + required: ["DatabaseName"], + members: { + DatabaseName: {}, + KmsKeyId: {}, + Tags: { shape: "S4" }, + }, + }, + output: { + type: "structure", + members: { Database: { shape: "S9" } }, + }, + endpointdiscovery: { required: true }, + }, + CreateTable: { + input: { + type: "structure", + required: ["DatabaseName", "TableName"], + members: { + DatabaseName: {}, + TableName: {}, + RetentionProperties: { shape: "Se" }, + Tags: { shape: "S4" }, + }, + }, + output: { type: "structure", members: { Table: { shape: "Si" } } }, + endpointdiscovery: { required: true }, + }, + DeleteDatabase: { + input: { + type: "structure", + required: ["DatabaseName"], + members: { DatabaseName: {} }, + }, + endpointdiscovery: { required: true }, + }, + DeleteTable: { + input: { + type: "structure", + required: ["DatabaseName", "TableName"], + members: { DatabaseName: {}, TableName: {} }, + }, + endpointdiscovery: { required: true }, + }, + DescribeDatabase: { + input: { + type: "structure", + required: ["DatabaseName"], + members: { DatabaseName: {} }, + }, + output: { + type: "structure", + members: { Database: { shape: "S9" } }, + }, + endpointdiscovery: { required: true }, + }, + DescribeEndpoints: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + required: ["Endpoints"], + members: { + Endpoints: { + type: "list", + member: { + type: "structure", + required: ["Address", "CachePeriodInMinutes"], + members: { + Address: {}, + CachePeriodInMinutes: { type: "long" }, + }, + }, + }, + }, + }, + endpointoperation: true, + }, + DescribeTable: { + input: { + type: "structure", + required: ["DatabaseName", "TableName"], + members: { DatabaseName: {}, TableName: {} }, + }, + output: { type: "structure", members: { Table: { shape: "Si" } } }, + endpointdiscovery: { required: true }, + }, + ListDatabases: { + input: { + type: "structure", + members: { NextToken: {}, MaxResults: { type: "integer" } }, + }, + output: { + type: "structure", + members: { + Databases: { type: "list", member: { shape: "S9" } }, + NextToken: {}, + }, + }, + endpointdiscovery: { required: true }, + }, + ListTables: { + input: { + type: "structure", + members: { + DatabaseName: {}, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + Tables: { type: "list", member: { shape: "Si" } }, + NextToken: {}, + }, + }, + endpointdiscovery: { required: true }, + }, + ListTagsForResource: { + input: { + type: "structure", + required: ["ResourceARN"], + members: { ResourceARN: {} }, + }, + output: { type: "structure", members: { Tags: { shape: "S4" } } }, + endpointdiscovery: { required: true }, + }, + TagResource: { + input: { + type: "structure", + required: ["ResourceARN", "Tags"], + members: { ResourceARN: {}, Tags: { shape: "S4" } }, + }, + output: { type: "structure", members: {} }, + endpointdiscovery: { required: true }, + }, + UntagResource: { + input: { + type: "structure", + required: ["ResourceARN", "TagKeys"], + members: { + ResourceARN: {}, + TagKeys: { type: "list", member: {} }, + }, + }, + output: { type: "structure", members: {} }, + endpointdiscovery: { required: true }, + }, + UpdateDatabase: { + input: { + type: "structure", + required: ["DatabaseName", "KmsKeyId"], + members: { DatabaseName: {}, KmsKeyId: {} }, + }, + output: { + type: "structure", + members: { Database: { shape: "S9" } }, + }, + endpointdiscovery: { required: true }, + }, + UpdateTable: { + input: { + type: "structure", + required: ["DatabaseName", "TableName", "RetentionProperties"], + members: { + DatabaseName: {}, + TableName: {}, + RetentionProperties: { shape: "Se" }, + }, + }, + output: { type: "structure", members: { Table: { shape: "Si" } } }, + endpointdiscovery: { required: true }, + }, + WriteRecords: { + input: { + type: "structure", + required: ["DatabaseName", "TableName", "Records"], + members: { + DatabaseName: {}, + TableName: {}, + CommonAttributes: { shape: "S1e" }, + Records: { type: "list", member: { shape: "S1e" } }, + }, + }, + endpointdiscovery: { required: true }, + }, + }, + shapes: { + S4: { + type: "list", + member: { + type: "structure", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, + }, + }, + S9: { + type: "structure", + members: { + Arn: {}, + DatabaseName: {}, + TableCount: { type: "long" }, + KmsKeyId: {}, + CreationTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + }, + }, + Se: { + type: "structure", + required: [ + "MemoryStoreRetentionPeriodInHours", + "MagneticStoreRetentionPeriodInDays", + ], + members: { + MemoryStoreRetentionPeriodInHours: { type: "long" }, + MagneticStoreRetentionPeriodInDays: { type: "long" }, + }, + }, + Si: { + type: "structure", + members: { + Arn: {}, + TableName: {}, + DatabaseName: {}, + TableStatus: {}, + RetentionProperties: { shape: "Se" }, + CreationTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + }, + }, + S1e: { + type: "structure", + members: { + Dimensions: { + type: "list", + member: { + type: "structure", + required: ["Name", "Value"], + members: { Name: {}, Value: {}, DimensionValueType: {} }, + }, + }, + MeasureName: {}, + MeasureValue: {}, + MeasureValueType: {}, + Time: {}, + TimeUnit: {}, + Version: { type: "long" }, + }, + }, + }, }; /***/ @@ -53109,28 +61364,75 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1607: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["amp"] = {}; + AWS.Amp = Service.defineService("amp", ["2020-08-01"]); + Object.defineProperty(apiLoader.services["amp"], "2020-08-01", { + get: function get() { + var model = __webpack_require__(4616); + model.paginators = __webpack_require__(541).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.Amp; + + /***/ + }, + /***/ 1626: /***/ function (module) { module.exports = { pagination: { GetQueryResults: { input_token: "NextToken", + limit_key: "MaxResults", output_token: "NextToken", + }, + ListDataCatalogs: { + input_token: "NextToken", limit_key: "MaxResults", + output_token: "NextToken", + result_key: "DataCatalogsSummary", }, - ListNamedQueries: { + ListDatabases: { input_token: "NextToken", + limit_key: "MaxResults", output_token: "NextToken", + result_key: "DatabaseList", + }, + ListNamedQueries: { + input_token: "NextToken", limit_key: "MaxResults", + output_token: "NextToken", }, ListQueryExecutions: { input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + ListTableMetadata: { + input_token: "NextToken", + limit_key: "MaxResults", output_token: "NextToken", + result_key: "TableMetadataList", + }, + ListTagsForResource: { + input_token: "NextToken", limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Tags", }, ListWorkGroups: { input_token: "NextToken", - output_token: "NextToken", limit_key: "MaxResults", + output_token: "NextToken", }, }, }; @@ -53551,6 +61853,21 @@ module.exports = /******/ (function (modules, runtime) { uid: "qldb-2019-01-02", }, operations: { + CancelJournalKinesisStream: { + http: { + method: "DELETE", + requestUri: "/ledgers/{name}/journal-kinesis-streams/{streamId}", + }, + input: { + type: "structure", + required: ["LedgerName", "StreamId"], + members: { + LedgerName: { location: "uri", locationName: "name" }, + StreamId: { location: "uri", locationName: "streamId" }, + }, + }, + output: { type: "structure", members: { StreamId: {} } }, + }, CreateLedger: { http: { requestUri: "/ledgers" }, input: { @@ -53558,7 +61875,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["Name", "PermissionsMode"], members: { Name: {}, - Tags: { shape: "S3" }, + Tags: { shape: "S6" }, PermissionsMode: {}, DeletionProtection: { type: "boolean" }, }, @@ -53582,6 +61899,21 @@ module.exports = /******/ (function (modules, runtime) { members: { Name: { location: "uri", locationName: "name" } }, }, }, + DescribeJournalKinesisStream: { + http: { + method: "GET", + requestUri: "/ledgers/{name}/journal-kinesis-streams/{streamId}", + }, + input: { + type: "structure", + required: ["LedgerName", "StreamId"], + members: { + LedgerName: { location: "uri", locationName: "name" }, + StreamId: { location: "uri", locationName: "streamId" }, + }, + }, + output: { type: "structure", members: { Stream: { shape: "Si" } } }, + }, DescribeJournalS3Export: { http: { method: "GET", @@ -53598,7 +61930,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", required: ["ExportDescription"], - members: { ExportDescription: { shape: "Sg" } }, + members: { ExportDescription: { shape: "Sq" } }, }, }, DescribeLedger: { @@ -53634,7 +61966,7 @@ module.exports = /******/ (function (modules, runtime) { Name: { location: "uri", locationName: "name" }, InclusiveStartTime: { type: "timestamp" }, ExclusiveEndTime: { type: "timestamp" }, - S3ExportConfiguration: { shape: "Si" }, + S3ExportConfiguration: { shape: "Ss" }, RoleArn: {}, }, }, @@ -53651,14 +61983,14 @@ module.exports = /******/ (function (modules, runtime) { required: ["Name", "BlockAddress"], members: { Name: { location: "uri", locationName: "name" }, - BlockAddress: { shape: "Ss" }, - DigestTipAddress: { shape: "Ss" }, + BlockAddress: { shape: "S12" }, + DigestTipAddress: { shape: "S12" }, }, }, output: { type: "structure", required: ["Block"], - members: { Block: { shape: "Ss" }, Proof: { shape: "Ss" } }, + members: { Block: { shape: "S12" }, Proof: { shape: "S12" } }, }, }, GetDigest: { @@ -53673,7 +62005,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["Digest", "DigestTipAddress"], members: { Digest: { type: "blob" }, - DigestTipAddress: { shape: "Ss" }, + DigestTipAddress: { shape: "S12" }, }, }, }, @@ -53684,15 +62016,44 @@ module.exports = /******/ (function (modules, runtime) { required: ["Name", "BlockAddress", "DocumentId"], members: { Name: { location: "uri", locationName: "name" }, - BlockAddress: { shape: "Ss" }, + BlockAddress: { shape: "S12" }, DocumentId: {}, - DigestTipAddress: { shape: "Ss" }, + DigestTipAddress: { shape: "S12" }, }, }, output: { type: "structure", required: ["Revision"], - members: { Proof: { shape: "Ss" }, Revision: { shape: "Ss" } }, + members: { Proof: { shape: "S12" }, Revision: { shape: "S12" } }, + }, + }, + ListJournalKinesisStreamsForLedger: { + http: { + method: "GET", + requestUri: "/ledgers/{name}/journal-kinesis-streams", + }, + input: { + type: "structure", + required: ["LedgerName"], + members: { + LedgerName: { location: "uri", locationName: "name" }, + MaxResults: { + location: "querystring", + locationName: "max_results", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "next_token", + }, + }, + }, + output: { + type: "structure", + members: { + Streams: { type: "list", member: { shape: "Si" } }, + NextToken: {}, + }, }, }, ListJournalS3Exports: { @@ -53713,7 +62074,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { JournalS3Exports: { shape: "S14" }, NextToken: {} }, + members: { JournalS3Exports: { shape: "S1h" }, NextToken: {} }, }, }, ListJournalS3ExportsForLedger: { @@ -53739,7 +62100,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { JournalS3Exports: { shape: "S14" }, NextToken: {} }, + members: { JournalS3Exports: { shape: "S1h" }, NextToken: {} }, }, }, ListLedgers: { @@ -53785,7 +62146,30 @@ module.exports = /******/ (function (modules, runtime) { ResourceArn: { location: "uri", locationName: "resourceArn" }, }, }, - output: { type: "structure", members: { Tags: { shape: "S3" } } }, + output: { type: "structure", members: { Tags: { shape: "S6" } } }, + }, + StreamJournalToKinesis: { + http: { requestUri: "/ledgers/{name}/journal-kinesis-streams" }, + input: { + type: "structure", + required: [ + "LedgerName", + "RoleArn", + "InclusiveStartTime", + "KinesisConfiguration", + "StreamName", + ], + members: { + LedgerName: { location: "uri", locationName: "name" }, + RoleArn: {}, + Tags: { shape: "S6" }, + InclusiveStartTime: { type: "timestamp" }, + ExclusiveEndTime: { type: "timestamp" }, + KinesisConfiguration: { shape: "Sk" }, + StreamName: {}, + }, + }, + output: { type: "structure", members: { StreamId: {} } }, }, TagResource: { http: { requestUri: "/tags/{resourceArn}" }, @@ -53794,7 +62178,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["ResourceArn", "Tags"], members: { ResourceArn: { location: "uri", locationName: "resourceArn" }, - Tags: { shape: "S3" }, + Tags: { shape: "S6" }, }, }, output: { type: "structure", members: {} }, @@ -53839,8 +62223,37 @@ module.exports = /******/ (function (modules, runtime) { }, }, shapes: { - S3: { type: "map", key: {}, value: {} }, - Sg: { + S6: { type: "map", key: {}, value: {} }, + Si: { + type: "structure", + required: [ + "LedgerName", + "RoleArn", + "StreamId", + "Status", + "KinesisConfiguration", + "StreamName", + ], + members: { + LedgerName: {}, + CreationTime: { type: "timestamp" }, + InclusiveStartTime: { type: "timestamp" }, + ExclusiveEndTime: { type: "timestamp" }, + RoleArn: {}, + StreamId: {}, + Arn: {}, + Status: {}, + KinesisConfiguration: { shape: "Sk" }, + ErrorCause: {}, + StreamName: {}, + }, + }, + Sk: { + type: "structure", + required: ["StreamArn"], + members: { StreamArn: {}, AggregationEnabled: { type: "boolean" } }, + }, + Sq: { type: "structure", required: [ "LedgerName", @@ -53859,11 +62272,11 @@ module.exports = /******/ (function (modules, runtime) { Status: {}, InclusiveStartTime: { type: "timestamp" }, ExclusiveEndTime: { type: "timestamp" }, - S3ExportConfiguration: { shape: "Si" }, + S3ExportConfiguration: { shape: "Ss" }, RoleArn: {}, }, }, - Si: { + Ss: { type: "structure", required: ["Bucket", "Prefix", "EncryptionConfiguration"], members: { @@ -53876,12 +62289,842 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - Ss: { + S12: { type: "structure", members: { IonText: { type: "string", sensitive: true } }, sensitive: true, }, - S14: { type: "list", member: { shape: "Sg" } }, + S1h: { type: "list", member: { shape: "Sq" } }, + }, + }; + + /***/ + }, + + /***/ 1642: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2020-11-12", + endpointPrefix: "network-firewall", + jsonVersion: "1.0", + protocol: "json", + serviceAbbreviation: "Network Firewall", + serviceFullName: "AWS Network Firewall", + serviceId: "Network Firewall", + signatureVersion: "v4", + signingName: "network-firewall", + targetPrefix: "NetworkFirewall_20201112", + uid: "network-firewall-2020-11-12", + }, + operations: { + AssociateFirewallPolicy: { + input: { + type: "structure", + required: ["FirewallPolicyArn"], + members: { + UpdateToken: {}, + FirewallArn: {}, + FirewallName: {}, + FirewallPolicyArn: {}, + }, + }, + output: { + type: "structure", + members: { + FirewallArn: {}, + FirewallName: {}, + FirewallPolicyArn: {}, + UpdateToken: {}, + }, + }, + }, + AssociateSubnets: { + input: { + type: "structure", + required: ["SubnetMappings"], + members: { + UpdateToken: {}, + FirewallArn: {}, + FirewallName: {}, + SubnetMappings: { shape: "S7" }, + }, + }, + output: { + type: "structure", + members: { + FirewallArn: {}, + FirewallName: {}, + SubnetMappings: { shape: "S7" }, + UpdateToken: {}, + }, + }, + }, + CreateFirewall: { + input: { + type: "structure", + required: [ + "FirewallName", + "FirewallPolicyArn", + "VpcId", + "SubnetMappings", + ], + members: { + FirewallName: {}, + FirewallPolicyArn: {}, + VpcId: {}, + SubnetMappings: { shape: "S7" }, + DeleteProtection: { type: "boolean" }, + SubnetChangeProtection: { type: "boolean" }, + FirewallPolicyChangeProtection: { type: "boolean" }, + Description: {}, + Tags: { shape: "Sf" }, + }, + }, + output: { + type: "structure", + members: { + Firewall: { shape: "Sk" }, + FirewallStatus: { shape: "Sm" }, + }, + }, + }, + CreateFirewallPolicy: { + input: { + type: "structure", + required: ["FirewallPolicyName", "FirewallPolicy"], + members: { + FirewallPolicyName: {}, + FirewallPolicy: { shape: "S10" }, + Description: {}, + Tags: { shape: "Sf" }, + DryRun: { type: "boolean" }, + }, + }, + output: { + type: "structure", + required: ["UpdateToken", "FirewallPolicyResponse"], + members: { + UpdateToken: {}, + FirewallPolicyResponse: { shape: "S1g" }, + }, + }, + }, + CreateRuleGroup: { + input: { + type: "structure", + required: ["RuleGroupName", "Type", "Capacity"], + members: { + RuleGroupName: {}, + RuleGroup: { shape: "S1j" }, + Rules: {}, + Type: {}, + Description: {}, + Capacity: { type: "integer" }, + Tags: { shape: "Sf" }, + DryRun: { type: "boolean" }, + }, + }, + output: { + type: "structure", + required: ["UpdateToken", "RuleGroupResponse"], + members: { UpdateToken: {}, RuleGroupResponse: { shape: "S2x" } }, + }, + }, + DeleteFirewall: { + input: { + type: "structure", + members: { FirewallName: {}, FirewallArn: {} }, + }, + output: { + type: "structure", + members: { + Firewall: { shape: "Sk" }, + FirewallStatus: { shape: "Sm" }, + }, + }, + }, + DeleteFirewallPolicy: { + input: { + type: "structure", + members: { FirewallPolicyName: {}, FirewallPolicyArn: {} }, + }, + output: { + type: "structure", + required: ["FirewallPolicyResponse"], + members: { FirewallPolicyResponse: { shape: "S1g" } }, + }, + }, + DeleteResourcePolicy: { + input: { + type: "structure", + required: ["ResourceArn"], + members: { ResourceArn: {} }, + }, + output: { type: "structure", members: {} }, + }, + DeleteRuleGroup: { + input: { + type: "structure", + members: { RuleGroupName: {}, RuleGroupArn: {}, Type: {} }, + }, + output: { + type: "structure", + required: ["RuleGroupResponse"], + members: { RuleGroupResponse: { shape: "S2x" } }, + }, + }, + DescribeFirewall: { + input: { + type: "structure", + members: { FirewallName: {}, FirewallArn: {} }, + }, + output: { + type: "structure", + members: { + UpdateToken: {}, + Firewall: { shape: "Sk" }, + FirewallStatus: { shape: "Sm" }, + }, + }, + }, + DescribeFirewallPolicy: { + input: { + type: "structure", + members: { FirewallPolicyName: {}, FirewallPolicyArn: {} }, + }, + output: { + type: "structure", + required: ["UpdateToken", "FirewallPolicyResponse"], + members: { + UpdateToken: {}, + FirewallPolicyResponse: { shape: "S1g" }, + FirewallPolicy: { shape: "S10" }, + }, + }, + }, + DescribeLoggingConfiguration: { + input: { + type: "structure", + members: { FirewallArn: {}, FirewallName: {} }, + }, + output: { + type: "structure", + members: { + FirewallArn: {}, + LoggingConfiguration: { shape: "S3c" }, + }, + }, + }, + DescribeResourcePolicy: { + input: { + type: "structure", + required: ["ResourceArn"], + members: { ResourceArn: {} }, + }, + output: { type: "structure", members: { Policy: {} } }, + }, + DescribeRuleGroup: { + input: { + type: "structure", + members: { RuleGroupName: {}, RuleGroupArn: {}, Type: {} }, + }, + output: { + type: "structure", + required: ["UpdateToken", "RuleGroupResponse"], + members: { + UpdateToken: {}, + RuleGroup: { shape: "S1j" }, + RuleGroupResponse: { shape: "S2x" }, + }, + }, + }, + DisassociateSubnets: { + input: { + type: "structure", + required: ["SubnetIds"], + members: { + UpdateToken: {}, + FirewallArn: {}, + FirewallName: {}, + SubnetIds: { type: "list", member: {} }, + }, + }, + output: { + type: "structure", + members: { + FirewallArn: {}, + FirewallName: {}, + SubnetMappings: { shape: "S7" }, + UpdateToken: {}, + }, + }, + }, + ListFirewallPolicies: { + input: { + type: "structure", + members: { NextToken: {}, MaxResults: { type: "integer" } }, + }, + output: { + type: "structure", + members: { + NextToken: {}, + FirewallPolicies: { + type: "list", + member: { type: "structure", members: { Name: {}, Arn: {} } }, + }, + }, + }, + }, + ListFirewalls: { + input: { + type: "structure", + members: { + NextToken: {}, + VpcIds: { type: "list", member: {} }, + MaxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + NextToken: {}, + Firewalls: { + type: "list", + member: { + type: "structure", + members: { FirewallName: {}, FirewallArn: {} }, + }, + }, + }, + }, + }, + ListRuleGroups: { + input: { + type: "structure", + members: { NextToken: {}, MaxResults: { type: "integer" } }, + }, + output: { + type: "structure", + members: { + NextToken: {}, + RuleGroups: { + type: "list", + member: { type: "structure", members: { Name: {}, Arn: {} } }, + }, + }, + }, + }, + ListTagsForResource: { + input: { + type: "structure", + required: ["ResourceArn"], + members: { + NextToken: {}, + MaxResults: { type: "integer" }, + ResourceArn: {}, + }, + }, + output: { + type: "structure", + members: { NextToken: {}, Tags: { shape: "Sf" } }, + }, + }, + PutResourcePolicy: { + input: { + type: "structure", + required: ["ResourceArn", "Policy"], + members: { ResourceArn: {}, Policy: {} }, + }, + output: { type: "structure", members: {} }, + }, + TagResource: { + input: { + type: "structure", + required: ["ResourceArn", "Tags"], + members: { ResourceArn: {}, Tags: { shape: "Sf" } }, + }, + output: { type: "structure", members: {} }, + }, + UntagResource: { + input: { + type: "structure", + required: ["ResourceArn", "TagKeys"], + members: { + ResourceArn: {}, + TagKeys: { type: "list", member: {} }, + }, + }, + output: { type: "structure", members: {} }, + }, + UpdateFirewallDeleteProtection: { + input: { + type: "structure", + required: ["DeleteProtection"], + members: { + UpdateToken: {}, + FirewallArn: {}, + FirewallName: {}, + DeleteProtection: { type: "boolean" }, + }, + }, + output: { + type: "structure", + members: { + FirewallArn: {}, + FirewallName: {}, + DeleteProtection: { type: "boolean" }, + UpdateToken: {}, + }, + }, + }, + UpdateFirewallDescription: { + input: { + type: "structure", + members: { + UpdateToken: {}, + FirewallArn: {}, + FirewallName: {}, + Description: {}, + }, + }, + output: { + type: "structure", + members: { + FirewallArn: {}, + FirewallName: {}, + Description: {}, + UpdateToken: {}, + }, + }, + }, + UpdateFirewallPolicy: { + input: { + type: "structure", + required: ["UpdateToken", "FirewallPolicy"], + members: { + UpdateToken: {}, + FirewallPolicyArn: {}, + FirewallPolicyName: {}, + FirewallPolicy: { shape: "S10" }, + Description: {}, + DryRun: { type: "boolean" }, + }, + }, + output: { + type: "structure", + required: ["UpdateToken", "FirewallPolicyResponse"], + members: { + UpdateToken: {}, + FirewallPolicyResponse: { shape: "S1g" }, + }, + }, + }, + UpdateFirewallPolicyChangeProtection: { + input: { + type: "structure", + required: ["FirewallPolicyChangeProtection"], + members: { + UpdateToken: {}, + FirewallArn: {}, + FirewallName: {}, + FirewallPolicyChangeProtection: { type: "boolean" }, + }, + }, + output: { + type: "structure", + members: { + UpdateToken: {}, + FirewallArn: {}, + FirewallName: {}, + FirewallPolicyChangeProtection: { type: "boolean" }, + }, + }, + }, + UpdateLoggingConfiguration: { + input: { + type: "structure", + members: { + FirewallArn: {}, + FirewallName: {}, + LoggingConfiguration: { shape: "S3c" }, + }, + }, + output: { + type: "structure", + members: { + FirewallArn: {}, + FirewallName: {}, + LoggingConfiguration: { shape: "S3c" }, + }, + }, + }, + UpdateRuleGroup: { + input: { + type: "structure", + required: ["UpdateToken"], + members: { + UpdateToken: {}, + RuleGroupArn: {}, + RuleGroupName: {}, + RuleGroup: { shape: "S1j" }, + Rules: {}, + Type: {}, + Description: {}, + DryRun: { type: "boolean" }, + }, + }, + output: { + type: "structure", + required: ["UpdateToken", "RuleGroupResponse"], + members: { UpdateToken: {}, RuleGroupResponse: { shape: "S2x" } }, + }, + }, + UpdateSubnetChangeProtection: { + input: { + type: "structure", + required: ["SubnetChangeProtection"], + members: { + UpdateToken: {}, + FirewallArn: {}, + FirewallName: {}, + SubnetChangeProtection: { type: "boolean" }, + }, + }, + output: { + type: "structure", + members: { + UpdateToken: {}, + FirewallArn: {}, + FirewallName: {}, + SubnetChangeProtection: { type: "boolean" }, + }, + }, + }, + }, + shapes: { + S7: { + type: "list", + member: { + type: "structure", + required: ["SubnetId"], + members: { SubnetId: {} }, + }, + }, + Sf: { + type: "list", + member: { + type: "structure", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, + }, + }, + Sk: { + type: "structure", + required: [ + "FirewallPolicyArn", + "VpcId", + "SubnetMappings", + "FirewallId", + ], + members: { + FirewallName: {}, + FirewallArn: {}, + FirewallPolicyArn: {}, + VpcId: {}, + SubnetMappings: { shape: "S7" }, + DeleteProtection: { type: "boolean" }, + SubnetChangeProtection: { type: "boolean" }, + FirewallPolicyChangeProtection: { type: "boolean" }, + Description: {}, + FirewallId: {}, + Tags: { shape: "Sf" }, + }, + }, + Sm: { + type: "structure", + required: ["Status", "ConfigurationSyncStateSummary"], + members: { + Status: {}, + ConfigurationSyncStateSummary: {}, + SyncStates: { + type: "map", + key: {}, + value: { + type: "structure", + members: { + Attachment: { + type: "structure", + members: { SubnetId: {}, EndpointId: {}, Status: {} }, + }, + Config: { + type: "map", + key: {}, + value: { type: "structure", members: { SyncStatus: {} } }, + }, + }, + }, + }, + }, + }, + S10: { + type: "structure", + required: [ + "StatelessDefaultActions", + "StatelessFragmentDefaultActions", + ], + members: { + StatelessRuleGroupReferences: { + type: "list", + member: { + type: "structure", + required: ["ResourceArn", "Priority"], + members: { ResourceArn: {}, Priority: { type: "integer" } }, + }, + }, + StatelessDefaultActions: { shape: "S14" }, + StatelessFragmentDefaultActions: { shape: "S14" }, + StatelessCustomActions: { shape: "S15" }, + StatefulRuleGroupReferences: { + type: "list", + member: { + type: "structure", + required: ["ResourceArn"], + members: { ResourceArn: {} }, + }, + }, + }, + }, + S14: { type: "list", member: {} }, + S15: { + type: "list", + member: { + type: "structure", + required: ["ActionName", "ActionDefinition"], + members: { + ActionName: {}, + ActionDefinition: { + type: "structure", + members: { + PublishMetricAction: { + type: "structure", + required: ["Dimensions"], + members: { + Dimensions: { + type: "list", + member: { + type: "structure", + required: ["Value"], + members: { Value: {} }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + S1g: { + type: "structure", + required: [ + "FirewallPolicyName", + "FirewallPolicyArn", + "FirewallPolicyId", + ], + members: { + FirewallPolicyName: {}, + FirewallPolicyArn: {}, + FirewallPolicyId: {}, + Description: {}, + FirewallPolicyStatus: {}, + Tags: { shape: "Sf" }, + }, + }, + S1j: { + type: "structure", + required: ["RulesSource"], + members: { + RuleVariables: { + type: "structure", + members: { + IPSets: { + type: "map", + key: {}, + value: { + type: "structure", + required: ["Definition"], + members: { Definition: { shape: "S1o" } }, + }, + }, + PortSets: { + type: "map", + key: {}, + value: { + type: "structure", + members: { Definition: { shape: "S1o" } }, + }, + }, + }, + }, + RulesSource: { + type: "structure", + members: { + RulesString: {}, + RulesSourceList: { + type: "structure", + required: ["Targets", "TargetTypes", "GeneratedRulesType"], + members: { + Targets: { type: "list", member: {} }, + TargetTypes: { type: "list", member: {} }, + GeneratedRulesType: {}, + }, + }, + StatefulRules: { + type: "list", + member: { + type: "structure", + required: ["Action", "Header", "RuleOptions"], + members: { + Action: {}, + Header: { + type: "structure", + required: [ + "Protocol", + "Source", + "SourcePort", + "Direction", + "Destination", + "DestinationPort", + ], + members: { + Protocol: {}, + Source: {}, + SourcePort: {}, + Direction: {}, + Destination: {}, + DestinationPort: {}, + }, + }, + RuleOptions: { + type: "list", + member: { + type: "structure", + required: ["Keyword"], + members: { + Keyword: {}, + Settings: { type: "list", member: {} }, + }, + }, + }, + }, + }, + }, + StatelessRulesAndCustomActions: { + type: "structure", + required: ["StatelessRules"], + members: { + StatelessRules: { + type: "list", + member: { + type: "structure", + required: ["RuleDefinition", "Priority"], + members: { + RuleDefinition: { + type: "structure", + required: ["MatchAttributes", "Actions"], + members: { + MatchAttributes: { + type: "structure", + members: { + Sources: { shape: "S2i" }, + Destinations: { shape: "S2i" }, + SourcePorts: { shape: "S2l" }, + DestinationPorts: { shape: "S2l" }, + Protocols: { + type: "list", + member: { type: "integer" }, + }, + TCPFlags: { + type: "list", + member: { + type: "structure", + required: ["Flags"], + members: { + Flags: { shape: "S2s" }, + Masks: { shape: "S2s" }, + }, + }, + }, + }, + }, + Actions: { shape: "S14" }, + }, + }, + Priority: { type: "integer" }, + }, + }, + }, + CustomActions: { shape: "S15" }, + }, + }, + }, + }, + }, + }, + S1o: { type: "list", member: {} }, + S2i: { + type: "list", + member: { + type: "structure", + required: ["AddressDefinition"], + members: { AddressDefinition: {} }, + }, + }, + S2l: { + type: "list", + member: { + type: "structure", + required: ["FromPort", "ToPort"], + members: { + FromPort: { type: "integer" }, + ToPort: { type: "integer" }, + }, + }, + }, + S2s: { type: "list", member: {} }, + S2x: { + type: "structure", + required: ["RuleGroupArn", "RuleGroupName", "RuleGroupId"], + members: { + RuleGroupArn: {}, + RuleGroupName: {}, + RuleGroupId: {}, + Description: {}, + Type: {}, + Capacity: { type: "integer" }, + RuleGroupStatus: {}, + Tags: { shape: "Sf" }, + }, + }, + S3c: { + type: "structure", + required: ["LogDestinationConfigs"], + members: { + LogDestinationConfigs: { + type: "list", + member: { + type: "structure", + required: ["LogType", "LogDestinationType", "LogDestination"], + members: { + LogType: {}, + LogDestinationType: {}, + LogDestination: { type: "map", key: {}, value: {} }, + }, + }, + }, + }, + }, }, }; @@ -54136,6 +63379,16 @@ module.exports = /******/ (function (modules, runtime) { /***/ 1656: /***/ function (module) { module.exports = { pagination: { + DescribePortfolioShares: { + input_token: "PageToken", + output_token: "NextPageToken", + limit_key: "PageSize", + }, + GetProvisionedProductOutputs: { + input_token: "PageToken", + output_token: "NextPageToken", + limit_key: "PageSize", + }, ListAcceptedPortfolioShares: { input_token: "PageToken", output_token: "NextPageToken", @@ -55526,6 +64779,12 @@ module.exports = /******/ (function (modules, runtime) { output_token: "NextMarker", result_key: "HostedZones", }, + ListQueryLoggingConfigs: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "QueryLoggingConfigs", + }, ListResourceRecordSets: { input_token: [ "StartRecordName", @@ -55584,6 +64843,7 @@ module.exports = /******/ (function (modules, runtime) { "2017-10-30*", "2018-06-18*", "2018-11-05*", + "2019-03-26*", ], cors: true, }, @@ -55945,6 +65205,64 @@ module.exports = /******/ (function (modules, runtime) { prefix: "codestar-connections", name: "CodeStarconnections", }, + synthetics: { name: "Synthetics" }, + iotsitewise: { name: "IoTSiteWise" }, + macie2: { name: "Macie2" }, + codeartifact: { name: "CodeArtifact" }, + honeycode: { name: "Honeycode" }, + ivs: { name: "IVS" }, + braket: { name: "Braket" }, + identitystore: { name: "IdentityStore" }, + appflow: { name: "Appflow" }, + redshiftdata: { prefix: "redshift-data", name: "RedshiftData" }, + ssoadmin: { prefix: "sso-admin", name: "SSOAdmin" }, + timestreamquery: { + prefix: "timestream-query", + name: "TimestreamQuery", + }, + timestreamwrite: { + prefix: "timestream-write", + name: "TimestreamWrite", + }, + s3outposts: { name: "S3Outposts" }, + databrew: { name: "DataBrew" }, + servicecatalogappregistry: { + prefix: "servicecatalog-appregistry", + name: "ServiceCatalogAppRegistry", + }, + networkfirewall: { + prefix: "network-firewall", + name: "NetworkFirewall", + }, + mwaa: { name: "MWAA" }, + amplifybackend: { name: "AmplifyBackend" }, + appintegrations: { name: "AppIntegrations" }, + connectcontactlens: { + prefix: "connect-contact-lens", + name: "ConnectContactLens", + }, + devopsguru: { prefix: "devops-guru", name: "DevOpsGuru" }, + ecrpublic: { prefix: "ecr-public", name: "ECRPUBLIC" }, + lookoutvision: { name: "LookoutVision" }, + sagemakerfeaturestoreruntime: { + prefix: "sagemaker-featurestore-runtime", + name: "SageMakerFeatureStoreRuntime", + }, + customerprofiles: { + prefix: "customer-profiles", + name: "CustomerProfiles", + }, + auditmanager: { name: "AuditManager" }, + emrcontainers: { prefix: "emr-containers", name: "EMRcontainers" }, + healthlake: { name: "HealthLake" }, + sagemakeredge: { prefix: "sagemaker-edge", name: "SagemakerEdge" }, + amp: { name: "Amp" }, + greengrassv2: { name: "GreengrassV2" }, + iotdeviceadvisor: { name: "IotDeviceAdvisor" }, + iotfleethub: { name: "IoTFleetHub" }, + iotwireless: { name: "IoTWireless" }, + location: { name: "Location" }, + wellarchitected: { name: "WellArchitected" }, }; /***/ @@ -57466,6 +66784,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, NextToken: {}, + RecentlyActive: {}, }, }, output: { @@ -57487,7 +66806,7 @@ module.exports = /******/ (function (modules, runtime) { output: { resultWrapper: "ListTagsForResourceResult", type: "structure", - members: { Tags: { shape: "S4l" } }, + members: { Tags: { shape: "S4m" } }, }, }, PutAnomalyDetector: { @@ -57520,7 +66839,7 @@ module.exports = /******/ (function (modules, runtime) { AlarmRule: {}, InsufficientDataActions: { shape: "S1c" }, OKActions: { shape: "S1c" }, - Tags: { shape: "S4l" }, + Tags: { shape: "S4m" }, }, }, }, @@ -57552,7 +66871,7 @@ module.exports = /******/ (function (modules, runtime) { RuleName: {}, RuleState: {}, RuleDefinition: {}, - Tags: { shape: "S4l" }, + Tags: { shape: "S4m" }, }, }, output: { @@ -57590,7 +66909,7 @@ module.exports = /******/ (function (modules, runtime) { TreatMissingData: {}, EvaluateLowSampleCountPercentile: {}, Metrics: { shape: "S1v" }, - Tags: { shape: "S4l" }, + Tags: { shape: "S4m" }, ThresholdMetricId: {}, }, }, @@ -57647,7 +66966,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S4l" } }, + members: { ResourceARN: {}, Tags: { shape: "S4m" } }, }, output: { resultWrapper: "TagResourceResult", @@ -57816,7 +67135,7 @@ module.exports = /******/ (function (modules, runtime) { type: "list", member: { type: "structure", members: { Code: {}, Value: {} } }, }, - S4l: { + S4m: { type: "list", member: { type: "structure", @@ -57977,6 +67296,29 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1794: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["ecrpublic"] = {}; + AWS.ECRPUBLIC = Service.defineService("ecrpublic", ["2020-10-30"]); + Object.defineProperty(apiLoader.services["ecrpublic"], "2020-10-30", { + get: function get() { + var model = __webpack_require__(1498); + model.paginators = __webpack_require__(6621).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.ECRPUBLIC; + + /***/ + }, + /***/ 1797: /***/ function (module) { module.exports = { version: "2.0", @@ -58001,7 +67343,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Failures: { shape: "Sl" } }, + members: { Failures: { shape: "Sm" } }, }, }, BatchRevokePermissions: { @@ -58012,7 +67354,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Failures: { shape: "Sl" } }, + members: { Failures: { shape: "Sm" } }, }, }, DeregisterResource: { @@ -58031,14 +67373,14 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { ResourceInfo: { shape: "Sv" } }, + members: { ResourceInfo: { shape: "Sw" } }, }, }, GetDataLakeSettings: { input: { type: "structure", members: { CatalogId: {} } }, output: { type: "structure", - members: { DataLakeSettings: { shape: "S10" } }, + members: { DataLakeSettings: { shape: "S11" } }, }, }, GetEffectivePermissionsForPath: { @@ -58054,7 +67396,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { Permissions: { shape: "S18" }, NextToken: {} }, + members: { Permissions: { shape: "S1a" }, NextToken: {} }, }, }, GrantPermissions: { @@ -58065,8 +67407,8 @@ module.exports = /******/ (function (modules, runtime) { CatalogId: {}, Principal: { shape: "S6" }, Resource: { shape: "S8" }, - Permissions: { shape: "Si" }, - PermissionsWithGrantOption: { shape: "Si" }, + Permissions: { shape: "Sj" }, + PermissionsWithGrantOption: { shape: "Sj" }, }, }, output: { type: "structure", members: {} }, @@ -58086,7 +67428,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - PrincipalResourcePermissions: { shape: "S18" }, + PrincipalResourcePermissions: { shape: "S1a" }, NextToken: {}, }, }, @@ -58113,7 +67455,7 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - ResourceInfoList: { type: "list", member: { shape: "Sv" } }, + ResourceInfoList: { type: "list", member: { shape: "Sw" } }, NextToken: {}, }, }, @@ -58122,7 +67464,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", required: ["DataLakeSettings"], - members: { CatalogId: {}, DataLakeSettings: { shape: "S10" } }, + members: { CatalogId: {}, DataLakeSettings: { shape: "S11" } }, }, output: { type: "structure", members: {} }, }, @@ -58146,8 +67488,8 @@ module.exports = /******/ (function (modules, runtime) { CatalogId: {}, Principal: { shape: "S6" }, Resource: { shape: "S8" }, - Permissions: { shape: "Si" }, - PermissionsWithGrantOption: { shape: "Si" }, + Permissions: { shape: "Sj" }, + PermissionsWithGrantOption: { shape: "Sj" }, }, }, output: { type: "structure", members: {} }, @@ -58170,8 +67512,8 @@ module.exports = /******/ (function (modules, runtime) { Id: {}, Principal: { shape: "S6" }, Resource: { shape: "S8" }, - Permissions: { shape: "Si" }, - PermissionsWithGrantOption: { shape: "Si" }, + Permissions: { shape: "Sj" }, + PermissionsWithGrantOption: { shape: "Sj" }, }, }, S6: { @@ -58185,35 +67527,42 @@ module.exports = /******/ (function (modules, runtime) { Database: { type: "structure", required: ["Name"], - members: { Name: {} }, + members: { CatalogId: {}, Name: {} }, }, Table: { type: "structure", - required: ["DatabaseName", "Name"], - members: { DatabaseName: {}, Name: {} }, + required: ["DatabaseName"], + members: { + CatalogId: {}, + DatabaseName: {}, + Name: {}, + TableWildcard: { type: "structure", members: {} }, + }, }, TableWithColumns: { type: "structure", + required: ["DatabaseName", "Name"], members: { + CatalogId: {}, DatabaseName: {}, Name: {}, - ColumnNames: { shape: "Se" }, + ColumnNames: { shape: "Sf" }, ColumnWildcard: { type: "structure", - members: { ExcludedColumnNames: { shape: "Se" } }, + members: { ExcludedColumnNames: { shape: "Sf" } }, }, }, }, DataLocation: { type: "structure", required: ["ResourceArn"], - members: { ResourceArn: {} }, + members: { CatalogId: {}, ResourceArn: {} }, }, }, }, - Se: { type: "list", member: {} }, - Si: { type: "list", member: {} }, - Sl: { + Sf: { type: "list", member: {} }, + Sj: { type: "list", member: {} }, + Sm: { type: "list", member: { type: "structure", @@ -58226,7 +67575,7 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - Sv: { + Sw: { type: "structure", members: { ResourceArn: {}, @@ -58234,33 +67583,38 @@ module.exports = /******/ (function (modules, runtime) { LastModified: { type: "timestamp" }, }, }, - S10: { + S11: { type: "structure", members: { DataLakeAdmins: { type: "list", member: { shape: "S6" } }, - CreateDatabaseDefaultPermissions: { shape: "S12" }, - CreateTableDefaultPermissions: { shape: "S12" }, + CreateDatabaseDefaultPermissions: { shape: "S13" }, + CreateTableDefaultPermissions: { shape: "S13" }, + TrustedResourceOwners: { type: "list", member: {} }, }, }, - S12: { + S13: { type: "list", member: { type: "structure", members: { Principal: { shape: "S6" }, - Permissions: { shape: "Si" }, + Permissions: { shape: "Sj" }, }, }, }, - S18: { + S1a: { type: "list", member: { type: "structure", members: { Principal: { shape: "S6" }, Resource: { shape: "S8" }, - Permissions: { shape: "Si" }, - PermissionsWithGrantOption: { shape: "Si" }, + Permissions: { shape: "Sj" }, + PermissionsWithGrantOption: { shape: "Sj" }, + AdditionalDetails: { + type: "structure", + members: { ResourceShare: { type: "list", member: {} } }, + }, }, }, }, @@ -58394,6 +67748,126 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, + /***/ 1810: /***/ function (__unusedmodule, exports, __webpack_require__) { + "use strict"; + + Object.defineProperty(exports, "__esModule", { + value: true, + }); + exports.default = void 0; + + var _rng = _interopRequireDefault(__webpack_require__(6506)); + + var _stringify = _interopRequireDefault(__webpack_require__(1960)); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + // **`v1()` - Generate time-based UUID** + // + // Inspired by https://github.com/LiosK/UUID.js + // and http://docs.python.org/library/uuid.html + let _nodeId; + + let _clockseq; // Previous uuid creation time + + let _lastMSecs = 0; + let _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details + + function v1(options, buf, offset) { + let i = (buf && offset) || 0; + const b = buf || new Array(16); + options = options || {}; + let node = options.node || _nodeId; + let clockseq = + options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not + // specified. We do this lazily to minimize issues related to insufficient + // system entropy. See #189 + + if (node == null || clockseq == null) { + const seedBytes = options.random || (options.rng || _rng.default)(); + + if (node == null) { + // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) + node = _nodeId = [ + seedBytes[0] | 0x01, + seedBytes[1], + seedBytes[2], + seedBytes[3], + seedBytes[4], + seedBytes[5], + ]; + } + + if (clockseq == null) { + // Per 4.2.2, randomize (14 bit) clockseq + clockseq = _clockseq = + ((seedBytes[6] << 8) | seedBytes[7]) & 0x3fff; + } + } // UUID timestamps are 100 nano-second units since the Gregorian epoch, + // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so + // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' + // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. + + let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock + // cycle to simulate higher resolution clock + + let nsecs = + options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs) + + const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression + + if (dt < 0 && options.clockseq === undefined) { + clockseq = (clockseq + 1) & 0x3fff; + } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new + // time interval + + if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { + nsecs = 0; + } // Per 4.2.1.2 Throw error if too many uuids are requested + + if (nsecs >= 10000) { + throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); + } + + _lastMSecs = msecs; + _lastNSecs = nsecs; + _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch + + msecs += 12219292800000; // `time_low` + + const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; + b[i++] = (tl >>> 24) & 0xff; + b[i++] = (tl >>> 16) & 0xff; + b[i++] = (tl >>> 8) & 0xff; + b[i++] = tl & 0xff; // `time_mid` + + const tmh = ((msecs / 0x100000000) * 10000) & 0xfffffff; + b[i++] = (tmh >>> 8) & 0xff; + b[i++] = tmh & 0xff; // `time_high_and_version` + + b[i++] = ((tmh >>> 24) & 0xf) | 0x10; // include version + + b[i++] = (tmh >>> 16) & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) + + b[i++] = (clockseq >>> 8) | 0x80; // `clock_seq_low` + + b[i++] = clockseq & 0xff; // `node` + + for (let n = 0; n < 6; ++n) { + b[i + n] = node[n]; + } + + return buf || (0, _stringify.default)(b); + } + + var _default = v1; + exports.default = _default; + + /***/ + }, + /***/ 1818: /***/ function (module, __unusedexports, __webpack_require__) { module.exports = isexe; isexe.sync = sync; @@ -58591,10 +68065,11 @@ module.exports = /******/ (function (modules, runtime) { description: {}, changeDescription: {}, platform: {}, + supportedOsVersions: { shape: "Sa" }, data: {}, uri: {}, kmsKeyId: {}, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, clientToken: { idempotencyToken: true }, }, }, @@ -58607,6 +68082,47 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + CreateContainerRecipe: { + http: { method: "PUT", requestUri: "/CreateContainerRecipe" }, + input: { + type: "structure", + required: [ + "containerType", + "name", + "semanticVersion", + "components", + "dockerfileTemplateData", + "parentImage", + "targetRepository", + "clientToken", + ], + members: { + containerType: {}, + name: {}, + description: {}, + semanticVersion: {}, + components: { shape: "Sl" }, + dockerfileTemplateData: {}, + dockerfileTemplateUri: {}, + platformOverride: {}, + imageOsVersionOverride: {}, + parentImage: {}, + tags: { shape: "Se" }, + workingDirectory: {}, + targetRepository: { shape: "Sp" }, + kmsKeyId: {}, + clientToken: { idempotencyToken: true }, + }, + }, + output: { + type: "structure", + members: { + requestId: {}, + clientToken: {}, + containerRecipeArn: {}, + }, + }, + }, CreateDistributionConfiguration: { http: { method: "PUT", @@ -58618,8 +68134,8 @@ module.exports = /******/ (function (modules, runtime) { members: { name: {}, description: {}, - distributions: { shape: "Si" }, - tags: { shape: "Sc" }, + distributions: { shape: "Su" }, + tags: { shape: "Se" }, clientToken: { idempotencyToken: true }, }, }, @@ -58636,17 +68152,15 @@ module.exports = /******/ (function (modules, runtime) { http: { method: "PUT", requestUri: "/CreateImage" }, input: { type: "structure", - required: [ - "imageRecipeArn", - "infrastructureConfigurationArn", - "clientToken", - ], + required: ["infrastructureConfigurationArn", "clientToken"], members: { imageRecipeArn: {}, + containerRecipeArn: {}, distributionConfigurationArn: {}, infrastructureConfigurationArn: {}, - imageTestsConfiguration: { shape: "Sw" }, - tags: { shape: "Sc" }, + imageTestsConfiguration: { shape: "S1a" }, + enhancedImageMetadataEnabled: { type: "boolean" }, + tags: { shape: "Se" }, clientToken: { idempotencyToken: true }, }, }, @@ -58665,7 +68179,6 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: [ "name", - "imageRecipeArn", "infrastructureConfigurationArn", "clientToken", ], @@ -58673,12 +68186,14 @@ module.exports = /******/ (function (modules, runtime) { name: {}, description: {}, imageRecipeArn: {}, + containerRecipeArn: {}, infrastructureConfigurationArn: {}, distributionConfigurationArn: {}, - imageTestsConfiguration: { shape: "Sw" }, - schedule: { shape: "S11" }, + imageTestsConfiguration: { shape: "S1a" }, + enhancedImageMetadataEnabled: { type: "boolean" }, + schedule: { shape: "S1f" }, status: {}, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, clientToken: { idempotencyToken: true }, }, }, @@ -58702,10 +68217,11 @@ module.exports = /******/ (function (modules, runtime) { name: {}, description: {}, semanticVersion: {}, - components: { shape: "S17" }, + components: { shape: "Sl" }, parentImage: {}, - blockDeviceMappings: { shape: "S1a" }, - tags: { shape: "Sc" }, + blockDeviceMappings: { shape: "S1l" }, + tags: { shape: "Se" }, + workingDirectory: {}, clientToken: { idempotencyToken: true }, }, }, @@ -58725,15 +68241,16 @@ module.exports = /******/ (function (modules, runtime) { members: { name: {}, description: {}, - instanceTypes: { shape: "S1j" }, + instanceTypes: { shape: "S1u" }, instanceProfileName: {}, - securityGroupIds: { shape: "S1l" }, + securityGroupIds: { shape: "S1w" }, subnetId: {}, - logging: { shape: "S1m" }, + logging: { shape: "S1x" }, keyPair: {}, terminateInstanceOnFailure: { type: "boolean" }, snsTopicArn: {}, - tags: { shape: "Sc" }, + resourceTags: { shape: "S20" }, + tags: { shape: "Se" }, clientToken: { idempotencyToken: true }, }, }, @@ -58763,6 +68280,23 @@ module.exports = /******/ (function (modules, runtime) { members: { requestId: {}, componentBuildVersionArn: {} }, }, }, + DeleteContainerRecipe: { + http: { method: "DELETE", requestUri: "/DeleteContainerRecipe" }, + input: { + type: "structure", + required: ["containerRecipeArn"], + members: { + containerRecipeArn: { + location: "querystring", + locationName: "containerRecipeArn", + }, + }, + }, + output: { + type: "structure", + members: { requestId: {}, containerRecipeArn: {} }, + }, + }, DeleteDistributionConfiguration: { http: { method: "DELETE", @@ -58880,12 +68414,13 @@ module.exports = /******/ (function (modules, runtime) { changeDescription: {}, type: {}, platform: {}, + supportedOsVersions: { shape: "Sa" }, owner: {}, data: {}, kmsKeyId: {}, encrypted: { type: "boolean" }, dateCreated: {}, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, }, }, }, @@ -58908,6 +68443,40 @@ module.exports = /******/ (function (modules, runtime) { members: { requestId: {}, policy: {} }, }, }, + GetContainerRecipe: { + http: { method: "GET", requestUri: "/GetContainerRecipe" }, + input: { + type: "structure", + required: ["containerRecipeArn"], + members: { + containerRecipeArn: { + location: "querystring", + locationName: "containerRecipeArn", + }, + }, + }, + output: { + type: "structure", + members: { requestId: {}, containerRecipe: { shape: "S2s" } }, + }, + }, + GetContainerRecipePolicy: { + http: { method: "GET", requestUri: "/GetContainerRecipePolicy" }, + input: { + type: "structure", + required: ["containerRecipeArn"], + members: { + containerRecipeArn: { + location: "querystring", + locationName: "containerRecipeArn", + }, + }, + }, + output: { + type: "structure", + members: { requestId: {}, policy: {} }, + }, + }, GetDistributionConfiguration: { http: { method: "GET", @@ -58927,7 +68496,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { requestId: {}, - distributionConfiguration: { shape: "S2e" }, + distributionConfiguration: { shape: "S2y" }, }, }, }, @@ -58951,19 +68520,23 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { arn: {}, + type: {}, name: {}, version: {}, platform: {}, - state: { shape: "S2j" }, - imageRecipe: { shape: "S2l" }, + enhancedImageMetadataEnabled: { type: "boolean" }, + osVersion: {}, + state: { shape: "S35" }, + imageRecipe: { shape: "S37" }, + containerRecipe: { shape: "S2s" }, sourcePipelineName: {}, sourcePipelineArn: {}, - infrastructureConfiguration: { shape: "S2m" }, - distributionConfiguration: { shape: "S2e" }, - imageTestsConfiguration: { shape: "Sw" }, + infrastructureConfiguration: { shape: "S39" }, + distributionConfiguration: { shape: "S2y" }, + imageTestsConfiguration: { shape: "S1a" }, dateCreated: {}, - outputResources: { shape: "S2n" }, - tags: { shape: "Sc" }, + outputResources: { shape: "S3a" }, + tags: { shape: "Se" }, }, }, }, @@ -58983,7 +68556,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { requestId: {}, imagePipeline: { shape: "S2s" } }, + members: { requestId: {}, imagePipeline: { shape: "S3h" } }, }, }, GetImagePolicy: { @@ -59014,7 +68587,7 @@ module.exports = /******/ (function (modules, runtime) { }, output: { type: "structure", - members: { requestId: {}, imageRecipe: { shape: "S2l" } }, + members: { requestId: {}, imageRecipe: { shape: "S37" } }, }, }, GetImageRecipePolicy: { @@ -59053,7 +68626,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { requestId: {}, - infrastructureConfiguration: { shape: "S2m" }, + infrastructureConfiguration: { shape: "S39" }, }, }, }, @@ -59080,7 +68653,7 @@ module.exports = /******/ (function (modules, runtime) { data: {}, uri: {}, kmsKeyId: {}, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, clientToken: { idempotencyToken: true }, }, }, @@ -59117,12 +68690,13 @@ module.exports = /******/ (function (modules, runtime) { name: {}, version: {}, platform: {}, + supportedOsVersions: { shape: "Sa" }, type: {}, owner: {}, description: {}, changeDescription: {}, dateCreated: {}, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, }, }, }, @@ -59136,7 +68710,8 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { owner: {}, - filters: { shape: "S3c" }, + filters: { shape: "S42" }, + byName: { type: "boolean" }, maxResults: { type: "integer" }, nextToken: {}, }, @@ -59155,6 +68730,7 @@ module.exports = /******/ (function (modules, runtime) { version: {}, description: {}, platform: {}, + supportedOsVersions: { shape: "Sa" }, type: {}, owner: {}, dateCreated: {}, @@ -59165,12 +68741,47 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, + ListContainerRecipes: { + http: { requestUri: "/ListContainerRecipes" }, + input: { + type: "structure", + members: { + owner: {}, + filters: { shape: "S42" }, + maxResults: { type: "integer" }, + nextToken: {}, + }, + }, + output: { + type: "structure", + members: { + requestId: {}, + containerRecipeSummaryList: { + type: "list", + member: { + type: "structure", + members: { + arn: {}, + containerType: {}, + name: {}, + platform: {}, + owner: {}, + parentImage: {}, + dateCreated: {}, + tags: { shape: "Se" }, + }, + }, + }, + nextToken: {}, + }, + }, + }, ListDistributionConfigurations: { http: { requestUri: "/ListDistributionConfigurations" }, input: { type: "structure", members: { - filters: { shape: "S3c" }, + filters: { shape: "S42" }, maxResults: { type: "integer" }, nextToken: {}, }, @@ -59189,7 +68800,8 @@ module.exports = /******/ (function (modules, runtime) { description: {}, dateCreated: {}, dateUpdated: {}, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, + regions: { type: "list", member: {} }, }, }, }, @@ -59204,7 +68816,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["imageVersionArn"], members: { imageVersionArn: {}, - filters: { shape: "S3c" }, + filters: { shape: "S42" }, maxResults: { type: "integer" }, nextToken: {}, }, @@ -59213,7 +68825,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { requestId: {}, - imageSummaryList: { shape: "S3r" }, + imageSummaryList: { shape: "S4n" }, nextToken: {}, }, }, @@ -59225,7 +68837,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["imagePipelineArn"], members: { imagePipelineArn: {}, - filters: { shape: "S3c" }, + filters: { shape: "S42" }, maxResults: { type: "integer" }, nextToken: {}, }, @@ -59234,7 +68846,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { requestId: {}, - imageSummaryList: { shape: "S3r" }, + imageSummaryList: { shape: "S4n" }, nextToken: {}, }, }, @@ -59244,7 +68856,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - filters: { shape: "S3c" }, + filters: { shape: "S42" }, maxResults: { type: "integer" }, nextToken: {}, }, @@ -59253,7 +68865,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { requestId: {}, - imagePipelineList: { type: "list", member: { shape: "S2s" } }, + imagePipelineList: { type: "list", member: { shape: "S3h" } }, nextToken: {}, }, }, @@ -59264,7 +68876,7 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { owner: {}, - filters: { shape: "S3c" }, + filters: { shape: "S42" }, maxResults: { type: "integer" }, nextToken: {}, }, @@ -59284,7 +68896,7 @@ module.exports = /******/ (function (modules, runtime) { owner: {}, parentImage: {}, dateCreated: {}, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, }, }, }, @@ -59298,9 +68910,11 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", members: { owner: {}, - filters: { shape: "S3c" }, + filters: { shape: "S42" }, + byName: { type: "boolean" }, maxResults: { type: "integer" }, nextToken: {}, + includeDeprecated: { type: "boolean" }, }, }, output: { @@ -59314,8 +68928,10 @@ module.exports = /******/ (function (modules, runtime) { members: { arn: {}, name: {}, + type: {}, version: {}, platform: {}, + osVersion: {}, owner: {}, dateCreated: {}, }, @@ -59330,7 +68946,7 @@ module.exports = /******/ (function (modules, runtime) { input: { type: "structure", members: { - filters: { shape: "S3c" }, + filters: { shape: "S42" }, maxResults: { type: "integer" }, nextToken: {}, }, @@ -59349,7 +68965,8 @@ module.exports = /******/ (function (modules, runtime) { description: {}, dateCreated: {}, dateUpdated: {}, - tags: { shape: "Sc" }, + resourceTags: { shape: "S20" }, + tags: { shape: "Se" }, }, }, }, @@ -59366,7 +68983,7 @@ module.exports = /******/ (function (modules, runtime) { resourceArn: { location: "uri", locationName: "resourceArn" }, }, }, - output: { type: "structure", members: { tags: { shape: "Sc" } } }, + output: { type: "structure", members: { tags: { shape: "Se" } } }, }, PutComponentPolicy: { http: { method: "PUT", requestUri: "/PutComponentPolicy" }, @@ -59380,6 +68997,18 @@ module.exports = /******/ (function (modules, runtime) { members: { requestId: {}, componentArn: {} }, }, }, + PutContainerRecipePolicy: { + http: { method: "PUT", requestUri: "/PutContainerRecipePolicy" }, + input: { + type: "structure", + required: ["containerRecipeArn", "policy"], + members: { containerRecipeArn: {}, policy: {} }, + }, + output: { + type: "structure", + members: { requestId: {}, containerRecipeArn: {} }, + }, + }, PutImagePolicy: { http: { method: "PUT", requestUri: "/PutImagePolicy" }, input: { @@ -59430,7 +69059,7 @@ module.exports = /******/ (function (modules, runtime) { required: ["resourceArn", "tags"], members: { resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, }, }, output: { type: "structure", members: {} }, @@ -59467,7 +69096,7 @@ module.exports = /******/ (function (modules, runtime) { members: { distributionConfigurationArn: {}, description: {}, - distributions: { shape: "Si" }, + distributions: { shape: "Su" }, clientToken: { idempotencyToken: true }, }, }, @@ -59486,7 +69115,6 @@ module.exports = /******/ (function (modules, runtime) { type: "structure", required: [ "imagePipelineArn", - "imageRecipeArn", "infrastructureConfigurationArn", "clientToken", ], @@ -59494,10 +69122,12 @@ module.exports = /******/ (function (modules, runtime) { imagePipelineArn: {}, description: {}, imageRecipeArn: {}, + containerRecipeArn: {}, infrastructureConfigurationArn: {}, distributionConfigurationArn: {}, - imageTestsConfiguration: { shape: "Sw" }, - schedule: { shape: "S11" }, + imageTestsConfiguration: { shape: "S1a" }, + enhancedImageMetadataEnabled: { type: "boolean" }, + schedule: { shape: "S1f" }, status: {}, clientToken: { idempotencyToken: true }, }, @@ -59522,15 +69152,16 @@ module.exports = /******/ (function (modules, runtime) { members: { infrastructureConfigurationArn: {}, description: {}, - instanceTypes: { shape: "S1j" }, + instanceTypes: { shape: "S1u" }, instanceProfileName: {}, - securityGroupIds: { shape: "S1l" }, + securityGroupIds: { shape: "S1w" }, subnetId: {}, - logging: { shape: "S1m" }, + logging: { shape: "S1x" }, keyPair: {}, terminateInstanceOnFailure: { type: "boolean" }, snsTopicArn: {}, clientToken: { idempotencyToken: true }, + resourceTags: { shape: "S20" }, }, }, output: { @@ -59544,8 +69175,22 @@ module.exports = /******/ (function (modules, runtime) { }, }, shapes: { - Sc: { type: "map", key: {}, value: {} }, - Si: { + Sa: { type: "list", member: {} }, + Se: { type: "map", key: {}, value: {} }, + Sl: { + type: "list", + member: { + type: "structure", + required: ["componentArn"], + members: { componentArn: {} }, + }, + }, + Sp: { + type: "structure", + required: ["service", "repositoryName"], + members: { service: {}, repositoryName: {} }, + }, + Su: { type: "list", member: { type: "structure", @@ -59557,43 +69202,48 @@ module.exports = /******/ (function (modules, runtime) { members: { name: {}, description: {}, - amiTags: { shape: "Sc" }, + targetAccountIds: { shape: "Sy" }, + amiTags: { shape: "Se" }, + kmsKeyId: {}, launchPermission: { type: "structure", members: { - userIds: { type: "list", member: {} }, - userGroups: { type: "list", member: {} }, + userIds: { shape: "Sy" }, + userGroups: { shape: "S11" }, }, }, }, }, + containerDistributionConfiguration: { + type: "structure", + required: ["targetRepository"], + members: { + description: {}, + containerTags: { shape: "S11" }, + targetRepository: { shape: "Sp" }, + }, + }, licenseConfigurationArns: { type: "list", member: {} }, }, }, }, - Sw: { + Sy: { type: "list", member: {} }, + S11: { type: "list", member: {} }, + S1a: { type: "structure", members: { imageTestsEnabled: { type: "boolean" }, timeoutMinutes: { type: "integer" }, }, }, - S11: { + S1f: { type: "structure", members: { scheduleExpression: {}, pipelineExecutionStartCondition: {}, }, }, - S17: { - type: "list", - member: { - type: "structure", - required: ["componentArn"], - members: { componentArn: {} }, - }, - }, - S1a: { + S1l: { type: "list", member: { type: "structure", @@ -59616,9 +69266,9 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S1j: { type: "list", member: {} }, - S1l: { type: "list", member: {} }, - S1m: { + S1u: { type: "list", member: {} }, + S1w: { type: "list", member: {} }, + S1x: { type: "structure", members: { s3Logs: { @@ -59627,57 +69277,82 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - S2e: { + S20: { type: "map", key: {}, value: {} }, + S2s: { + type: "structure", + members: { + arn: {}, + containerType: {}, + name: {}, + description: {}, + platform: {}, + owner: {}, + version: {}, + components: { shape: "Sl" }, + dockerfileTemplateData: {}, + kmsKeyId: {}, + encrypted: { type: "boolean" }, + parentImage: {}, + dateCreated: {}, + tags: { shape: "Se" }, + workingDirectory: {}, + targetRepository: { shape: "Sp" }, + }, + }, + S2y: { type: "structure", required: ["timeoutMinutes"], members: { arn: {}, name: {}, description: {}, - distributions: { shape: "Si" }, + distributions: { shape: "Su" }, timeoutMinutes: { type: "integer" }, dateCreated: {}, dateUpdated: {}, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, }, }, - S2j: { type: "structure", members: { status: {}, reason: {} } }, - S2l: { + S35: { type: "structure", members: { status: {}, reason: {} } }, + S37: { type: "structure", members: { arn: {}, + type: {}, name: {}, description: {}, platform: {}, owner: {}, version: {}, - components: { shape: "S17" }, + components: { shape: "Sl" }, parentImage: {}, - blockDeviceMappings: { shape: "S1a" }, + blockDeviceMappings: { shape: "S1l" }, dateCreated: {}, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, + workingDirectory: {}, }, }, - S2m: { + S39: { type: "structure", members: { arn: {}, name: {}, description: {}, - instanceTypes: { shape: "S1j" }, + instanceTypes: { shape: "S1u" }, instanceProfileName: {}, - securityGroupIds: { shape: "S1l" }, + securityGroupIds: { shape: "S1w" }, subnetId: {}, - logging: { shape: "S1m" }, + logging: { shape: "S1x" }, keyPair: {}, terminateInstanceOnFailure: { type: "boolean" }, snsTopicArn: {}, dateCreated: {}, dateUpdated: {}, - tags: { shape: "Sc" }, + resourceTags: { shape: "S20" }, + tags: { shape: "Se" }, }, }, - S2n: { + S3a: { type: "structure", members: { amis: { @@ -59689,53 +69364,65 @@ module.exports = /******/ (function (modules, runtime) { image: {}, name: {}, description: {}, - state: { shape: "S2j" }, + state: { shape: "S35" }, + accountId: {}, }, }, }, + containers: { + type: "list", + member: { + type: "structure", + members: { region: {}, imageUris: { shape: "S11" } }, + }, + }, }, }, - S2s: { + S3h: { type: "structure", members: { arn: {}, name: {}, description: {}, platform: {}, + enhancedImageMetadataEnabled: { type: "boolean" }, imageRecipeArn: {}, + containerRecipeArn: {}, infrastructureConfigurationArn: {}, distributionConfigurationArn: {}, - imageTestsConfiguration: { shape: "Sw" }, - schedule: { shape: "S11" }, + imageTestsConfiguration: { shape: "S1a" }, + schedule: { shape: "S1f" }, status: {}, dateCreated: {}, dateUpdated: {}, dateLastRun: {}, dateNextRun: {}, - tags: { shape: "Sc" }, + tags: { shape: "Se" }, }, }, - S3c: { + S42: { type: "list", member: { type: "structure", members: { name: {}, values: { type: "list", member: {} } }, }, }, - S3r: { + S4n: { type: "list", member: { type: "structure", members: { arn: {}, name: {}, + type: {}, version: {}, platform: {}, - state: { shape: "S2j" }, + osVersion: {}, + state: { shape: "S35" }, owner: {}, dateCreated: {}, - outputResources: { shape: "S2n" }, - tags: { shape: "Sc" }, + outputResources: { shape: "S3a" }, + tags: { shape: "Se" }, }, }, }, @@ -59761,2417 +69448,1912 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 1879: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["lexruntime"] = {}; - AWS.LexRuntime = Service.defineService("lexruntime", ["2016-11-28"]); - Object.defineProperty(apiLoader.services["lexruntime"], "2016-11-28", { - get: function get() { - var model = __webpack_require__(1352); - model.paginators = __webpack_require__(2681).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.LexRuntime; - - /***/ - }, - - /***/ 1881: /***/ function (module, __unusedexports, __webpack_require__) { - // Unique ID creation requires a high quality random # generator. In node.js - // this is pretty straight-forward - we use the crypto API. - - var crypto = __webpack_require__(6417); - - module.exports = function nodeRNG() { - return crypto.randomBytes(16); - }; - - /***/ - }, - - /***/ 1885: /***/ function (__unusedmodule, exports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - "use strict"; - var bom, - defaults, - events, - isEmpty, - processItem, - processors, - sax, - setImmediate, - bind = function (fn, me) { - return function () { - return fn.apply(me, arguments); - }; - }, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; - }, - hasProp = {}.hasOwnProperty; - - sax = __webpack_require__(4645); - - events = __webpack_require__(8614); - - bom = __webpack_require__(6210); - - processors = __webpack_require__(5350); - - setImmediate = __webpack_require__(8213).setImmediate; - - defaults = __webpack_require__(1514).defaults; - - isEmpty = function (thing) { - return ( - typeof thing === "object" && - thing != null && - Object.keys(thing).length === 0 - ); - }; - - processItem = function (processors, item, key) { - var i, len, process; - for (i = 0, len = processors.length; i < len; i++) { - process = processors[i]; - item = process(item, key); - } - return item; - }; - - exports.Parser = (function (superClass) { - extend(Parser, superClass); - - function Parser(opts) { - this.parseString = bind(this.parseString, this); - this.reset = bind(this.reset, this); - this.assignOrPush = bind(this.assignOrPush, this); - this.processAsync = bind(this.processAsync, this); - var key, ref, value; - if (!(this instanceof exports.Parser)) { - return new exports.Parser(opts); - } - this.options = {}; - ref = defaults["0.2"]; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this.options[key] = value; - } - for (key in opts) { - if (!hasProp.call(opts, key)) continue; - value = opts[key]; - this.options[key] = value; - } - if (this.options.xmlns) { - this.options.xmlnskey = this.options.attrkey + "ns"; - } - if (this.options.normalizeTags) { - if (!this.options.tagNameProcessors) { - this.options.tagNameProcessors = []; - } - this.options.tagNameProcessors.unshift(processors.normalize); - } - this.reset(); - } - - Parser.prototype.processAsync = function () { - var chunk, err; - try { - if (this.remaining.length <= this.options.chunkSize) { - chunk = this.remaining; - this.remaining = ""; - this.saxParser = this.saxParser.write(chunk); - return this.saxParser.close(); - } else { - chunk = this.remaining.substr(0, this.options.chunkSize); - this.remaining = this.remaining.substr( - this.options.chunkSize, - this.remaining.length - ); - this.saxParser = this.saxParser.write(chunk); - return setImmediate(this.processAsync); - } - } catch (error1) { - err = error1; - if (!this.saxParser.errThrown) { - this.saxParser.errThrown = true; - return this.emit(err); - } - } - }; - - Parser.prototype.assignOrPush = function (obj, key, newValue) { - if (!(key in obj)) { - if (!this.options.explicitArray) { - return (obj[key] = newValue); - } else { - return (obj[key] = [newValue]); - } - } else { - if (!(obj[key] instanceof Array)) { - obj[key] = [obj[key]]; - } - return obj[key].push(newValue); - } - }; - - Parser.prototype.reset = function () { - var attrkey, charkey, ontext, stack; - this.removeAllListeners(); - this.saxParser = sax.parser(this.options.strict, { - trim: false, - normalize: false, - xmlns: this.options.xmlns, - }); - this.saxParser.errThrown = false; - this.saxParser.onerror = (function (_this) { - return function (error) { - _this.saxParser.resume(); - if (!_this.saxParser.errThrown) { - _this.saxParser.errThrown = true; - return _this.emit("error", error); - } - }; - })(this); - this.saxParser.onend = (function (_this) { - return function () { - if (!_this.saxParser.ended) { - _this.saxParser.ended = true; - return _this.emit("end", _this.resultObject); - } - }; - })(this); - this.saxParser.ended = false; - this.EXPLICIT_CHARKEY = this.options.explicitCharkey; - this.resultObject = null; - stack = []; - attrkey = this.options.attrkey; - charkey = this.options.charkey; - this.saxParser.onopentag = (function (_this) { - return function (node) { - var key, newValue, obj, processedKey, ref; - obj = {}; - obj[charkey] = ""; - if (!_this.options.ignoreAttrs) { - ref = node.attributes; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - if (!(attrkey in obj) && !_this.options.mergeAttrs) { - obj[attrkey] = {}; - } - newValue = _this.options.attrValueProcessors - ? processItem( - _this.options.attrValueProcessors, - node.attributes[key], - key - ) - : node.attributes[key]; - processedKey = _this.options.attrNameProcessors - ? processItem(_this.options.attrNameProcessors, key) - : key; - if (_this.options.mergeAttrs) { - _this.assignOrPush(obj, processedKey, newValue); - } else { - obj[attrkey][processedKey] = newValue; - } - } - } - obj["#name"] = _this.options.tagNameProcessors - ? processItem(_this.options.tagNameProcessors, node.name) - : node.name; - if (_this.options.xmlns) { - obj[_this.options.xmlnskey] = { - uri: node.uri, - local: node.local, - }; - } - return stack.push(obj); - }; - })(this); - this.saxParser.onclosetag = (function (_this) { - return function () { - var cdata, - emptyStr, - key, - node, - nodeName, - obj, - objClone, - old, - s, - xpath; - obj = stack.pop(); - nodeName = obj["#name"]; - if ( - !_this.options.explicitChildren || - !_this.options.preserveChildrenOrder - ) { - delete obj["#name"]; - } - if (obj.cdata === true) { - cdata = obj.cdata; - delete obj.cdata; - } - s = stack[stack.length - 1]; - if (obj[charkey].match(/^\s*$/) && !cdata) { - emptyStr = obj[charkey]; - delete obj[charkey]; - } else { - if (_this.options.trim) { - obj[charkey] = obj[charkey].trim(); - } - if (_this.options.normalize) { - obj[charkey] = obj[charkey].replace(/\s{2,}/g, " ").trim(); - } - obj[charkey] = _this.options.valueProcessors - ? processItem( - _this.options.valueProcessors, - obj[charkey], - nodeName - ) - : obj[charkey]; - if ( - Object.keys(obj).length === 1 && - charkey in obj && - !_this.EXPLICIT_CHARKEY - ) { - obj = obj[charkey]; - } - } - if (isEmpty(obj)) { - obj = - _this.options.emptyTag !== "" - ? _this.options.emptyTag - : emptyStr; - } - if (_this.options.validator != null) { - xpath = - "/" + - (function () { - var i, len, results; - results = []; - for (i = 0, len = stack.length; i < len; i++) { - node = stack[i]; - results.push(node["#name"]); - } - return results; - })() - .concat(nodeName) - .join("/"); - (function () { - var err; - try { - return (obj = _this.options.validator( - xpath, - s && s[nodeName], - obj - )); - } catch (error1) { - err = error1; - return _this.emit("error", err); - } - })(); - } - if ( - _this.options.explicitChildren && - !_this.options.mergeAttrs && - typeof obj === "object" - ) { - if (!_this.options.preserveChildrenOrder) { - node = {}; - if (_this.options.attrkey in obj) { - node[_this.options.attrkey] = obj[_this.options.attrkey]; - delete obj[_this.options.attrkey]; - } - if ( - !_this.options.charsAsChildren && - _this.options.charkey in obj - ) { - node[_this.options.charkey] = obj[_this.options.charkey]; - delete obj[_this.options.charkey]; - } - if (Object.getOwnPropertyNames(obj).length > 0) { - node[_this.options.childkey] = obj; - } - obj = node; - } else if (s) { - s[_this.options.childkey] = s[_this.options.childkey] || []; - objClone = {}; - for (key in obj) { - if (!hasProp.call(obj, key)) continue; - objClone[key] = obj[key]; - } - s[_this.options.childkey].push(objClone); - delete obj["#name"]; - if ( - Object.keys(obj).length === 1 && - charkey in obj && - !_this.EXPLICIT_CHARKEY - ) { - obj = obj[charkey]; - } - } - } - if (stack.length > 0) { - return _this.assignOrPush(s, nodeName, obj); - } else { - if (_this.options.explicitRoot) { - old = obj; - obj = {}; - obj[nodeName] = old; - } - _this.resultObject = obj; - _this.saxParser.ended = true; - return _this.emit("end", _this.resultObject); - } - }; - })(this); - ontext = (function (_this) { - return function (text) { - var charChild, s; - s = stack[stack.length - 1]; - if (s) { - s[charkey] += text; - if ( - _this.options.explicitChildren && - _this.options.preserveChildrenOrder && - _this.options.charsAsChildren && - (_this.options.includeWhiteChars || - text.replace(/\\n/g, "").trim() !== "") - ) { - s[_this.options.childkey] = s[_this.options.childkey] || []; - charChild = { - "#name": "__text__", - }; - charChild[charkey] = text; - if (_this.options.normalize) { - charChild[charkey] = charChild[charkey] - .replace(/\s{2,}/g, " ") - .trim(); - } - s[_this.options.childkey].push(charChild); - } - return s; - } - }; - })(this); - this.saxParser.ontext = ontext; - return (this.saxParser.oncdata = (function (_this) { - return function (text) { - var s; - s = ontext(text); - if (s) { - return (s.cdata = true); - } - }; - })(this)); - }; - - Parser.prototype.parseString = function (str, cb) { - var err; - if (cb != null && typeof cb === "function") { - this.on("end", function (result) { - this.reset(); - return cb(null, result); - }); - this.on("error", function (err) { - this.reset(); - return cb(err); - }); - } - try { - str = str.toString(); - if (str.trim() === "") { - this.emit("end", null); - return true; - } - str = bom.stripBOM(str); - if (this.options.async) { - this.remaining = str; - setImmediate(this.processAsync); - return this.saxParser; - } - return this.saxParser.write(str).close(); - } catch (error1) { - err = error1; - if (!(this.saxParser.errThrown || this.saxParser.ended)) { - this.emit("error", err); - return (this.saxParser.errThrown = true); - } else if (this.saxParser.ended) { - throw err; - } - } - }; - - return Parser; - })(events.EventEmitter); - - exports.parseString = function (str, a, b) { - var cb, options, parser; - if (b != null) { - if (typeof b === "function") { - cb = b; - } - if (typeof a === "object") { - options = a; - } - } else { - if (typeof a === "function") { - cb = a; - } - options = {}; - } - parser = new exports.Parser(options); - return parser.parseString(str, cb); - }; - }.call(this)); - - /***/ - }, - - /***/ 1890: /***/ function (module) { + /***/ 1872: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2018-01-12", - endpointPrefix: "dlm", + apiVersion: "2019-12-02", + endpointPrefix: "iotsitewise", jsonVersion: "1.1", protocol: "rest-json", - serviceAbbreviation: "Amazon DLM", - serviceFullName: "Amazon Data Lifecycle Manager", - serviceId: "DLM", + serviceFullName: "AWS IoT SiteWise", + serviceId: "IoTSiteWise", signatureVersion: "v4", - signingName: "dlm", - uid: "dlm-2018-01-12", + signingName: "iotsitewise", + uid: "iotsitewise-2019-12-02", }, operations: { - CreateLifecyclePolicy: { - http: { requestUri: "/policies" }, + AssociateAssets: { + http: { requestUri: "/assets/{assetId}/associate" }, input: { type: "structure", - required: [ - "ExecutionRoleArn", - "Description", - "State", - "PolicyDetails", - ], + required: ["assetId", "hierarchyId", "childAssetId"], members: { - ExecutionRoleArn: {}, - Description: {}, - State: {}, - PolicyDetails: { shape: "S5" }, - Tags: { shape: "S12" }, + assetId: { location: "uri", locationName: "assetId" }, + hierarchyId: {}, + childAssetId: {}, + clientToken: { idempotencyToken: true }, }, }, - output: { type: "structure", members: { PolicyId: {} } }, + endpoint: { hostPrefix: "model." }, }, - DeleteLifecyclePolicy: { - http: { method: "DELETE", requestUri: "/policies/{policyId}/" }, + BatchAssociateProjectAssets: { + http: { + requestUri: "/projects/{projectId}/assets/associate", + responseCode: 200, + }, input: { type: "structure", - required: ["PolicyId"], + required: ["projectId", "assetIds"], members: { - PolicyId: { location: "uri", locationName: "policyId" }, + projectId: { location: "uri", locationName: "projectId" }, + assetIds: { shape: "S5" }, + clientToken: { idempotencyToken: true }, }, }, - output: { type: "structure", members: {} }, + output: { + type: "structure", + members: { errors: { type: "list", member: { shape: "S8" } } }, + }, + endpoint: { hostPrefix: "monitor." }, }, - GetLifecyclePolicies: { - http: { method: "GET", requestUri: "/policies" }, + BatchDisassociateProjectAssets: { + http: { + requestUri: "/projects/{projectId}/assets/disassociate", + responseCode: 200, + }, input: { type: "structure", + required: ["projectId", "assetIds"], members: { - PolicyIds: { - location: "querystring", - locationName: "policyIds", - type: "list", - member: {}, - }, - State: { location: "querystring", locationName: "state" }, - ResourceTypes: { - shape: "S7", - location: "querystring", - locationName: "resourceTypes", - }, - TargetTags: { - location: "querystring", - locationName: "targetTags", - type: "list", - member: {}, - }, - TagsToAdd: { - location: "querystring", - locationName: "tagsToAdd", + projectId: { location: "uri", locationName: "projectId" }, + assetIds: { shape: "S5" }, + clientToken: { idempotencyToken: true }, + }, + }, + output: { + type: "structure", + members: { errors: { type: "list", member: { shape: "S8" } } }, + }, + endpoint: { hostPrefix: "monitor." }, + }, + BatchPutAssetPropertyValue: { + http: { requestUri: "/properties" }, + input: { + type: "structure", + required: ["entries"], + members: { + entries: { type: "list", - member: {}, + member: { + type: "structure", + required: ["entryId", "propertyValues"], + members: { + entryId: {}, + assetId: {}, + propertyId: {}, + propertyAlias: {}, + propertyValues: { type: "list", member: { shape: "Sk" } }, + }, + }, }, }, }, output: { type: "structure", + required: ["errorEntries"], members: { - Policies: { + errorEntries: { type: "list", member: { type: "structure", + required: ["entryId", "errors"], members: { - PolicyId: {}, - Description: {}, - State: {}, - Tags: { shape: "S12" }, + entryId: {}, + errors: { + type: "list", + member: { + type: "structure", + required: ["errorCode", "errorMessage", "timestamps"], + members: { + errorCode: {}, + errorMessage: {}, + timestamps: { + type: "list", + member: { shape: "Sq" }, + }, + }, + }, + }, }, }, }, }, }, + endpoint: { hostPrefix: "data." }, }, - GetLifecyclePolicy: { - http: { method: "GET", requestUri: "/policies/{policyId}/" }, + CreateAccessPolicy: { + http: { requestUri: "/access-policies", responseCode: 201 }, input: { type: "structure", - required: ["PolicyId"], + required: [ + "accessPolicyIdentity", + "accessPolicyResource", + "accessPolicyPermission", + ], members: { - PolicyId: { location: "uri", locationName: "policyId" }, + accessPolicyIdentity: { shape: "S13" }, + accessPolicyResource: { shape: "S19" }, + accessPolicyPermission: {}, + clientToken: { idempotencyToken: true }, + tags: { shape: "S1d" }, }, }, output: { type: "structure", - members: { - Policy: { - type: "structure", - members: { - PolicyId: {}, - Description: {}, - State: {}, - StatusMessage: {}, - ExecutionRoleArn: {}, - DateCreated: { shape: "S1m" }, - DateModified: { shape: "S1m" }, - PolicyDetails: { shape: "S5" }, - Tags: { shape: "S12" }, - PolicyArn: {}, - }, - }, - }, + required: ["accessPolicyId", "accessPolicyArn"], + members: { accessPolicyId: {}, accessPolicyArn: {} }, }, + endpoint: { hostPrefix: "monitor." }, }, - ListTagsForResource: { - http: { method: "GET", requestUri: "/tags/{resourceArn}" }, + CreateAsset: { + http: { requestUri: "/assets", responseCode: 202 }, input: { type: "structure", - required: ["ResourceArn"], + required: ["assetName", "assetModelId"], members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, + assetName: {}, + assetModelId: {}, + clientToken: { idempotencyToken: true }, + tags: { shape: "S1d" }, }, }, - output: { type: "structure", members: { Tags: { shape: "S12" } } }, - }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, - input: { + output: { type: "structure", - required: ["ResourceArn", "Tags"], + required: ["assetId", "assetArn", "assetStatus"], members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - Tags: { shape: "S12" }, + assetId: {}, + assetArn: {}, + assetStatus: { shape: "S1k" }, }, }, - output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "model." }, }, - UntagResource: { - http: { method: "DELETE", requestUri: "/tags/{resourceArn}" }, + CreateAssetModel: { + http: { requestUri: "/asset-models", responseCode: 202 }, input: { type: "structure", - required: ["ResourceArn", "TagKeys"], + required: ["assetModelName"], members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - TagKeys: { - location: "querystring", - locationName: "tagKeys", + assetModelName: {}, + assetModelDescription: {}, + assetModelProperties: { shape: "S1q" }, + assetModelHierarchies: { type: "list", - member: {}, + member: { + type: "structure", + required: ["name", "childAssetModelId"], + members: { name: {}, childAssetModelId: {} }, + }, + }, + assetModelCompositeModels: { + type: "list", + member: { + type: "structure", + required: ["name", "type"], + members: { + name: {}, + description: {}, + type: {}, + properties: { shape: "S1q" }, + }, + }, }, + clientToken: { idempotencyToken: true }, + tags: { shape: "S1d" }, }, }, - output: { type: "structure", members: {} }, - }, - UpdateLifecyclePolicy: { - http: { method: "PATCH", requestUri: "/policies/{policyId}" }, - input: { + output: { type: "structure", - required: ["PolicyId"], + required: ["assetModelId", "assetModelArn", "assetModelStatus"], members: { - PolicyId: { location: "uri", locationName: "policyId" }, - ExecutionRoleArn: {}, - State: {}, - Description: {}, - PolicyDetails: { shape: "S5" }, + assetModelId: {}, + assetModelArn: {}, + assetModelStatus: { shape: "S2e" }, }, }, - output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "model." }, }, - }, - shapes: { - S5: { - type: "structure", - members: { - PolicyType: {}, - ResourceTypes: { shape: "S7" }, - TargetTags: { type: "list", member: { shape: "Sa" } }, - Schedules: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - CopyTags: { type: "boolean" }, - TagsToAdd: { type: "list", member: { shape: "Sa" } }, - VariableTags: { type: "list", member: { shape: "Sa" } }, - CreateRule: { - type: "structure", - required: ["Interval", "IntervalUnit"], - members: { - Interval: { type: "integer" }, - IntervalUnit: {}, - Times: { type: "list", member: {} }, - }, - }, - RetainRule: { - type: "structure", - members: { - Count: { type: "integer" }, - Interval: { type: "integer" }, - IntervalUnit: {}, - }, - }, - FastRestoreRule: { - type: "structure", - required: ["AvailabilityZones"], - members: { - Count: { type: "integer" }, - Interval: { type: "integer" }, - IntervalUnit: {}, - AvailabilityZones: { type: "list", member: {} }, - }, - }, - CrossRegionCopyRules: { - type: "list", - member: { - type: "structure", - required: ["TargetRegion", "Encrypted"], - members: { - TargetRegion: {}, - Encrypted: { type: "boolean" }, - CmkArn: {}, - CopyTags: { type: "boolean" }, - RetainRule: { - type: "structure", - members: { - Interval: { type: "integer" }, - IntervalUnit: {}, - }, - }, - }, - }, - }, - }, - }, - }, - Parameters: { - type: "structure", - members: { ExcludeBootVolume: { type: "boolean" } }, + CreateDashboard: { + http: { requestUri: "/dashboards", responseCode: 201 }, + input: { + type: "structure", + required: ["projectId", "dashboardName", "dashboardDefinition"], + members: { + projectId: {}, + dashboardName: {}, + dashboardDescription: {}, + dashboardDefinition: {}, + clientToken: { idempotencyToken: true }, + tags: { shape: "S1d" }, }, }, + output: { + type: "structure", + required: ["dashboardId", "dashboardArn"], + members: { dashboardId: {}, dashboardArn: {} }, + }, + endpoint: { hostPrefix: "monitor." }, }, - S7: { type: "list", member: {} }, - Sa: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - S12: { type: "map", key: {}, value: {} }, - S1m: { type: "timestamp", timestampFormat: "iso8601" }, - }, - }; - - /***/ - }, - - /***/ 1894: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-03-01", - endpointPrefix: "fsx", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon FSx", - serviceId: "FSx", - signatureVersion: "v4", - signingName: "fsx", - targetPrefix: "AWSSimbaAPIService_v20180301", - uid: "fsx-2018-03-01", - }, - operations: { - CancelDataRepositoryTask: { + CreateGateway: { + http: { requestUri: "/20200301/gateways", responseCode: 201 }, input: { type: "structure", - required: ["TaskId"], - members: { TaskId: {} }, + required: ["gatewayName", "gatewayPlatform"], + members: { + gatewayName: {}, + gatewayPlatform: { shape: "S2k" }, + tags: { shape: "S1d" }, + }, }, output: { type: "structure", - members: { Lifecycle: {}, TaskId: {} }, + required: ["gatewayId", "gatewayArn"], + members: { gatewayId: {}, gatewayArn: {} }, }, - idempotent: true, + endpoint: { hostPrefix: "edge." }, }, - CreateBackup: { + CreatePortal: { + http: { requestUri: "/portals", responseCode: 202 }, input: { type: "structure", - required: ["FileSystemId"], + required: ["portalName", "portalContactEmail", "roleArn"], members: { - FileSystemId: {}, - ClientRequestToken: { idempotencyToken: true }, - Tags: { shape: "S8" }, + portalName: {}, + portalDescription: {}, + portalContactEmail: {}, + clientToken: { idempotencyToken: true }, + portalLogoImageFile: { shape: "S2p" }, + roleArn: {}, + tags: { shape: "S1d" }, + portalAuthMode: {}, }, }, - output: { type: "structure", members: { Backup: { shape: "Sd" } } }, - idempotent: true, + output: { + type: "structure", + required: [ + "portalId", + "portalArn", + "portalStartUrl", + "portalStatus", + "ssoApplicationId", + ], + members: { + portalId: {}, + portalArn: {}, + portalStartUrl: {}, + portalStatus: { shape: "S2v" }, + ssoApplicationId: {}, + }, + }, + endpoint: { hostPrefix: "monitor." }, }, - CreateDataRepositoryTask: { + CreateProject: { + http: { requestUri: "/projects", responseCode: 201 }, input: { type: "structure", - required: ["Type", "FileSystemId", "Report"], + required: ["portalId", "projectName"], members: { - Type: {}, - Paths: { shape: "S1r" }, - FileSystemId: {}, - Report: { shape: "S1t" }, - ClientRequestToken: { idempotencyToken: true }, - Tags: { shape: "S8" }, + portalId: {}, + projectName: {}, + projectDescription: {}, + clientToken: { idempotencyToken: true }, + tags: { shape: "S1d" }, }, }, output: { type: "structure", - members: { DataRepositoryTask: { shape: "S1x" } }, + required: ["projectId", "projectArn"], + members: { projectId: {}, projectArn: {} }, }, - idempotent: true, + endpoint: { hostPrefix: "monitor." }, }, - CreateFileSystem: { + DeleteAccessPolicy: { + http: { + method: "DELETE", + requestUri: "/access-policies/{accessPolicyId}", + responseCode: 204, + }, input: { type: "structure", - required: ["FileSystemType", "StorageCapacity", "SubnetIds"], + required: ["accessPolicyId"], members: { - ClientRequestToken: { idempotencyToken: true }, - FileSystemType: {}, - StorageCapacity: { type: "integer" }, - StorageType: {}, - SubnetIds: { shape: "Sv" }, - SecurityGroupIds: { shape: "S27" }, - Tags: { shape: "S8" }, - KmsKeyId: {}, - WindowsConfiguration: { shape: "S29" }, - LustreConfiguration: { - type: "structure", - members: { - WeeklyMaintenanceStartTime: {}, - ImportPath: {}, - ExportPath: {}, - ImportedFileChunkSize: { type: "integer" }, - DeploymentType: {}, - PerUnitStorageThroughput: { type: "integer" }, - }, + accessPolicyId: { + location: "uri", + locationName: "accessPolicyId", + }, + clientToken: { + idempotencyToken: true, + location: "querystring", + locationName: "clientToken", + }, + }, + }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "monitor." }, + }, + DeleteAsset: { + http: { + method: "DELETE", + requestUri: "/assets/{assetId}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["assetId"], + members: { + assetId: { location: "uri", locationName: "assetId" }, + clientToken: { + idempotencyToken: true, + location: "querystring", + locationName: "clientToken", }, }, }, output: { type: "structure", - members: { FileSystem: { shape: "Sn" } }, + required: ["assetStatus"], + members: { assetStatus: { shape: "S1k" } }, }, + endpoint: { hostPrefix: "model." }, }, - CreateFileSystemFromBackup: { + DeleteAssetModel: { + http: { + method: "DELETE", + requestUri: "/asset-models/{assetModelId}", + responseCode: 202, + }, input: { type: "structure", - required: ["BackupId", "SubnetIds"], + required: ["assetModelId"], members: { - BackupId: {}, - ClientRequestToken: { idempotencyToken: true }, - SubnetIds: { shape: "Sv" }, - SecurityGroupIds: { shape: "S27" }, - Tags: { shape: "S8" }, - WindowsConfiguration: { shape: "S29" }, - StorageType: {}, + assetModelId: { location: "uri", locationName: "assetModelId" }, + clientToken: { + idempotencyToken: true, + location: "querystring", + locationName: "clientToken", + }, }, }, output: { type: "structure", - members: { FileSystem: { shape: "Sn" } }, + required: ["assetModelStatus"], + members: { assetModelStatus: { shape: "S2e" } }, }, + endpoint: { hostPrefix: "model." }, }, - DeleteBackup: { + DeleteDashboard: { + http: { + method: "DELETE", + requestUri: "/dashboards/{dashboardId}", + responseCode: 204, + }, input: { type: "structure", - required: ["BackupId"], + required: ["dashboardId"], members: { - BackupId: {}, - ClientRequestToken: { idempotencyToken: true }, + dashboardId: { location: "uri", locationName: "dashboardId" }, + clientToken: { + idempotencyToken: true, + location: "querystring", + locationName: "clientToken", + }, }, }, - output: { + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "monitor." }, + }, + DeleteGateway: { + http: { + method: "DELETE", + requestUri: "/20200301/gateways/{gatewayId}", + }, + input: { type: "structure", - members: { BackupId: {}, Lifecycle: {} }, + required: ["gatewayId"], + members: { + gatewayId: { location: "uri", locationName: "gatewayId" }, + }, }, - idempotent: true, + endpoint: { hostPrefix: "edge." }, }, - DeleteFileSystem: { + DeletePortal: { + http: { + method: "DELETE", + requestUri: "/portals/{portalId}", + responseCode: 202, + }, input: { type: "structure", - required: ["FileSystemId"], + required: ["portalId"], members: { - FileSystemId: {}, - ClientRequestToken: { idempotencyToken: true }, - WindowsConfiguration: { - type: "structure", - members: { - SkipFinalBackup: { type: "boolean" }, - FinalBackupTags: { shape: "S8" }, - }, + portalId: { location: "uri", locationName: "portalId" }, + clientToken: { + idempotencyToken: true, + location: "querystring", + locationName: "clientToken", }, }, }, output: { type: "structure", + required: ["portalStatus"], + members: { portalStatus: { shape: "S2v" } }, + }, + endpoint: { hostPrefix: "monitor." }, + }, + DeleteProject: { + http: { + method: "DELETE", + requestUri: "/projects/{projectId}", + responseCode: 204, + }, + input: { + type: "structure", + required: ["projectId"], members: { - FileSystemId: {}, - Lifecycle: {}, - WindowsResponse: { - type: "structure", - members: { - FinalBackupId: {}, - FinalBackupTags: { shape: "S8" }, - }, + projectId: { location: "uri", locationName: "projectId" }, + clientToken: { + idempotencyToken: true, + location: "querystring", + locationName: "clientToken", }, }, }, - idempotent: true, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "monitor." }, }, - DescribeBackups: { + DescribeAccessPolicy: { + http: { + method: "GET", + requestUri: "/access-policies/{accessPolicyId}", + responseCode: 200, + }, input: { type: "structure", + required: ["accessPolicyId"], members: { - BackupIds: { type: "list", member: {} }, - Filters: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Values: { type: "list", member: {} } }, - }, + accessPolicyId: { + location: "uri", + locationName: "accessPolicyId", }, - MaxResults: { type: "integer" }, - NextToken: {}, }, }, output: { type: "structure", + required: [ + "accessPolicyId", + "accessPolicyArn", + "accessPolicyIdentity", + "accessPolicyResource", + "accessPolicyPermission", + "accessPolicyCreationDate", + "accessPolicyLastUpdateDate", + ], members: { - Backups: { type: "list", member: { shape: "Sd" } }, - NextToken: {}, + accessPolicyId: {}, + accessPolicyArn: {}, + accessPolicyIdentity: { shape: "S13" }, + accessPolicyResource: { shape: "S19" }, + accessPolicyPermission: {}, + accessPolicyCreationDate: { type: "timestamp" }, + accessPolicyLastUpdateDate: { type: "timestamp" }, }, }, + endpoint: { hostPrefix: "monitor." }, }, - DescribeDataRepositoryTasks: { + DescribeAsset: { + http: { method: "GET", requestUri: "/assets/{assetId}" }, input: { type: "structure", + required: ["assetId"], members: { - TaskIds: { type: "list", member: {} }, - Filters: { + assetId: { location: "uri", locationName: "assetId" }, + }, + }, + output: { + type: "structure", + required: [ + "assetId", + "assetArn", + "assetName", + "assetModelId", + "assetProperties", + "assetHierarchies", + "assetCreationDate", + "assetLastUpdateDate", + "assetStatus", + ], + members: { + assetId: {}, + assetArn: {}, + assetName: {}, + assetModelId: {}, + assetProperties: { shape: "S3l" }, + assetHierarchies: { shape: "S3r" }, + assetCompositeModels: { type: "list", member: { type: "structure", - members: { Name: {}, Values: { type: "list", member: {} } }, + required: ["name", "type", "properties"], + members: { + name: {}, + description: {}, + type: {}, + properties: { shape: "S3l" }, + }, }, }, - MaxResults: { type: "integer" }, - NextToken: {}, + assetCreationDate: { type: "timestamp" }, + assetLastUpdateDate: { type: "timestamp" }, + assetStatus: { shape: "S1k" }, + }, + }, + endpoint: { hostPrefix: "model." }, + }, + DescribeAssetModel: { + http: { method: "GET", requestUri: "/asset-models/{assetModelId}" }, + input: { + type: "structure", + required: ["assetModelId"], + members: { + assetModelId: { location: "uri", locationName: "assetModelId" }, }, }, output: { type: "structure", + required: [ + "assetModelId", + "assetModelArn", + "assetModelName", + "assetModelDescription", + "assetModelProperties", + "assetModelHierarchies", + "assetModelCreationDate", + "assetModelLastUpdateDate", + "assetModelStatus", + ], members: { - DataRepositoryTasks: { type: "list", member: { shape: "S1x" } }, - NextToken: {}, + assetModelId: {}, + assetModelArn: {}, + assetModelName: {}, + assetModelDescription: {}, + assetModelProperties: { shape: "S3x" }, + assetModelHierarchies: { shape: "S3z" }, + assetModelCompositeModels: { shape: "S41" }, + assetModelCreationDate: { type: "timestamp" }, + assetModelLastUpdateDate: { type: "timestamp" }, + assetModelStatus: { shape: "S2e" }, }, }, + endpoint: { hostPrefix: "model." }, }, - DescribeFileSystems: { + DescribeAssetProperty: { + http: { + method: "GET", + requestUri: "/assets/{assetId}/properties/{propertyId}", + }, input: { type: "structure", + required: ["assetId", "propertyId"], members: { - FileSystemIds: { type: "list", member: {} }, - MaxResults: { type: "integer" }, - NextToken: {}, + assetId: { location: "uri", locationName: "assetId" }, + propertyId: { location: "uri", locationName: "propertyId" }, }, }, output: { type: "structure", + required: ["assetId", "assetName", "assetModelId"], members: { - FileSystems: { type: "list", member: { shape: "Sn" } }, - NextToken: {}, + assetId: {}, + assetName: {}, + assetModelId: {}, + assetProperty: { shape: "S45" }, + compositeModel: { + type: "structure", + required: ["name", "type", "assetProperty"], + members: { + name: {}, + type: {}, + assetProperty: { shape: "S45" }, + }, + }, }, }, + endpoint: { hostPrefix: "model." }, }, - ListTagsForResource: { + DescribeDashboard: { + http: { + method: "GET", + requestUri: "/dashboards/{dashboardId}", + responseCode: 200, + }, input: { type: "structure", - required: ["ResourceARN"], + required: ["dashboardId"], members: { - ResourceARN: {}, - MaxResults: { type: "integer" }, - NextToken: {}, + dashboardId: { location: "uri", locationName: "dashboardId" }, }, }, output: { type: "structure", - members: { Tags: { shape: "S8" }, NextToken: {} }, + required: [ + "dashboardId", + "dashboardArn", + "dashboardName", + "projectId", + "dashboardDefinition", + "dashboardCreationDate", + "dashboardLastUpdateDate", + ], + members: { + dashboardId: {}, + dashboardArn: {}, + dashboardName: {}, + projectId: {}, + dashboardDescription: {}, + dashboardDefinition: {}, + dashboardCreationDate: { type: "timestamp" }, + dashboardLastUpdateDate: { type: "timestamp" }, + }, }, + endpoint: { hostPrefix: "monitor." }, }, - TagResource: { - input: { + DescribeDefaultEncryptionConfiguration: { + http: { + method: "GET", + requestUri: "/configuration/account/encryption", + }, + input: { type: "structure", members: {} }, + output: { type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S8" } }, + required: ["encryptionType", "configurationStatus"], + members: { + encryptionType: {}, + kmsKeyArn: {}, + configurationStatus: { shape: "S4c" }, + }, }, - output: { type: "structure", members: {} }, - idempotent: true, }, - UntagResource: { + DescribeGateway: { + http: { + method: "GET", + requestUri: "/20200301/gateways/{gatewayId}", + }, input: { type: "structure", - required: ["ResourceARN", "TagKeys"], + required: ["gatewayId"], members: { - ResourceARN: {}, - TagKeys: { type: "list", member: {} }, + gatewayId: { location: "uri", locationName: "gatewayId" }, }, }, - output: { type: "structure", members: {} }, - idempotent: true, + output: { + type: "structure", + required: [ + "gatewayId", + "gatewayName", + "gatewayArn", + "gatewayCapabilitySummaries", + "creationDate", + "lastUpdateDate", + ], + members: { + gatewayId: {}, + gatewayName: {}, + gatewayArn: {}, + gatewayPlatform: { shape: "S2k" }, + gatewayCapabilitySummaries: { shape: "S4h" }, + creationDate: { type: "timestamp" }, + lastUpdateDate: { type: "timestamp" }, + }, + }, + endpoint: { hostPrefix: "edge." }, }, - UpdateFileSystem: { + DescribeGatewayCapabilityConfiguration: { + http: { + method: "GET", + requestUri: + "/20200301/gateways/{gatewayId}/capability/{capabilityNamespace}", + }, input: { type: "structure", - required: ["FileSystemId"], + required: ["gatewayId", "capabilityNamespace"], members: { - FileSystemId: {}, - ClientRequestToken: { idempotencyToken: true }, - WindowsConfiguration: { - type: "structure", - members: { - WeeklyMaintenanceStartTime: {}, - DailyAutomaticBackupStartTime: {}, - AutomaticBackupRetentionDays: { type: "integer" }, - SelfManagedActiveDirectoryConfiguration: { - type: "structure", - members: { - UserName: {}, - Password: { shape: "S2b" }, - DnsIps: { shape: "S17" }, - }, - }, - }, - }, - LustreConfiguration: { - type: "structure", - members: { WeeklyMaintenanceStartTime: {} }, + gatewayId: { location: "uri", locationName: "gatewayId" }, + capabilityNamespace: { + location: "uri", + locationName: "capabilityNamespace", }, }, }, output: { type: "structure", - members: { FileSystem: { shape: "Sn" } }, - }, - }, - }, - shapes: { - S8: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, - }, - Sd: { - type: "structure", - required: [ - "BackupId", - "Lifecycle", - "Type", - "CreationTime", - "FileSystem", - ], - members: { - BackupId: {}, - Lifecycle: {}, - FailureDetails: { type: "structure", members: { Message: {} } }, - Type: {}, - ProgressPercent: { type: "integer" }, - CreationTime: { type: "timestamp" }, - KmsKeyId: {}, - ResourceARN: {}, - Tags: { shape: "S8" }, - FileSystem: { shape: "Sn" }, - DirectoryInformation: { - type: "structure", - members: { DomainName: {}, ActiveDirectoryId: {} }, - }, - }, - }, - Sn: { - type: "structure", - members: { - OwnerId: {}, - CreationTime: { type: "timestamp" }, - FileSystemId: {}, - FileSystemType: {}, - Lifecycle: {}, - FailureDetails: { type: "structure", members: { Message: {} } }, - StorageCapacity: { type: "integer" }, - StorageType: {}, - VpcId: {}, - SubnetIds: { shape: "Sv" }, - NetworkInterfaceIds: { type: "list", member: {} }, - DNSName: {}, - KmsKeyId: {}, - ResourceARN: {}, - Tags: { shape: "S8" }, - WindowsConfiguration: { - type: "structure", - members: { - ActiveDirectoryId: {}, - SelfManagedActiveDirectoryConfiguration: { - type: "structure", - members: { - DomainName: {}, - OrganizationalUnitDistinguishedName: {}, - FileSystemAdministratorsGroup: {}, - UserName: {}, - DnsIps: { shape: "S17" }, - }, - }, - DeploymentType: {}, - RemoteAdministrationEndpoint: {}, - PreferredSubnetId: {}, - PreferredFileServerIp: {}, - ThroughputCapacity: { type: "integer" }, - MaintenanceOperationsInProgress: { type: "list", member: {} }, - WeeklyMaintenanceStartTime: {}, - DailyAutomaticBackupStartTime: {}, - AutomaticBackupRetentionDays: { type: "integer" }, - CopyTagsToBackups: { type: "boolean" }, - }, - }, - LustreConfiguration: { - type: "structure", - members: { - WeeklyMaintenanceStartTime: {}, - DataRepositoryConfiguration: { - type: "structure", - members: { - ImportPath: {}, - ExportPath: {}, - ImportedFileChunkSize: { type: "integer" }, - }, - }, - DeploymentType: {}, - PerUnitStorageThroughput: { type: "integer" }, - MountName: {}, - }, + required: [ + "gatewayId", + "capabilityNamespace", + "capabilityConfiguration", + "capabilitySyncStatus", + ], + members: { + gatewayId: {}, + capabilityNamespace: {}, + capabilityConfiguration: {}, + capabilitySyncStatus: {}, }, }, + endpoint: { hostPrefix: "edge." }, }, - Sv: { type: "list", member: {} }, - S17: { type: "list", member: {} }, - S1r: { type: "list", member: {} }, - S1t: { - type: "structure", - required: ["Enabled"], - members: { - Enabled: { type: "boolean" }, - Path: {}, - Format: {}, - Scope: {}, - }, - }, - S1x: { - type: "structure", - required: [ - "TaskId", - "Lifecycle", - "Type", - "CreationTime", - "FileSystemId", - ], - members: { - TaskId: {}, - Lifecycle: {}, - Type: {}, - CreationTime: { type: "timestamp" }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - ResourceARN: {}, - Tags: { shape: "S8" }, - FileSystemId: {}, - Paths: { shape: "S1r" }, - FailureDetails: { type: "structure", members: { Message: {} } }, - Status: { - type: "structure", - members: { - TotalCount: { type: "long" }, - SucceededCount: { type: "long" }, - FailedCount: { type: "long" }, - LastUpdatedTime: { type: "timestamp" }, - }, - }, - Report: { shape: "S1t" }, + DescribeLoggingOptions: { + http: { method: "GET", requestUri: "/logging" }, + input: { type: "structure", members: {} }, + output: { + type: "structure", + required: ["loggingOptions"], + members: { loggingOptions: { shape: "S4q" } }, }, + endpoint: { hostPrefix: "model." }, }, - S27: { type: "list", member: {} }, - S29: { - type: "structure", - required: ["ThroughputCapacity"], - members: { - ActiveDirectoryId: {}, - SelfManagedActiveDirectoryConfiguration: { - type: "structure", - required: ["DomainName", "UserName", "Password", "DnsIps"], - members: { - DomainName: {}, - OrganizationalUnitDistinguishedName: {}, - FileSystemAdministratorsGroup: {}, - UserName: {}, - Password: { shape: "S2b" }, - DnsIps: { shape: "S17" }, - }, - }, - DeploymentType: {}, - PreferredSubnetId: {}, - ThroughputCapacity: { type: "integer" }, - WeeklyMaintenanceStartTime: {}, - DailyAutomaticBackupStartTime: {}, - AutomaticBackupRetentionDays: { type: "integer" }, - CopyTagsToBackups: { type: "boolean" }, + DescribePortal: { + http: { + method: "GET", + requestUri: "/portals/{portalId}", + responseCode: 200, }, - }, - S2b: { type: "string", sensitive: true }, - }, - }; - - /***/ - }, - - /***/ 1904: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2012-08-10", - endpointPrefix: "dynamodb", - jsonVersion: "1.0", - protocol: "json", - serviceAbbreviation: "DynamoDB", - serviceFullName: "Amazon DynamoDB", - serviceId: "DynamoDB", - signatureVersion: "v4", - targetPrefix: "DynamoDB_20120810", - uid: "dynamodb-2012-08-10", - }, - operations: { - BatchGetItem: { input: { type: "structure", - required: ["RequestItems"], + required: ["portalId"], members: { - RequestItems: { shape: "S2" }, - ReturnConsumedCapacity: {}, + portalId: { location: "uri", locationName: "portalId" }, }, }, output: { type: "structure", + required: [ + "portalId", + "portalArn", + "portalName", + "portalClientId", + "portalStartUrl", + "portalContactEmail", + "portalStatus", + "portalCreationDate", + "portalLastUpdateDate", + ], members: { - Responses: { type: "map", key: {}, value: { shape: "Sr" } }, - UnprocessedKeys: { shape: "S2" }, - ConsumedCapacity: { shape: "St" }, + portalId: {}, + portalArn: {}, + portalName: {}, + portalDescription: {}, + portalClientId: {}, + portalStartUrl: {}, + portalContactEmail: {}, + portalStatus: { shape: "S2v" }, + portalCreationDate: { type: "timestamp" }, + portalLastUpdateDate: { type: "timestamp" }, + portalLogoImageLocation: { + type: "structure", + required: ["id", "url"], + members: { id: {}, url: {} }, + }, + roleArn: {}, + portalAuthMode: {}, }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "monitor." }, }, - BatchWriteItem: { + DescribeProject: { + http: { + method: "GET", + requestUri: "/projects/{projectId}", + responseCode: 200, + }, input: { type: "structure", - required: ["RequestItems"], + required: ["projectId"], members: { - RequestItems: { shape: "S10" }, - ReturnConsumedCapacity: {}, - ReturnItemCollectionMetrics: {}, + projectId: { location: "uri", locationName: "projectId" }, }, }, output: { type: "structure", + required: [ + "projectId", + "projectArn", + "projectName", + "portalId", + "projectCreationDate", + "projectLastUpdateDate", + ], members: { - UnprocessedItems: { shape: "S10" }, - ItemCollectionMetrics: { shape: "S18" }, - ConsumedCapacity: { shape: "St" }, + projectId: {}, + projectArn: {}, + projectName: {}, + portalId: {}, + projectDescription: {}, + projectCreationDate: { type: "timestamp" }, + projectLastUpdateDate: { type: "timestamp" }, }, }, - endpointdiscovery: {}, - }, - CreateBackup: { - input: { - type: "structure", - required: ["TableName", "BackupName"], - members: { TableName: {}, BackupName: {} }, - }, - output: { - type: "structure", - members: { BackupDetails: { shape: "S1h" } }, - }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "monitor." }, }, - CreateGlobalTable: { + DisassociateAssets: { + http: { requestUri: "/assets/{assetId}/disassociate" }, input: { type: "structure", - required: ["GlobalTableName", "ReplicationGroup"], + required: ["assetId", "hierarchyId", "childAssetId"], members: { - GlobalTableName: {}, - ReplicationGroup: { shape: "S1p" }, + assetId: { location: "uri", locationName: "assetId" }, + hierarchyId: {}, + childAssetId: {}, + clientToken: { idempotencyToken: true }, }, }, - output: { - type: "structure", - members: { GlobalTableDescription: { shape: "S1t" } }, - }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "model." }, }, - CreateTable: { + GetAssetPropertyAggregates: { + http: { method: "GET", requestUri: "/properties/aggregates" }, input: { type: "structure", - required: ["AttributeDefinitions", "TableName", "KeySchema"], + required: [ + "aggregateTypes", + "resolution", + "startDate", + "endDate", + ], members: { - AttributeDefinitions: { shape: "S27" }, - TableName: {}, - KeySchema: { shape: "S2b" }, - LocalSecondaryIndexes: { shape: "S2e" }, - GlobalSecondaryIndexes: { shape: "S2k" }, - BillingMode: {}, - ProvisionedThroughput: { shape: "S2m" }, - StreamSpecification: { shape: "S2o" }, - SSESpecification: { shape: "S2r" }, - Tags: { shape: "S2u" }, + assetId: { location: "querystring", locationName: "assetId" }, + propertyId: { + location: "querystring", + locationName: "propertyId", + }, + propertyAlias: { + location: "querystring", + locationName: "propertyAlias", + }, + aggregateTypes: { + location: "querystring", + locationName: "aggregateTypes", + type: "list", + member: {}, + }, + resolution: { + location: "querystring", + locationName: "resolution", + }, + qualities: { + shape: "S53", + location: "querystring", + locationName: "qualities", + }, + startDate: { + location: "querystring", + locationName: "startDate", + type: "timestamp", + }, + endDate: { + location: "querystring", + locationName: "endDate", + type: "timestamp", + }, + timeOrdering: { + location: "querystring", + locationName: "timeOrdering", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", - members: { TableDescription: { shape: "S2z" } }, + required: ["aggregatedValues"], + members: { + aggregatedValues: { + type: "list", + member: { + type: "structure", + required: ["timestamp", "value"], + members: { + timestamp: { type: "timestamp" }, + quality: {}, + value: { + type: "structure", + members: { + average: { type: "double" }, + count: { type: "double" }, + maximum: { type: "double" }, + minimum: { type: "double" }, + sum: { type: "double" }, + standardDeviation: { type: "double" }, + }, + }, + }, + }, + }, + nextToken: {}, + }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "data." }, }, - DeleteBackup: { + GetAssetPropertyValue: { + http: { method: "GET", requestUri: "/properties/latest" }, input: { type: "structure", - required: ["BackupArn"], - members: { BackupArn: {} }, + members: { + assetId: { location: "querystring", locationName: "assetId" }, + propertyId: { + location: "querystring", + locationName: "propertyId", + }, + propertyAlias: { + location: "querystring", + locationName: "propertyAlias", + }, + }, }, output: { type: "structure", - members: { BackupDescription: { shape: "S3o" } }, + members: { propertyValue: { shape: "Sk" } }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "data." }, }, - DeleteItem: { + GetAssetPropertyValueHistory: { + http: { method: "GET", requestUri: "/properties/history" }, input: { type: "structure", - required: ["TableName", "Key"], members: { - TableName: {}, - Key: { shape: "S6" }, - Expected: { shape: "S41" }, - ConditionalOperator: {}, - ReturnValues: {}, - ReturnConsumedCapacity: {}, - ReturnItemCollectionMetrics: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, + assetId: { location: "querystring", locationName: "assetId" }, + propertyId: { + location: "querystring", + locationName: "propertyId", + }, + propertyAlias: { + location: "querystring", + locationName: "propertyAlias", + }, + startDate: { + location: "querystring", + locationName: "startDate", + type: "timestamp", + }, + endDate: { + location: "querystring", + locationName: "endDate", + type: "timestamp", + }, + qualities: { + shape: "S53", + location: "querystring", + locationName: "qualities", + }, + timeOrdering: { + location: "querystring", + locationName: "timeOrdering", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", + required: ["assetPropertyValueHistory"], members: { - Attributes: { shape: "Ss" }, - ConsumedCapacity: { shape: "Su" }, - ItemCollectionMetrics: { shape: "S1a" }, + assetPropertyValueHistory: { + type: "list", + member: { shape: "Sk" }, + }, + nextToken: {}, }, }, - endpointdiscovery: {}, - }, - DeleteTable: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {} }, - }, - output: { - type: "structure", - members: { TableDescription: { shape: "S2z" } }, - }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "data." }, }, - DescribeBackup: { - input: { - type: "structure", - required: ["BackupArn"], - members: { BackupArn: {} }, - }, - output: { - type: "structure", - members: { BackupDescription: { shape: "S3o" } }, + ListAccessPolicies: { + http: { + method: "GET", + requestUri: "/access-policies", + responseCode: 200, }, - endpointdiscovery: {}, - }, - DescribeContinuousBackups: { input: { type: "structure", - required: ["TableName"], - members: { TableName: {} }, + members: { + identityType: { + location: "querystring", + locationName: "identityType", + }, + identityId: { + location: "querystring", + locationName: "identityId", + }, + resourceType: { + location: "querystring", + locationName: "resourceType", + }, + resourceId: { + location: "querystring", + locationName: "resourceId", + }, + iamArn: { location: "querystring", locationName: "iamArn" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, }, output: { type: "structure", - members: { ContinuousBackupsDescription: { shape: "S4i" } }, + required: ["accessPolicySummaries"], + members: { + accessPolicySummaries: { + type: "list", + member: { + type: "structure", + required: ["id", "identity", "resource", "permission"], + members: { + id: {}, + identity: { shape: "S13" }, + resource: { shape: "S19" }, + permission: {}, + creationDate: { type: "timestamp" }, + lastUpdateDate: { type: "timestamp" }, + }, + }, + }, + nextToken: {}, + }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "monitor." }, }, - DescribeContributorInsights: { + ListAssetModels: { + http: { method: "GET", requestUri: "/asset-models" }, input: { - type: "structure", - required: ["TableName"], - members: { TableName: {}, IndexName: {} }, - }, - output: { type: "structure", members: { - TableName: {}, - IndexName: {}, - ContributorInsightsRuleList: { type: "list", member: {} }, - ContributorInsightsStatus: {}, - LastUpdateDateTime: { type: "timestamp" }, - FailureException: { - type: "structure", - members: { ExceptionName: {}, ExceptionDescription: {} }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", }, }, }, - }, - DescribeEndpoints: { - input: { type: "structure", members: {} }, output: { type: "structure", - required: ["Endpoints"], + required: ["assetModelSummaries"], members: { - Endpoints: { + assetModelSummaries: { type: "list", member: { type: "structure", - required: ["Address", "CachePeriodInMinutes"], + required: [ + "id", + "arn", + "name", + "description", + "creationDate", + "lastUpdateDate", + "status", + ], members: { - Address: {}, - CachePeriodInMinutes: { type: "long" }, + id: {}, + arn: {}, + name: {}, + description: {}, + creationDate: { type: "timestamp" }, + lastUpdateDate: { type: "timestamp" }, + status: { shape: "S2e" }, }, }, }, + nextToken: {}, }, }, - endpointoperation: true, + endpoint: { hostPrefix: "model." }, }, - DescribeGlobalTable: { - input: { - type: "structure", - required: ["GlobalTableName"], - members: { GlobalTableName: {} }, - }, - output: { - type: "structure", - members: { GlobalTableDescription: { shape: "S1t" } }, + ListAssetRelationships: { + http: { + method: "GET", + requestUri: "/assets/{assetId}/assetRelationships", }, - endpointdiscovery: {}, - }, - DescribeGlobalTableSettings: { input: { type: "structure", - required: ["GlobalTableName"], - members: { GlobalTableName: {} }, - }, - output: { - type: "structure", + required: ["assetId", "traversalType"], members: { - GlobalTableName: {}, - ReplicaSettings: { shape: "S53" }, + assetId: { location: "uri", locationName: "assetId" }, + traversalType: { + location: "querystring", + locationName: "traversalType", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, - endpointdiscovery: {}, - }, - DescribeLimits: { - input: { type: "structure", members: {} }, output: { type: "structure", + required: ["assetRelationshipSummaries"], members: { - AccountMaxReadCapacityUnits: { type: "long" }, - AccountMaxWriteCapacityUnits: { type: "long" }, - TableMaxReadCapacityUnits: { type: "long" }, - TableMaxWriteCapacityUnits: { type: "long" }, + assetRelationshipSummaries: { + type: "list", + member: { + type: "structure", + required: ["relationshipType"], + members: { + hierarchyInfo: { + type: "structure", + members: { parentAssetId: {}, childAssetId: {} }, + }, + relationshipType: {}, + }, + }, + }, + nextToken: {}, }, }, - endpointdiscovery: {}, - }, - DescribeTable: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {} }, - }, - output: { type: "structure", members: { Table: { shape: "S2z" } } }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "model." }, }, - DescribeTableReplicaAutoScaling: { + ListAssets: { + http: { method: "GET", requestUri: "/assets" }, input: { type: "structure", - required: ["TableName"], - members: { TableName: {} }, + members: { + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + assetModelId: { + location: "querystring", + locationName: "assetModelId", + }, + filter: { location: "querystring", locationName: "filter" }, + }, }, output: { type: "structure", - members: { TableAutoScalingDescription: { shape: "S5k" } }, + required: ["assetSummaries"], + members: { + assetSummaries: { + type: "list", + member: { + type: "structure", + required: [ + "id", + "arn", + "name", + "assetModelId", + "creationDate", + "lastUpdateDate", + "status", + "hierarchies", + ], + members: { + id: {}, + arn: {}, + name: {}, + assetModelId: {}, + creationDate: { type: "timestamp" }, + lastUpdateDate: { type: "timestamp" }, + status: { shape: "S1k" }, + hierarchies: { shape: "S3r" }, + }, + }, + }, + nextToken: {}, + }, }, + endpoint: { hostPrefix: "model." }, }, - DescribeTimeToLive: { - input: { - type: "structure", - required: ["TableName"], - members: { TableName: {} }, - }, - output: { - type: "structure", - members: { TimeToLiveDescription: { shape: "S3x" } }, + ListAssociatedAssets: { + http: { + method: "GET", + requestUri: "/assets/{assetId}/hierarchies", }, - endpointdiscovery: {}, - }, - GetItem: { input: { type: "structure", - required: ["TableName", "Key"], + required: ["assetId"], members: { - TableName: {}, - Key: { shape: "S6" }, - AttributesToGet: { shape: "Sj" }, - ConsistentRead: { type: "boolean" }, - ReturnConsumedCapacity: {}, - ProjectionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, + assetId: { location: "uri", locationName: "assetId" }, + hierarchyId: { + location: "querystring", + locationName: "hierarchyId", + }, + traversalDirection: { + location: "querystring", + locationName: "traversalDirection", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", + required: ["assetSummaries"], members: { - Item: { shape: "Ss" }, - ConsumedCapacity: { shape: "Su" }, + assetSummaries: { + type: "list", + member: { + type: "structure", + required: [ + "id", + "arn", + "name", + "assetModelId", + "creationDate", + "lastUpdateDate", + "status", + "hierarchies", + ], + members: { + id: {}, + arn: {}, + name: {}, + assetModelId: {}, + creationDate: { type: "timestamp" }, + lastUpdateDate: { type: "timestamp" }, + status: { shape: "S1k" }, + hierarchies: { shape: "S3r" }, + }, + }, + }, + nextToken: {}, }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "model." }, }, - ListBackups: { + ListDashboards: { + http: { + method: "GET", + requestUri: "/dashboards", + responseCode: 200, + }, input: { type: "structure", + required: ["projectId"], members: { - TableName: {}, - Limit: { type: "integer" }, - TimeRangeLowerBound: { type: "timestamp" }, - TimeRangeUpperBound: { type: "timestamp" }, - ExclusiveStartBackupArn: {}, - BackupType: {}, + projectId: { + location: "querystring", + locationName: "projectId", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", + required: ["dashboardSummaries"], members: { - BackupSummaries: { + dashboardSummaries: { type: "list", member: { type: "structure", + required: ["id", "name"], members: { - TableName: {}, - TableId: {}, - TableArn: {}, - BackupArn: {}, - BackupName: {}, - BackupCreationDateTime: { type: "timestamp" }, - BackupExpiryDateTime: { type: "timestamp" }, - BackupStatus: {}, - BackupType: {}, - BackupSizeBytes: { type: "long" }, + id: {}, + name: {}, + description: {}, + creationDate: { type: "timestamp" }, + lastUpdateDate: { type: "timestamp" }, }, }, }, - LastEvaluatedBackupArn: {}, + nextToken: {}, }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "monitor." }, }, - ListContributorInsights: { + ListGateways: { + http: { method: "GET", requestUri: "/20200301/gateways" }, input: { type: "structure", members: { - TableName: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", + required: ["gatewaySummaries"], members: { - ContributorInsightsSummaries: { + gatewaySummaries: { type: "list", member: { type: "structure", + required: [ + "gatewayId", + "gatewayName", + "creationDate", + "lastUpdateDate", + ], members: { - TableName: {}, - IndexName: {}, - ContributorInsightsStatus: {}, + gatewayId: {}, + gatewayName: {}, + gatewayCapabilitySummaries: { shape: "S4h" }, + creationDate: { type: "timestamp" }, + lastUpdateDate: { type: "timestamp" }, }, }, }, - NextToken: {}, + nextToken: {}, }, }, + endpoint: { hostPrefix: "edge." }, }, - ListGlobalTables: { + ListPortals: { + http: { method: "GET", requestUri: "/portals", responseCode: 200 }, input: { type: "structure", members: { - ExclusiveStartGlobalTableName: {}, - Limit: { type: "integer" }, - RegionName: {}, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", members: { - GlobalTables: { + portalSummaries: { type: "list", member: { type: "structure", + required: ["id", "name", "startUrl", "status"], members: { - GlobalTableName: {}, - ReplicationGroup: { shape: "S1p" }, + id: {}, + name: {}, + description: {}, + startUrl: {}, + creationDate: { type: "timestamp" }, + lastUpdateDate: { type: "timestamp" }, + roleArn: {}, + status: { shape: "S2v" }, }, }, }, - LastEvaluatedGlobalTableName: {}, + nextToken: {}, }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "monitor." }, }, - ListTables: { + ListProjectAssets: { + http: { + method: "GET", + requestUri: "/projects/{projectId}/assets", + responseCode: 200, + }, input: { type: "structure", + required: ["projectId"], members: { - ExclusiveStartTableName: {}, - Limit: { type: "integer" }, + projectId: { location: "uri", locationName: "projectId" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", + required: ["assetIds"], members: { - TableNames: { type: "list", member: {} }, - LastEvaluatedTableName: {}, + assetIds: { type: "list", member: {} }, + nextToken: {}, }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "monitor." }, }, - ListTagsOfResource: { + ListProjects: { + http: { method: "GET", requestUri: "/projects", responseCode: 200 }, input: { type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {}, NextToken: {} }, + required: ["portalId"], + members: { + portalId: { location: "querystring", locationName: "portalId" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, }, output: { type: "structure", - members: { Tags: { shape: "S2u" }, NextToken: {} }, + required: ["projectSummaries"], + members: { + projectSummaries: { + type: "list", + member: { + type: "structure", + required: ["id", "name"], + members: { + id: {}, + name: {}, + description: {}, + creationDate: { type: "timestamp" }, + lastUpdateDate: { type: "timestamp" }, + }, + }, + }, + nextToken: {}, + }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "monitor." }, }, - PutItem: { + ListTagsForResource: { + http: { method: "GET", requestUri: "/tags" }, input: { type: "structure", - required: ["TableName", "Item"], + required: ["resourceArn"], members: { - TableName: {}, - Item: { shape: "S14" }, - Expected: { shape: "S41" }, - ReturnValues: {}, - ReturnConsumedCapacity: {}, - ReturnItemCollectionMetrics: {}, - ConditionalOperator: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, + resourceArn: { + location: "querystring", + locationName: "resourceArn", + }, }, }, + output: { type: "structure", members: { tags: { shape: "S1d" } } }, + }, + PutDefaultEncryptionConfiguration: { + http: { requestUri: "/configuration/account/encryption" }, + input: { + type: "structure", + required: ["encryptionType"], + members: { encryptionType: {}, kmsKeyId: {} }, + }, output: { type: "structure", + required: ["encryptionType", "configurationStatus"], members: { - Attributes: { shape: "Ss" }, - ConsumedCapacity: { shape: "Su" }, - ItemCollectionMetrics: { shape: "S1a" }, + encryptionType: {}, + kmsKeyArn: {}, + configurationStatus: { shape: "S4c" }, }, }, - endpointdiscovery: {}, }, - Query: { + PutLoggingOptions: { + http: { method: "PUT", requestUri: "/logging" }, input: { type: "structure", - required: ["TableName"], + required: ["loggingOptions"], + members: { loggingOptions: { shape: "S4q" } }, + }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "model." }, + }, + TagResource: { + http: { requestUri: "/tags" }, + input: { + type: "structure", + required: ["resourceArn", "tags"], members: { - TableName: {}, - IndexName: {}, - Select: {}, - AttributesToGet: { shape: "Sj" }, - Limit: { type: "integer" }, - ConsistentRead: { type: "boolean" }, - KeyConditions: { - type: "map", - key: {}, - value: { shape: "S6o" }, + resourceArn: { + location: "querystring", + locationName: "resourceArn", }, - QueryFilter: { shape: "S6p" }, - ConditionalOperator: {}, - ScanIndexForward: { type: "boolean" }, - ExclusiveStartKey: { shape: "S6" }, - ReturnConsumedCapacity: {}, - ProjectionExpression: {}, - FilterExpression: {}, - KeyConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, + tags: { shape: "S1d" }, }, }, - output: { + output: { type: "structure", members: {} }, + }, + UntagResource: { + http: { method: "DELETE", requestUri: "/tags" }, + input: { type: "structure", + required: ["resourceArn", "tagKeys"], members: { - Items: { shape: "Sr" }, - Count: { type: "integer" }, - ScannedCount: { type: "integer" }, - LastEvaluatedKey: { shape: "S6" }, - ConsumedCapacity: { shape: "Su" }, + resourceArn: { + location: "querystring", + locationName: "resourceArn", + }, + tagKeys: { + location: "querystring", + locationName: "tagKeys", + type: "list", + member: {}, + }, }, }, - endpointdiscovery: {}, + output: { type: "structure", members: {} }, }, - RestoreTableFromBackup: { + UpdateAccessPolicy: { + http: { + method: "PUT", + requestUri: "/access-policies/{accessPolicyId}", + responseCode: 200, + }, input: { type: "structure", - required: ["TargetTableName", "BackupArn"], + required: [ + "accessPolicyId", + "accessPolicyIdentity", + "accessPolicyResource", + "accessPolicyPermission", + ], members: { - TargetTableName: {}, - BackupArn: {}, - BillingModeOverride: {}, - GlobalSecondaryIndexOverride: { shape: "S2k" }, - LocalSecondaryIndexOverride: { shape: "S2e" }, - ProvisionedThroughputOverride: { shape: "S2m" }, - SSESpecificationOverride: { shape: "S2r" }, + accessPolicyId: { + location: "uri", + locationName: "accessPolicyId", + }, + accessPolicyIdentity: { shape: "S13" }, + accessPolicyResource: { shape: "S19" }, + accessPolicyPermission: {}, + clientToken: { idempotencyToken: true }, }, }, - output: { - type: "structure", - members: { TableDescription: { shape: "S2z" } }, - }, - endpointdiscovery: {}, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "monitor." }, }, - RestoreTableToPointInTime: { + UpdateAsset: { + http: { + method: "PUT", + requestUri: "/assets/{assetId}", + responseCode: 202, + }, input: { type: "structure", - required: ["TargetTableName"], + required: ["assetId", "assetName"], members: { - SourceTableArn: {}, - SourceTableName: {}, - TargetTableName: {}, - UseLatestRestorableTime: { type: "boolean" }, - RestoreDateTime: { type: "timestamp" }, - BillingModeOverride: {}, - GlobalSecondaryIndexOverride: { shape: "S2k" }, - LocalSecondaryIndexOverride: { shape: "S2e" }, - ProvisionedThroughputOverride: { shape: "S2m" }, - SSESpecificationOverride: { shape: "S2r" }, + assetId: { location: "uri", locationName: "assetId" }, + assetName: {}, + clientToken: { idempotencyToken: true }, }, }, output: { type: "structure", - members: { TableDescription: { shape: "S2z" } }, + required: ["assetStatus"], + members: { assetStatus: { shape: "S1k" } }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "model." }, }, - Scan: { + UpdateAssetModel: { + http: { + method: "PUT", + requestUri: "/asset-models/{assetModelId}", + responseCode: 202, + }, input: { type: "structure", - required: ["TableName"], + required: ["assetModelId", "assetModelName"], members: { - TableName: {}, - IndexName: {}, - AttributesToGet: { shape: "Sj" }, - Limit: { type: "integer" }, - Select: {}, - ScanFilter: { shape: "S6p" }, - ConditionalOperator: {}, - ExclusiveStartKey: { shape: "S6" }, - ReturnConsumedCapacity: {}, - TotalSegments: { type: "integer" }, - Segment: { type: "integer" }, - ProjectionExpression: {}, - FilterExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - ConsistentRead: { type: "boolean" }, + assetModelId: { location: "uri", locationName: "assetModelId" }, + assetModelName: {}, + assetModelDescription: {}, + assetModelProperties: { shape: "S3x" }, + assetModelHierarchies: { shape: "S3z" }, + assetModelCompositeModels: { shape: "S41" }, + clientToken: { idempotencyToken: true }, }, }, output: { type: "structure", - members: { - Items: { shape: "Sr" }, - Count: { type: "integer" }, - ScannedCount: { type: "integer" }, - LastEvaluatedKey: { shape: "S6" }, - ConsumedCapacity: { shape: "Su" }, - }, + required: ["assetModelStatus"], + members: { assetModelStatus: { shape: "S2e" } }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "model." }, }, - TagResource: { + UpdateAssetProperty: { + http: { + method: "PUT", + requestUri: "/assets/{assetId}/properties/{propertyId}", + }, input: { type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "S2u" } }, + required: ["assetId", "propertyId"], + members: { + assetId: { location: "uri", locationName: "assetId" }, + propertyId: { location: "uri", locationName: "propertyId" }, + propertyAlias: {}, + propertyNotificationState: {}, + clientToken: { idempotencyToken: true }, + }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "model." }, }, - TransactGetItems: { + UpdateDashboard: { + http: { + method: "PUT", + requestUri: "/dashboards/{dashboardId}", + responseCode: 200, + }, input: { type: "structure", - required: ["TransactItems"], + required: ["dashboardId", "dashboardName", "dashboardDefinition"], members: { - TransactItems: { - type: "list", - member: { - type: "structure", - required: ["Get"], - members: { - Get: { - type: "structure", - required: ["Key", "TableName"], - members: { - Key: { shape: "S6" }, - TableName: {}, - ProjectionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - }, - }, - }, - }, - }, - ReturnConsumedCapacity: {}, + dashboardId: { location: "uri", locationName: "dashboardId" }, + dashboardName: {}, + dashboardDescription: {}, + dashboardDefinition: {}, + clientToken: { idempotencyToken: true }, }, }, - output: { + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "monitor." }, + }, + UpdateGateway: { + http: { + method: "PUT", + requestUri: "/20200301/gateways/{gatewayId}", + }, + input: { type: "structure", + required: ["gatewayId", "gatewayName"], members: { - ConsumedCapacity: { shape: "St" }, - Responses: { - type: "list", - member: { - type: "structure", - members: { Item: { shape: "Ss" } }, - }, - }, + gatewayId: { location: "uri", locationName: "gatewayId" }, + gatewayName: {}, }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "edge." }, }, - TransactWriteItems: { + UpdateGatewayCapabilityConfiguration: { + http: { + requestUri: "/20200301/gateways/{gatewayId}/capability", + responseCode: 201, + }, input: { type: "structure", - required: ["TransactItems"], + required: [ + "gatewayId", + "capabilityNamespace", + "capabilityConfiguration", + ], members: { - TransactItems: { - type: "list", - member: { - type: "structure", - members: { - ConditionCheck: { - type: "structure", - required: ["Key", "TableName", "ConditionExpression"], - members: { - Key: { shape: "S6" }, - TableName: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - ReturnValuesOnConditionCheckFailure: {}, - }, - }, - Put: { - type: "structure", - required: ["Item", "TableName"], - members: { - Item: { shape: "S14" }, - TableName: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - ReturnValuesOnConditionCheckFailure: {}, - }, - }, - Delete: { - type: "structure", - required: ["Key", "TableName"], - members: { - Key: { shape: "S6" }, - TableName: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - ReturnValuesOnConditionCheckFailure: {}, - }, - }, - Update: { - type: "structure", - required: ["Key", "UpdateExpression", "TableName"], - members: { - Key: { shape: "S6" }, - UpdateExpression: {}, - TableName: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - ReturnValuesOnConditionCheckFailure: {}, - }, - }, - }, - }, - }, - ReturnConsumedCapacity: {}, - ReturnItemCollectionMetrics: {}, - ClientRequestToken: { idempotencyToken: true }, + gatewayId: { location: "uri", locationName: "gatewayId" }, + capabilityNamespace: {}, + capabilityConfiguration: {}, }, }, output: { type: "structure", - members: { - ConsumedCapacity: { shape: "St" }, - ItemCollectionMetrics: { shape: "S18" }, - }, + required: ["capabilityNamespace", "capabilitySyncStatus"], + members: { capabilityNamespace: {}, capabilitySyncStatus: {} }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "edge." }, }, - UntagResource: { - input: { - type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, - }, + UpdatePortal: { + http: { + method: "PUT", + requestUri: "/portals/{portalId}", + responseCode: 202, }, - endpointdiscovery: {}, - }, - UpdateContinuousBackups: { input: { type: "structure", - required: ["TableName", "PointInTimeRecoverySpecification"], + required: [ + "portalId", + "portalName", + "portalContactEmail", + "roleArn", + ], members: { - TableName: {}, - PointInTimeRecoverySpecification: { + portalId: { location: "uri", locationName: "portalId" }, + portalName: {}, + portalDescription: {}, + portalContactEmail: {}, + portalLogoImage: { type: "structure", - required: ["PointInTimeRecoveryEnabled"], - members: { PointInTimeRecoveryEnabled: { type: "boolean" } }, + members: { id: {}, file: { shape: "S2p" } }, }, + roleArn: {}, + clientToken: { idempotencyToken: true }, }, }, output: { type: "structure", - members: { ContinuousBackupsDescription: { shape: "S4i" } }, + required: ["portalStatus"], + members: { portalStatus: { shape: "S2v" } }, }, - endpointdiscovery: {}, + endpoint: { hostPrefix: "monitor." }, }, - UpdateContributorInsights: { - input: { - type: "structure", - required: ["TableName", "ContributorInsightsAction"], - members: { - TableName: {}, - IndexName: {}, - ContributorInsightsAction: {}, - }, - }, - output: { - type: "structure", - members: { - TableName: {}, - IndexName: {}, - ContributorInsightsStatus: {}, - }, - }, - }, - UpdateGlobalTable: { - input: { - type: "structure", - required: ["GlobalTableName", "ReplicaUpdates"], - members: { - GlobalTableName: {}, - ReplicaUpdates: { - type: "list", - member: { - type: "structure", - members: { - Create: { - type: "structure", - required: ["RegionName"], - members: { RegionName: {} }, - }, - Delete: { - type: "structure", - required: ["RegionName"], - members: { RegionName: {} }, - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { GlobalTableDescription: { shape: "S1t" } }, - }, - endpointdiscovery: {}, - }, - UpdateGlobalTableSettings: { - input: { - type: "structure", - required: ["GlobalTableName"], - members: { - GlobalTableName: {}, - GlobalTableBillingMode: {}, - GlobalTableProvisionedWriteCapacityUnits: { type: "long" }, - GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: { - shape: "S7z", - }, - GlobalTableGlobalSecondaryIndexSettingsUpdate: { - type: "list", - member: { - type: "structure", - required: ["IndexName"], - members: { - IndexName: {}, - ProvisionedWriteCapacityUnits: { type: "long" }, - ProvisionedWriteCapacityAutoScalingSettingsUpdate: { - shape: "S7z", - }, - }, - }, - }, - ReplicaSettingsUpdate: { - type: "list", - member: { - type: "structure", - required: ["RegionName"], - members: { - RegionName: {}, - ReplicaProvisionedReadCapacityUnits: { type: "long" }, - ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate: { - shape: "S7z", - }, - ReplicaGlobalSecondaryIndexSettingsUpdate: { - type: "list", - member: { - type: "structure", - required: ["IndexName"], - members: { - IndexName: {}, - ProvisionedReadCapacityUnits: { type: "long" }, - ProvisionedReadCapacityAutoScalingSettingsUpdate: { - shape: "S7z", - }, - }, - }, - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { - GlobalTableName: {}, - ReplicaSettings: { shape: "S53" }, - }, - }, - endpointdiscovery: {}, - }, - UpdateItem: { - input: { - type: "structure", - required: ["TableName", "Key"], - members: { - TableName: {}, - Key: { shape: "S6" }, - AttributeUpdates: { - type: "map", - key: {}, - value: { - type: "structure", - members: { Value: { shape: "S8" }, Action: {} }, - }, - }, - Expected: { shape: "S41" }, - ConditionalOperator: {}, - ReturnValues: {}, - ReturnConsumedCapacity: {}, - ReturnItemCollectionMetrics: {}, - UpdateExpression: {}, - ConditionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - ExpressionAttributeValues: { shape: "S49" }, - }, - }, - output: { - type: "structure", - members: { - Attributes: { shape: "Ss" }, - ConsumedCapacity: { shape: "Su" }, - ItemCollectionMetrics: { shape: "S1a" }, - }, - }, - endpointdiscovery: {}, - }, - UpdateTable: { - input: { - type: "structure", - required: ["TableName"], - members: { - AttributeDefinitions: { shape: "S27" }, - TableName: {}, - BillingMode: {}, - ProvisionedThroughput: { shape: "S2m" }, - GlobalSecondaryIndexUpdates: { - type: "list", - member: { - type: "structure", - members: { - Update: { - type: "structure", - required: ["IndexName", "ProvisionedThroughput"], - members: { - IndexName: {}, - ProvisionedThroughput: { shape: "S2m" }, - }, - }, - Create: { - type: "structure", - required: ["IndexName", "KeySchema", "Projection"], - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - ProvisionedThroughput: { shape: "S2m" }, - }, - }, - Delete: { - type: "structure", - required: ["IndexName"], - members: { IndexName: {} }, - }, - }, - }, - }, - StreamSpecification: { shape: "S2o" }, - SSESpecification: { shape: "S2r" }, - ReplicaUpdates: { - type: "list", - member: { - type: "structure", - members: { - Create: { - type: "structure", - required: ["RegionName"], - members: { - RegionName: {}, - KMSMasterKeyId: {}, - ProvisionedThroughputOverride: { shape: "S20" }, - GlobalSecondaryIndexes: { shape: "S8o" }, - }, - }, - Update: { - type: "structure", - required: ["RegionName"], - members: { - RegionName: {}, - KMSMasterKeyId: {}, - ProvisionedThroughputOverride: { shape: "S20" }, - GlobalSecondaryIndexes: { shape: "S8o" }, - }, - }, - Delete: { - type: "structure", - required: ["RegionName"], - members: { RegionName: {} }, - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { TableDescription: { shape: "S2z" } }, - }, - endpointdiscovery: {}, - }, - UpdateTableReplicaAutoScaling: { - input: { - type: "structure", - required: ["TableName"], - members: { - GlobalSecondaryIndexUpdates: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - ProvisionedWriteCapacityAutoScalingUpdate: { - shape: "S7z", - }, - }, - }, - }, - TableName: {}, - ProvisionedWriteCapacityAutoScalingUpdate: { shape: "S7z" }, - ReplicaUpdates: { - type: "list", - member: { - type: "structure", - required: ["RegionName"], - members: { - RegionName: {}, - ReplicaGlobalSecondaryIndexUpdates: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - ProvisionedReadCapacityAutoScalingUpdate: { - shape: "S7z", - }, - }, - }, - }, - ReplicaProvisionedReadCapacityAutoScalingUpdate: { - shape: "S7z", - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { TableAutoScalingDescription: { shape: "S5k" } }, + UpdateProject: { + http: { + method: "PUT", + requestUri: "/projects/{projectId}", + responseCode: 200, }, - }, - UpdateTimeToLive: { input: { type: "structure", - required: ["TableName", "TimeToLiveSpecification"], + required: ["projectId", "projectName"], members: { - TableName: {}, - TimeToLiveSpecification: { shape: "S92" }, + projectId: { location: "uri", locationName: "projectId" }, + projectName: {}, + projectDescription: {}, + clientToken: { idempotencyToken: true }, }, }, - output: { - type: "structure", - members: { TimeToLiveSpecification: { shape: "S92" } }, - }, - endpointdiscovery: {}, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "monitor." }, }, }, shapes: { - S2: { - type: "map", - key: {}, - value: { - type: "structure", - required: ["Keys"], - members: { - Keys: { type: "list", member: { shape: "S6" } }, - AttributesToGet: { shape: "Sj" }, - ConsistentRead: { type: "boolean" }, - ProjectionExpression: {}, - ExpressionAttributeNames: { shape: "Sm" }, - }, - }, - }, - S6: { type: "map", key: {}, value: { shape: "S8" } }, + S5: { type: "list", member: {} }, S8: { type: "structure", - members: { - S: {}, - N: {}, - B: { type: "blob" }, - SS: { type: "list", member: {} }, - NS: { type: "list", member: {} }, - BS: { type: "list", member: { type: "blob" } }, - M: { type: "map", key: {}, value: { shape: "S8" } }, - L: { type: "list", member: { shape: "S8" } }, - NULL: { type: "boolean" }, - BOOL: { type: "boolean" }, - }, - }, - Sj: { type: "list", member: {} }, - Sm: { type: "map", key: {}, value: {} }, - Sr: { type: "list", member: { shape: "Ss" } }, - Ss: { type: "map", key: {}, value: { shape: "S8" } }, - St: { type: "list", member: { shape: "Su" } }, - Su: { - type: "structure", - members: { - TableName: {}, - CapacityUnits: { type: "double" }, - ReadCapacityUnits: { type: "double" }, - WriteCapacityUnits: { type: "double" }, - Table: { shape: "Sw" }, - LocalSecondaryIndexes: { shape: "Sx" }, - GlobalSecondaryIndexes: { shape: "Sx" }, - }, + required: ["assetId", "code", "message"], + members: { assetId: {}, code: {}, message: {} }, }, - Sw: { + Sk: { type: "structure", + required: ["value", "timestamp"], members: { - ReadCapacityUnits: { type: "double" }, - WriteCapacityUnits: { type: "double" }, - CapacityUnits: { type: "double" }, - }, - }, - Sx: { type: "map", key: {}, value: { shape: "Sw" } }, - S10: { - type: "map", - key: {}, - value: { - type: "list", - member: { + value: { type: "structure", members: { - PutRequest: { - type: "structure", - required: ["Item"], - members: { Item: { shape: "S14" } }, - }, - DeleteRequest: { - type: "structure", - required: ["Key"], - members: { Key: { shape: "S6" } }, - }, + stringValue: {}, + integerValue: { type: "integer" }, + doubleValue: { type: "double" }, + booleanValue: { type: "boolean" }, }, }, + timestamp: { shape: "Sq" }, + quality: {}, }, }, - S14: { type: "map", key: {}, value: { shape: "S8" } }, - S18: { - type: "map", - key: {}, - value: { type: "list", member: { shape: "S1a" } }, + Sq: { + type: "structure", + required: ["timeInSeconds"], + members: { + timeInSeconds: { type: "long" }, + offsetInNanos: { type: "integer" }, + }, }, - S1a: { + S13: { type: "structure", members: { - ItemCollectionKey: { - type: "map", - key: {}, - value: { shape: "S8" }, + user: { + type: "structure", + required: ["id"], + members: { id: {} }, + }, + group: { + type: "structure", + required: ["id"], + members: { id: {} }, + }, + iamUser: { + type: "structure", + required: ["arn"], + members: { arn: {} }, }, - SizeEstimateRangeGB: { type: "list", member: { type: "double" } }, }, }, - S1h: { + S19: { type: "structure", - required: [ - "BackupArn", - "BackupName", - "BackupStatus", - "BackupType", - "BackupCreationDateTime", - ], members: { - BackupArn: {}, - BackupName: {}, - BackupSizeBytes: { type: "long" }, - BackupStatus: {}, - BackupType: {}, - BackupCreationDateTime: { type: "timestamp" }, - BackupExpiryDateTime: { type: "timestamp" }, + portal: { + type: "structure", + required: ["id"], + members: { id: {} }, + }, + project: { + type: "structure", + required: ["id"], + members: { id: {} }, + }, }, }, - S1p: { - type: "list", - member: { type: "structure", members: { RegionName: {} } }, + S1d: { type: "map", key: {}, value: {} }, + S1k: { + type: "structure", + required: ["state"], + members: { state: {}, error: { shape: "S1m" } }, }, - S1t: { + S1m: { type: "structure", - members: { - ReplicationGroup: { shape: "S1u" }, - GlobalTableArn: {}, - CreationDateTime: { type: "timestamp" }, - GlobalTableStatus: {}, - GlobalTableName: {}, - }, + required: ["code", "message"], + members: { code: {}, message: {} }, }, - S1u: { + S1q: { type: "list", member: { type: "structure", + required: ["name", "dataType", "type"], members: { - RegionName: {}, - ReplicaStatus: {}, - ReplicaStatusDescription: {}, - ReplicaStatusPercentProgress: {}, - KMSMasterKeyId: {}, - ProvisionedThroughputOverride: { shape: "S20" }, - GlobalSecondaryIndexes: { - type: "list", - member: { + name: {}, + dataType: {}, + dataTypeSpec: {}, + unit: {}, + type: { shape: "S1u" }, + }, + }, + }, + S1u: { + type: "structure", + members: { + attribute: { type: "structure", members: { defaultValue: {} } }, + measurement: { type: "structure", members: {} }, + transform: { + type: "structure", + required: ["expression", "variables"], + members: { expression: {}, variables: { shape: "S20" } }, + }, + metric: { + type: "structure", + required: ["expression", "variables", "window"], + members: { + expression: {}, + variables: { shape: "S20" }, + window: { type: "structure", members: { - IndexName: {}, - ProvisionedThroughputOverride: { shape: "S20" }, + tumbling: { + type: "structure", + required: ["interval"], + members: { interval: {} }, + }, }, }, }, @@ -62179,4988 +71361,3962 @@ module.exports = /******/ (function (modules, runtime) { }, }, S20: { - type: "structure", - members: { ReadCapacityUnits: { type: "long" } }, - }, - S27: { - type: "list", - member: { - type: "structure", - required: ["AttributeName", "AttributeType"], - members: { AttributeName: {}, AttributeType: {} }, - }, - }, - S2b: { - type: "list", - member: { - type: "structure", - required: ["AttributeName", "KeyType"], - members: { AttributeName: {}, KeyType: {} }, - }, - }, - S2e: { type: "list", member: { type: "structure", - required: ["IndexName", "KeySchema", "Projection"], + required: ["name", "value"], members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, + name: {}, + value: { + type: "structure", + required: ["propertyId"], + members: { propertyId: {}, hierarchyId: {} }, + }, }, }, }, - S2g: { + S2e: { type: "structure", - members: { - ProjectionType: {}, - NonKeyAttributes: { type: "list", member: {} }, - }, + required: ["state"], + members: { state: {}, error: { shape: "S1m" } }, }, S2k: { - type: "list", - member: { - type: "structure", - required: ["IndexName", "KeySchema", "Projection"], - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - ProvisionedThroughput: { shape: "S2m" }, - }, - }, - }, - S2m: { type: "structure", - required: ["ReadCapacityUnits", "WriteCapacityUnits"], + required: ["greengrass"], members: { - ReadCapacityUnits: { type: "long" }, - WriteCapacityUnits: { type: "long" }, + greengrass: { + type: "structure", + required: ["groupArn"], + members: { groupArn: {} }, + }, }, }, - S2o: { + S2p: { type: "structure", - required: ["StreamEnabled"], - members: { StreamEnabled: { type: "boolean" }, StreamViewType: {} }, + required: ["data", "type"], + members: { data: { type: "blob" }, type: {} }, }, - S2r: { + S2v: { type: "structure", + required: ["state"], members: { - Enabled: { type: "boolean" }, - SSEType: {}, - KMSMasterKeyId: {}, + state: {}, + error: { type: "structure", members: { code: {}, message: {} } }, }, }, - S2u: { + S3l: { type: "list", member: { type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - S2z: { - type: "structure", - members: { - AttributeDefinitions: { shape: "S27" }, - TableName: {}, - KeySchema: { shape: "S2b" }, - TableStatus: {}, - CreationDateTime: { type: "timestamp" }, - ProvisionedThroughput: { shape: "S31" }, - TableSizeBytes: { type: "long" }, - ItemCount: { type: "long" }, - TableArn: {}, - TableId: {}, - BillingModeSummary: { shape: "S36" }, - LocalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - IndexSizeBytes: { type: "long" }, - ItemCount: { type: "long" }, - IndexArn: {}, - }, - }, - }, - GlobalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - IndexStatus: {}, - Backfilling: { type: "boolean" }, - ProvisionedThroughput: { shape: "S31" }, - IndexSizeBytes: { type: "long" }, - ItemCount: { type: "long" }, - IndexArn: {}, - }, - }, - }, - StreamSpecification: { shape: "S2o" }, - LatestStreamLabel: {}, - LatestStreamArn: {}, - GlobalTableVersion: {}, - Replicas: { shape: "S1u" }, - RestoreSummary: { - type: "structure", - required: ["RestoreDateTime", "RestoreInProgress"], - members: { - SourceBackupArn: {}, - SourceTableArn: {}, - RestoreDateTime: { type: "timestamp" }, - RestoreInProgress: { type: "boolean" }, - }, - }, - SSEDescription: { shape: "S3h" }, - ArchivalSummary: { - type: "structure", - members: { - ArchivalDateTime: { type: "timestamp" }, - ArchivalReason: {}, - ArchivalBackupArn: {}, - }, + required: ["id", "name", "dataType"], + members: { + id: {}, + name: {}, + alias: {}, + notification: { shape: "S3o" }, + dataType: {}, + dataTypeSpec: {}, + unit: {}, }, }, }, - S31: { - type: "structure", - members: { - LastIncreaseDateTime: { type: "timestamp" }, - LastDecreaseDateTime: { type: "timestamp" }, - NumberOfDecreasesToday: { type: "long" }, - ReadCapacityUnits: { type: "long" }, - WriteCapacityUnits: { type: "long" }, - }, - }, - S36: { - type: "structure", - members: { - BillingMode: {}, - LastUpdateToPayPerRequestDateTime: { type: "timestamp" }, - }, - }, - S3h: { - type: "structure", - members: { - Status: {}, - SSEType: {}, - KMSMasterKeyArn: {}, - InaccessibleEncryptionDateTime: { type: "timestamp" }, - }, - }, S3o: { type: "structure", - members: { - BackupDetails: { shape: "S1h" }, - SourceTableDetails: { - type: "structure", - required: [ - "TableName", - "TableId", - "KeySchema", - "TableCreationDateTime", - "ProvisionedThroughput", - ], - members: { - TableName: {}, - TableId: {}, - TableArn: {}, - TableSizeBytes: { type: "long" }, - KeySchema: { shape: "S2b" }, - TableCreationDateTime: { type: "timestamp" }, - ProvisionedThroughput: { shape: "S2m" }, - ItemCount: { type: "long" }, - BillingMode: {}, - }, - }, - SourceTableFeatureDetails: { - type: "structure", - members: { - LocalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - }, - }, - }, - GlobalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - KeySchema: { shape: "S2b" }, - Projection: { shape: "S2g" }, - ProvisionedThroughput: { shape: "S2m" }, - }, - }, - }, - StreamDescription: { shape: "S2o" }, - TimeToLiveDescription: { shape: "S3x" }, - SSEDescription: { shape: "S3h" }, - }, - }, + required: ["topic", "state"], + members: { topic: {}, state: {} }, + }, + S3r: { + type: "list", + member: { + type: "structure", + required: ["name"], + members: { id: {}, name: {} }, }, }, S3x: { - type: "structure", - members: { TimeToLiveStatus: {}, AttributeName: {} }, - }, - S41: { - type: "map", - key: {}, - value: { + type: "list", + member: { type: "structure", + required: ["name", "dataType", "type"], members: { - Value: { shape: "S8" }, - Exists: { type: "boolean" }, - ComparisonOperator: {}, - AttributeValueList: { shape: "S45" }, + id: {}, + name: {}, + dataType: {}, + dataTypeSpec: {}, + unit: {}, + type: { shape: "S1u" }, }, }, }, - S45: { type: "list", member: { shape: "S8" } }, - S49: { type: "map", key: {}, value: { shape: "S8" } }, - S4i: { - type: "structure", - required: ["ContinuousBackupsStatus"], - members: { - ContinuousBackupsStatus: {}, - PointInTimeRecoveryDescription: { - type: "structure", - members: { - PointInTimeRecoveryStatus: {}, - EarliestRestorableDateTime: { type: "timestamp" }, - LatestRestorableDateTime: { type: "timestamp" }, - }, - }, + S3z: { + type: "list", + member: { + type: "structure", + required: ["name", "childAssetModelId"], + members: { id: {}, name: {}, childAssetModelId: {} }, }, }, - S53: { + S41: { type: "list", member: { type: "structure", - required: ["RegionName"], + required: ["name", "type"], members: { - RegionName: {}, - ReplicaStatus: {}, - ReplicaBillingModeSummary: { shape: "S36" }, - ReplicaProvisionedReadCapacityUnits: { type: "long" }, - ReplicaProvisionedReadCapacityAutoScalingSettings: { - shape: "S55", - }, - ReplicaProvisionedWriteCapacityUnits: { type: "long" }, - ReplicaProvisionedWriteCapacityAutoScalingSettings: { - shape: "S55", - }, - ReplicaGlobalSecondaryIndexSettings: { - type: "list", - member: { - type: "structure", - required: ["IndexName"], - members: { - IndexName: {}, - IndexStatus: {}, - ProvisionedReadCapacityUnits: { type: "long" }, - ProvisionedReadCapacityAutoScalingSettings: { - shape: "S55", - }, - ProvisionedWriteCapacityUnits: { type: "long" }, - ProvisionedWriteCapacityAutoScalingSettings: { - shape: "S55", - }, - }, - }, - }, - }, - }, - }, - S55: { - type: "structure", - members: { - MinimumUnits: { type: "long" }, - MaximumUnits: { type: "long" }, - AutoScalingDisabled: { type: "boolean" }, - AutoScalingRoleArn: {}, - ScalingPolicies: { - type: "list", - member: { - type: "structure", - members: { - PolicyName: {}, - TargetTrackingScalingPolicyConfiguration: { - type: "structure", - required: ["TargetValue"], - members: { - DisableScaleIn: { type: "boolean" }, - ScaleInCooldown: { type: "integer" }, - ScaleOutCooldown: { type: "integer" }, - TargetValue: { type: "double" }, - }, - }, - }, - }, - }, - }, - }, - S5k: { - type: "structure", - members: { - TableName: {}, - TableStatus: {}, - Replicas: { - type: "list", - member: { - type: "structure", - members: { - RegionName: {}, - GlobalSecondaryIndexes: { - type: "list", - member: { - type: "structure", - members: { - IndexName: {}, - IndexStatus: {}, - ProvisionedReadCapacityAutoScalingSettings: { - shape: "S55", - }, - ProvisionedWriteCapacityAutoScalingSettings: { - shape: "S55", - }, - }, - }, - }, - ReplicaProvisionedReadCapacityAutoScalingSettings: { - shape: "S55", - }, - ReplicaProvisionedWriteCapacityAutoScalingSettings: { - shape: "S55", - }, - ReplicaStatus: {}, - }, - }, + name: {}, + description: {}, + type: {}, + properties: { shape: "S3x" }, }, }, }, - S6o: { + S45: { type: "structure", - required: ["ComparisonOperator"], + required: ["id", "name", "dataType"], members: { - AttributeValueList: { shape: "S45" }, - ComparisonOperator: {}, + id: {}, + name: {}, + alias: {}, + notification: { shape: "S3o" }, + dataType: {}, + unit: {}, + type: { shape: "S1u" }, }, }, - S6p: { type: "map", key: {}, value: { shape: "S6o" } }, - S7z: { + S4c: { type: "structure", + required: ["state"], members: { - MinimumUnits: { type: "long" }, - MaximumUnits: { type: "long" }, - AutoScalingDisabled: { type: "boolean" }, - AutoScalingRoleArn: {}, - ScalingPolicyUpdate: { + state: {}, + error: { type: "structure", - required: ["TargetTrackingScalingPolicyConfiguration"], - members: { - PolicyName: {}, - TargetTrackingScalingPolicyConfiguration: { - type: "structure", - required: ["TargetValue"], - members: { - DisableScaleIn: { type: "boolean" }, - ScaleInCooldown: { type: "integer" }, - ScaleOutCooldown: { type: "integer" }, - TargetValue: { type: "double" }, - }, - }, - }, + required: ["code", "message"], + members: { code: {}, message: {} }, }, }, }, - S8o: { + S4h: { type: "list", member: { type: "structure", - required: ["IndexName"], - members: { - IndexName: {}, - ProvisionedThroughputOverride: { shape: "S20" }, - }, + required: ["capabilityNamespace", "capabilitySyncStatus"], + members: { capabilityNamespace: {}, capabilitySyncStatus: {} }, }, }, - S92: { + S4q: { type: "structure", - required: ["Enabled", "AttributeName"], - members: { Enabled: { type: "boolean" }, AttributeName: {} }, + required: ["level"], + members: { level: {} }, }, + S53: { type: "list", member: {} }, }, }; /***/ }, - /***/ 1917: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["codegurureviewer"] = {}; - AWS.CodeGuruReviewer = Service.defineService("codegurureviewer", [ - "2019-09-19", - ]); - Object.defineProperty( - apiLoader.services["codegurureviewer"], - "2019-09-19", - { - get: function get() { - var model = __webpack_require__(4912); - model.paginators = __webpack_require__(5388).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.CodeGuruReviewer; - - /***/ - }, - - /***/ 1920: /***/ function (module, __unusedexports, __webpack_require__) { + /***/ 1879: /***/ function (module, __unusedexports, __webpack_require__) { __webpack_require__(3234); var AWS = __webpack_require__(395); var Service = AWS.Service; var apiLoader = AWS.apiLoader; - apiLoader.services["es"] = {}; - AWS.ES = Service.defineService("es", ["2015-01-01"]); - Object.defineProperty(apiLoader.services["es"], "2015-01-01", { + apiLoader.services["lexruntime"] = {}; + AWS.LexRuntime = Service.defineService("lexruntime", ["2016-11-28"]); + Object.defineProperty(apiLoader.services["lexruntime"], "2016-11-28", { get: function get() { - var model = __webpack_require__(9307); - model.paginators = __webpack_require__(9743).pagination; + var model = __webpack_require__(1352); + model.paginators = __webpack_require__(2681).pagination; return model; }, enumerable: true, configurable: true, }); - module.exports = AWS.ES; + module.exports = AWS.LexRuntime; /***/ }, - /***/ 1928: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + /***/ 1881: /***/ function (module, __unusedexports, __webpack_require__) { + // Unique ID creation requires a high quality random # generator. In node.js + // this is pretty straight-forward - we use the crypto API. - apiLoader.services["emr"] = {}; - AWS.EMR = Service.defineService("emr", ["2009-03-31"]); - Object.defineProperty(apiLoader.services["emr"], "2009-03-31", { - get: function get() { - var model = __webpack_require__(437); - model.paginators = __webpack_require__(240).pagination; - model.waiters = __webpack_require__(6023).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); + var crypto = __webpack_require__(6417); - module.exports = AWS.EMR; + module.exports = function nodeRNG() { + return crypto.randomBytes(16); + }; /***/ }, - /***/ 1944: /***/ function (module) { - module.exports = { - pagination: { - ListConfigs: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "configList", - }, - ListContacts: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "contactList", - }, - ListDataflowEndpointGroups: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "dataflowEndpointGroupList", - }, - ListGroundStations: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "groundStationList", - }, - ListMissionProfiles: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "missionProfileList", + /***/ 1885: /***/ function (__unusedmodule, exports, __webpack_require__) { + // Generated by CoffeeScript 1.12.7 + (function () { + "use strict"; + var bom, + defaults, + events, + isEmpty, + processItem, + processors, + sax, + setImmediate, + bind = function (fn, me) { + return function () { + return fn.apply(me, arguments); + }; }, - ListSatellites: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - result_key: "satellites", + extend = function (child, parent) { + for (var key in parent) { + if (hasProp.call(parent, key)) child[key] = parent[key]; + } + function ctor() { + this.constructor = child; + } + ctor.prototype = parent.prototype; + child.prototype = new ctor(); + child.__super__ = parent.prototype; + return child; }, - }, - }; - - /***/ - }, - - /***/ 1955: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; - - const path = __webpack_require__(5622); - const childProcess = __webpack_require__(3129); - const crossSpawn = __webpack_require__(20); - const stripEof = __webpack_require__(3768); - const npmRunPath = __webpack_require__(4621); - const isStream = __webpack_require__(323); - const _getStream = __webpack_require__(145); - const pFinally = __webpack_require__(8697); - const onExit = __webpack_require__(5260); - const errname = __webpack_require__(4427); - const stdio = __webpack_require__(1168); - - const TEN_MEGABYTES = 1000 * 1000 * 10; + hasProp = {}.hasOwnProperty; - function handleArgs(cmd, args, opts) { - let parsed; + sax = __webpack_require__(4645); - opts = Object.assign( - { - extendEnv: true, - env: {}, - }, - opts - ); + events = __webpack_require__(8614); - if (opts.extendEnv) { - opts.env = Object.assign({}, process.env, opts.env); - } + bom = __webpack_require__(6210); - if (opts.__winShell === true) { - delete opts.__winShell; - parsed = { - command: cmd, - args, - options: opts, - file: cmd, - original: { - cmd, - args, - }, - }; - } else { - parsed = crossSpawn._parse(cmd, args, opts); - } + processors = __webpack_require__(5350); - opts = Object.assign( - { - maxBuffer: TEN_MEGABYTES, - buffer: true, - stripEof: true, - preferLocal: true, - localDir: parsed.options.cwd || process.cwd(), - encoding: "utf8", - reject: true, - cleanup: true, - }, - parsed.options - ); + setImmediate = __webpack_require__(8213).setImmediate; - opts.stdio = stdio(opts); + defaults = __webpack_require__(1514).defaults; - if (opts.preferLocal) { - opts.env = npmRunPath.env( - Object.assign({}, opts, { cwd: opts.localDir }) + isEmpty = function (thing) { + return ( + typeof thing === "object" && + thing != null && + Object.keys(thing).length === 0 ); - } - - if (opts.detached) { - // #115 - opts.cleanup = false; - } - - if ( - process.platform === "win32" && - path.basename(parsed.command) === "cmd.exe" - ) { - // #116 - parsed.args.unshift("/q"); - } - - return { - cmd: parsed.command, - args: parsed.args, - opts, - parsed, }; - } - - function handleInput(spawned, input) { - if (input === null || input === undefined) { - return; - } - if (isStream(input)) { - input.pipe(spawned.stdin); - } else { - spawned.stdin.end(input); - } - } + processItem = function (processors, item, key) { + var i, len, process; + for (i = 0, len = processors.length; i < len; i++) { + process = processors[i]; + item = process(item, key); + } + return item; + }; - function handleOutput(opts, val) { - if (val && opts.stripEof) { - val = stripEof(val); - } + exports.Parser = (function (superClass) { + extend(Parser, superClass); - return val; - } - - function handleShell(fn, cmd, opts) { - let file = "/bin/sh"; - let args = ["-c", cmd]; - - opts = Object.assign({}, opts); - - if (process.platform === "win32") { - opts.__winShell = true; - file = process.env.comspec || "cmd.exe"; - args = ["/s", "/c", `"${cmd}"`]; - opts.windowsVerbatimArguments = true; - } - - if (opts.shell) { - file = opts.shell; - delete opts.shell; - } - - return fn(file, args, opts); - } - - function getStream(process, stream, { encoding, buffer, maxBuffer }) { - if (!process[stream]) { - return null; - } - - let ret; - - if (!buffer) { - // TODO: Use `ret = util.promisify(stream.finished)(process[stream]);` when targeting Node.js 10 - ret = new Promise((resolve, reject) => { - process[stream].once("end", resolve).once("error", reject); - }); - } else if (encoding) { - ret = _getStream(process[stream], { - encoding, - maxBuffer, - }); - } else { - ret = _getStream.buffer(process[stream], { maxBuffer }); - } - - return ret.catch((err) => { - err.stream = stream; - err.message = `${stream} ${err.message}`; - throw err; - }); - } - - function makeError(result, options) { - const { stdout, stderr } = result; - - let err = result.error; - const { code, signal } = result; - - const { parsed, joinedCmd } = options; - const timedOut = options.timedOut || false; - - if (!err) { - let output = ""; - - if (Array.isArray(parsed.opts.stdio)) { - if (parsed.opts.stdio[2] !== "inherit") { - output += output.length > 0 ? stderr : `\n${stderr}`; + function Parser(opts) { + this.parseString = bind(this.parseString, this); + this.reset = bind(this.reset, this); + this.assignOrPush = bind(this.assignOrPush, this); + this.processAsync = bind(this.processAsync, this); + var key, ref, value; + if (!(this instanceof exports.Parser)) { + return new exports.Parser(opts); } - - if (parsed.opts.stdio[1] !== "inherit") { - output += `\n${stdout}`; + this.options = {}; + ref = defaults["0.2"]; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; + value = ref[key]; + this.options[key] = value; } - } else if (parsed.opts.stdio !== "inherit") { - output = `\n${stderr}${stdout}`; - } - - err = new Error(`Command failed: ${joinedCmd}${output}`); - err.code = code < 0 ? errname(code) : code; - } - - err.stdout = stdout; - err.stderr = stderr; - err.failed = true; - err.signal = signal || null; - err.cmd = joinedCmd; - err.timedOut = timedOut; - - return err; - } - - function joinCmd(cmd, args) { - let joinedCmd = cmd; - - if (Array.isArray(args) && args.length > 0) { - joinedCmd += " " + args.join(" "); - } - - return joinedCmd; - } - - module.exports = (cmd, args, opts) => { - const parsed = handleArgs(cmd, args, opts); - const { encoding, buffer, maxBuffer } = parsed.opts; - const joinedCmd = joinCmd(cmd, args); - - let spawned; - try { - spawned = childProcess.spawn(parsed.cmd, parsed.args, parsed.opts); - } catch (err) { - return Promise.reject(err); - } - - let removeExitHandler; - if (parsed.opts.cleanup) { - removeExitHandler = onExit(() => { - spawned.kill(); - }); - } - - let timeoutId = null; - let timedOut = false; - - const cleanup = () => { - if (timeoutId) { - clearTimeout(timeoutId); - timeoutId = null; - } - - if (removeExitHandler) { - removeExitHandler(); + for (key in opts) { + if (!hasProp.call(opts, key)) continue; + value = opts[key]; + this.options[key] = value; + } + if (this.options.xmlns) { + this.options.xmlnskey = this.options.attrkey + "ns"; + } + if (this.options.normalizeTags) { + if (!this.options.tagNameProcessors) { + this.options.tagNameProcessors = []; + } + this.options.tagNameProcessors.unshift(processors.normalize); + } + this.reset(); } - }; - - if (parsed.opts.timeout > 0) { - timeoutId = setTimeout(() => { - timeoutId = null; - timedOut = true; - spawned.kill(parsed.opts.killSignal); - }, parsed.opts.timeout); - } - const processDone = new Promise((resolve) => { - spawned.on("exit", (code, signal) => { - cleanup(); - resolve({ code, signal }); - }); + Parser.prototype.processAsync = function () { + var chunk, err; + try { + if (this.remaining.length <= this.options.chunkSize) { + chunk = this.remaining; + this.remaining = ""; + this.saxParser = this.saxParser.write(chunk); + return this.saxParser.close(); + } else { + chunk = this.remaining.substr(0, this.options.chunkSize); + this.remaining = this.remaining.substr( + this.options.chunkSize, + this.remaining.length + ); + this.saxParser = this.saxParser.write(chunk); + return setImmediate(this.processAsync); + } + } catch (error1) { + err = error1; + if (!this.saxParser.errThrown) { + this.saxParser.errThrown = true; + return this.emit(err); + } + } + }; - spawned.on("error", (err) => { - cleanup(); - resolve({ error: err }); - }); + Parser.prototype.assignOrPush = function (obj, key, newValue) { + if (!(key in obj)) { + if (!this.options.explicitArray) { + return (obj[key] = newValue); + } else { + return (obj[key] = [newValue]); + } + } else { + if (!(obj[key] instanceof Array)) { + obj[key] = [obj[key]]; + } + return obj[key].push(newValue); + } + }; - if (spawned.stdin) { - spawned.stdin.on("error", (err) => { - cleanup(); - resolve({ error: err }); + Parser.prototype.reset = function () { + var attrkey, charkey, ontext, stack; + this.removeAllListeners(); + this.saxParser = sax.parser(this.options.strict, { + trim: false, + normalize: false, + xmlns: this.options.xmlns, }); - } - }); - - function destroy() { - if (spawned.stdout) { - spawned.stdout.destroy(); - } - - if (spawned.stderr) { - spawned.stderr.destroy(); - } - } - - const handlePromise = () => - pFinally( - Promise.all([ - processDone, - getStream(spawned, "stdout", { encoding, buffer, maxBuffer }), - getStream(spawned, "stderr", { encoding, buffer, maxBuffer }), - ]).then((arr) => { - const result = arr[0]; - result.stdout = arr[1]; - result.stderr = arr[2]; - - if (result.error || result.code !== 0 || result.signal !== null) { - const err = makeError(result, { - joinedCmd, - parsed, - timedOut, - }); - - // TODO: missing some timeout logic for killed - // https://github.com/nodejs/node/blob/master/lib/child_process.js#L203 - // err.killed = spawned.killed || killed; - err.killed = err.killed || spawned.killed; - - if (!parsed.opts.reject) { - return err; + this.saxParser.errThrown = false; + this.saxParser.onerror = (function (_this) { + return function (error) { + _this.saxParser.resume(); + if (!_this.saxParser.errThrown) { + _this.saxParser.errThrown = true; + return _this.emit("error", error); + } + }; + })(this); + this.saxParser.onend = (function (_this) { + return function () { + if (!_this.saxParser.ended) { + _this.saxParser.ended = true; + return _this.emit("end", _this.resultObject); + } + }; + })(this); + this.saxParser.ended = false; + this.EXPLICIT_CHARKEY = this.options.explicitCharkey; + this.resultObject = null; + stack = []; + attrkey = this.options.attrkey; + charkey = this.options.charkey; + this.saxParser.onopentag = (function (_this) { + return function (node) { + var key, newValue, obj, processedKey, ref; + obj = {}; + obj[charkey] = ""; + if (!_this.options.ignoreAttrs) { + ref = node.attributes; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; + if (!(attrkey in obj) && !_this.options.mergeAttrs) { + obj[attrkey] = {}; + } + newValue = _this.options.attrValueProcessors + ? processItem( + _this.options.attrValueProcessors, + node.attributes[key], + key + ) + : node.attributes[key]; + processedKey = _this.options.attrNameProcessors + ? processItem(_this.options.attrNameProcessors, key) + : key; + if (_this.options.mergeAttrs) { + _this.assignOrPush(obj, processedKey, newValue); + } else { + obj[attrkey][processedKey] = newValue; + } + } + } + obj["#name"] = _this.options.tagNameProcessors + ? processItem(_this.options.tagNameProcessors, node.name) + : node.name; + if (_this.options.xmlns) { + obj[_this.options.xmlnskey] = { + uri: node.uri, + local: node.local, + }; + } + return stack.push(obj); + }; + })(this); + this.saxParser.onclosetag = (function (_this) { + return function () { + var cdata, + emptyStr, + key, + node, + nodeName, + obj, + objClone, + old, + s, + xpath; + obj = stack.pop(); + nodeName = obj["#name"]; + if ( + !_this.options.explicitChildren || + !_this.options.preserveChildrenOrder + ) { + delete obj["#name"]; + } + if (obj.cdata === true) { + cdata = obj.cdata; + delete obj.cdata; + } + s = stack[stack.length - 1]; + if (obj[charkey].match(/^\s*$/) && !cdata) { + emptyStr = obj[charkey]; + delete obj[charkey]; + } else { + if (_this.options.trim) { + obj[charkey] = obj[charkey].trim(); + } + if (_this.options.normalize) { + obj[charkey] = obj[charkey].replace(/\s{2,}/g, " ").trim(); + } + obj[charkey] = _this.options.valueProcessors + ? processItem( + _this.options.valueProcessors, + obj[charkey], + nodeName + ) + : obj[charkey]; + if ( + Object.keys(obj).length === 1 && + charkey in obj && + !_this.EXPLICIT_CHARKEY + ) { + obj = obj[charkey]; + } + } + if (isEmpty(obj)) { + obj = + _this.options.emptyTag !== "" + ? _this.options.emptyTag + : emptyStr; + } + if (_this.options.validator != null) { + xpath = + "/" + + (function () { + var i, len, results; + results = []; + for (i = 0, len = stack.length; i < len; i++) { + node = stack[i]; + results.push(node["#name"]); + } + return results; + })() + .concat(nodeName) + .join("/"); + (function () { + var err; + try { + return (obj = _this.options.validator( + xpath, + s && s[nodeName], + obj + )); + } catch (error1) { + err = error1; + return _this.emit("error", err); + } + })(); + } + if ( + _this.options.explicitChildren && + !_this.options.mergeAttrs && + typeof obj === "object" + ) { + if (!_this.options.preserveChildrenOrder) { + node = {}; + if (_this.options.attrkey in obj) { + node[_this.options.attrkey] = obj[_this.options.attrkey]; + delete obj[_this.options.attrkey]; + } + if ( + !_this.options.charsAsChildren && + _this.options.charkey in obj + ) { + node[_this.options.charkey] = obj[_this.options.charkey]; + delete obj[_this.options.charkey]; + } + if (Object.getOwnPropertyNames(obj).length > 0) { + node[_this.options.childkey] = obj; + } + obj = node; + } else if (s) { + s[_this.options.childkey] = s[_this.options.childkey] || []; + objClone = {}; + for (key in obj) { + if (!hasProp.call(obj, key)) continue; + objClone[key] = obj[key]; + } + s[_this.options.childkey].push(objClone); + delete obj["#name"]; + if ( + Object.keys(obj).length === 1 && + charkey in obj && + !_this.EXPLICIT_CHARKEY + ) { + obj = obj[charkey]; + } + } + } + if (stack.length > 0) { + return _this.assignOrPush(s, nodeName, obj); + } else { + if (_this.options.explicitRoot) { + old = obj; + obj = {}; + obj[nodeName] = old; + } + _this.resultObject = obj; + _this.saxParser.ended = true; + return _this.emit("end", _this.resultObject); + } + }; + })(this); + ontext = (function (_this) { + return function (text) { + var charChild, s; + s = stack[stack.length - 1]; + if (s) { + s[charkey] += text; + if ( + _this.options.explicitChildren && + _this.options.preserveChildrenOrder && + _this.options.charsAsChildren && + (_this.options.includeWhiteChars || + text.replace(/\\n/g, "").trim() !== "") + ) { + s[_this.options.childkey] = s[_this.options.childkey] || []; + charChild = { + "#name": "__text__", + }; + charChild[charkey] = text; + if (_this.options.normalize) { + charChild[charkey] = charChild[charkey] + .replace(/\s{2,}/g, " ") + .trim(); + } + s[_this.options.childkey].push(charChild); + } + return s; + } + }; + })(this); + this.saxParser.ontext = ontext; + return (this.saxParser.oncdata = (function (_this) { + return function (text) { + var s; + s = ontext(text); + if (s) { + return (s.cdata = true); } + }; + })(this)); + }; + Parser.prototype.parseString = function (str, cb) { + var err; + if (cb != null && typeof cb === "function") { + this.on("end", function (result) { + this.reset(); + return cb(null, result); + }); + this.on("error", function (err) { + this.reset(); + return cb(err); + }); + } + try { + str = str.toString(); + if (str.trim() === "") { + this.emit("end", null); + return true; + } + str = bom.stripBOM(str); + if (this.options.async) { + this.remaining = str; + setImmediate(this.processAsync); + return this.saxParser; + } + return this.saxParser.write(str).close(); + } catch (error1) { + err = error1; + if (!(this.saxParser.errThrown || this.saxParser.ended)) { + this.emit("error", err); + return (this.saxParser.errThrown = true); + } else if (this.saxParser.ended) { throw err; } + } + }; - return { - stdout: handleOutput(parsed.opts, result.stdout), - stderr: handleOutput(parsed.opts, result.stderr), - code: 0, - failed: false, - killed: false, - signal: null, - cmd: joinedCmd, - timedOut: false, - }; - }), - destroy - ); - - crossSpawn._enoent.hookChildProcess(spawned, parsed.parsed); - - handleInput(spawned, parsed.opts.input); - - spawned.then = (onfulfilled, onrejected) => - handlePromise().then(onfulfilled, onrejected); - spawned.catch = (onrejected) => handlePromise().catch(onrejected); - - return spawned; - }; - - // TODO: set `stderr: 'ignore'` when that option is implemented - module.exports.stdout = (...args) => - module.exports(...args).then((x) => x.stdout); - - // TODO: set `stdout: 'ignore'` when that option is implemented - module.exports.stderr = (...args) => - module.exports(...args).then((x) => x.stderr); - - module.exports.shell = (cmd, opts) => - handleShell(module.exports, cmd, opts); - - module.exports.sync = (cmd, args, opts) => { - const parsed = handleArgs(cmd, args, opts); - const joinedCmd = joinCmd(cmd, args); - - if (isStream(parsed.opts.input)) { - throw new TypeError( - "The `input` option cannot be a stream in sync mode" - ); - } - - const result = childProcess.spawnSync( - parsed.cmd, - parsed.args, - parsed.opts - ); - result.code = result.status; - - if (result.error || result.status !== 0 || result.signal !== null) { - const err = makeError(result, { - joinedCmd, - parsed, - }); + return Parser; + })(events.EventEmitter); - if (!parsed.opts.reject) { - return err; + exports.parseString = function (str, a, b) { + var cb, options, parser; + if (b != null) { + if (typeof b === "function") { + cb = b; + } + if (typeof a === "object") { + options = a; + } + } else { + if (typeof a === "function") { + cb = a; + } + options = {}; } - - throw err; - } - - return { - stdout: handleOutput(parsed.opts, result.stdout), - stderr: handleOutput(parsed.opts, result.stderr), - code: 0, - failed: false, - signal: null, - cmd: joinedCmd, - timedOut: false, + parser = new exports.Parser(options); + return parser.parseString(str, cb); }; - }; - - module.exports.shellSync = (cmd, opts) => - handleShell(module.exports.sync, cmd, opts); - - /***/ - }, - - /***/ 1957: /***/ function (module) { - module.exports = { - pagination: { - ListClusters: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "ClusterInfoList", - }, - ListConfigurations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Configurations", - }, - ListKafkaVersions: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "KafkaVersions", - }, - ListNodes: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "NodeInfoList", - }, - ListClusterOperations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "ClusterOperationInfoList", - }, - ListConfigurationRevisions: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Revisions", - }, - }, - }; - - /***/ - }, - - /***/ 1969: /***/ function (module) { - module.exports = { pagination: {} }; + }.call(this)); /***/ }, - /***/ 1971: /***/ function (module) { + /***/ 1890: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2016-11-01", - endpointPrefix: "opsworks-cm", + apiVersion: "2018-01-12", + endpointPrefix: "dlm", jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "OpsWorksCM", - serviceFullName: "AWS OpsWorks CM", - serviceId: "OpsWorksCM", + protocol: "rest-json", + serviceAbbreviation: "Amazon DLM", + serviceFullName: "Amazon Data Lifecycle Manager", + serviceId: "DLM", signatureVersion: "v4", - signingName: "opsworks-cm", - targetPrefix: "OpsWorksCM_V2016_11_01", - uid: "opsworkscm-2016-11-01", + signingName: "dlm", + uid: "dlm-2018-01-12", }, operations: { - AssociateNode: { - input: { - type: "structure", - required: ["ServerName", "NodeName", "EngineAttributes"], - members: { - ServerName: {}, - NodeName: {}, - EngineAttributes: { shape: "S4" }, - }, - }, - output: { - type: "structure", - members: { NodeAssociationStatusToken: {} }, - }, - }, - CreateBackup: { + CreateLifecyclePolicy: { + http: { requestUri: "/policies" }, input: { type: "structure", - required: ["ServerName"], + required: [ + "ExecutionRoleArn", + "Description", + "State", + "PolicyDetails", + ], members: { - ServerName: {}, + ExecutionRoleArn: {}, Description: {}, - Tags: { shape: "Sc" }, + State: {}, + PolicyDetails: { shape: "S5" }, + Tags: { shape: "S1l" }, }, }, - output: { type: "structure", members: { Backup: { shape: "Sh" } } }, + output: { type: "structure", members: { PolicyId: {} } }, }, - CreateServer: { + DeleteLifecyclePolicy: { + http: { method: "DELETE", requestUri: "/policies/{policyId}/" }, input: { type: "structure", - required: [ - "ServerName", - "InstanceProfileArn", - "InstanceType", - "ServiceRoleArn", - ], + required: ["PolicyId"], members: { - AssociatePublicIpAddress: { type: "boolean" }, - CustomDomain: {}, - CustomCertificate: {}, - CustomPrivateKey: { type: "string", sensitive: true }, - DisableAutomatedBackup: { type: "boolean" }, - Engine: {}, - EngineModel: {}, - EngineVersion: {}, - EngineAttributes: { shape: "S4" }, - BackupRetentionCount: { type: "integer" }, - ServerName: {}, - InstanceProfileArn: {}, - InstanceType: {}, - KeyPair: {}, - PreferredMaintenanceWindow: {}, - PreferredBackupWindow: {}, - SecurityGroupIds: { shape: "Sn" }, - ServiceRoleArn: {}, - SubnetIds: { shape: "Sn" }, - Tags: { shape: "Sc" }, - BackupId: {}, + PolicyId: { location: "uri", locationName: "policyId" }, }, }, - output: { type: "structure", members: { Server: { shape: "Sz" } } }, - }, - DeleteBackup: { - input: { - type: "structure", - required: ["BackupId"], - members: { BackupId: {} }, - }, output: { type: "structure", members: {} }, }, - DeleteServer: { + GetLifecyclePolicies: { + http: { method: "GET", requestUri: "/policies" }, input: { - type: "structure", - required: ["ServerName"], - members: { ServerName: {} }, - }, - output: { type: "structure", members: {} }, - }, - DescribeAccountAttributes: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: { - Attributes: { + PolicyIds: { + location: "querystring", + locationName: "policyIds", type: "list", - member: { - type: "structure", - members: { - Name: {}, - Maximum: { type: "integer" }, - Used: { type: "integer" }, - }, - }, + member: {}, + }, + State: { location: "querystring", locationName: "state" }, + ResourceTypes: { + shape: "S7", + location: "querystring", + locationName: "resourceTypes", + }, + TargetTags: { + location: "querystring", + locationName: "targetTags", + type: "list", + member: {}, + }, + TagsToAdd: { + location: "querystring", + locationName: "tagsToAdd", + type: "list", + member: {}, }, - }, - }, - }, - DescribeBackups: { - input: { - type: "structure", - members: { - BackupId: {}, - ServerName: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Backups: { type: "list", member: { shape: "Sh" } }, - NextToken: {}, - }, - }, - }, - DescribeEvents: { - input: { - type: "structure", - required: ["ServerName"], - members: { - ServerName: {}, - NextToken: {}, - MaxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - ServerEvents: { + Policies: { type: "list", member: { type: "structure", members: { - CreatedAt: { type: "timestamp" }, - ServerName: {}, - Message: {}, - LogUrl: {}, + PolicyId: {}, + Description: {}, + State: {}, + Tags: { shape: "S1l" }, + PolicyType: {}, }, }, }, - NextToken: {}, - }, - }, - }, - DescribeNodeAssociationStatus: { - input: { - type: "structure", - required: ["NodeAssociationStatusToken", "ServerName"], - members: { NodeAssociationStatusToken: {}, ServerName: {} }, - }, - output: { - type: "structure", - members: { - NodeAssociationStatus: {}, - EngineAttributes: { shape: "S4" }, - }, - }, - }, - DescribeServers: { - input: { - type: "structure", - members: { - ServerName: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Servers: { type: "list", member: { shape: "Sz" } }, - NextToken: {}, }, }, }, - DisassociateNode: { + GetLifecyclePolicy: { + http: { method: "GET", requestUri: "/policies/{policyId}/" }, input: { type: "structure", - required: ["ServerName", "NodeName"], + required: ["PolicyId"], members: { - ServerName: {}, - NodeName: {}, - EngineAttributes: { shape: "S4" }, + PolicyId: { location: "uri", locationName: "policyId" }, }, }, output: { type: "structure", - members: { NodeAssociationStatusToken: {} }, - }, - }, - ExportServerEngineAttribute: { - input: { - type: "structure", - required: ["ExportAttributeName", "ServerName"], members: { - ExportAttributeName: {}, - ServerName: {}, - InputAttributes: { shape: "S4" }, + Policy: { + type: "structure", + members: { + PolicyId: {}, + Description: {}, + State: {}, + StatusMessage: {}, + ExecutionRoleArn: {}, + DateCreated: { shape: "S25" }, + DateModified: { shape: "S25" }, + PolicyDetails: { shape: "S5" }, + Tags: { shape: "S1l" }, + PolicyArn: {}, + }, + }, }, }, - output: { - type: "structure", - members: { EngineAttribute: { shape: "S5" }, ServerName: {} }, - }, }, ListTagsForResource: { + http: { method: "GET", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", required: ["ResourceArn"], members: { - ResourceArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Tags: { shape: "Sc" }, NextToken: {} }, - }, - }, - RestoreServer: { - input: { - type: "structure", - required: ["BackupId", "ServerName"], - members: { - BackupId: {}, - ServerName: {}, - InstanceType: {}, - KeyPair: {}, + ResourceArn: { location: "uri", locationName: "resourceArn" }, }, }, - output: { type: "structure", members: {} }, - }, - StartMaintenance: { - input: { - type: "structure", - required: ["ServerName"], - members: { ServerName: {}, EngineAttributes: { shape: "S4" } }, - }, - output: { type: "structure", members: { Server: { shape: "Sz" } } }, + output: { type: "structure", members: { Tags: { shape: "S1l" } } }, }, TagResource: { + http: { requestUri: "/tags/{resourceArn}" }, input: { type: "structure", required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "Sc" } }, + members: { + ResourceArn: { location: "uri", locationName: "resourceArn" }, + Tags: { shape: "S1l" }, + }, }, output: { type: "structure", members: {} }, }, UntagResource: { + http: { method: "DELETE", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", required: ["ResourceArn", "TagKeys"], members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, + ResourceArn: { location: "uri", locationName: "resourceArn" }, + TagKeys: { + location: "querystring", + locationName: "tagKeys", + type: "list", + member: {}, + }, }, }, output: { type: "structure", members: {} }, }, - UpdateServer: { - input: { - type: "structure", - required: ["ServerName"], - members: { - DisableAutomatedBackup: { type: "boolean" }, - BackupRetentionCount: { type: "integer" }, - ServerName: {}, - PreferredMaintenanceWindow: {}, - PreferredBackupWindow: {}, - }, - }, - output: { type: "structure", members: { Server: { shape: "Sz" } } }, - }, - UpdateServerEngineAttributes: { + UpdateLifecyclePolicy: { + http: { method: "PATCH", requestUri: "/policies/{policyId}" }, input: { type: "structure", - required: ["ServerName", "AttributeName"], + required: ["PolicyId"], members: { - ServerName: {}, - AttributeName: {}, - AttributeValue: {}, + PolicyId: { location: "uri", locationName: "policyId" }, + ExecutionRoleArn: {}, + State: {}, + Description: {}, + PolicyDetails: { shape: "S5" }, }, }, - output: { type: "structure", members: { Server: { shape: "Sz" } } }, + output: { type: "structure", members: {} }, }, }, shapes: { - S4: { type: "list", member: { shape: "S5" } }, S5: { - type: "structure", - members: { Name: {}, Value: { type: "string", sensitive: true } }, - }, - Sc: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - Sh: { type: "structure", members: { - BackupArn: {}, - BackupId: {}, - BackupType: {}, - CreatedAt: { type: "timestamp" }, - Description: {}, - Engine: {}, - EngineModel: {}, - EngineVersion: {}, - InstanceProfileArn: {}, - InstanceType: {}, - KeyPair: {}, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - S3DataSize: { deprecated: true, type: "integer" }, - S3DataUrl: { deprecated: true }, - S3LogUrl: {}, - SecurityGroupIds: { shape: "Sn" }, - ServerName: {}, - ServiceRoleArn: {}, - Status: {}, - StatusDescription: {}, - SubnetIds: { shape: "Sn" }, - ToolsVersion: {}, - UserArn: {}, + PolicyType: {}, + ResourceTypes: { shape: "S7" }, + TargetTags: { type: "list", member: { shape: "Sa" } }, + Schedules: { + type: "list", + member: { + type: "structure", + members: { + Name: {}, + CopyTags: { type: "boolean" }, + TagsToAdd: { type: "list", member: { shape: "Sa" } }, + VariableTags: { type: "list", member: { shape: "Sa" } }, + CreateRule: { + type: "structure", + members: { + Interval: { type: "integer" }, + IntervalUnit: {}, + Times: { type: "list", member: {} }, + CronExpression: {}, + }, + }, + RetainRule: { + type: "structure", + members: { + Count: { type: "integer" }, + Interval: { type: "integer" }, + IntervalUnit: {}, + }, + }, + FastRestoreRule: { + type: "structure", + required: ["AvailabilityZones"], + members: { + Count: { type: "integer" }, + Interval: { type: "integer" }, + IntervalUnit: {}, + AvailabilityZones: { type: "list", member: {} }, + }, + }, + CrossRegionCopyRules: { + type: "list", + member: { + type: "structure", + required: ["TargetRegion", "Encrypted"], + members: { + TargetRegion: {}, + Encrypted: { type: "boolean" }, + CmkArn: {}, + CopyTags: { type: "boolean" }, + RetainRule: { shape: "S10" }, + }, + }, + }, + ShareRules: { + type: "list", + member: { + type: "structure", + required: ["TargetAccounts"], + members: { + TargetAccounts: { type: "list", member: {} }, + UnshareInterval: { type: "integer" }, + UnshareIntervalUnit: {}, + }, + }, + }, + }, + }, + }, + Parameters: { + type: "structure", + members: { + ExcludeBootVolume: { type: "boolean" }, + NoReboot: { type: "boolean" }, + }, + }, + EventSource: { + type: "structure", + required: ["Type"], + members: { + Type: {}, + Parameters: { + type: "structure", + required: [ + "EventType", + "SnapshotOwner", + "DescriptionRegex", + ], + members: { + EventType: {}, + SnapshotOwner: { type: "list", member: {} }, + DescriptionRegex: {}, + }, + }, + }, + }, + Actions: { + type: "list", + member: { + type: "structure", + required: ["Name", "CrossRegionCopy"], + members: { + Name: {}, + CrossRegionCopy: { + type: "list", + member: { + type: "structure", + required: ["Target", "EncryptionConfiguration"], + members: { + Target: {}, + EncryptionConfiguration: { + type: "structure", + required: ["Encrypted"], + members: { + Encrypted: { type: "boolean" }, + CmkArn: {}, + }, + }, + RetainRule: { shape: "S10" }, + }, + }, + }, + }, + }, + }, }, }, - Sn: { type: "list", member: {} }, - Sz: { + S7: { type: "list", member: {} }, + Sa: { type: "structure", - members: { - AssociatePublicIpAddress: { type: "boolean" }, - BackupRetentionCount: { type: "integer" }, - ServerName: {}, - CreatedAt: { type: "timestamp" }, - CloudFormationStackArn: {}, - CustomDomain: {}, - DisableAutomatedBackup: { type: "boolean" }, - Endpoint: {}, - Engine: {}, - EngineModel: {}, - EngineAttributes: { shape: "S4" }, - EngineVersion: {}, - InstanceProfileArn: {}, - InstanceType: {}, - KeyPair: {}, - MaintenanceStatus: {}, - PreferredMaintenanceWindow: {}, - PreferredBackupWindow: {}, - SecurityGroupIds: { shape: "Sn" }, - ServiceRoleArn: {}, - Status: {}, - StatusReason: {}, - SubnetIds: { shape: "Sn" }, - ServerArn: {}, - }, + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, }, - }, - }; - - /***/ - }, - - /***/ 1986: /***/ function (module) { - module.exports = { - pagination: { - DescribeHomeRegionControls: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + S10: { + type: "structure", + members: { Interval: { type: "integer" }, IntervalUnit: {} }, }, + S1l: { type: "map", key: {}, value: {} }, + S25: { type: "timestamp", timestampFormat: "iso8601" }, }, }; /***/ }, - /***/ 2007: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - __webpack_require__(1371); - - AWS.util.update(AWS.DynamoDB.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (request.service.config.dynamoDbCrc32) { - request.removeListener( - "extractData", - AWS.EventListeners.Json.EXTRACT_DATA - ); - request.addListener("extractData", this.checkCrc32); - request.addListener( - "extractData", - AWS.EventListeners.Json.EXTRACT_DATA - ); - } - }, - - /** - * @api private - */ - checkCrc32: function checkCrc32(resp) { - if ( - !resp.httpResponse.streaming && - !resp.request.service.crc32IsValid(resp) - ) { - resp.data = null; - resp.error = AWS.util.error(new Error(), { - code: "CRC32CheckFailed", - message: "CRC32 integrity check failed", - retryable: true, - }); - resp.request.haltHandlersOnError(); - throw resp.error; - } - }, - - /** - * @api private - */ - crc32IsValid: function crc32IsValid(resp) { - var crc = resp.httpResponse.headers["x-amz-crc32"]; - if (!crc) return true; // no (valid) CRC32 header - return ( - parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body) - ); - }, - - /** - * @api private - */ - defaultRetryCount: 10, - - /** - * @api private - */ - retryDelays: function retryDelays(retryCount, err) { - var retryDelayOptions = AWS.util.copy(this.config.retryDelayOptions); - - if (typeof retryDelayOptions.base !== "number") { - retryDelayOptions.base = 50; // default for dynamodb - } - var delay = AWS.util.calculateRetryDelay( - retryCount, - retryDelayOptions, - err - ); - return delay; - }, - }); - - /***/ - }, - - /***/ 2020: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["apigatewayv2"] = {}; - AWS.ApiGatewayV2 = Service.defineService("apigatewayv2", ["2018-11-29"]); - Object.defineProperty(apiLoader.services["apigatewayv2"], "2018-11-29", { - get: function get() { - var model = __webpack_require__(5687); - model.paginators = __webpack_require__(4725).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.ApiGatewayV2; - - /***/ - }, - - /***/ 2028: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, - - /***/ 2046: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, - - /***/ 2053: /***/ function (module) { + /***/ 1894: /***/ function (module) { module.exports = { + version: "2.0", metadata: { - apiVersion: "2017-06-07", - endpointPrefix: "greengrass", - signingName: "greengrass", - serviceFullName: "AWS Greengrass", - serviceId: "Greengrass", - protocol: "rest-json", + apiVersion: "2018-03-01", + endpointPrefix: "fsx", jsonVersion: "1.1", - uid: "greengrass-2017-06-07", + protocol: "json", + serviceFullName: "Amazon FSx", + serviceId: "FSx", signatureVersion: "v4", + signingName: "fsx", + targetPrefix: "AWSSimbaAPIService_v20180301", + uid: "fsx-2018-03-01", }, operations: { - AssociateRoleToGroup: { - http: { - method: "PUT", - requestUri: "/greengrass/groups/{GroupId}/role", - responseCode: 200, - }, + AssociateFileSystemAliases: { input: { type: "structure", + required: ["FileSystemId", "Aliases"], members: { - GroupId: { location: "uri", locationName: "GroupId" }, - RoleArn: {}, + ClientRequestToken: { idempotencyToken: true }, + FileSystemId: {}, + Aliases: { shape: "S4" }, }, - required: ["GroupId", "RoleArn"], - }, - output: { type: "structure", members: { AssociatedAt: {} } }, - }, - AssociateServiceRoleToAccount: { - http: { - method: "PUT", - requestUri: "/greengrass/servicerole", - responseCode: 200, }, - input: { + output: { type: "structure", - members: { RoleArn: {} }, - required: ["RoleArn"], + members: { Aliases: { shape: "S7" } }, }, - output: { type: "structure", members: { AssociatedAt: {} } }, }, - CreateConnectorDefinition: { - http: { - requestUri: "/greengrass/definition/connectors", - responseCode: 200, - }, + CancelDataRepositoryTask: { input: { type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "S7" }, - Name: {}, - tags: { shape: "Sb" }, - }, + required: ["TaskId"], + members: { TaskId: {} }, }, output: { type: "structure", + members: { Lifecycle: {}, TaskId: {} }, + }, + idempotent: true, + }, + CreateBackup: { + input: { + type: "structure", + required: ["FileSystemId"], members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, + FileSystemId: {}, + ClientRequestToken: { idempotencyToken: true }, + Tags: { shape: "Sf" }, }, }, + output: { type: "structure", members: { Backup: { shape: "Sk" } } }, + idempotent: true, }, - CreateConnectorDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions", - responseCode: 200, - }, + CreateDataRepositoryTask: { input: { type: "structure", + required: ["Type", "FileSystemId", "Report"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, - Connectors: { shape: "S8" }, + Type: {}, + Paths: { shape: "S28" }, + FileSystemId: {}, + Report: { shape: "S2a" }, + ClientRequestToken: { idempotencyToken: true }, + Tags: { shape: "Sf" }, }, - required: ["ConnectorDefinitionId"], }, output: { type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + members: { DataRepositoryTask: { shape: "S2e" } }, }, + idempotent: true, }, - CreateCoreDefinition: { - http: { - requestUri: "/greengrass/definition/cores", - responseCode: 200, - }, + CreateFileSystem: { input: { type: "structure", + required: ["FileSystemType", "StorageCapacity", "SubnetIds"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "Sg" }, - Name: {}, - tags: { shape: "Sb" }, + ClientRequestToken: { idempotencyToken: true }, + FileSystemType: {}, + StorageCapacity: { type: "integer" }, + StorageType: {}, + SubnetIds: { shape: "S12" }, + SecurityGroupIds: { shape: "S2o" }, + Tags: { shape: "Sf" }, + KmsKeyId: {}, + WindowsConfiguration: { shape: "S2q" }, + LustreConfiguration: { shape: "S2t" }, }, }, output: { type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - }, + members: { FileSystem: { shape: "Su" } }, }, }, - CreateCoreDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/cores/{CoreDefinitionId}/versions", - responseCode: 200, - }, + CreateFileSystemFromBackup: { input: { type: "structure", + required: ["BackupId", "SubnetIds"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - Cores: { shape: "Sh" }, + BackupId: {}, + ClientRequestToken: { idempotencyToken: true }, + SubnetIds: { shape: "S12" }, + SecurityGroupIds: { shape: "S2o" }, + Tags: { shape: "Sf" }, + WindowsConfiguration: { shape: "S2q" }, + LustreConfiguration: { shape: "S2t" }, + StorageType: {}, }, - required: ["CoreDefinitionId"], }, output: { type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + members: { FileSystem: { shape: "Su" } }, }, }, - CreateDeployment: { - http: { - requestUri: "/greengrass/groups/{GroupId}/deployments", - responseCode: 200, - }, + DeleteBackup: { input: { type: "structure", + required: ["BackupId"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - DeploymentId: {}, - DeploymentType: {}, - GroupId: { location: "uri", locationName: "GroupId" }, - GroupVersionId: {}, + BackupId: {}, + ClientRequestToken: { idempotencyToken: true }, }, - required: ["GroupId", "DeploymentType"], }, output: { type: "structure", - members: { DeploymentArn: {}, DeploymentId: {} }, + members: { BackupId: {}, Lifecycle: {} }, }, + idempotent: true, }, - CreateDeviceDefinition: { - http: { - requestUri: "/greengrass/definition/devices", - responseCode: 200, - }, + DeleteFileSystem: { input: { type: "structure", + required: ["FileSystemId"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", + FileSystemId: {}, + ClientRequestToken: { idempotencyToken: true }, + WindowsConfiguration: { + type: "structure", + members: { + SkipFinalBackup: { type: "boolean" }, + FinalBackupTags: { shape: "Sf" }, + }, + }, + LustreConfiguration: { + type: "structure", + members: { + SkipFinalBackup: { type: "boolean" }, + FinalBackupTags: { shape: "Sf" }, + }, }, - InitialVersion: { shape: "Sr" }, - Name: {}, - tags: { shape: "Sb" }, }, }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, + FileSystemId: {}, + Lifecycle: {}, + WindowsResponse: { + type: "structure", + members: { + FinalBackupId: {}, + FinalBackupTags: { shape: "Sf" }, + }, + }, + LustreResponse: { + type: "structure", + members: { + FinalBackupId: {}, + FinalBackupTags: { shape: "Sf" }, + }, + }, }, }, + idempotent: true, }, - CreateDeviceDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/devices/{DeviceDefinitionId}/versions", - responseCode: 200, - }, + DescribeBackups: { input: { type: "structure", members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", + BackupIds: { type: "list", member: {} }, + Filters: { + type: "list", + member: { + type: "structure", + members: { Name: {}, Values: { type: "list", member: {} } }, + }, }, - Devices: { shape: "Ss" }, + MaxResults: { type: "integer" }, + NextToken: {}, }, - required: ["DeviceDefinitionId"], }, output: { type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + members: { + Backups: { type: "list", member: { shape: "Sk" } }, + NextToken: {}, + }, }, }, - CreateFunctionDefinition: { - http: { - requestUri: "/greengrass/definition/functions", - responseCode: 200, - }, + DescribeDataRepositoryTasks: { input: { type: "structure", members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", + TaskIds: { type: "list", member: {} }, + Filters: { + type: "list", + member: { + type: "structure", + members: { Name: {}, Values: { type: "list", member: {} } }, + }, }, - InitialVersion: { shape: "Sy" }, - Name: {}, - tags: { shape: "Sb" }, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, + DataRepositoryTasks: { type: "list", member: { shape: "S2e" } }, + NextToken: {}, }, }, }, - CreateFunctionDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}/versions", - responseCode: 200, - }, + DescribeFileSystemAliases: { input: { type: "structure", + required: ["FileSystemId"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - DefaultConfig: { shape: "Sz" }, - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - Functions: { shape: "S14" }, + ClientRequestToken: { idempotencyToken: true }, + FileSystemId: {}, + MaxResults: { type: "integer" }, + NextToken: {}, }, - required: ["FunctionDefinitionId"], }, output: { type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + members: { Aliases: { shape: "S7" }, NextToken: {} }, }, }, - CreateGroup: { - http: { requestUri: "/greengrass/groups", responseCode: 200 }, + DescribeFileSystems: { input: { type: "structure", members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "S1h" }, - Name: {}, - tags: { shape: "Sb" }, + FileSystemIds: { type: "list", member: {} }, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, + FileSystems: { type: "list", member: { shape: "Su" } }, + NextToken: {}, }, }, }, - CreateGroupCertificateAuthority: { - http: { - requestUri: "/greengrass/groups/{GroupId}/certificateauthorities", - responseCode: 200, - }, + DisassociateFileSystemAliases: { input: { type: "structure", + required: ["FileSystemId", "Aliases"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - GroupId: { location: "uri", locationName: "GroupId" }, + ClientRequestToken: { idempotencyToken: true }, + FileSystemId: {}, + Aliases: { shape: "S4" }, }, - required: ["GroupId"], }, output: { type: "structure", - members: { GroupCertificateAuthorityArn: {} }, + members: { Aliases: { shape: "S7" } }, }, }, - CreateGroupVersion: { - http: { - requestUri: "/greengrass/groups/{GroupId}/versions", - responseCode: 200, - }, + ListTagsForResource: { input: { type: "structure", + required: ["ResourceARN"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - ConnectorDefinitionVersionArn: {}, - CoreDefinitionVersionArn: {}, - DeviceDefinitionVersionArn: {}, - FunctionDefinitionVersionArn: {}, - GroupId: { location: "uri", locationName: "GroupId" }, - LoggerDefinitionVersionArn: {}, - ResourceDefinitionVersionArn: {}, - SubscriptionDefinitionVersionArn: {}, + ResourceARN: {}, + MaxResults: { type: "integer" }, + NextToken: {}, }, - required: ["GroupId"], }, output: { type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + members: { Tags: { shape: "Sf" }, NextToken: {} }, }, }, - CreateLoggerDefinition: { - http: { - requestUri: "/greengrass/definition/loggers", - responseCode: 200, - }, + TagResource: { input: { type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "S1o" }, - Name: {}, - tags: { shape: "Sb" }, - }, + required: ["ResourceARN", "Tags"], + members: { ResourceARN: {}, Tags: { shape: "Sf" } }, }, - output: { + output: { type: "structure", members: {} }, + idempotent: true, + }, + UntagResource: { + input: { type: "structure", + required: ["ResourceARN", "TagKeys"], members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, + ResourceARN: {}, + TagKeys: { type: "list", member: {} }, }, }, + output: { type: "structure", members: {} }, + idempotent: true, }, - CreateLoggerDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/loggers/{LoggerDefinitionId}/versions", - responseCode: 200, - }, + UpdateFileSystem: { input: { type: "structure", + required: ["FileSystemId"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", + FileSystemId: {}, + ClientRequestToken: { idempotencyToken: true }, + StorageCapacity: { type: "integer" }, + WindowsConfiguration: { + type: "structure", + members: { + WeeklyMaintenanceStartTime: {}, + DailyAutomaticBackupStartTime: {}, + AutomaticBackupRetentionDays: { type: "integer" }, + ThroughputCapacity: { type: "integer" }, + SelfManagedActiveDirectoryConfiguration: { + type: "structure", + members: { + UserName: {}, + Password: { shape: "S2s" }, + DnsIps: { shape: "S1e" }, + }, + }, + }, }, - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", + LustreConfiguration: { + type: "structure", + members: { + WeeklyMaintenanceStartTime: {}, + DailyAutomaticBackupStartTime: {}, + AutomaticBackupRetentionDays: { type: "integer" }, + AutoImportPolicy: {}, + }, }, - Loggers: { shape: "S1p" }, }, - required: ["LoggerDefinitionId"], }, output: { type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + members: { FileSystem: { shape: "Su" } }, }, }, - CreateResourceDefinition: { - http: { - requestUri: "/greengrass/definition/resources", - responseCode: 200, - }, - input: { + }, + shapes: { + S4: { type: "list", member: {} }, + S7: { + type: "list", + member: { type: "structure", members: { Name: {}, Lifecycle: {} } }, + }, + Sf: { + type: "list", + member: { type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, + }, + }, + Sk: { + type: "structure", + required: [ + "BackupId", + "Lifecycle", + "Type", + "CreationTime", + "FileSystem", + ], + members: { + BackupId: {}, + Lifecycle: {}, + FailureDetails: { type: "structure", members: { Message: {} } }, + Type: {}, + ProgressPercent: { type: "integer" }, + CreationTime: { type: "timestamp" }, + KmsKeyId: {}, + ResourceARN: {}, + Tags: { shape: "Sf" }, + FileSystem: { shape: "Su" }, + DirectoryInformation: { + type: "structure", + members: { DomainName: {}, ActiveDirectoryId: {} }, + }, + }, + }, + Su: { + type: "structure", + members: { + OwnerId: {}, + CreationTime: { type: "timestamp" }, + FileSystemId: {}, + FileSystemType: {}, + Lifecycle: {}, + FailureDetails: { type: "structure", members: { Message: {} } }, + StorageCapacity: { type: "integer" }, + StorageType: {}, + VpcId: {}, + SubnetIds: { shape: "S12" }, + NetworkInterfaceIds: { type: "list", member: {} }, + DNSName: {}, + KmsKeyId: {}, + ResourceARN: {}, + Tags: { shape: "Sf" }, + WindowsConfiguration: { + type: "structure", + members: { + ActiveDirectoryId: {}, + SelfManagedActiveDirectoryConfiguration: { + type: "structure", + members: { + DomainName: {}, + OrganizationalUnitDistinguishedName: {}, + FileSystemAdministratorsGroup: {}, + UserName: {}, + DnsIps: { shape: "S1e" }, + }, + }, + DeploymentType: {}, + RemoteAdministrationEndpoint: {}, + PreferredSubnetId: {}, + PreferredFileServerIp: {}, + ThroughputCapacity: { type: "integer" }, + MaintenanceOperationsInProgress: { type: "list", member: {} }, + WeeklyMaintenanceStartTime: {}, + DailyAutomaticBackupStartTime: {}, + AutomaticBackupRetentionDays: { type: "integer" }, + CopyTagsToBackups: { type: "boolean" }, + Aliases: { shape: "S7" }, + }, + }, + LustreConfiguration: { + type: "structure", + members: { + WeeklyMaintenanceStartTime: {}, + DataRepositoryConfiguration: { + type: "structure", + members: { + Lifecycle: {}, + ImportPath: {}, + ExportPath: {}, + ImportedFileChunkSize: { type: "integer" }, + AutoImportPolicy: {}, + FailureDetails: { + type: "structure", + members: { Message: {} }, + }, + }, + }, + DeploymentType: {}, + PerUnitStorageThroughput: { type: "integer" }, + MountName: {}, + DailyAutomaticBackupStartTime: {}, + AutomaticBackupRetentionDays: { type: "integer" }, + CopyTagsToBackups: { type: "boolean" }, + DriveCacheType: {}, + }, + }, + AdministrativeActions: { + type: "list", + member: { + type: "structure", + members: { + AdministrativeActionType: {}, + ProgressPercent: { type: "integer" }, + RequestTime: { type: "timestamp" }, + Status: {}, + TargetFileSystemValues: { shape: "Su" }, + FailureDetails: { + type: "structure", + members: { Message: {} }, + }, + }, }, - InitialVersion: { shape: "S1y" }, - Name: {}, - tags: { shape: "Sb" }, }, }, - output: { - type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, + }, + S12: { type: "list", member: {} }, + S1e: { type: "list", member: {} }, + S28: { type: "list", member: {} }, + S2a: { + type: "structure", + required: ["Enabled"], + members: { + Enabled: { type: "boolean" }, + Path: {}, + Format: {}, + Scope: {}, + }, + }, + S2e: { + type: "structure", + required: [ + "TaskId", + "Lifecycle", + "Type", + "CreationTime", + "FileSystemId", + ], + members: { + TaskId: {}, + Lifecycle: {}, + Type: {}, + CreationTime: { type: "timestamp" }, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + ResourceARN: {}, + Tags: { shape: "Sf" }, + FileSystemId: {}, + Paths: { shape: "S28" }, + FailureDetails: { type: "structure", members: { Message: {} } }, + Status: { + type: "structure", + members: { + TotalCount: { type: "long" }, + SucceededCount: { type: "long" }, + FailedCount: { type: "long" }, + LastUpdatedTime: { type: "timestamp" }, + }, }, + Report: { shape: "S2a" }, }, }, - CreateResourceDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}/versions", - responseCode: 200, + S2o: { type: "list", member: {} }, + S2q: { + type: "structure", + required: ["ThroughputCapacity"], + members: { + ActiveDirectoryId: {}, + SelfManagedActiveDirectoryConfiguration: { + type: "structure", + required: ["DomainName", "UserName", "Password", "DnsIps"], + members: { + DomainName: {}, + OrganizationalUnitDistinguishedName: {}, + FileSystemAdministratorsGroup: {}, + UserName: {}, + Password: { shape: "S2s" }, + DnsIps: { shape: "S1e" }, + }, + }, + DeploymentType: {}, + PreferredSubnetId: {}, + ThroughputCapacity: { type: "integer" }, + WeeklyMaintenanceStartTime: {}, + DailyAutomaticBackupStartTime: {}, + AutomaticBackupRetentionDays: { type: "integer" }, + CopyTagsToBackups: { type: "boolean" }, + Aliases: { shape: "S4" }, + }, + }, + S2s: { type: "string", sensitive: true }, + S2t: { + type: "structure", + members: { + WeeklyMaintenanceStartTime: {}, + ImportPath: {}, + ExportPath: {}, + ImportedFileChunkSize: { type: "integer" }, + DeploymentType: {}, + AutoImportPolicy: {}, + PerUnitStorageThroughput: { type: "integer" }, + DailyAutomaticBackupStartTime: {}, + AutomaticBackupRetentionDays: { type: "integer" }, + CopyTagsToBackups: { type: "boolean" }, + DriveCacheType: {}, }, + }, + }, + }; + + /***/ + }, + + /***/ 1904: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2012-08-10", + endpointPrefix: "dynamodb", + jsonVersion: "1.0", + protocol: "json", + serviceAbbreviation: "DynamoDB", + serviceFullName: "Amazon DynamoDB", + serviceId: "DynamoDB", + signatureVersion: "v4", + targetPrefix: "DynamoDB_20120810", + uid: "dynamodb-2012-08-10", + }, + operations: { + BatchExecuteStatement: { input: { type: "structure", + required: ["Statements"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", + Statements: { + type: "list", + member: { + type: "structure", + required: ["Statement"], + members: { + Statement: {}, + Parameters: { shape: "S5" }, + ConsistentRead: { type: "boolean" }, + }, + }, }, - Resources: { shape: "S1z" }, }, - required: ["ResourceDefinitionId"], }, output: { type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + members: { + Responses: { + type: "list", + member: { + type: "structure", + members: { + Error: { + type: "structure", + members: { Code: {}, Message: {} }, + }, + TableName: {}, + Item: { shape: "Sq" }, + }, + }, + }, + }, }, }, - CreateSoftwareUpdateJob: { - http: { requestUri: "/greengrass/updates", responseCode: 200 }, + BatchGetItem: { input: { type: "structure", + required: ["RequestItems"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - S3UrlSignerRole: {}, - SoftwareToUpdate: {}, - UpdateAgentLogLevel: {}, - UpdateTargets: { type: "list", member: {} }, - UpdateTargetsArchitecture: {}, - UpdateTargetsOperatingSystem: {}, + RequestItems: { shape: "Ss" }, + ReturnConsumedCapacity: {}, }, - required: [ - "S3UrlSignerRole", - "UpdateTargetsArchitecture", - "SoftwareToUpdate", - "UpdateTargets", - "UpdateTargetsOperatingSystem", - ], }, output: { type: "structure", members: { - IotJobArn: {}, - IotJobId: {}, - PlatformSoftwareVersion: {}, + Responses: { type: "map", key: {}, value: { shape: "S13" } }, + UnprocessedKeys: { shape: "Ss" }, + ConsumedCapacity: { shape: "S14" }, }, }, + endpointdiscovery: {}, }, - CreateSubscriptionDefinition: { - http: { - requestUri: "/greengrass/definition/subscriptions", - responseCode: 200, - }, + BatchWriteItem: { input: { type: "structure", + required: ["RequestItems"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - InitialVersion: { shape: "S2m" }, - Name: {}, - tags: { shape: "Sb" }, + RequestItems: { shape: "S1b" }, + ReturnConsumedCapacity: {}, + ReturnItemCollectionMetrics: {}, }, }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, + UnprocessedItems: { shape: "S1b" }, + ItemCollectionMetrics: { shape: "S1j" }, + ConsumedCapacity: { shape: "S14" }, }, }, + endpointdiscovery: {}, }, - CreateSubscriptionDefinitionVersion: { - http: { - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", - responseCode: 200, - }, + CreateBackup: { input: { type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, - Subscriptions: { shape: "S2n" }, - }, - required: ["SubscriptionDefinitionId"], + required: ["TableName", "BackupName"], + members: { TableName: {}, BackupName: {} }, }, output: { type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + members: { BackupDetails: { shape: "S1s" } }, }, + endpointdiscovery: {}, }, - DeleteConnectorDefinition: { - http: { - method: "DELETE", - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}", - responseCode: 200, - }, + CreateGlobalTable: { input: { type: "structure", + required: ["GlobalTableName", "ReplicationGroup"], members: { - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, + GlobalTableName: {}, + ReplicationGroup: { shape: "S20" }, }, - required: ["ConnectorDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteCoreDefinition: { - http: { - method: "DELETE", - requestUri: "/greengrass/definition/cores/{CoreDefinitionId}", - responseCode: 200, }, - input: { + output: { type: "structure", - members: { - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - }, - required: ["CoreDefinitionId"], + members: { GlobalTableDescription: { shape: "S24" } }, }, - output: { type: "structure", members: {} }, + endpointdiscovery: {}, }, - DeleteDeviceDefinition: { - http: { - method: "DELETE", - requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}", - responseCode: 200, - }, + CreateTable: { input: { type: "structure", + required: ["AttributeDefinitions", "TableName", "KeySchema"], members: { - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, + AttributeDefinitions: { shape: "S2i" }, + TableName: {}, + KeySchema: { shape: "S2m" }, + LocalSecondaryIndexes: { shape: "S2p" }, + GlobalSecondaryIndexes: { shape: "S2v" }, + BillingMode: {}, + ProvisionedThroughput: { shape: "S2x" }, + StreamSpecification: { shape: "S2z" }, + SSESpecification: { shape: "S32" }, + Tags: { shape: "S35" }, }, - required: ["DeviceDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteFunctionDefinition: { - http: { - method: "DELETE", - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}", - responseCode: 200, }, - input: { + output: { type: "structure", - members: { - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - }, - required: ["FunctionDefinitionId"], + members: { TableDescription: { shape: "S3a" } }, }, - output: { type: "structure", members: {} }, + endpointdiscovery: {}, }, - DeleteGroup: { - http: { - method: "DELETE", - requestUri: "/greengrass/groups/{GroupId}", - responseCode: 200, - }, + DeleteBackup: { input: { type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], + required: ["BackupArn"], + members: { BackupArn: {} }, }, - output: { type: "structure", members: {} }, - }, - DeleteLoggerDefinition: { - http: { - method: "DELETE", - requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}", - responseCode: 200, + output: { + type: "structure", + members: { BackupDescription: { shape: "S3y" } }, }, + endpointdiscovery: {}, + }, + DeleteItem: { input: { type: "structure", + required: ["TableName", "Key"], members: { - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, + TableName: {}, + Key: { shape: "Sv" }, + Expected: { shape: "S4b" }, + ConditionalOperator: {}, + ReturnValues: {}, + ReturnConsumedCapacity: {}, + ReturnItemCollectionMetrics: {}, + ConditionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, + ExpressionAttributeValues: { shape: "S4j" }, }, - required: ["LoggerDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteResourceDefinition: { - http: { - method: "DELETE", - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}", - responseCode: 200, }, - input: { + output: { type: "structure", members: { - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, + Attributes: { shape: "Sq" }, + ConsumedCapacity: { shape: "S15" }, + ItemCollectionMetrics: { shape: "S1l" }, }, - required: ["ResourceDefinitionId"], }, - output: { type: "structure", members: {} }, + endpointdiscovery: {}, }, - DeleteSubscriptionDefinition: { - http: { - method: "DELETE", - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - responseCode: 200, - }, + DeleteTable: { input: { type: "structure", - members: { - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, - }, - required: ["SubscriptionDefinitionId"], + required: ["TableName"], + members: { TableName: {} }, }, - output: { type: "structure", members: {} }, - }, - DisassociateRoleFromGroup: { - http: { - method: "DELETE", - requestUri: "/greengrass/groups/{GroupId}/role", - responseCode: 200, + output: { + type: "structure", + members: { TableDescription: { shape: "S3a" } }, }, + endpointdiscovery: {}, + }, + DescribeBackup: { input: { type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], + required: ["BackupArn"], + members: { BackupArn: {} }, }, - output: { type: "structure", members: { DisassociatedAt: {} } }, - }, - DisassociateServiceRoleFromAccount: { - http: { - method: "DELETE", - requestUri: "/greengrass/servicerole", - responseCode: 200, + output: { + type: "structure", + members: { BackupDescription: { shape: "S3y" } }, }, - input: { type: "structure", members: {} }, - output: { type: "structure", members: { DisassociatedAt: {} } }, + endpointdiscovery: {}, }, - GetAssociatedRole: { - http: { - method: "GET", - requestUri: "/greengrass/groups/{GroupId}/role", - responseCode: 200, - }, + DescribeContinuousBackups: { input: { type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], + required: ["TableName"], + members: { TableName: {} }, }, output: { type: "structure", - members: { AssociatedAt: {}, RoleArn: {} }, + members: { ContinuousBackupsDescription: { shape: "S4s" } }, }, + endpointdiscovery: {}, }, - GetBulkDeploymentStatus: { - http: { - method: "GET", - requestUri: - "/greengrass/bulk/deployments/{BulkDeploymentId}/status", - responseCode: 200, - }, + DescribeContributorInsights: { input: { + type: "structure", + required: ["TableName"], + members: { TableName: {}, IndexName: {} }, + }, + output: { type: "structure", members: { - BulkDeploymentId: { - location: "uri", - locationName: "BulkDeploymentId", + TableName: {}, + IndexName: {}, + ContributorInsightsRuleList: { type: "list", member: {} }, + ContributorInsightsStatus: {}, + LastUpdateDateTime: { type: "timestamp" }, + FailureException: { + type: "structure", + members: { ExceptionName: {}, ExceptionDescription: {} }, }, }, - required: ["BulkDeploymentId"], }, + }, + DescribeEndpoints: { + input: { type: "structure", members: {} }, output: { type: "structure", + required: ["Endpoints"], members: { - BulkDeploymentMetrics: { - type: "structure", - members: { - InvalidInputRecords: { type: "integer" }, - RecordsProcessed: { type: "integer" }, - RetryAttempts: { type: "integer" }, + Endpoints: { + type: "list", + member: { + type: "structure", + required: ["Address", "CachePeriodInMinutes"], + members: { + Address: {}, + CachePeriodInMinutes: { type: "long" }, + }, }, }, - BulkDeploymentStatus: {}, - CreatedAt: {}, - ErrorDetails: { shape: "S3i" }, - ErrorMessage: {}, - tags: { shape: "Sb" }, }, }, + endpointoperation: true, }, - GetConnectivityInfo: { - http: { - method: "GET", - requestUri: "/greengrass/things/{ThingName}/connectivityInfo", - responseCode: 200, - }, + DescribeExport: { input: { type: "structure", - members: { - ThingName: { location: "uri", locationName: "ThingName" }, - }, - required: ["ThingName"], + required: ["ExportArn"], + members: { ExportArn: {} }, }, output: { type: "structure", - members: { - ConnectivityInfo: { shape: "S3m" }, - Message: { locationName: "message" }, - }, + members: { ExportDescription: { shape: "S5c" } }, }, }, - GetConnectorDefinition: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}", - responseCode: 200, - }, + DescribeGlobalTable: { input: { type: "structure", - members: { - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, - }, - required: ["ConnectorDefinitionId"], + required: ["GlobalTableName"], + members: { GlobalTableName: {} }, }, output: { type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, + members: { GlobalTableDescription: { shape: "S24" } }, }, + endpointdiscovery: {}, }, - GetConnectorDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions/{ConnectorDefinitionVersionId}", - responseCode: 200, - }, + DescribeGlobalTableSettings: { input: { type: "structure", - members: { - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, - ConnectorDefinitionVersionId: { - location: "uri", - locationName: "ConnectorDefinitionVersionId", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: [ - "ConnectorDefinitionId", - "ConnectorDefinitionVersionId", - ], + required: ["GlobalTableName"], + members: { GlobalTableName: {} }, }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "S7" }, - Id: {}, - NextToken: {}, - Version: {}, + GlobalTableName: {}, + ReplicaSettings: { shape: "S5w" }, }, }, + endpointdiscovery: {}, }, - GetCoreDefinition: { - http: { - method: "GET", - requestUri: "/greengrass/definition/cores/{CoreDefinitionId}", - responseCode: 200, - }, + DescribeKinesisStreamingDestination: { input: { + type: "structure", + required: ["TableName"], + members: { TableName: {} }, + }, + output: { type: "structure", members: { - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", + TableName: {}, + KinesisDataStreamDestinations: { + type: "list", + member: { + type: "structure", + members: { + StreamArn: {}, + DestinationStatus: {}, + DestinationStatusDescription: {}, + }, + }, }, }, - required: ["CoreDefinitionId"], }, + endpointdiscovery: {}, + }, + DescribeLimits: { + input: { type: "structure", members: {} }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, + AccountMaxReadCapacityUnits: { type: "long" }, + AccountMaxWriteCapacityUnits: { type: "long" }, + TableMaxReadCapacityUnits: { type: "long" }, + TableMaxWriteCapacityUnits: { type: "long" }, }, }, + endpointdiscovery: {}, }, - GetCoreDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/cores/{CoreDefinitionId}/versions/{CoreDefinitionVersionId}", - responseCode: 200, + DescribeTable: { + input: { + type: "structure", + required: ["TableName"], + members: { TableName: {} }, }, + output: { type: "structure", members: { Table: { shape: "S3a" } } }, + endpointdiscovery: {}, + }, + DescribeTableReplicaAutoScaling: { input: { type: "structure", - members: { - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - CoreDefinitionVersionId: { - location: "uri", - locationName: "CoreDefinitionVersionId", - }, - }, - required: ["CoreDefinitionId", "CoreDefinitionVersionId"], + required: ["TableName"], + members: { TableName: {} }, }, output: { type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "Sg" }, - Id: {}, - NextToken: {}, - Version: {}, - }, + members: { TableAutoScalingDescription: { shape: "S6i" } }, }, }, - GetDeploymentStatus: { - http: { - method: "GET", - requestUri: - "/greengrass/groups/{GroupId}/deployments/{DeploymentId}/status", - responseCode: 200, - }, + DescribeTimeToLive: { input: { type: "structure", - members: { - DeploymentId: { location: "uri", locationName: "DeploymentId" }, - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId", "DeploymentId"], + required: ["TableName"], + members: { TableName: {} }, }, output: { type: "structure", - members: { - DeploymentStatus: {}, - DeploymentType: {}, - ErrorDetails: { shape: "S3i" }, - ErrorMessage: {}, - UpdatedAt: {}, - }, + members: { TimeToLiveDescription: { shape: "S47" } }, }, + endpointdiscovery: {}, }, - GetDeviceDefinition: { - http: { - method: "GET", - requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}", - responseCode: 200, - }, + DisableKinesisStreamingDestination: { + input: { shape: "S6p" }, + output: { shape: "S6q" }, + endpointdiscovery: {}, + }, + EnableKinesisStreamingDestination: { + input: { shape: "S6p" }, + output: { shape: "S6q" }, + endpointdiscovery: {}, + }, + ExecuteStatement: { input: { type: "structure", + required: ["Statement"], members: { - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, + Statement: {}, + Parameters: { shape: "S5" }, + ConsistentRead: { type: "boolean" }, + NextToken: {}, }, - required: ["DeviceDefinitionId"], }, output: { type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, + members: { Items: { shape: "S13" }, NextToken: {} }, }, }, - GetDeviceDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/devices/{DeviceDefinitionId}/versions/{DeviceDefinitionVersionId}", - responseCode: 200, - }, + ExecuteTransaction: { input: { type: "structure", + required: ["TransactStatements"], members: { - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, - DeviceDefinitionVersionId: { - location: "uri", - locationName: "DeviceDefinitionVersionId", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", + TransactStatements: { + type: "list", + member: { + type: "structure", + required: ["Statement"], + members: { Statement: {}, Parameters: { shape: "S5" } }, + }, }, + ClientRequestToken: { idempotencyToken: true }, }, - required: ["DeviceDefinitionVersionId", "DeviceDefinitionId"], }, output: { type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "Sr" }, - Id: {}, - NextToken: {}, - Version: {}, - }, + members: { Responses: { shape: "S6z" } }, }, }, - GetFunctionDefinition: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}", - responseCode: 200, - }, + ExportTableToPointInTime: { input: { type: "structure", + required: ["TableArn", "S3Bucket"], members: { - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, + TableArn: {}, + ExportTime: { type: "timestamp" }, + ClientToken: { idempotencyToken: true }, + S3Bucket: {}, + S3BucketOwner: {}, + S3Prefix: {}, + S3SseAlgorithm: {}, + S3SseKmsKeyId: {}, + ExportFormat: {}, }, - required: ["FunctionDefinitionId"], }, output: { type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, + members: { ExportDescription: { shape: "S5c" } }, }, }, - GetFunctionDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}/versions/{FunctionDefinitionVersionId}", - responseCode: 200, - }, + GetItem: { input: { type: "structure", + required: ["TableName", "Key"], members: { - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - FunctionDefinitionVersionId: { - location: "uri", - locationName: "FunctionDefinitionVersionId", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, + TableName: {}, + Key: { shape: "Sv" }, + AttributesToGet: { shape: "Sw" }, + ConsistentRead: { type: "boolean" }, + ReturnConsumedCapacity: {}, + ProjectionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, }, - required: ["FunctionDefinitionId", "FunctionDefinitionVersionId"], }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "Sy" }, - Id: {}, - NextToken: {}, - Version: {}, + Item: { shape: "Sq" }, + ConsumedCapacity: { shape: "S15" }, }, }, + endpointdiscovery: {}, }, - GetGroup: { - http: { - method: "GET", - requestUri: "/greengrass/groups/{GroupId}", - responseCode: 200, - }, + ListBackups: { input: { type: "structure", members: { - GroupId: { location: "uri", locationName: "GroupId" }, + TableName: {}, + Limit: { type: "integer" }, + TimeRangeLowerBound: { type: "timestamp" }, + TimeRangeUpperBound: { type: "timestamp" }, + ExclusiveStartBackupArn: {}, + BackupType: {}, }, - required: ["GroupId"], }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, + BackupSummaries: { + type: "list", + member: { + type: "structure", + members: { + TableName: {}, + TableId: {}, + TableArn: {}, + BackupArn: {}, + BackupName: {}, + BackupCreationDateTime: { type: "timestamp" }, + BackupExpiryDateTime: { type: "timestamp" }, + BackupStatus: {}, + BackupType: {}, + BackupSizeBytes: { type: "long" }, + }, + }, + }, + LastEvaluatedBackupArn: {}, }, }, + endpointdiscovery: {}, }, - GetGroupCertificateAuthority: { - http: { - method: "GET", - requestUri: - "/greengrass/groups/{GroupId}/certificateauthorities/{CertificateAuthorityId}", - responseCode: 200, - }, + ListContributorInsights: { input: { type: "structure", members: { - CertificateAuthorityId: { - location: "uri", - locationName: "CertificateAuthorityId", - }, - GroupId: { location: "uri", locationName: "GroupId" }, + TableName: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, - required: ["CertificateAuthorityId", "GroupId"], }, output: { type: "structure", members: { - GroupCertificateAuthorityArn: {}, - GroupCertificateAuthorityId: {}, - PemEncodedCertificate: {}, + ContributorInsightsSummaries: { + type: "list", + member: { + type: "structure", + members: { + TableName: {}, + IndexName: {}, + ContributorInsightsStatus: {}, + }, + }, + }, + NextToken: {}, }, }, }, - GetGroupCertificateConfiguration: { - http: { - method: "GET", - requestUri: - "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", - responseCode: 200, - }, + ListExports: { input: { type: "structure", members: { - GroupId: { location: "uri", locationName: "GroupId" }, + TableArn: {}, + MaxResults: { type: "integer" }, + NextToken: {}, }, - required: ["GroupId"], }, output: { type: "structure", members: { - CertificateAuthorityExpiryInMilliseconds: {}, - CertificateExpiryInMilliseconds: {}, - GroupId: {}, + ExportSummaries: { + type: "list", + member: { + type: "structure", + members: { ExportArn: {}, ExportStatus: {} }, + }, + }, + NextToken: {}, }, }, }, - GetGroupVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/groups/{GroupId}/versions/{GroupVersionId}", - responseCode: 200, - }, + ListGlobalTables: { input: { type: "structure", members: { - GroupId: { location: "uri", locationName: "GroupId" }, - GroupVersionId: { - location: "uri", - locationName: "GroupVersionId", - }, + ExclusiveStartGlobalTableName: {}, + Limit: { type: "integer" }, + RegionName: {}, }, - required: ["GroupVersionId", "GroupId"], }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "S1h" }, - Id: {}, - Version: {}, + GlobalTables: { + type: "list", + member: { + type: "structure", + members: { + GlobalTableName: {}, + ReplicationGroup: { shape: "S20" }, + }, + }, + }, + LastEvaluatedGlobalTableName: {}, }, }, + endpointdiscovery: {}, }, - GetLoggerDefinition: { - http: { - method: "GET", - requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}", - responseCode: 200, - }, + ListTables: { input: { type: "structure", members: { - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, + ExclusiveStartTableName: {}, + Limit: { type: "integer" }, }, - required: ["LoggerDefinitionId"], }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, + TableNames: { type: "list", member: {} }, + LastEvaluatedTableName: {}, }, }, + endpointdiscovery: {}, }, - GetLoggerDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/loggers/{LoggerDefinitionId}/versions/{LoggerDefinitionVersionId}", - responseCode: 200, - }, + ListTagsOfResource: { input: { type: "structure", - members: { - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, - LoggerDefinitionVersionId: { - location: "uri", - locationName: "LoggerDefinitionVersionId", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["LoggerDefinitionVersionId", "LoggerDefinitionId"], + required: ["ResourceArn"], + members: { ResourceArn: {}, NextToken: {} }, }, output: { type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "S1o" }, - Id: {}, - Version: {}, - }, + members: { Tags: { shape: "S35" }, NextToken: {} }, }, + endpointdiscovery: {}, }, - GetResourceDefinition: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}", - responseCode: 200, - }, + PutItem: { input: { type: "structure", + required: ["TableName", "Item"], members: { - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, + TableName: {}, + Item: { shape: "S1f" }, + Expected: { shape: "S4b" }, + ReturnValues: {}, + ReturnConsumedCapacity: {}, + ReturnItemCollectionMetrics: {}, + ConditionalOperator: {}, + ConditionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, + ExpressionAttributeValues: { shape: "S4j" }, }, - required: ["ResourceDefinitionId"], }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, + Attributes: { shape: "Sq" }, + ConsumedCapacity: { shape: "S15" }, + ItemCollectionMetrics: { shape: "S1l" }, }, }, + endpointdiscovery: {}, }, - GetResourceDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}/versions/{ResourceDefinitionVersionId}", - responseCode: 200, - }, + Query: { input: { type: "structure", + required: ["TableName"], members: { - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, - ResourceDefinitionVersionId: { - location: "uri", - locationName: "ResourceDefinitionVersionId", + TableName: {}, + IndexName: {}, + Select: {}, + AttributesToGet: { shape: "Sw" }, + Limit: { type: "integer" }, + ConsistentRead: { type: "boolean" }, + KeyConditions: { + type: "map", + key: {}, + value: { shape: "S86" }, }, + QueryFilter: { shape: "S87" }, + ConditionalOperator: {}, + ScanIndexForward: { type: "boolean" }, + ExclusiveStartKey: { shape: "Sv" }, + ReturnConsumedCapacity: {}, + ProjectionExpression: {}, + FilterExpression: {}, + KeyConditionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, + ExpressionAttributeValues: { shape: "S4j" }, }, - required: ["ResourceDefinitionVersionId", "ResourceDefinitionId"], }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "S1y" }, - Id: {}, - Version: {}, + Items: { shape: "S13" }, + Count: { type: "integer" }, + ScannedCount: { type: "integer" }, + LastEvaluatedKey: { shape: "Sv" }, + ConsumedCapacity: { shape: "S15" }, }, }, + endpointdiscovery: {}, }, - GetServiceRoleForAccount: { - http: { - method: "GET", - requestUri: "/greengrass/servicerole", - responseCode: 200, + RestoreTableFromBackup: { + input: { + type: "structure", + required: ["TargetTableName", "BackupArn"], + members: { + TargetTableName: {}, + BackupArn: {}, + BillingModeOverride: {}, + GlobalSecondaryIndexOverride: { shape: "S2v" }, + LocalSecondaryIndexOverride: { shape: "S2p" }, + ProvisionedThroughputOverride: { shape: "S2x" }, + SSESpecificationOverride: { shape: "S32" }, + }, }, - input: { type: "structure", members: {} }, output: { type: "structure", - members: { AssociatedAt: {}, RoleArn: {} }, + members: { TableDescription: { shape: "S3a" } }, }, + endpointdiscovery: {}, }, - GetSubscriptionDefinition: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - responseCode: 200, - }, + RestoreTableToPointInTime: { input: { type: "structure", + required: ["TargetTableName"], members: { - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, + SourceTableArn: {}, + SourceTableName: {}, + TargetTableName: {}, + UseLatestRestorableTime: { type: "boolean" }, + RestoreDateTime: { type: "timestamp" }, + BillingModeOverride: {}, + GlobalSecondaryIndexOverride: { shape: "S2v" }, + LocalSecondaryIndexOverride: { shape: "S2p" }, + ProvisionedThroughputOverride: { shape: "S2x" }, + SSESpecificationOverride: { shape: "S32" }, }, - required: ["SubscriptionDefinitionId"], }, output: { type: "structure", - members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - tags: { shape: "Sb" }, - }, + members: { TableDescription: { shape: "S3a" } }, }, + endpointdiscovery: {}, }, - GetSubscriptionDefinitionVersion: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions/{SubscriptionDefinitionVersionId}", - responseCode: 200, - }, + Scan: { input: { type: "structure", + required: ["TableName"], members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, - SubscriptionDefinitionVersionId: { - location: "uri", - locationName: "SubscriptionDefinitionVersionId", - }, + TableName: {}, + IndexName: {}, + AttributesToGet: { shape: "Sw" }, + Limit: { type: "integer" }, + Select: {}, + ScanFilter: { shape: "S87" }, + ConditionalOperator: {}, + ExclusiveStartKey: { shape: "Sv" }, + ReturnConsumedCapacity: {}, + TotalSegments: { type: "integer" }, + Segment: { type: "integer" }, + ProjectionExpression: {}, + FilterExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, + ExpressionAttributeValues: { shape: "S4j" }, + ConsistentRead: { type: "boolean" }, }, - required: [ - "SubscriptionDefinitionId", - "SubscriptionDefinitionVersionId", - ], }, output: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Definition: { shape: "S2m" }, - Id: {}, - NextToken: {}, - Version: {}, + Items: { shape: "S13" }, + Count: { type: "integer" }, + ScannedCount: { type: "integer" }, + LastEvaluatedKey: { shape: "Sv" }, + ConsumedCapacity: { shape: "S15" }, }, }, + endpointdiscovery: {}, }, - ListBulkDeploymentDetailedReports: { - http: { - method: "GET", - requestUri: - "/greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports", - responseCode: 200, - }, + TagResource: { input: { type: "structure", - members: { - BulkDeploymentId: { - location: "uri", - locationName: "BulkDeploymentId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - required: ["BulkDeploymentId"], + required: ["ResourceArn", "Tags"], + members: { ResourceArn: {}, Tags: { shape: "S35" } }, }, - output: { + endpointdiscovery: {}, + }, + TransactGetItems: { + input: { type: "structure", + required: ["TransactItems"], members: { - Deployments: { + TransactItems: { type: "list", member: { type: "structure", + required: ["Get"], members: { - CreatedAt: {}, - DeploymentArn: {}, - DeploymentId: {}, - DeploymentStatus: {}, - DeploymentType: {}, - ErrorDetails: { shape: "S3i" }, - ErrorMessage: {}, - GroupArn: {}, + Get: { + type: "structure", + required: ["Key", "TableName"], + members: { + Key: { shape: "Sv" }, + TableName: {}, + ProjectionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, + }, + }, }, }, }, - NextToken: {}, + ReturnConsumedCapacity: {}, }, }, - }, - ListBulkDeployments: { - http: { - method: "GET", - requestUri: "/greengrass/bulk/deployments", - responseCode: 200, - }, - input: { + output: { type: "structure", members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, + ConsumedCapacity: { shape: "S14" }, + Responses: { shape: "S6z" }, }, }, - output: { + endpointdiscovery: {}, + }, + TransactWriteItems: { + input: { type: "structure", + required: ["TransactItems"], members: { - BulkDeployments: { + TransactItems: { type: "list", member: { type: "structure", members: { - BulkDeploymentArn: {}, - BulkDeploymentId: {}, - CreatedAt: {}, + ConditionCheck: { + type: "structure", + required: ["Key", "TableName", "ConditionExpression"], + members: { + Key: { shape: "Sv" }, + TableName: {}, + ConditionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, + ExpressionAttributeValues: { shape: "S4j" }, + ReturnValuesOnConditionCheckFailure: {}, + }, + }, + Put: { + type: "structure", + required: ["Item", "TableName"], + members: { + Item: { shape: "S1f" }, + TableName: {}, + ConditionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, + ExpressionAttributeValues: { shape: "S4j" }, + ReturnValuesOnConditionCheckFailure: {}, + }, + }, + Delete: { + type: "structure", + required: ["Key", "TableName"], + members: { + Key: { shape: "Sv" }, + TableName: {}, + ConditionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, + ExpressionAttributeValues: { shape: "S4j" }, + ReturnValuesOnConditionCheckFailure: {}, + }, + }, + Update: { + type: "structure", + required: ["Key", "UpdateExpression", "TableName"], + members: { + Key: { shape: "Sv" }, + UpdateExpression: {}, + TableName: {}, + ConditionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, + ExpressionAttributeValues: { shape: "S4j" }, + ReturnValuesOnConditionCheckFailure: {}, + }, + }, }, }, }, - NextToken: {}, - }, - }, - }, - ListConnectorDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, + ReturnConsumedCapacity: {}, + ReturnItemCollectionMetrics: {}, + ClientRequestToken: { idempotencyToken: true }, }, - required: ["ConnectorDefinitionId"], }, output: { type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, + members: { + ConsumedCapacity: { shape: "S14" }, + ItemCollectionMetrics: { shape: "S1j" }, + }, }, + endpointdiscovery: {}, }, - ListConnectorDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/connectors", - responseCode: 200, - }, + UntagResource: { input: { type: "structure", + required: ["ResourceArn", "TagKeys"], members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, + ResourceArn: {}, + TagKeys: { type: "list", member: {} }, }, }, - output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, + endpointdiscovery: {}, }, - ListCoreDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/cores/{CoreDefinitionId}/versions", - responseCode: 200, - }, + UpdateContinuousBackups: { input: { type: "structure", + required: ["TableName", "PointInTimeRecoverySpecification"], members: { - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", + TableName: {}, + PointInTimeRecoverySpecification: { + type: "structure", + required: ["PointInTimeRecoveryEnabled"], + members: { PointInTimeRecoveryEnabled: { type: "boolean" } }, }, }, - required: ["CoreDefinitionId"], }, output: { type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, + members: { ContinuousBackupsDescription: { shape: "S4s" } }, }, + endpointdiscovery: {}, }, - ListCoreDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/cores", - responseCode: 200, - }, + UpdateContributorInsights: { input: { type: "structure", + required: ["TableName", "ContributorInsightsAction"], members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, + TableName: {}, + IndexName: {}, + ContributorInsightsAction: {}, }, }, output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, - }, - ListDeployments: { - http: { - method: "GET", - requestUri: "/greengrass/groups/{GroupId}/deployments", - responseCode: 200, - }, - input: { type: "structure", members: { - GroupId: { location: "uri", locationName: "GroupId" }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, + TableName: {}, + IndexName: {}, + ContributorInsightsStatus: {}, }, - required: ["GroupId"], }, - output: { + }, + UpdateGlobalTable: { + input: { type: "structure", + required: ["GlobalTableName", "ReplicaUpdates"], members: { - Deployments: { + GlobalTableName: {}, + ReplicaUpdates: { type: "list", member: { type: "structure", members: { - CreatedAt: {}, - DeploymentArn: {}, - DeploymentId: {}, - DeploymentType: {}, - GroupArn: {}, + Create: { + type: "structure", + required: ["RegionName"], + members: { RegionName: {} }, + }, + Delete: { + type: "structure", + required: ["RegionName"], + members: { RegionName: {} }, + }, }, }, }, - NextToken: {}, - }, - }, - }, - ListDeviceDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/devices/{DeviceDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, }, - required: ["DeviceDefinitionId"], }, output: { type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, + members: { GlobalTableDescription: { shape: "S24" } }, }, + endpointdiscovery: {}, }, - ListDeviceDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/devices", - responseCode: 200, - }, + UpdateGlobalTableSettings: { input: { type: "structure", + required: ["GlobalTableName"], members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", + GlobalTableName: {}, + GlobalTableBillingMode: {}, + GlobalTableProvisionedWriteCapacityUnits: { type: "long" }, + GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: { + shape: "S9e", }, - NextToken: { - location: "querystring", - locationName: "NextToken", + GlobalTableGlobalSecondaryIndexSettingsUpdate: { + type: "list", + member: { + type: "structure", + required: ["IndexName"], + members: { + IndexName: {}, + ProvisionedWriteCapacityUnits: { type: "long" }, + ProvisionedWriteCapacityAutoScalingSettingsUpdate: { + shape: "S9e", + }, + }, + }, + }, + ReplicaSettingsUpdate: { + type: "list", + member: { + type: "structure", + required: ["RegionName"], + members: { + RegionName: {}, + ReplicaProvisionedReadCapacityUnits: { type: "long" }, + ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate: { + shape: "S9e", + }, + ReplicaGlobalSecondaryIndexSettingsUpdate: { + type: "list", + member: { + type: "structure", + required: ["IndexName"], + members: { + IndexName: {}, + ProvisionedReadCapacityUnits: { type: "long" }, + ProvisionedReadCapacityAutoScalingSettingsUpdate: { + shape: "S9e", + }, + }, + }, + }, + }, + }, }, }, }, output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, - }, - ListFunctionDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}/versions", - responseCode: 200, - }, - input: { type: "structure", members: { - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, + GlobalTableName: {}, + ReplicaSettings: { shape: "S5w" }, }, - required: ["FunctionDefinitionId"], - }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, }, + endpointdiscovery: {}, }, - ListFunctionDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/functions", - responseCode: 200, - }, + UpdateItem: { input: { type: "structure", + required: ["TableName", "Key"], members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", + TableName: {}, + Key: { shape: "Sv" }, + AttributeUpdates: { + type: "map", + key: {}, + value: { + type: "structure", + members: { Value: { shape: "S6" }, Action: {} }, + }, }, + Expected: { shape: "S4b" }, + ConditionalOperator: {}, + ReturnValues: {}, + ReturnConsumedCapacity: {}, + ReturnItemCollectionMetrics: {}, + UpdateExpression: {}, + ConditionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, + ExpressionAttributeValues: { shape: "S4j" }, }, }, output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, - }, - ListGroupCertificateAuthorities: { - http: { - method: "GET", - requestUri: "/greengrass/groups/{GroupId}/certificateauthorities", - responseCode: 200, - }, - input: { type: "structure", members: { - GroupId: { location: "uri", locationName: "GroupId" }, + Attributes: { shape: "Sq" }, + ConsumedCapacity: { shape: "S15" }, + ItemCollectionMetrics: { shape: "S1l" }, }, - required: ["GroupId"], }, - output: { + endpointdiscovery: {}, + }, + UpdateTable: { + input: { type: "structure", + required: ["TableName"], members: { - GroupCertificateAuthorities: { + AttributeDefinitions: { shape: "S2i" }, + TableName: {}, + BillingMode: {}, + ProvisionedThroughput: { shape: "S2x" }, + GlobalSecondaryIndexUpdates: { type: "list", member: { type: "structure", members: { - GroupCertificateAuthorityArn: {}, - GroupCertificateAuthorityId: {}, + Update: { + type: "structure", + required: ["IndexName", "ProvisionedThroughput"], + members: { + IndexName: {}, + ProvisionedThroughput: { shape: "S2x" }, + }, + }, + Create: { + type: "structure", + required: ["IndexName", "KeySchema", "Projection"], + members: { + IndexName: {}, + KeySchema: { shape: "S2m" }, + Projection: { shape: "S2r" }, + ProvisionedThroughput: { shape: "S2x" }, + }, + }, + Delete: { + type: "structure", + required: ["IndexName"], + members: { IndexName: {} }, + }, }, }, }, - }, - }, - }, - ListGroupVersions: { - http: { - method: "GET", - requestUri: "/greengrass/groups/{GroupId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", + StreamSpecification: { shape: "S2z" }, + SSESpecification: { shape: "S32" }, + ReplicaUpdates: { + type: "list", + member: { + type: "structure", + members: { + Create: { + type: "structure", + required: ["RegionName"], + members: { + RegionName: {}, + KMSMasterKeyId: {}, + ProvisionedThroughputOverride: { shape: "S2b" }, + GlobalSecondaryIndexes: { shape: "Sa3" }, + }, + }, + Update: { + type: "structure", + required: ["RegionName"], + members: { + RegionName: {}, + KMSMasterKeyId: {}, + ProvisionedThroughputOverride: { shape: "S2b" }, + GlobalSecondaryIndexes: { shape: "Sa3" }, + }, + }, + Delete: { + type: "structure", + required: ["RegionName"], + members: { RegionName: {} }, + }, + }, + }, }, }, - required: ["GroupId"], }, output: { type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, + members: { TableDescription: { shape: "S3a" } }, }, + endpointdiscovery: {}, }, - ListGroups: { - http: { - method: "GET", - requestUri: "/greengrass/groups", - responseCode: 200, - }, + UpdateTableReplicaAutoScaling: { input: { type: "structure", + required: ["TableName"], members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Groups: { + GlobalSecondaryIndexUpdates: { type: "list", member: { type: "structure", members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, + IndexName: {}, + ProvisionedWriteCapacityAutoScalingUpdate: { + shape: "S9e", + }, }, }, }, - NextToken: {}, - }, - }, - }, - ListLoggerDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/loggers/{LoggerDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", + TableName: {}, + ProvisionedWriteCapacityAutoScalingUpdate: { shape: "S9e" }, + ReplicaUpdates: { + type: "list", + member: { + type: "structure", + required: ["RegionName"], + members: { + RegionName: {}, + ReplicaGlobalSecondaryIndexUpdates: { + type: "list", + member: { + type: "structure", + members: { + IndexName: {}, + ProvisionedReadCapacityAutoScalingUpdate: { + shape: "S9e", + }, + }, + }, + }, + ReplicaProvisionedReadCapacityAutoScalingUpdate: { + shape: "S9e", + }, + }, + }, }, }, - required: ["LoggerDefinitionId"], }, output: { type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, + members: { TableAutoScalingDescription: { shape: "S6i" } }, }, }, - ListLoggerDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/loggers", - responseCode: 200, - }, + UpdateTimeToLive: { input: { type: "structure", + required: ["TableName", "TimeToLiveSpecification"], members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, + TableName: {}, + TimeToLiveSpecification: { shape: "Sah" }, }, }, output: { type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, + members: { TimeToLiveSpecification: { shape: "Sah" } }, }, + endpointdiscovery: {}, }, - ListResourceDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}/versions", - responseCode: 200, + }, + shapes: { + S5: { type: "list", member: { shape: "S6" } }, + S6: { + type: "structure", + members: { + S: {}, + N: {}, + B: { type: "blob" }, + SS: { type: "list", member: {} }, + NS: { type: "list", member: {} }, + BS: { type: "list", member: { type: "blob" } }, + M: { type: "map", key: {}, value: { shape: "S6" } }, + L: { type: "list", member: { shape: "S6" } }, + NULL: { type: "boolean" }, + BOOL: { type: "boolean" }, }, - input: { + }, + Sq: { type: "map", key: {}, value: { shape: "S6" } }, + Ss: { + type: "map", + key: {}, + value: { type: "structure", + required: ["Keys"], members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, + Keys: { type: "list", member: { shape: "Sv" } }, + AttributesToGet: { shape: "Sw" }, + ConsistentRead: { type: "boolean" }, + ProjectionExpression: {}, + ExpressionAttributeNames: { shape: "Sy" }, }, - required: ["ResourceDefinitionId"], }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, + }, + Sv: { type: "map", key: {}, value: { shape: "S6" } }, + Sw: { type: "list", member: {} }, + Sy: { type: "map", key: {}, value: {} }, + S13: { type: "list", member: { shape: "Sq" } }, + S14: { type: "list", member: { shape: "S15" } }, + S15: { + type: "structure", + members: { + TableName: {}, + CapacityUnits: { type: "double" }, + ReadCapacityUnits: { type: "double" }, + WriteCapacityUnits: { type: "double" }, + Table: { shape: "S17" }, + LocalSecondaryIndexes: { shape: "S18" }, + GlobalSecondaryIndexes: { shape: "S18" }, }, }, - ListResourceDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/resources", - responseCode: 200, + S17: { + type: "structure", + members: { + ReadCapacityUnits: { type: "double" }, + WriteCapacityUnits: { type: "double" }, + CapacityUnits: { type: "double" }, }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", + }, + S18: { type: "map", key: {}, value: { shape: "S17" } }, + S1b: { + type: "map", + key: {}, + value: { + type: "list", + member: { + type: "structure", + members: { + PutRequest: { + type: "structure", + required: ["Item"], + members: { Item: { shape: "S1f" } }, + }, + DeleteRequest: { + type: "structure", + required: ["Key"], + members: { Key: { shape: "Sv" } }, + }, }, }, }, - output: { - type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, - }, }, - ListSubscriptionDefinitionVersions: { - http: { - method: "GET", - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, + S1f: { type: "map", key: {}, value: { shape: "S6" } }, + S1j: { + type: "map", + key: {}, + value: { type: "list", member: { shape: "S1l" } }, + }, + S1l: { + type: "structure", + members: { + ItemCollectionKey: { + type: "map", + key: {}, + value: { shape: "S6" }, }, - required: ["SubscriptionDefinitionId"], + SizeEstimateRangeGB: { type: "list", member: { type: "double" } }, }, - output: { - type: "structure", - members: { NextToken: {}, Versions: { shape: "S52" } }, + }, + S1s: { + type: "structure", + required: [ + "BackupArn", + "BackupName", + "BackupStatus", + "BackupType", + "BackupCreationDateTime", + ], + members: { + BackupArn: {}, + BackupName: {}, + BackupSizeBytes: { type: "long" }, + BackupStatus: {}, + BackupType: {}, + BackupCreationDateTime: { type: "timestamp" }, + BackupExpiryDateTime: { type: "timestamp" }, }, }, - ListSubscriptionDefinitions: { - http: { - method: "GET", - requestUri: "/greengrass/definition/subscriptions", - responseCode: 200, + S20: { + type: "list", + member: { type: "structure", members: { RegionName: {} } }, + }, + S24: { + type: "structure", + members: { + ReplicationGroup: { shape: "S25" }, + GlobalTableArn: {}, + CreationDateTime: { type: "timestamp" }, + GlobalTableStatus: {}, + GlobalTableName: {}, }, - input: { + }, + S25: { + type: "list", + member: { type: "structure", members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", + RegionName: {}, + ReplicaStatus: {}, + ReplicaStatusDescription: {}, + ReplicaStatusPercentProgress: {}, + KMSMasterKeyId: {}, + ProvisionedThroughputOverride: { shape: "S2b" }, + GlobalSecondaryIndexes: { + type: "list", + member: { + type: "structure", + members: { + IndexName: {}, + ProvisionedThroughputOverride: { shape: "S2b" }, + }, + }, }, + ReplicaInaccessibleDateTime: { type: "timestamp" }, }, }, - output: { + }, + S2b: { + type: "structure", + members: { ReadCapacityUnits: { type: "long" } }, + }, + S2i: { + type: "list", + member: { type: "structure", - members: { Definitions: { shape: "S56" }, NextToken: {} }, + required: ["AttributeName", "AttributeType"], + members: { AttributeName: {}, AttributeType: {} }, }, }, - ListTagsForResource: { - http: { - method: "GET", - requestUri: "/tags/{resource-arn}", - responseCode: 200, + S2m: { + type: "list", + member: { + type: "structure", + required: ["AttributeName", "KeyType"], + members: { AttributeName: {}, KeyType: {} }, }, - input: { + }, + S2p: { + type: "list", + member: { type: "structure", + required: ["IndexName", "KeySchema", "Projection"], members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, + IndexName: {}, + KeySchema: { shape: "S2m" }, + Projection: { shape: "S2r" }, }, - required: ["ResourceArn"], }, - output: { type: "structure", members: { tags: { shape: "Sb" } } }, }, - ResetDeployments: { - http: { - requestUri: "/greengrass/groups/{GroupId}/deployments/$reset", - responseCode: 200, + S2r: { + type: "structure", + members: { + ProjectionType: {}, + NonKeyAttributes: { type: "list", member: {} }, }, - input: { + }, + S2v: { + type: "list", + member: { type: "structure", + required: ["IndexName", "KeySchema", "Projection"], members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", - }, - Force: { type: "boolean" }, - GroupId: { location: "uri", locationName: "GroupId" }, + IndexName: {}, + KeySchema: { shape: "S2m" }, + Projection: { shape: "S2r" }, + ProvisionedThroughput: { shape: "S2x" }, }, - required: ["GroupId"], }, - output: { - type: "structure", - members: { DeploymentArn: {}, DeploymentId: {} }, + }, + S2x: { + type: "structure", + required: ["ReadCapacityUnits", "WriteCapacityUnits"], + members: { + ReadCapacityUnits: { type: "long" }, + WriteCapacityUnits: { type: "long" }, }, }, - StartBulkDeployment: { - http: { - requestUri: "/greengrass/bulk/deployments", - responseCode: 200, + S2z: { + type: "structure", + required: ["StreamEnabled"], + members: { StreamEnabled: { type: "boolean" }, StreamViewType: {} }, + }, + S32: { + type: "structure", + members: { + Enabled: { type: "boolean" }, + SSEType: {}, + KMSMasterKeyId: {}, }, - input: { + }, + S35: { + type: "list", + member: { type: "structure", - members: { - AmznClientToken: { - location: "header", - locationName: "X-Amzn-Client-Token", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, + }, + }, + S3a: { + type: "structure", + members: { + AttributeDefinitions: { shape: "S2i" }, + TableName: {}, + KeySchema: { shape: "S2m" }, + TableStatus: {}, + CreationDateTime: { type: "timestamp" }, + ProvisionedThroughput: { shape: "S3c" }, + TableSizeBytes: { type: "long" }, + ItemCount: { type: "long" }, + TableArn: {}, + TableId: {}, + BillingModeSummary: { shape: "S3g" }, + LocalSecondaryIndexes: { + type: "list", + member: { + type: "structure", + members: { + IndexName: {}, + KeySchema: { shape: "S2m" }, + Projection: { shape: "S2r" }, + IndexSizeBytes: { type: "long" }, + ItemCount: { type: "long" }, + IndexArn: {}, + }, + }, + }, + GlobalSecondaryIndexes: { + type: "list", + member: { + type: "structure", + members: { + IndexName: {}, + KeySchema: { shape: "S2m" }, + Projection: { shape: "S2r" }, + IndexStatus: {}, + Backfilling: { type: "boolean" }, + ProvisionedThroughput: { shape: "S3c" }, + IndexSizeBytes: { type: "long" }, + ItemCount: { type: "long" }, + IndexArn: {}, + }, + }, + }, + StreamSpecification: { shape: "S2z" }, + LatestStreamLabel: {}, + LatestStreamArn: {}, + GlobalTableVersion: {}, + Replicas: { shape: "S25" }, + RestoreSummary: { + type: "structure", + required: ["RestoreDateTime", "RestoreInProgress"], + members: { + SourceBackupArn: {}, + SourceTableArn: {}, + RestoreDateTime: { type: "timestamp" }, + RestoreInProgress: { type: "boolean" }, + }, + }, + SSEDescription: { shape: "S3r" }, + ArchivalSummary: { + type: "structure", + members: { + ArchivalDateTime: { type: "timestamp" }, + ArchivalReason: {}, + ArchivalBackupArn: {}, }, - ExecutionRoleArn: {}, - InputFileUri: {}, - tags: { shape: "Sb" }, }, - required: ["ExecutionRoleArn", "InputFileUri"], }, - output: { - type: "structure", - members: { BulkDeploymentArn: {}, BulkDeploymentId: {} }, + }, + S3c: { + type: "structure", + members: { + LastIncreaseDateTime: { type: "timestamp" }, + LastDecreaseDateTime: { type: "timestamp" }, + NumberOfDecreasesToday: { type: "long" }, + ReadCapacityUnits: { type: "long" }, + WriteCapacityUnits: { type: "long" }, }, }, - StopBulkDeployment: { - http: { - method: "PUT", - requestUri: - "/greengrass/bulk/deployments/{BulkDeploymentId}/$stop", - responseCode: 200, + S3g: { + type: "structure", + members: { + BillingMode: {}, + LastUpdateToPayPerRequestDateTime: { type: "timestamp" }, }, - input: { - type: "structure", - members: { - BulkDeploymentId: { - location: "uri", - locationName: "BulkDeploymentId", + }, + S3r: { + type: "structure", + members: { + Status: {}, + SSEType: {}, + KMSMasterKeyArn: {}, + InaccessibleEncryptionDateTime: { type: "timestamp" }, + }, + }, + S3y: { + type: "structure", + members: { + BackupDetails: { shape: "S1s" }, + SourceTableDetails: { + type: "structure", + required: [ + "TableName", + "TableId", + "KeySchema", + "TableCreationDateTime", + "ProvisionedThroughput", + ], + members: { + TableName: {}, + TableId: {}, + TableArn: {}, + TableSizeBytes: { type: "long" }, + KeySchema: { shape: "S2m" }, + TableCreationDateTime: { type: "timestamp" }, + ProvisionedThroughput: { shape: "S2x" }, + ItemCount: { type: "long" }, + BillingMode: {}, + }, + }, + SourceTableFeatureDetails: { + type: "structure", + members: { + LocalSecondaryIndexes: { + type: "list", + member: { + type: "structure", + members: { + IndexName: {}, + KeySchema: { shape: "S2m" }, + Projection: { shape: "S2r" }, + }, + }, + }, + GlobalSecondaryIndexes: { + type: "list", + member: { + type: "structure", + members: { + IndexName: {}, + KeySchema: { shape: "S2m" }, + Projection: { shape: "S2r" }, + ProvisionedThroughput: { shape: "S2x" }, + }, + }, + }, + StreamDescription: { shape: "S2z" }, + TimeToLiveDescription: { shape: "S47" }, + SSEDescription: { shape: "S3r" }, }, }, - required: ["BulkDeploymentId"], }, - output: { type: "structure", members: {} }, }, - TagResource: { - http: { requestUri: "/tags/{resource-arn}", responseCode: 204 }, - input: { + S47: { + type: "structure", + members: { TimeToLiveStatus: {}, AttributeName: {} }, + }, + S4b: { + type: "map", + key: {}, + value: { type: "structure", members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - tags: { shape: "Sb" }, + Value: { shape: "S6" }, + Exists: { type: "boolean" }, + ComparisonOperator: {}, + AttributeValueList: { shape: "S4f" }, }, - required: ["ResourceArn"], }, }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/tags/{resource-arn}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - TagKeys: { - shape: "S29", - location: "querystring", - locationName: "tagKeys", + S4f: { type: "list", member: { shape: "S6" } }, + S4j: { type: "map", key: {}, value: { shape: "S6" } }, + S4s: { + type: "structure", + required: ["ContinuousBackupsStatus"], + members: { + ContinuousBackupsStatus: {}, + PointInTimeRecoveryDescription: { + type: "structure", + members: { + PointInTimeRecoveryStatus: {}, + EarliestRestorableDateTime: { type: "timestamp" }, + LatestRestorableDateTime: { type: "timestamp" }, }, }, - required: ["TagKeys", "ResourceArn"], }, }, - UpdateConnectivityInfo: { - http: { - method: "PUT", - requestUri: "/greengrass/things/{ThingName}/connectivityInfo", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ConnectivityInfo: { shape: "S3m" }, - ThingName: { location: "uri", locationName: "ThingName" }, - }, - required: ["ThingName"], - }, - output: { - type: "structure", - members: { Message: { locationName: "message" }, Version: {} }, + S5c: { + type: "structure", + members: { + ExportArn: {}, + ExportStatus: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + ExportManifest: {}, + TableArn: {}, + TableId: {}, + ExportTime: { type: "timestamp" }, + ClientToken: {}, + S3Bucket: {}, + S3BucketOwner: {}, + S3Prefix: {}, + S3SseAlgorithm: {}, + S3SseKmsKeyId: {}, + FailureCode: {}, + FailureMessage: {}, + ExportFormat: {}, + BilledSizeBytes: { type: "long" }, + ItemCount: { type: "long" }, }, }, - UpdateConnectorDefinition: { - http: { - method: "PUT", - requestUri: - "/greengrass/definition/connectors/{ConnectorDefinitionId}", - responseCode: 200, - }, - input: { + S5w: { + type: "list", + member: { type: "structure", + required: ["RegionName"], members: { - ConnectorDefinitionId: { - location: "uri", - locationName: "ConnectorDefinitionId", + RegionName: {}, + ReplicaStatus: {}, + ReplicaBillingModeSummary: { shape: "S3g" }, + ReplicaProvisionedReadCapacityUnits: { type: "long" }, + ReplicaProvisionedReadCapacityAutoScalingSettings: { + shape: "S5y", + }, + ReplicaProvisionedWriteCapacityUnits: { type: "long" }, + ReplicaProvisionedWriteCapacityAutoScalingSettings: { + shape: "S5y", + }, + ReplicaGlobalSecondaryIndexSettings: { + type: "list", + member: { + type: "structure", + required: ["IndexName"], + members: { + IndexName: {}, + IndexStatus: {}, + ProvisionedReadCapacityUnits: { type: "long" }, + ProvisionedReadCapacityAutoScalingSettings: { + shape: "S5y", + }, + ProvisionedWriteCapacityUnits: { type: "long" }, + ProvisionedWriteCapacityAutoScalingSettings: { + shape: "S5y", + }, + }, + }, }, - Name: {}, }, - required: ["ConnectorDefinitionId"], }, - output: { type: "structure", members: {} }, }, - UpdateCoreDefinition: { - http: { - method: "PUT", - requestUri: "/greengrass/definition/cores/{CoreDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CoreDefinitionId: { - location: "uri", - locationName: "CoreDefinitionId", - }, - Name: {}, - }, - required: ["CoreDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateDeviceDefinition: { - http: { - method: "PUT", - requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - DeviceDefinitionId: { - location: "uri", - locationName: "DeviceDefinitionId", - }, - Name: {}, - }, - required: ["DeviceDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateFunctionDefinition: { - http: { - method: "PUT", - requestUri: - "/greengrass/definition/functions/{FunctionDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - FunctionDefinitionId: { - location: "uri", - locationName: "FunctionDefinitionId", - }, - Name: {}, - }, - required: ["FunctionDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateGroup: { - http: { - method: "PUT", - requestUri: "/greengrass/groups/{GroupId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - GroupId: { location: "uri", locationName: "GroupId" }, - Name: {}, - }, - required: ["GroupId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateGroupCertificateConfiguration: { - http: { - method: "PUT", - requestUri: - "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CertificateExpiryInMilliseconds: {}, - GroupId: { location: "uri", locationName: "GroupId" }, - }, - required: ["GroupId"], - }, - output: { - type: "structure", - members: { - CertificateAuthorityExpiryInMilliseconds: {}, - CertificateExpiryInMilliseconds: {}, - GroupId: {}, - }, - }, - }, - UpdateLoggerDefinition: { - http: { - method: "PUT", - requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - LoggerDefinitionId: { - location: "uri", - locationName: "LoggerDefinitionId", - }, - Name: {}, - }, - required: ["LoggerDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateResourceDefinition: { - http: { - method: "PUT", - requestUri: - "/greengrass/definition/resources/{ResourceDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Name: {}, - ResourceDefinitionId: { - location: "uri", - locationName: "ResourceDefinitionId", - }, - }, - required: ["ResourceDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - UpdateSubscriptionDefinition: { - http: { - method: "PUT", - requestUri: - "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Name: {}, - SubscriptionDefinitionId: { - location: "uri", - locationName: "SubscriptionDefinitionId", - }, - }, - required: ["SubscriptionDefinitionId"], - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S7: { type: "structure", members: { Connectors: { shape: "S8" } } }, - S8: { - type: "list", - member: { - type: "structure", - members: { - ConnectorArn: {}, - Id: {}, - Parameters: { shape: "Sa" }, - }, - required: ["ConnectorArn", "Id"], - }, - }, - Sa: { type: "map", key: {}, value: {} }, - Sb: { type: "map", key: {}, value: {} }, - Sg: { type: "structure", members: { Cores: { shape: "Sh" } } }, - Sh: { - type: "list", - member: { - type: "structure", - members: { - CertificateArn: {}, - Id: {}, - SyncShadow: { type: "boolean" }, - ThingArn: {}, - }, - required: ["ThingArn", "Id", "CertificateArn"], - }, - }, - Sr: { type: "structure", members: { Devices: { shape: "Ss" } } }, - Ss: { - type: "list", - member: { - type: "structure", - members: { - CertificateArn: {}, - Id: {}, - SyncShadow: { type: "boolean" }, - ThingArn: {}, - }, - required: ["ThingArn", "Id", "CertificateArn"], - }, - }, - Sy: { - type: "structure", - members: { - DefaultConfig: { shape: "Sz" }, - Functions: { shape: "S14" }, - }, - }, - Sz: { + S5y: { type: "structure", members: { - Execution: { - type: "structure", - members: { IsolationMode: {}, RunAs: { shape: "S12" } }, - }, - }, - }, - S12: { - type: "structure", - members: { Gid: { type: "integer" }, Uid: { type: "integer" } }, - }, - S14: { - type: "list", - member: { - type: "structure", - members: { - FunctionArn: {}, - FunctionConfiguration: { + MinimumUnits: { type: "long" }, + MaximumUnits: { type: "long" }, + AutoScalingDisabled: { type: "boolean" }, + AutoScalingRoleArn: {}, + ScalingPolicies: { + type: "list", + member: { type: "structure", members: { - EncodingType: {}, - Environment: { + PolicyName: {}, + TargetTrackingScalingPolicyConfiguration: { type: "structure", + required: ["TargetValue"], members: { - AccessSysfs: { type: "boolean" }, - Execution: { - type: "structure", - members: { - IsolationMode: {}, - RunAs: { shape: "S12" }, - }, - }, - ResourceAccessPolicies: { - type: "list", - member: { - type: "structure", - members: { Permission: {}, ResourceId: {} }, - required: ["ResourceId"], - }, - }, - Variables: { shape: "Sa" }, + DisableScaleIn: { type: "boolean" }, + ScaleInCooldown: { type: "integer" }, + ScaleOutCooldown: { type: "integer" }, + TargetValue: { type: "double" }, }, }, - ExecArgs: {}, - Executable: {}, - MemorySize: { type: "integer" }, - Pinned: { type: "boolean" }, - Timeout: { type: "integer" }, }, }, - Id: {}, }, - required: ["Id"], }, }, - S1h: { + S6i: { type: "structure", members: { - ConnectorDefinitionVersionArn: {}, - CoreDefinitionVersionArn: {}, - DeviceDefinitionVersionArn: {}, - FunctionDefinitionVersionArn: {}, - LoggerDefinitionVersionArn: {}, - ResourceDefinitionVersionArn: {}, - SubscriptionDefinitionVersionArn: {}, - }, - }, - S1o: { type: "structure", members: { Loggers: { shape: "S1p" } } }, - S1p: { - type: "list", - member: { - type: "structure", - members: { - Component: {}, - Id: {}, - Level: {}, - Space: { type: "integer" }, - Type: {}, - }, - required: ["Type", "Level", "Id", "Component"], - }, - }, - S1y: { type: "structure", members: { Resources: { shape: "S1z" } } }, - S1z: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Name: {}, - ResourceDataContainer: { + TableName: {}, + TableStatus: {}, + Replicas: { + type: "list", + member: { type: "structure", members: { - LocalDeviceResourceData: { - type: "structure", - members: { - GroupOwnerSetting: { shape: "S23" }, - SourcePath: {}, - }, - }, - LocalVolumeResourceData: { - type: "structure", - members: { - DestinationPath: {}, - GroupOwnerSetting: { shape: "S23" }, - SourcePath: {}, - }, - }, - S3MachineLearningModelResourceData: { - type: "structure", - members: { - DestinationPath: {}, - OwnerSetting: { shape: "S26" }, - S3Uri: {}, + RegionName: {}, + GlobalSecondaryIndexes: { + type: "list", + member: { + type: "structure", + members: { + IndexName: {}, + IndexStatus: {}, + ProvisionedReadCapacityAutoScalingSettings: { + shape: "S5y", + }, + ProvisionedWriteCapacityAutoScalingSettings: { + shape: "S5y", + }, + }, }, }, - SageMakerMachineLearningModelResourceData: { - type: "structure", - members: { - DestinationPath: {}, - OwnerSetting: { shape: "S26" }, - SageMakerJobArn: {}, - }, + ReplicaProvisionedReadCapacityAutoScalingSettings: { + shape: "S5y", }, - SecretsManagerSecretResourceData: { - type: "structure", - members: { - ARN: {}, - AdditionalStagingLabelsToDownload: { shape: "S29" }, - }, + ReplicaProvisionedWriteCapacityAutoScalingSettings: { + shape: "S5y", }, + ReplicaStatus: {}, }, }, }, - required: ["ResourceDataContainer", "Id", "Name"], }, }, - S23: { - type: "structure", - members: { AutoAddGroupOwner: { type: "boolean" }, GroupOwner: {} }, - }, - S26: { + S6p: { type: "structure", - members: { GroupOwner: {}, GroupPermission: {} }, - required: ["GroupOwner", "GroupPermission"], + required: ["TableName", "StreamArn"], + members: { TableName: {}, StreamArn: {} }, }, - S29: { type: "list", member: {} }, - S2m: { + S6q: { type: "structure", - members: { Subscriptions: { shape: "S2n" } }, + members: { TableName: {}, StreamArn: {}, DestinationStatus: {} }, }, - S2n: { + S6z: { type: "list", - member: { - type: "structure", - members: { Id: {}, Source: {}, Subject: {}, Target: {} }, - required: ["Target", "Id", "Subject", "Source"], - }, + member: { type: "structure", members: { Item: { shape: "Sq" } } }, }, - S3i: { - type: "list", - member: { - type: "structure", - members: { DetailedErrorCode: {}, DetailedErrorMessage: {} }, + S86: { + type: "structure", + required: ["ComparisonOperator"], + members: { + AttributeValueList: { shape: "S4f" }, + ComparisonOperator: {}, }, }, - S3m: { - type: "list", - member: { - type: "structure", - members: { - HostAddress: {}, - Id: {}, - Metadata: {}, - PortNumber: { type: "integer" }, + S87: { type: "map", key: {}, value: { shape: "S86" } }, + S9e: { + type: "structure", + members: { + MinimumUnits: { type: "long" }, + MaximumUnits: { type: "long" }, + AutoScalingDisabled: { type: "boolean" }, + AutoScalingRoleArn: {}, + ScalingPolicyUpdate: { + type: "structure", + required: ["TargetTrackingScalingPolicyConfiguration"], + members: { + PolicyName: {}, + TargetTrackingScalingPolicyConfiguration: { + type: "structure", + required: ["TargetValue"], + members: { + DisableScaleIn: { type: "boolean" }, + ScaleInCooldown: { type: "integer" }, + ScaleOutCooldown: { type: "integer" }, + TargetValue: { type: "double" }, + }, + }, + }, }, }, }, - S52: { - type: "list", - member: { - type: "structure", - members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, - }, - }, - S56: { + Sa3: { type: "list", member: { type: "structure", + required: ["IndexName"], members: { - Arn: {}, - CreationTimestamp: {}, - Id: {}, - LastUpdatedTimestamp: {}, - LatestVersion: {}, - LatestVersionArn: {}, - Name: {}, - Tags: { shape: "Sb", locationName: "tags" }, + IndexName: {}, + ProvisionedThroughputOverride: { shape: "S2b" }, }, }, }, + Sah: { + type: "structure", + required: ["Enabled", "AttributeName"], + members: { Enabled: { type: "boolean" }, AttributeName: {} }, + }, }, }; /***/ }, - /***/ 2077: /***/ function (module) { - module.exports = { pagination: {} }; + /***/ 1917: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["codegurureviewer"] = {}; + AWS.CodeGuruReviewer = Service.defineService("codegurureviewer", [ + "2019-09-19", + ]); + Object.defineProperty( + apiLoader.services["codegurureviewer"], + "2019-09-19", + { + get: function get() { + var model = __webpack_require__(4912); + model.paginators = __webpack_require__(5388).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.CodeGuruReviewer; /***/ }, - /***/ 2087: /***/ function (module) { - module.exports = require("os"); + /***/ 1920: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["es"] = {}; + AWS.ES = Service.defineService("es", ["2015-01-01"]); + Object.defineProperty(apiLoader.services["es"], "2015-01-01", { + get: function get() { + var model = __webpack_require__(9307); + model.paginators = __webpack_require__(9743).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.ES; /***/ }, - /***/ 2091: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-08-20", - endpointPrefix: "s3-control", - protocol: "rest-xml", - serviceFullName: "AWS S3 Control", - serviceId: "S3 Control", - signatureVersion: "s3v4", - signingName: "s3", - uid: "s3control-2018-08-20", + /***/ 1926: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["greengrassv2"] = {}; + AWS.GreengrassV2 = Service.defineService("greengrassv2", ["2020-11-30"]); + Object.defineProperty(apiLoader.services["greengrassv2"], "2020-11-30", { + get: function get() { + var model = __webpack_require__(7720); + model.paginators = __webpack_require__(8782).pagination; + return model; }, - operations: { - CreateAccessPoint: { - http: { - method: "PUT", - requestUri: "/v20180820/accesspoint/{name}", - }, - input: { - locationName: "CreateAccessPointRequest", - xmlNamespace: { - uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", - }, - type: "structure", - required: ["AccountId", "Name", "Bucket"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - Bucket: {}, - VpcConfiguration: { shape: "S5" }, - PublicAccessBlockConfiguration: { shape: "S7" }, - }, - }, - }, - CreateJob: { - http: { requestUri: "/v20180820/jobs" }, - input: { - locationName: "CreateJobRequest", - xmlNamespace: { - uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", - }, - type: "structure", - required: [ - "AccountId", - "Operation", - "Report", - "ClientRequestToken", - "Manifest", - "Priority", - "RoleArn", - ], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - ConfirmationRequired: { type: "boolean" }, - Operation: { shape: "Sb" }, - Report: { shape: "S19" }, - ClientRequestToken: { idempotencyToken: true }, - Manifest: { shape: "S1e" }, - Description: {}, - Priority: { type: "integer" }, - RoleArn: {}, - Tags: { shape: "Su" }, - }, - }, - output: { type: "structure", members: { JobId: {} } }, - }, - DeleteAccessPoint: { - http: { - method: "DELETE", - requestUri: "/v20180820/accesspoint/{name}", - }, - input: { - type: "structure", - required: ["AccountId", "Name"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - }, - }, - }, - DeleteAccessPointPolicy: { - http: { - method: "DELETE", - requestUri: "/v20180820/accesspoint/{name}/policy", - }, - input: { - type: "structure", - required: ["AccountId", "Name"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - }, - }, - }, - DeleteJobTagging: { - http: { - method: "DELETE", - requestUri: "/v20180820/jobs/{id}/tagging", - }, - input: { - type: "structure", - required: ["AccountId", "JobId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - JobId: { location: "uri", locationName: "id" }, - }, - }, - output: { type: "structure", members: {} }, - }, - DeletePublicAccessBlock: { - http: { - method: "DELETE", - requestUri: "/v20180820/configuration/publicAccessBlock", - }, - input: { - type: "structure", - required: ["AccountId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - }, - }, - }, - DescribeJob: { - http: { method: "GET", requestUri: "/v20180820/jobs/{id}" }, - input: { - type: "structure", - required: ["AccountId", "JobId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - JobId: { location: "uri", locationName: "id" }, - }, - }, - output: { - type: "structure", - members: { - Job: { - type: "structure", - members: { - JobId: {}, - ConfirmationRequired: { type: "boolean" }, - Description: {}, - JobArn: {}, - Status: {}, - Manifest: { shape: "S1e" }, - Operation: { shape: "Sb" }, - Priority: { type: "integer" }, - ProgressSummary: { shape: "S21" }, - StatusUpdateReason: {}, - FailureReasons: { - type: "list", - member: { - type: "structure", - members: { FailureCode: {}, FailureReason: {} }, - }, - }, - Report: { shape: "S19" }, - CreationTime: { type: "timestamp" }, - TerminationDate: { type: "timestamp" }, - RoleArn: {}, - SuspendedDate: { type: "timestamp" }, - SuspendedCause: {}, - }, - }, - }, - }, - }, - GetAccessPoint: { - http: { - method: "GET", - requestUri: "/v20180820/accesspoint/{name}", - }, - input: { - type: "structure", - required: ["AccountId", "Name"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - }, - }, - output: { - type: "structure", - members: { - Name: {}, - Bucket: {}, - NetworkOrigin: {}, - VpcConfiguration: { shape: "S5" }, - PublicAccessBlockConfiguration: { shape: "S7" }, - CreationDate: { type: "timestamp" }, - }, - }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.GreengrassV2; + + /***/ + }, + + /***/ 1928: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["emr"] = {}; + AWS.EMR = Service.defineService("emr", ["2009-03-31"]); + Object.defineProperty(apiLoader.services["emr"], "2009-03-31", { + get: function get() { + var model = __webpack_require__(437); + model.paginators = __webpack_require__(240).pagination; + model.waiters = __webpack_require__(6023).waiters; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.EMR; + + /***/ + }, + + /***/ 1944: /***/ function (module) { + module.exports = { + pagination: { + ListConfigs: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "configList", }, - GetAccessPointPolicy: { - http: { - method: "GET", - requestUri: "/v20180820/accesspoint/{name}/policy", - }, - input: { - type: "structure", - required: ["AccountId", "Name"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - }, - }, - output: { type: "structure", members: { Policy: {} } }, + ListContacts: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "contactList", }, - GetAccessPointPolicyStatus: { - http: { - method: "GET", - requestUri: "/v20180820/accesspoint/{name}/policyStatus", - }, - input: { - type: "structure", - required: ["AccountId", "Name"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - }, - }, - output: { - type: "structure", - members: { - PolicyStatus: { - type: "structure", - members: { - IsPublic: { locationName: "IsPublic", type: "boolean" }, - }, - }, - }, - }, + ListDataflowEndpointGroups: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "dataflowEndpointGroupList", }, - GetJobTagging: { - http: { method: "GET", requestUri: "/v20180820/jobs/{id}/tagging" }, - input: { - type: "structure", - required: ["AccountId", "JobId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - JobId: { location: "uri", locationName: "id" }, - }, - }, - output: { type: "structure", members: { Tags: { shape: "Su" } } }, + ListGroundStations: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "groundStationList", }, - GetPublicAccessBlock: { - http: { - method: "GET", - requestUri: "/v20180820/configuration/publicAccessBlock", - }, - input: { - type: "structure", - required: ["AccountId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - }, - }, - output: { - type: "structure", - members: { PublicAccessBlockConfiguration: { shape: "S7" } }, - payload: "PublicAccessBlockConfiguration", - }, + ListMissionProfiles: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "missionProfileList", }, - ListAccessPoints: { - http: { method: "GET", requestUri: "/v20180820/accesspoint" }, - input: { - type: "structure", - required: ["AccountId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Bucket: { location: "querystring", locationName: "bucket" }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - AccessPointList: { - type: "list", - member: { - locationName: "AccessPoint", - type: "structure", - required: ["Name", "NetworkOrigin", "Bucket"], - members: { - Name: {}, - NetworkOrigin: {}, - VpcConfiguration: { shape: "S5" }, - Bucket: {}, - }, - }, - }, - NextToken: {}, - }, - }, + ListSatellites: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "satellites", }, - ListJobs: { - http: { method: "GET", requestUri: "/v20180820/jobs" }, - input: { - type: "structure", - required: ["AccountId"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - JobStatuses: { - location: "querystring", - locationName: "jobStatuses", - type: "list", - member: {}, - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - NextToken: {}, - Jobs: { - type: "list", - member: { - type: "structure", - members: { - JobId: {}, - Description: {}, - Operation: {}, - Priority: { type: "integer" }, - Status: {}, - CreationTime: { type: "timestamp" }, - TerminationDate: { type: "timestamp" }, - ProgressSummary: { shape: "S21" }, - }, - }, - }, - }, - }, + }, + }; + + /***/ + }, + + /***/ 1955: /***/ function (module, __unusedexports, __webpack_require__) { + "use strict"; + + const path = __webpack_require__(5622); + const childProcess = __webpack_require__(3129); + const crossSpawn = __webpack_require__(20); + const stripEof = __webpack_require__(3768); + const npmRunPath = __webpack_require__(4621); + const isStream = __webpack_require__(323); + const _getStream = __webpack_require__(145); + const pFinally = __webpack_require__(8697); + const onExit = __webpack_require__(5260); + const errname = __webpack_require__(4427); + const stdio = __webpack_require__(1168); + + const TEN_MEGABYTES = 1000 * 1000 * 10; + + function handleArgs(cmd, args, opts) { + let parsed; + + opts = Object.assign( + { + extendEnv: true, + env: {}, }, - PutAccessPointPolicy: { - http: { - method: "PUT", - requestUri: "/v20180820/accesspoint/{name}/policy", - }, - input: { - locationName: "PutAccessPointPolicyRequest", - xmlNamespace: { - uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", - }, - type: "structure", - required: ["AccountId", "Name", "Policy"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - Name: { location: "uri", locationName: "name" }, - Policy: {}, - }, + opts + ); + + if (opts.extendEnv) { + opts.env = Object.assign({}, process.env, opts.env); + } + + if (opts.__winShell === true) { + delete opts.__winShell; + parsed = { + command: cmd, + args, + options: opts, + file: cmd, + original: { + cmd, + args, }, + }; + } else { + parsed = crossSpawn._parse(cmd, args, opts); + } + + opts = Object.assign( + { + maxBuffer: TEN_MEGABYTES, + buffer: true, + stripEof: true, + preferLocal: true, + localDir: parsed.options.cwd || process.cwd(), + encoding: "utf8", + reject: true, + cleanup: true, }, - PutJobTagging: { - http: { method: "PUT", requestUri: "/v20180820/jobs/{id}/tagging" }, - input: { - locationName: "PutJobTaggingRequest", - xmlNamespace: { - uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", - }, - type: "structure", - required: ["AccountId", "JobId", "Tags"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - JobId: { location: "uri", locationName: "id" }, - Tags: { shape: "Su" }, - }, - }, - output: { type: "structure", members: {} }, - }, - PutPublicAccessBlock: { - http: { - method: "PUT", - requestUri: "/v20180820/configuration/publicAccessBlock", - }, - input: { - type: "structure", - required: ["PublicAccessBlockConfiguration", "AccountId"], - members: { - PublicAccessBlockConfiguration: { - shape: "S7", - locationName: "PublicAccessBlockConfiguration", - xmlNamespace: { - uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", - }, - }, - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - }, - payload: "PublicAccessBlockConfiguration", - }, - }, - UpdateJobPriority: { - http: { requestUri: "/v20180820/jobs/{id}/priority" }, - input: { - type: "structure", - required: ["AccountId", "JobId", "Priority"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - JobId: { location: "uri", locationName: "id" }, - Priority: { - location: "querystring", - locationName: "priority", - type: "integer", - }, - }, - }, - output: { - type: "structure", - required: ["JobId", "Priority"], - members: { JobId: {}, Priority: { type: "integer" } }, - }, - }, - UpdateJobStatus: { - http: { requestUri: "/v20180820/jobs/{id}/status" }, - input: { - type: "structure", - required: ["AccountId", "JobId", "RequestedJobStatus"], - members: { - AccountId: { - location: "header", - locationName: "x-amz-account-id", - }, - JobId: { location: "uri", locationName: "id" }, - RequestedJobStatus: { - location: "querystring", - locationName: "requestedJobStatus", - }, - StatusUpdateReason: { - location: "querystring", - locationName: "statusUpdateReason", - }, - }, - }, - output: { - type: "structure", - members: { JobId: {}, Status: {}, StatusUpdateReason: {} }, - }, - }, - }, - shapes: { - S5: { - type: "structure", - required: ["VpcId"], - members: { VpcId: {} }, - }, - S7: { - type: "structure", - members: { - BlockPublicAcls: { - locationName: "BlockPublicAcls", - type: "boolean", - }, - IgnorePublicAcls: { - locationName: "IgnorePublicAcls", - type: "boolean", - }, - BlockPublicPolicy: { - locationName: "BlockPublicPolicy", - type: "boolean", - }, - RestrictPublicBuckets: { - locationName: "RestrictPublicBuckets", - type: "boolean", - }, - }, - }, - Sb: { - type: "structure", - members: { - LambdaInvoke: { type: "structure", members: { FunctionArn: {} } }, - S3PutObjectCopy: { - type: "structure", - members: { - TargetResource: {}, - CannedAccessControlList: {}, - AccessControlGrants: { shape: "Sh" }, - MetadataDirective: {}, - ModifiedSinceConstraint: { type: "timestamp" }, - NewObjectMetadata: { - type: "structure", - members: { - CacheControl: {}, - ContentDisposition: {}, - ContentEncoding: {}, - ContentLanguage: {}, - UserMetadata: { type: "map", key: {}, value: {} }, - ContentLength: { type: "long" }, - ContentMD5: {}, - ContentType: {}, - HttpExpiresDate: { type: "timestamp" }, - RequesterCharged: { type: "boolean" }, - SSEAlgorithm: {}, - }, - }, - NewObjectTagging: { shape: "Su" }, - RedirectLocation: {}, - RequesterPays: { type: "boolean" }, - StorageClass: {}, - UnModifiedSinceConstraint: { type: "timestamp" }, - SSEAwsKmsKeyId: {}, - TargetKeyPrefix: {}, - ObjectLockLegalHoldStatus: {}, - ObjectLockMode: {}, - ObjectLockRetainUntilDate: { type: "timestamp" }, - }, - }, - S3PutObjectAcl: { - type: "structure", - members: { - AccessControlPolicy: { - type: "structure", - members: { - AccessControlList: { - type: "structure", - required: ["Owner"], - members: { - Owner: { - type: "structure", - members: { ID: {}, DisplayName: {} }, - }, - Grants: { shape: "Sh" }, - }, - }, - CannedAccessControlList: {}, - }, - }, - }, - }, - S3PutObjectTagging: { - type: "structure", - members: { TagSet: { shape: "Su" } }, - }, - S3InitiateRestoreObject: { - type: "structure", - members: { - ExpirationInDays: { type: "integer" }, - GlacierJobTier: {}, - }, - }, - }, - }, - Sh: { - type: "list", - member: { - type: "structure", - members: { - Grantee: { - type: "structure", - members: { - TypeIdentifier: {}, - Identifier: {}, - DisplayName: {}, - }, - }, - Permission: {}, - }, - }, - }, - Su: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - S19: { - type: "structure", - required: ["Enabled"], - members: { - Bucket: {}, - Format: {}, - Enabled: { type: "boolean" }, - Prefix: {}, - ReportScope: {}, - }, - }, - S1e: { - type: "structure", - required: ["Spec", "Location"], - members: { - Spec: { - type: "structure", - required: ["Format"], - members: { Format: {}, Fields: { type: "list", member: {} } }, - }, - Location: { - type: "structure", - required: ["ObjectArn", "ETag"], - members: { ObjectArn: {}, ObjectVersionId: {}, ETag: {} }, - }, - }, - }, - S21: { - type: "structure", - members: { - TotalNumberOfTasks: { type: "long" }, - NumberOfTasksSucceeded: { type: "long" }, - NumberOfTasksFailed: { type: "long" }, - }, - }, - }, - }; + parsed.options + ); - /***/ - }, + opts.stdio = stdio(opts); - /***/ 2102: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; + if (opts.preferLocal) { + opts.env = npmRunPath.env( + Object.assign({}, opts, { cwd: opts.localDir }) + ); + } - // For internal use, subject to change. - var __importStar = - (this && this.__importStar) || - function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) - for (var k in mod) - if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; + if (opts.detached) { + // #115 + opts.cleanup = false; + } + + if ( + process.platform === "win32" && + path.basename(parsed.command) === "cmd.exe" + ) { + // #116 + parsed.args.unshift("/q"); + } + + return { + cmd: parsed.command, + args: parsed.args, + opts, + parsed, }; - Object.defineProperty(exports, "__esModule", { value: true }); - // We use any as a valid input type - /* eslint-disable @typescript-eslint/no-explicit-any */ - const fs = __importStar(__webpack_require__(5747)); - const os = __importStar(__webpack_require__(2087)); - const utils_1 = __webpack_require__(5082); - function issueCommand(command, message) { - const filePath = process.env[`GITHUB_${command}`]; - if (!filePath) { - throw new Error( - `Unable to find environment variable for file command ${command}` - ); + } + + function handleInput(spawned, input) { + if (input === null || input === undefined) { + return; } - if (!fs.existsSync(filePath)) { - throw new Error(`Missing file at path: ${filePath}`); + + if (isStream(input)) { + input.pipe(spawned.stdin); + } else { + spawned.stdin.end(input); } - fs.appendFileSync( - filePath, - `${utils_1.toCommandValue(message)}${os.EOL}`, - { - encoding: "utf8", + } + + function handleOutput(opts, val) { + if (val && opts.stripEof) { + val = stripEof(val); + } + + return val; + } + + function handleShell(fn, cmd, opts) { + let file = "/bin/sh"; + let args = ["-c", cmd]; + + opts = Object.assign({}, opts); + + if (process.platform === "win32") { + opts.__winShell = true; + file = process.env.comspec || "cmd.exe"; + args = ["/s", "/c", `"${cmd}"`]; + opts.windowsVerbatimArguments = true; + } + + if (opts.shell) { + file = opts.shell; + delete opts.shell; + } + + return fn(file, args, opts); + } + + function getStream(process, stream, { encoding, buffer, maxBuffer }) { + if (!process[stream]) { + return null; + } + + let ret; + + if (!buffer) { + // TODO: Use `ret = util.promisify(stream.finished)(process[stream]);` when targeting Node.js 10 + ret = new Promise((resolve, reject) => { + process[stream].once("end", resolve).once("error", reject); + }); + } else if (encoding) { + ret = _getStream(process[stream], { + encoding, + maxBuffer, + }); + } else { + ret = _getStream.buffer(process[stream], { maxBuffer }); + } + + return ret.catch((err) => { + err.stream = stream; + err.message = `${stream} ${err.message}`; + throw err; + }); + } + + function makeError(result, options) { + const { stdout, stderr } = result; + + let err = result.error; + const { code, signal } = result; + + const { parsed, joinedCmd } = options; + const timedOut = options.timedOut || false; + + if (!err) { + let output = ""; + + if (Array.isArray(parsed.opts.stdio)) { + if (parsed.opts.stdio[2] !== "inherit") { + output += output.length > 0 ? stderr : `\n${stderr}`; + } + + if (parsed.opts.stdio[1] !== "inherit") { + output += `\n${stdout}`; + } + } else if (parsed.opts.stdio !== "inherit") { + output = `\n${stderr}${stdout}`; } - ); + + err = new Error(`Command failed: ${joinedCmd}${output}`); + err.code = code < 0 ? errname(code) : code; + } + + err.stdout = stdout; + err.stderr = stderr; + err.failed = true; + err.signal = signal || null; + err.cmd = joinedCmd; + err.timedOut = timedOut; + + return err; } - exports.issueCommand = issueCommand; - //# sourceMappingURL=file-command.js.map - /***/ - }, + function joinCmd(cmd, args) { + let joinedCmd = cmd; - /***/ 2106: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + if (Array.isArray(args) && args.length > 0) { + joinedCmd += " " + args.join(" "); + } - apiLoader.services["migrationhub"] = {}; - AWS.MigrationHub = Service.defineService("migrationhub", ["2017-05-31"]); - Object.defineProperty(apiLoader.services["migrationhub"], "2017-05-31", { - get: function get() { - var model = __webpack_require__(6686); - model.paginators = __webpack_require__(370).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + return joinedCmd; + } - module.exports = AWS.MigrationHub; + module.exports = (cmd, args, opts) => { + const parsed = handleArgs(cmd, args, opts); + const { encoding, buffer, maxBuffer } = parsed.opts; + const joinedCmd = joinCmd(cmd, args); - /***/ - }, + let spawned; + try { + spawned = childProcess.spawn(parsed.cmd, parsed.args, parsed.opts); + } catch (err) { + return Promise.reject(err); + } - /***/ 2120: /***/ function (module) { - module.exports = { - pagination: { - GetBotAliases: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetBotChannelAssociations: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetBotVersions: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetBots: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetBuiltinIntents: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetBuiltinSlotTypes: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetIntentVersions: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetIntents: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetSlotTypeVersions: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetSlotTypes: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - }, + let removeExitHandler; + if (parsed.opts.cleanup) { + removeExitHandler = onExit(() => { + spawned.kill(); + }); + } + + let timeoutId = null; + let timedOut = false; + + const cleanup = () => { + if (timeoutId) { + clearTimeout(timeoutId); + timeoutId = null; + } + + if (removeExitHandler) { + removeExitHandler(); + } + }; + + if (parsed.opts.timeout > 0) { + timeoutId = setTimeout(() => { + timeoutId = null; + timedOut = true; + spawned.kill(parsed.opts.killSignal); + }, parsed.opts.timeout); + } + + const processDone = new Promise((resolve) => { + spawned.on("exit", (code, signal) => { + cleanup(); + resolve({ code, signal }); + }); + + spawned.on("error", (err) => { + cleanup(); + resolve({ error: err }); + }); + + if (spawned.stdin) { + spawned.stdin.on("error", (err) => { + cleanup(); + resolve({ error: err }); + }); + } + }); + + function destroy() { + if (spawned.stdout) { + spawned.stdout.destroy(); + } + + if (spawned.stderr) { + spawned.stderr.destroy(); + } + } + + const handlePromise = () => + pFinally( + Promise.all([ + processDone, + getStream(spawned, "stdout", { encoding, buffer, maxBuffer }), + getStream(spawned, "stderr", { encoding, buffer, maxBuffer }), + ]).then((arr) => { + const result = arr[0]; + result.stdout = arr[1]; + result.stderr = arr[2]; + + if (result.error || result.code !== 0 || result.signal !== null) { + const err = makeError(result, { + joinedCmd, + parsed, + timedOut, + }); + + // TODO: missing some timeout logic for killed + // https://github.com/nodejs/node/blob/master/lib/child_process.js#L203 + // err.killed = spawned.killed || killed; + err.killed = err.killed || spawned.killed; + + if (!parsed.opts.reject) { + return err; + } + + throw err; + } + + return { + stdout: handleOutput(parsed.opts, result.stdout), + stderr: handleOutput(parsed.opts, result.stderr), + code: 0, + failed: false, + killed: false, + signal: null, + cmd: joinedCmd, + timedOut: false, + }; + }), + destroy + ); + + crossSpawn._enoent.hookChildProcess(spawned, parsed.parsed); + + handleInput(spawned, parsed.opts.input); + + spawned.then = (onfulfilled, onrejected) => + handlePromise().then(onfulfilled, onrejected); + spawned.catch = (onrejected) => handlePromise().catch(onrejected); + + return spawned; }; - /***/ - }, + // TODO: set `stderr: 'ignore'` when that option is implemented + module.exports.stdout = (...args) => + module.exports(...args).then((x) => x.stdout); - /***/ 2145: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + // TODO: set `stdout: 'ignore'` when that option is implemented + module.exports.stderr = (...args) => + module.exports(...args).then((x) => x.stderr); - apiLoader.services["workmailmessageflow"] = {}; - AWS.WorkMailMessageFlow = Service.defineService("workmailmessageflow", [ - "2019-05-01", - ]); - Object.defineProperty( - apiLoader.services["workmailmessageflow"], - "2019-05-01", - { - get: function get() { - var model = __webpack_require__(3642); - model.paginators = __webpack_require__(2028).pagination; - return model; - }, - enumerable: true, - configurable: true, + module.exports.shell = (cmd, opts) => + handleShell(module.exports, cmd, opts); + + module.exports.sync = (cmd, args, opts) => { + const parsed = handleArgs(cmd, args, opts); + const joinedCmd = joinCmd(cmd, args); + + if (isStream(parsed.opts.input)) { + throw new TypeError( + "The `input` option cannot be a stream in sync mode" + ); } - ); - module.exports = AWS.WorkMailMessageFlow; + const result = childProcess.spawnSync( + parsed.cmd, + parsed.args, + parsed.opts + ); + result.code = result.status; + + if (result.error || result.status !== 0 || result.signal !== null) { + const err = makeError(result, { + joinedCmd, + parsed, + }); + + if (!parsed.opts.reject) { + return err; + } + + throw err; + } + + return { + stdout: handleOutput(parsed.opts, result.stdout), + stderr: handleOutput(parsed.opts, result.stderr), + code: 0, + failed: false, + signal: null, + cmd: joinedCmd, + timedOut: false, + }; + }; + + module.exports.shellSync = (cmd, opts) => + handleShell(module.exports.sync, cmd, opts); /***/ }, - /***/ 2189: /***/ function (module) { + /***/ 1957: /***/ function (module) { module.exports = { pagination: { - GetDedicatedIps: { + ListClusters: { input_token: "NextToken", output_token: "NextToken", - limit_key: "PageSize", + limit_key: "MaxResults", + result_key: "ClusterInfoList", }, - ListConfigurationSets: { + ListConfigurations: { input_token: "NextToken", output_token: "NextToken", - limit_key: "PageSize", + limit_key: "MaxResults", + result_key: "Configurations", }, - ListDedicatedIpPools: { + ListKafkaVersions: { input_token: "NextToken", output_token: "NextToken", - limit_key: "PageSize", + limit_key: "MaxResults", + result_key: "KafkaVersions", }, - ListDeliverabilityTestReports: { + ListNodes: { input_token: "NextToken", output_token: "NextToken", - limit_key: "PageSize", + limit_key: "MaxResults", + result_key: "NodeInfoList", }, - ListDomainDeliverabilityCampaigns: { + ListClusterOperations: { input_token: "NextToken", output_token: "NextToken", - limit_key: "PageSize", + limit_key: "MaxResults", + result_key: "ClusterOperationInfoList", }, - ListEmailIdentities: { + ListConfigurationRevisions: { input_token: "NextToken", output_token: "NextToken", - limit_key: "PageSize", + limit_key: "MaxResults", + result_key: "Revisions", }, - ListSuppressedDestinations: { + ListScramSecrets: { input_token: "NextToken", output_token: "NextToken", - limit_key: "PageSize", + limit_key: "MaxResults", + result_key: "SecretArnList", }, }, }; @@ -67168,85 +75324,209 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 2214: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + /***/ 1960: /***/ function (__unusedmodule, exports, __webpack_require__) { + "use strict"; - apiLoader.services["cognitoidentity"] = {}; - AWS.CognitoIdentity = Service.defineService("cognitoidentity", [ - "2014-06-30", - ]); - __webpack_require__(2382); - Object.defineProperty( - apiLoader.services["cognitoidentity"], - "2014-06-30", - { - get: function get() { - var model = __webpack_require__(7056); - model.paginators = __webpack_require__(7280).pagination; - return model; - }, - enumerable: true, - configurable: true, + Object.defineProperty(exports, "__esModule", { + value: true, + }); + exports.default = void 0; + + var _validate = _interopRequireDefault(__webpack_require__(6634)); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + /** + * Convert array of 16 byte values to UUID string format of the form: + * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + */ + const byteToHex = []; + + for (let i = 0; i < 256; ++i) { + byteToHex.push((i + 0x100).toString(16).substr(1)); + } + + function stringify(arr, offset = 0) { + // Note: Be careful editing this code! It's been tuned for performance + // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434 + const uuid = ( + byteToHex[arr[offset + 0]] + + byteToHex[arr[offset + 1]] + + byteToHex[arr[offset + 2]] + + byteToHex[arr[offset + 3]] + + "-" + + byteToHex[arr[offset + 4]] + + byteToHex[arr[offset + 5]] + + "-" + + byteToHex[arr[offset + 6]] + + byteToHex[arr[offset + 7]] + + "-" + + byteToHex[arr[offset + 8]] + + byteToHex[arr[offset + 9]] + + "-" + + byteToHex[arr[offset + 10]] + + byteToHex[arr[offset + 11]] + + byteToHex[arr[offset + 12]] + + byteToHex[arr[offset + 13]] + + byteToHex[arr[offset + 14]] + + byteToHex[arr[offset + 15]] + ).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one + // of the following: + // - One or more input array values don't map to a hex octet (leading to + // "undefined" in the uuid) + // - Invalid input values for the RFC `version` or `variant` fields + + if (!(0, _validate.default)(uuid)) { + throw TypeError("Stringified UUID is invalid"); } - ); - module.exports = AWS.CognitoIdentity; + return uuid; + } + + var _default = stringify; + exports.default = _default; /***/ }, - /***/ 2225: /***/ function (module) { - module.exports = { pagination: {} }; + /***/ 1965: /***/ function (module) { + module.exports = { + pagination: { + ListApplications: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "applicationSummaries", + }, + }, + }; /***/ }, - /***/ 2230: /***/ function (module) { + /***/ 1969: /***/ function (module) { module.exports = { - version: 2, - waiters: { - ProjectVersionTrainingCompleted: { - description: "Wait until the ProjectVersion training completes.", - operation: "DescribeProjectVersions", - delay: 120, - maxAttempts: 360, - acceptors: [ - { - state: "success", - matcher: "pathAll", - argument: "ProjectVersionDescriptions[].Status", - expected: "TRAINING_COMPLETED", - }, - { - state: "failure", - matcher: "pathAny", - argument: "ProjectVersionDescriptions[].Status", - expected: "TRAINING_FAILED", - }, - ], + pagination: { + DescribeFleetAttributes: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "FleetAttributes", }, - ProjectVersionRunning: { - description: "Wait until the ProjectVersion is running.", - delay: 30, - maxAttempts: 40, - operation: "DescribeProjectVersions", - acceptors: [ - { - state: "success", - matcher: "pathAll", - argument: "ProjectVersionDescriptions[].Status", - expected: "RUNNING", - }, - { - state: "failure", - matcher: "pathAny", - argument: "ProjectVersionDescriptions[].Status", - expected: "FAILED", - }, - ], + DescribeFleetCapacity: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "FleetCapacity", + }, + DescribeFleetEvents: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "Events", + }, + DescribeFleetUtilization: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "FleetUtilization", + }, + DescribeGameServerInstances: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "GameServerInstances", + }, + DescribeGameSessionDetails: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "GameSessionDetails", + }, + DescribeGameSessionQueues: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "GameSessionQueues", + }, + DescribeGameSessions: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "GameSessions", + }, + DescribeInstances: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "Instances", + }, + DescribeMatchmakingConfigurations: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "Configurations", + }, + DescribeMatchmakingRuleSets: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "RuleSets", + }, + DescribePlayerSessions: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "PlayerSessions", + }, + DescribeScalingPolicies: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "ScalingPolicies", + }, + ListAliases: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "Aliases", + }, + ListBuilds: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "Builds", + }, + ListFleets: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "FleetIds", + }, + ListGameServerGroups: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "GameServerGroups", + }, + ListGameServers: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "GameServers", + }, + ListScripts: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "Scripts", + }, + SearchGameSessions: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "Limit", + result_key: "GameSessions", }, }, }; @@ -67254,602 +75534,382 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 2241: /***/ function (module) { + /***/ 1971: /***/ function (module) { module.exports = { + version: "2.0", metadata: { - apiVersion: "2018-09-05", - endpointPrefix: "sms-voice.pinpoint", - signingName: "sms-voice", - serviceAbbreviation: "Pinpoint SMS Voice", - serviceFullName: "Amazon Pinpoint SMS and Voice Service", - serviceId: "Pinpoint SMS Voice", - protocol: "rest-json", + apiVersion: "2016-11-01", + endpointPrefix: "opsworks-cm", jsonVersion: "1.1", - uid: "pinpoint-sms-voice-2018-09-05", + protocol: "json", + serviceAbbreviation: "OpsWorksCM", + serviceFullName: "AWS OpsWorks CM", + serviceId: "OpsWorksCM", signatureVersion: "v4", + signingName: "opsworks-cm", + targetPrefix: "OpsWorksCM_V2016_11_01", + uid: "opsworkscm-2016-11-01", }, operations: { - CreateConfigurationSet: { - http: { - requestUri: "/v1/sms-voice/configuration-sets", - responseCode: 200, - }, - input: { type: "structure", members: { ConfigurationSetName: {} } }, - output: { type: "structure", members: {} }, - }, - CreateConfigurationSetEventDestination: { - http: { - requestUri: - "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", - responseCode: 200, - }, + AssociateNode: { input: { type: "structure", + required: ["ServerName", "NodeName", "EngineAttributes"], members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - EventDestination: { shape: "S6" }, - EventDestinationName: {}, + ServerName: {}, + NodeName: {}, + EngineAttributes: { shape: "S4" }, }, - required: ["ConfigurationSetName"], - }, - output: { type: "structure", members: {} }, - }, - DeleteConfigurationSet: { - http: { - method: "DELETE", - requestUri: - "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", - responseCode: 200, }, - input: { + output: { type: "structure", - members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - }, - required: ["ConfigurationSetName"], + members: { NodeAssociationStatusToken: {} }, }, - output: { type: "structure", members: {} }, }, - DeleteConfigurationSetEventDestination: { - http: { - method: "DELETE", - requestUri: - "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", - responseCode: 200, - }, + CreateBackup: { input: { type: "structure", + required: ["ServerName"], members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - EventDestinationName: { - location: "uri", - locationName: "EventDestinationName", - }, + ServerName: {}, + Description: {}, + Tags: { shape: "Sc" }, }, - required: ["EventDestinationName", "ConfigurationSetName"], }, - output: { type: "structure", members: {} }, + output: { type: "structure", members: { Backup: { shape: "Sh" } } }, }, - GetConfigurationSetEventDestinations: { - http: { - method: "GET", - requestUri: - "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", - responseCode: 200, - }, + CreateServer: { input: { type: "structure", + required: [ + "Engine", + "ServerName", + "InstanceProfileArn", + "InstanceType", + "ServiceRoleArn", + ], members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - }, - required: ["ConfigurationSetName"], - }, + AssociatePublicIpAddress: { type: "boolean" }, + CustomDomain: {}, + CustomCertificate: {}, + CustomPrivateKey: { type: "string", sensitive: true }, + DisableAutomatedBackup: { type: "boolean" }, + Engine: {}, + EngineModel: {}, + EngineVersion: {}, + EngineAttributes: { shape: "S4" }, + BackupRetentionCount: { type: "integer" }, + ServerName: {}, + InstanceProfileArn: {}, + InstanceType: {}, + KeyPair: {}, + PreferredMaintenanceWindow: {}, + PreferredBackupWindow: {}, + SecurityGroupIds: { shape: "Sn" }, + ServiceRoleArn: {}, + SubnetIds: { shape: "Sn" }, + Tags: { shape: "Sc" }, + BackupId: {}, + }, + }, + output: { type: "structure", members: { Server: { shape: "Sz" } } }, + }, + DeleteBackup: { + input: { + type: "structure", + required: ["BackupId"], + members: { BackupId: {} }, + }, + output: { type: "structure", members: {} }, + }, + DeleteServer: { + input: { + type: "structure", + required: ["ServerName"], + members: { ServerName: {} }, + }, + output: { type: "structure", members: {} }, + }, + DescribeAccountAttributes: { + input: { type: "structure", members: {} }, output: { type: "structure", members: { - EventDestinations: { + Attributes: { type: "list", member: { type: "structure", members: { - CloudWatchLogsDestination: { shape: "S7" }, - Enabled: { type: "boolean" }, - KinesisFirehoseDestination: { shape: "Sa" }, - MatchingEventTypes: { shape: "Sb" }, Name: {}, - SnsDestination: { shape: "Sd" }, + Maximum: { type: "integer" }, + Used: { type: "integer" }, }, }, }, }, }, }, - ListConfigurationSets: { - http: { - method: "GET", - requestUri: "/v1/sms-voice/configuration-sets", - responseCode: 200, - }, + DescribeBackups: { input: { type: "structure", members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - PageSize: { location: "querystring", locationName: "PageSize" }, + BackupId: {}, + ServerName: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - ConfigurationSets: { type: "list", member: {} }, + Backups: { type: "list", member: { shape: "Sh" } }, NextToken: {}, }, }, }, - SendVoiceMessage: { - http: { - requestUri: "/v1/sms-voice/voice/message", - responseCode: 200, - }, - input: { - type: "structure", - members: { - CallerId: {}, - ConfigurationSetName: {}, - Content: { - type: "structure", - members: { - CallInstructionsMessage: { - type: "structure", - members: { Text: {} }, - required: [], - }, - PlainTextMessage: { - type: "structure", - members: { LanguageCode: {}, Text: {}, VoiceId: {} }, - required: [], - }, - SSMLMessage: { - type: "structure", - members: { LanguageCode: {}, Text: {}, VoiceId: {} }, - required: [], - }, - }, - }, - DestinationPhoneNumber: {}, - OriginationPhoneNumber: {}, - }, - }, - output: { type: "structure", members: { MessageId: {} } }, - }, - UpdateConfigurationSetEventDestination: { - http: { - method: "PUT", - requestUri: - "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", - responseCode: 200, - }, + DescribeEvents: { input: { type: "structure", + required: ["ServerName"], members: { - ConfigurationSetName: { - location: "uri", - locationName: "ConfigurationSetName", - }, - EventDestination: { shape: "S6" }, - EventDestinationName: { - location: "uri", - locationName: "EventDestinationName", - }, + ServerName: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, - required: ["EventDestinationName", "ConfigurationSetName"], }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S6: { - type: "structure", - members: { - CloudWatchLogsDestination: { shape: "S7" }, - Enabled: { type: "boolean" }, - KinesisFirehoseDestination: { shape: "Sa" }, - MatchingEventTypes: { shape: "Sb" }, - SnsDestination: { shape: "Sd" }, - }, - required: [], - }, - S7: { - type: "structure", - members: { IamRoleArn: {}, LogGroupArn: {} }, - required: [], - }, - Sa: { - type: "structure", - members: { DeliveryStreamArn: {}, IamRoleArn: {} }, - required: [], - }, - Sb: { type: "list", member: {} }, - Sd: { type: "structure", members: { TopicArn: {} }, required: [] }, - }, - }; - - /***/ - }, - - /***/ 2259: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["snowball"] = {}; - AWS.Snowball = Service.defineService("snowball", ["2016-06-30"]); - Object.defineProperty(apiLoader.services["snowball"], "2016-06-30", { - get: function get() { - var model = __webpack_require__(4887); - model.paginators = __webpack_require__(184).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Snowball; - - /***/ - }, - - /***/ 2261: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-10-20", - endpointPrefix: "budgets", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "AWSBudgets", - serviceFullName: "AWS Budgets", - serviceId: "Budgets", - signatureVersion: "v4", - targetPrefix: "AWSBudgetServiceGateway", - uid: "budgets-2016-10-20", - }, - operations: { - CreateBudget: { - input: { + output: { type: "structure", - required: ["AccountId", "Budget"], members: { - AccountId: {}, - Budget: { shape: "S3" }, - NotificationsWithSubscribers: { + ServerEvents: { type: "list", member: { type: "structure", - required: ["Notification", "Subscribers"], members: { - Notification: { shape: "Sl" }, - Subscribers: { shape: "Sr" }, + CreatedAt: { type: "timestamp" }, + ServerName: {}, + Message: {}, + LogUrl: {}, }, }, }, + NextToken: {}, }, }, - output: { type: "structure", members: {} }, }, - CreateNotification: { + DescribeNodeAssociationStatus: { input: { type: "structure", - required: [ - "AccountId", - "BudgetName", - "Notification", - "Subscribers", - ], - members: { - AccountId: {}, - BudgetName: {}, - Notification: { shape: "Sl" }, - Subscribers: { shape: "Sr" }, - }, + required: ["NodeAssociationStatusToken", "ServerName"], + members: { NodeAssociationStatusToken: {}, ServerName: {} }, }, - output: { type: "structure", members: {} }, - }, - CreateSubscriber: { - input: { + output: { type: "structure", - required: [ - "AccountId", - "BudgetName", - "Notification", - "Subscriber", - ], members: { - AccountId: {}, - BudgetName: {}, - Notification: { shape: "Sl" }, - Subscriber: { shape: "Ss" }, + NodeAssociationStatus: {}, + EngineAttributes: { shape: "S4" }, }, }, - output: { type: "structure", members: {} }, - }, - DeleteBudget: { - input: { - type: "structure", - required: ["AccountId", "BudgetName"], - members: { AccountId: {}, BudgetName: {} }, - }, - output: { type: "structure", members: {} }, }, - DeleteNotification: { + DescribeServers: { input: { type: "structure", - required: ["AccountId", "BudgetName", "Notification"], members: { - AccountId: {}, - BudgetName: {}, - Notification: { shape: "Sl" }, + ServerName: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, - output: { type: "structure", members: {} }, - }, - DeleteSubscriber: { - input: { + output: { type: "structure", - required: [ - "AccountId", - "BudgetName", - "Notification", - "Subscriber", - ], members: { - AccountId: {}, - BudgetName: {}, - Notification: { shape: "Sl" }, - Subscriber: { shape: "Ss" }, + Servers: { type: "list", member: { shape: "Sz" } }, + NextToken: {}, }, }, - output: { type: "structure", members: {} }, - }, - DescribeBudget: { - input: { - type: "structure", - required: ["AccountId", "BudgetName"], - members: { AccountId: {}, BudgetName: {} }, - }, - output: { type: "structure", members: { Budget: { shape: "S3" } } }, }, - DescribeBudgetPerformanceHistory: { + DisassociateNode: { input: { type: "structure", - required: ["AccountId", "BudgetName"], + required: ["ServerName", "NodeName"], members: { - AccountId: {}, - BudgetName: {}, - TimePeriod: { shape: "Sf" }, - MaxResults: { type: "integer" }, - NextToken: {}, + ServerName: {}, + NodeName: {}, + EngineAttributes: { shape: "S4" }, }, }, output: { type: "structure", - members: { - BudgetPerformanceHistory: { - type: "structure", - members: { - BudgetName: {}, - BudgetType: {}, - CostFilters: { shape: "Sa" }, - CostTypes: { shape: "Sc" }, - TimeUnit: {}, - BudgetedAndActualAmountsList: { - type: "list", - member: { - type: "structure", - members: { - BudgetedAmount: { shape: "S5" }, - ActualAmount: { shape: "S5" }, - TimePeriod: { shape: "Sf" }, - }, - }, - }, - }, - }, - NextToken: {}, - }, + members: { NodeAssociationStatusToken: {} }, }, }, - DescribeBudgets: { + ExportServerEngineAttribute: { input: { type: "structure", - required: ["AccountId"], + required: ["ExportAttributeName", "ServerName"], members: { - AccountId: {}, - MaxResults: { type: "integer" }, - NextToken: {}, + ExportAttributeName: {}, + ServerName: {}, + InputAttributes: { shape: "S4" }, }, }, output: { type: "structure", - members: { - Budgets: { type: "list", member: { shape: "S3" } }, - NextToken: {}, - }, + members: { EngineAttribute: { shape: "S5" }, ServerName: {} }, }, }, - DescribeNotificationsForBudget: { + ListTagsForResource: { input: { type: "structure", - required: ["AccountId", "BudgetName"], + required: ["ResourceArn"], members: { - AccountId: {}, - BudgetName: {}, - MaxResults: { type: "integer" }, + ResourceArn: {}, NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - members: { - Notifications: { type: "list", member: { shape: "Sl" } }, - NextToken: {}, - }, + members: { Tags: { shape: "Sc" }, NextToken: {} }, }, }, - DescribeSubscribersForNotification: { + RestoreServer: { input: { type: "structure", - required: ["AccountId", "BudgetName", "Notification"], + required: ["BackupId", "ServerName"], members: { - AccountId: {}, - BudgetName: {}, - Notification: { shape: "Sl" }, - MaxResults: { type: "integer" }, - NextToken: {}, + BackupId: {}, + ServerName: {}, + InstanceType: {}, + KeyPair: {}, }, }, - output: { + output: { type: "structure", members: {} }, + }, + StartMaintenance: { + input: { type: "structure", - members: { Subscribers: { shape: "Sr" }, NextToken: {} }, + required: ["ServerName"], + members: { ServerName: {}, EngineAttributes: { shape: "S4" } }, }, + output: { type: "structure", members: { Server: { shape: "Sz" } } }, }, - UpdateBudget: { + TagResource: { input: { type: "structure", - required: ["AccountId", "NewBudget"], - members: { AccountId: {}, NewBudget: { shape: "S3" } }, + required: ["ResourceArn", "Tags"], + members: { ResourceArn: {}, Tags: { shape: "Sc" } }, }, output: { type: "structure", members: {} }, }, - UpdateNotification: { + UntagResource: { input: { type: "structure", - required: [ - "AccountId", - "BudgetName", - "OldNotification", - "NewNotification", - ], + required: ["ResourceArn", "TagKeys"], members: { - AccountId: {}, - BudgetName: {}, - OldNotification: { shape: "Sl" }, - NewNotification: { shape: "Sl" }, + ResourceArn: {}, + TagKeys: { type: "list", member: {} }, }, }, output: { type: "structure", members: {} }, }, - UpdateSubscriber: { + UpdateServer: { input: { type: "structure", - required: [ - "AccountId", - "BudgetName", - "Notification", - "OldSubscriber", - "NewSubscriber", - ], + required: ["ServerName"], members: { - AccountId: {}, - BudgetName: {}, - Notification: { shape: "Sl" }, - OldSubscriber: { shape: "Ss" }, - NewSubscriber: { shape: "Ss" }, + DisableAutomatedBackup: { type: "boolean" }, + BackupRetentionCount: { type: "integer" }, + ServerName: {}, + PreferredMaintenanceWindow: {}, + PreferredBackupWindow: {}, }, }, - output: { type: "structure", members: {} }, + output: { type: "structure", members: { Server: { shape: "Sz" } } }, }, - }, - shapes: { - S3: { - type: "structure", - required: ["BudgetName", "TimeUnit", "BudgetType"], - members: { - BudgetName: {}, - BudgetLimit: { shape: "S5" }, - PlannedBudgetLimits: { - type: "map", - key: {}, - value: { shape: "S5" }, - }, - CostFilters: { shape: "Sa" }, - CostTypes: { shape: "Sc" }, - TimeUnit: {}, - TimePeriod: { shape: "Sf" }, - CalculatedSpend: { - type: "structure", - required: ["ActualSpend"], - members: { - ActualSpend: { shape: "S5" }, - ForecastedSpend: { shape: "S5" }, - }, + UpdateServerEngineAttributes: { + input: { + type: "structure", + required: ["ServerName", "AttributeName"], + members: { + ServerName: {}, + AttributeName: {}, + AttributeValue: {}, }, - BudgetType: {}, - LastUpdatedTime: { type: "timestamp" }, }, + output: { type: "structure", members: { Server: { shape: "Sz" } } }, }, + }, + shapes: { + S4: { type: "list", member: { shape: "S5" } }, S5: { type: "structure", - required: ["Amount", "Unit"], - members: { Amount: {}, Unit: {} }, + members: { Name: {}, Value: { type: "string", sensitive: true } }, }, - Sa: { type: "map", key: {}, value: { type: "list", member: {} } }, Sc: { - type: "structure", - members: { - IncludeTax: { type: "boolean" }, - IncludeSubscription: { type: "boolean" }, - UseBlended: { type: "boolean" }, - IncludeRefund: { type: "boolean" }, - IncludeCredit: { type: "boolean" }, - IncludeUpfront: { type: "boolean" }, - IncludeRecurring: { type: "boolean" }, - IncludeOtherSubscription: { type: "boolean" }, - IncludeSupport: { type: "boolean" }, - IncludeDiscount: { type: "boolean" }, - UseAmortized: { type: "boolean" }, - }, - }, - Sf: { - type: "structure", - members: { - Start: { type: "timestamp" }, - End: { type: "timestamp" }, + type: "list", + member: { + type: "structure", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, }, }, - Sl: { + Sh: { type: "structure", - required: ["NotificationType", "ComparisonOperator", "Threshold"], members: { - NotificationType: {}, - ComparisonOperator: {}, - Threshold: { type: "double" }, - ThresholdType: {}, - NotificationState: {}, + BackupArn: {}, + BackupId: {}, + BackupType: {}, + CreatedAt: { type: "timestamp" }, + Description: {}, + Engine: {}, + EngineModel: {}, + EngineVersion: {}, + InstanceProfileArn: {}, + InstanceType: {}, + KeyPair: {}, + PreferredBackupWindow: {}, + PreferredMaintenanceWindow: {}, + S3DataSize: { deprecated: true, type: "integer" }, + S3DataUrl: { deprecated: true }, + S3LogUrl: {}, + SecurityGroupIds: { shape: "Sn" }, + ServerName: {}, + ServiceRoleArn: {}, + Status: {}, + StatusDescription: {}, + SubnetIds: { shape: "Sn" }, + ToolsVersion: {}, + UserArn: {}, }, }, - Sr: { type: "list", member: { shape: "Ss" } }, - Ss: { + Sn: { type: "list", member: {} }, + Sz: { type: "structure", - required: ["SubscriptionType", "Address"], members: { - SubscriptionType: {}, - Address: { type: "string", sensitive: true }, + AssociatePublicIpAddress: { type: "boolean" }, + BackupRetentionCount: { type: "integer" }, + ServerName: {}, + CreatedAt: { type: "timestamp" }, + CloudFormationStackArn: {}, + CustomDomain: {}, + DisableAutomatedBackup: { type: "boolean" }, + Endpoint: {}, + Engine: {}, + EngineModel: {}, + EngineAttributes: { shape: "S4" }, + EngineVersion: {}, + InstanceProfileArn: {}, + InstanceType: {}, + KeyPair: {}, + MaintenanceStatus: {}, + PreferredMaintenanceWindow: {}, + PreferredBackupWindow: {}, + SecurityGroupIds: { shape: "Sn" }, + ServiceRoleArn: {}, + Status: {}, + StatusReason: {}, + SubnetIds: { shape: "Sn" }, + ServerArn: {}, }, }, }, @@ -67858,1088 +75918,1121 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 2269: /***/ function (module) { + /***/ 1986: /***/ function (module) { module.exports = { pagination: { - DescribeDBClusters: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBClusters", - }, - DescribeDBEngineVersions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBEngineVersions", - }, - DescribeDBInstances: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBInstances", - }, - DescribeDBSubnetGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBSubnetGroups", - }, - DescribeEvents: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "Events", - }, - DescribeOrderableDBInstanceOptions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "OrderableDBInstanceOptions", + DescribeHomeRegionControls: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", }, - ListTagsForResource: { result_key: "TagList" }, }, }; /***/ }, - /***/ 2271: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); + /***/ 2007: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + __webpack_require__(1371); - apiLoader.services["mediastoredata"] = {}; - AWS.MediaStoreData = Service.defineService("mediastoredata", [ - "2017-09-01", - ]); - Object.defineProperty( - apiLoader.services["mediastoredata"], - "2017-09-01", - { - get: function get() { - var model = __webpack_require__(8825); - model.paginators = __webpack_require__(4483).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); + AWS.util.update(AWS.DynamoDB.prototype, { + /** + * @api private + */ + setupRequestListeners: function setupRequestListeners(request) { + if (request.service.config.dynamoDbCrc32) { + request.removeListener( + "extractData", + AWS.EventListeners.Json.EXTRACT_DATA + ); + request.addListener("extractData", this.checkCrc32); + request.addListener( + "extractData", + AWS.EventListeners.Json.EXTRACT_DATA + ); + } + }, - module.exports = AWS.MediaStoreData; + /** + * @api private + */ + checkCrc32: function checkCrc32(resp) { + if ( + !resp.httpResponse.streaming && + !resp.request.service.crc32IsValid(resp) + ) { + resp.data = null; + resp.error = AWS.util.error(new Error(), { + code: "CRC32CheckFailed", + message: "CRC32 integrity check failed", + retryable: true, + }); + resp.request.haltHandlersOnError(); + throw resp.error; + } + }, - /***/ - }, + /** + * @api private + */ + crc32IsValid: function crc32IsValid(resp) { + var crc = resp.httpResponse.headers["x-amz-crc32"]; + if (!crc) return true; // no (valid) CRC32 header + return ( + parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body) + ); + }, - /***/ 2297: /***/ function (module) { - module.exports = class HttpError extends Error { - constructor(message, code, headers) { - super(message); + /** + * @api private + */ + defaultRetryCount: 10, - // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } + /** + * @api private + */ + retryDelays: function retryDelays(retryCount, err) { + var retryDelayOptions = AWS.util.copy(this.config.retryDelayOptions); - this.name = "HttpError"; - this.code = code; - this.headers = headers; - } - }; + if (typeof retryDelayOptions.base !== "number") { + retryDelayOptions.base = 50; // default for dynamodb + } + var delay = AWS.util.calculateRetryDelay( + retryCount, + retryDelayOptions, + err + ); + return delay; + }, + }); /***/ }, - /***/ 2304: /***/ function (module) { + /***/ 2013: /***/ function (module) { module.exports = { metadata: { - apiVersion: "2018-11-14", - endpointPrefix: "kafka", - signingName: "kafka", - serviceFullName: "Managed Streaming for Kafka", - serviceAbbreviation: "Kafka", - serviceId: "Kafka", + apiVersion: "2020-08-11", + endpointPrefix: "amplifybackend", + signingName: "amplifybackend", + serviceFullName: "AmplifyBackend", + serviceId: "AmplifyBackend", protocol: "rest-json", jsonVersion: "1.1", - uid: "kafka-2018-11-14", + uid: "amplifybackend-2020-08-11", signatureVersion: "v4", }, operations: { - CreateCluster: { - http: { requestUri: "/v1/clusters", responseCode: 200 }, + CloneBackend: { + http: { + requestUri: + "/backend/{appId}/environments/{backendEnvironmentName}/clone", + responseCode: 200, + }, input: { type: "structure", members: { - BrokerNodeGroupInfo: { - shape: "S2", - locationName: "brokerNodeGroupInfo", - }, - ClientAuthentication: { - shape: "Sa", - locationName: "clientAuthentication", - }, - ClusterName: { locationName: "clusterName" }, - ConfigurationInfo: { - shape: "Sd", - locationName: "configurationInfo", + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", }, - EncryptionInfo: { shape: "Sf", locationName: "encryptionInfo" }, - EnhancedMonitoring: { locationName: "enhancedMonitoring" }, - OpenMonitoring: { shape: "Sl", locationName: "openMonitoring" }, - KafkaVersion: { locationName: "kafkaVersion" }, - LoggingInfo: { shape: "Sq", locationName: "loggingInfo" }, - NumberOfBrokerNodes: { - locationName: "numberOfBrokerNodes", - type: "integer", + TargetEnvironmentName: { + locationName: "targetEnvironmentName", }, - Tags: { shape: "Sw", locationName: "tags" }, }, required: [ - "BrokerNodeGroupInfo", - "KafkaVersion", - "NumberOfBrokerNodes", - "ClusterName", + "AppId", + "BackendEnvironmentName", + "TargetEnvironmentName", ], }, output: { type: "structure", members: { - ClusterArn: { locationName: "clusterArn" }, - ClusterName: { locationName: "clusterName" }, - State: { locationName: "state" }, + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, }, }, - CreateConfiguration: { - http: { requestUri: "/v1/configurations", responseCode: 200 }, + CreateBackend: { + http: { requestUri: "/backend", responseCode: 200 }, input: { type: "structure", members: { - Description: { locationName: "description" }, - KafkaVersions: { shape: "S4", locationName: "kafkaVersions" }, - Name: { locationName: "name" }, - ServerProperties: { - locationName: "serverProperties", - type: "blob", + AppId: { locationName: "appId" }, + AppName: { locationName: "appName" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + ResourceConfig: { + locationName: "resourceConfig", + type: "structure", + members: {}, }, + ResourceName: { locationName: "resourceName" }, }, - required: ["ServerProperties", "KafkaVersions", "Name"], + required: ["AppId", "BackendEnvironmentName", "AppName"], }, output: { type: "structure", members: { - Arn: { locationName: "arn" }, - CreationTime: { shape: "S12", locationName: "creationTime" }, - LatestRevision: { - shape: "S13", - locationName: "latestRevision", + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", }, - Name: { locationName: "name" }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, }, }, - DeleteCluster: { - http: { - method: "DELETE", - requestUri: "/v1/clusters/{clusterArn}", - responseCode: 200, + CreateBackendAPI: { + http: { requestUri: "/backend/{appId}/api", responseCode: 200 }, + input: { + type: "structure", + members: { + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + ResourceConfig: { shape: "S8", locationName: "resourceConfig" }, + ResourceName: { locationName: "resourceName" }, + }, + required: [ + "AppId", + "ResourceName", + "BackendEnvironmentName", + "ResourceConfig", + ], + }, + output: { + type: "structure", + members: { + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, + }, }, + }, + CreateBackendAuth: { + http: { requestUri: "/backend/{appId}/auth", responseCode: 200 }, input: { type: "structure", members: { - ClusterArn: { location: "uri", locationName: "clusterArn" }, - CurrentVersion: { - location: "querystring", - locationName: "currentVersion", + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", }, + ResourceConfig: { shape: "Si", locationName: "resourceConfig" }, + ResourceName: { locationName: "resourceName" }, }, - required: ["ClusterArn"], + required: [ + "AppId", + "ResourceName", + "BackendEnvironmentName", + "ResourceConfig", + ], }, output: { type: "structure", members: { - ClusterArn: { locationName: "clusterArn" }, - State: { locationName: "state" }, + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, }, }, - DescribeCluster: { + CreateBackendConfig: { + http: { requestUri: "/backend/{appId}/config", responseCode: 200 }, + input: { + type: "structure", + members: { + AppId: { location: "uri", locationName: "appId" }, + BackendManagerAppId: { locationName: "backendManagerAppId" }, + }, + required: ["AppId"], + }, + output: { + type: "structure", + members: { + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + JobId: { locationName: "jobId" }, + Status: { locationName: "status" }, + }, + }, + }, + CreateToken: { http: { - method: "GET", - requestUri: "/v1/clusters/{clusterArn}", + requestUri: "/backend/{appId}/challenge", responseCode: 200, }, input: { type: "structure", - members: { - ClusterArn: { location: "uri", locationName: "clusterArn" }, - }, - required: ["ClusterArn"], + members: { AppId: { location: "uri", locationName: "appId" } }, + required: ["AppId"], }, output: { type: "structure", members: { - ClusterInfo: { shape: "S18", locationName: "clusterInfo" }, + AppId: { locationName: "appId" }, + ChallengeCode: { locationName: "challengeCode" }, + SessionId: { locationName: "sessionId" }, + Ttl: { locationName: "ttl" }, }, }, }, - DescribeClusterOperation: { + DeleteBackend: { http: { - method: "GET", - requestUri: "/v1/operations/{clusterOperationArn}", + requestUri: + "/backend/{appId}/environments/{backendEnvironmentName}/remove", responseCode: 200, }, input: { type: "structure", members: { - ClusterOperationArn: { + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { location: "uri", - locationName: "clusterOperationArn", + locationName: "backendEnvironmentName", }, }, - required: ["ClusterOperationArn"], + required: ["AppId", "BackendEnvironmentName"], }, output: { type: "structure", members: { - ClusterOperationInfo: { - shape: "S1i", - locationName: "clusterOperationInfo", + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, }, }, - DescribeConfiguration: { + DeleteBackendAPI: { http: { - method: "GET", - requestUri: "/v1/configurations/{arn}", + requestUri: + "/backend/{appId}/api/{backendEnvironmentName}/remove", responseCode: 200, }, input: { type: "structure", - members: { Arn: { location: "uri", locationName: "arn" } }, - required: ["Arn"], + members: { + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", + }, + ResourceConfig: { shape: "S8", locationName: "resourceConfig" }, + ResourceName: { locationName: "resourceName" }, + }, + required: ["AppId", "BackendEnvironmentName", "ResourceName"], }, output: { type: "structure", members: { - Arn: { locationName: "arn" }, - CreationTime: { shape: "S12", locationName: "creationTime" }, - Description: { locationName: "description" }, - KafkaVersions: { shape: "S4", locationName: "kafkaVersions" }, - LatestRevision: { - shape: "S13", - locationName: "latestRevision", + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", }, - Name: { locationName: "name" }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, }, }, - DescribeConfigurationRevision: { + DeleteBackendAuth: { http: { - method: "GET", - requestUri: "/v1/configurations/{arn}/revisions/{revision}", + requestUri: + "/backend/{appId}/auth/{backendEnvironmentName}/remove", responseCode: 200, }, input: { type: "structure", members: { - Arn: { location: "uri", locationName: "arn" }, - Revision: { + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { location: "uri", - locationName: "revision", - type: "long", + locationName: "backendEnvironmentName", }, + ResourceName: { locationName: "resourceName" }, }, - required: ["Revision", "Arn"], + required: ["AppId", "BackendEnvironmentName", "ResourceName"], }, output: { type: "structure", members: { - Arn: { locationName: "arn" }, - CreationTime: { shape: "S12", locationName: "creationTime" }, - Description: { locationName: "description" }, - Revision: { locationName: "revision", type: "long" }, - ServerProperties: { - locationName: "serverProperties", - type: "blob", + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, }, }, - GetBootstrapBrokers: { + DeleteToken: { http: { - method: "GET", - requestUri: "/v1/clusters/{clusterArn}/bootstrap-brokers", + requestUri: "/backend/{appId}/challenge/{sessionId}/remove", responseCode: 200, }, input: { type: "structure", members: { - ClusterArn: { location: "uri", locationName: "clusterArn" }, + AppId: { location: "uri", locationName: "appId" }, + SessionId: { location: "uri", locationName: "sessionId" }, }, - required: ["ClusterArn"], + required: ["SessionId", "AppId"], }, output: { type: "structure", members: { - BootstrapBrokerString: { - locationName: "bootstrapBrokerString", - }, - BootstrapBrokerStringTls: { - locationName: "bootstrapBrokerStringTls", - }, + IsSuccess: { locationName: "isSuccess", type: "boolean" }, }, }, }, - ListClusterOperations: { + GenerateBackendAPIModels: { http: { - method: "GET", - requestUri: "/v1/clusters/{clusterArn}/operations", + requestUri: + "/backend/{appId}/api/{backendEnvironmentName}/generateModels", responseCode: 200, }, input: { type: "structure", members: { - ClusterArn: { location: "uri", locationName: "clusterArn" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", }, + ResourceName: { locationName: "resourceName" }, }, - required: ["ClusterArn"], + required: ["AppId", "BackendEnvironmentName", "ResourceName"], }, output: { type: "structure", members: { - ClusterOperationInfoList: { - locationName: "clusterOperationInfoList", - type: "list", - member: { shape: "S1i" }, + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", }, - NextToken: { locationName: "nextToken" }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, }, }, - ListClusters: { - http: { - method: "GET", - requestUri: "/v1/clusters", - responseCode: 200, - }, + GetBackend: { + http: { requestUri: "/backend/{appId}/details", responseCode: 200 }, input: { type: "structure", members: { - ClusterNameFilter: { - location: "querystring", - locationName: "clusterNameFilter", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", }, }, + required: ["AppId"], }, output: { type: "structure", members: { - ClusterInfoList: { - locationName: "clusterInfoList", - type: "list", - member: { shape: "S18" }, + AmplifyMetaConfig: { locationName: "amplifyMetaConfig" }, + AppId: { locationName: "appId" }, + AppName: { locationName: "appName" }, + BackendEnvironmentList: { + shape: "S11", + locationName: "backendEnvironmentList", }, - NextToken: { locationName: "nextToken" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + Error: { locationName: "error" }, }, }, }, - ListConfigurationRevisions: { + GetBackendAPI: { http: { - method: "GET", - requestUri: "/v1/configurations/{arn}/revisions", + requestUri: + "/backend/{appId}/api/{backendEnvironmentName}/details", responseCode: 200, }, input: { type: "structure", members: { - Arn: { location: "uri", locationName: "arn" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", }, + ResourceConfig: { shape: "S8", locationName: "resourceConfig" }, + ResourceName: { locationName: "resourceName" }, }, - required: ["Arn"], + required: ["AppId", "BackendEnvironmentName", "ResourceName"], }, output: { type: "structure", members: { - NextToken: { locationName: "nextToken" }, - Revisions: { - locationName: "revisions", - type: "list", - member: { shape: "S13" }, + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", }, + Error: { locationName: "error" }, + ResourceConfig: { shape: "S8", locationName: "resourceConfig" }, + ResourceName: { locationName: "resourceName" }, }, }, }, - ListConfigurations: { + GetBackendAPIModels: { http: { - method: "GET", - requestUri: "/v1/configurations", + requestUri: + "/backend/{appId}/api/{backendEnvironmentName}/getModels", responseCode: 200, }, input: { type: "structure", members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", }, + ResourceName: { locationName: "resourceName" }, }, + required: ["AppId", "BackendEnvironmentName", "ResourceName"], }, output: { type: "structure", members: { - Configurations: { - locationName: "configurations", - type: "list", - member: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - CreationTime: { - shape: "S12", - locationName: "creationTime", - }, - Description: { locationName: "description" }, - KafkaVersions: { - shape: "S4", - locationName: "kafkaVersions", - }, - LatestRevision: { - shape: "S13", - locationName: "latestRevision", - }, - Name: { locationName: "name" }, - }, - required: [ - "Description", - "LatestRevision", - "CreationTime", - "KafkaVersions", - "Arn", - "Name", - ], - }, - }, - NextToken: { locationName: "nextToken" }, + Models: { locationName: "models" }, + Status: { locationName: "status" }, }, }, }, - ListKafkaVersions: { + GetBackendAuth: { http: { - method: "GET", - requestUri: "/v1/kafka-versions", + requestUri: + "/backend/{appId}/auth/{backendEnvironmentName}/details", responseCode: 200, }, input: { type: "structure", members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", }, + ResourceName: { locationName: "resourceName" }, }, + required: ["AppId", "BackendEnvironmentName", "ResourceName"], }, output: { type: "structure", members: { - KafkaVersions: { - locationName: "kafkaVersions", - type: "list", - member: { - type: "structure", - members: { - Version: { locationName: "version" }, - Status: { locationName: "status" }, - }, - }, + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", }, - NextToken: { locationName: "nextToken" }, + Error: { locationName: "error" }, + ResourceConfig: { shape: "Si", locationName: "resourceConfig" }, + ResourceName: { locationName: "resourceName" }, }, }, }, - ListNodes: { + GetBackendJob: { http: { method: "GET", - requestUri: "/v1/clusters/{clusterArn}/nodes", + requestUri: + "/backend/{appId}/job/{backendEnvironmentName}/{jobId}", responseCode: 200, }, input: { type: "structure", members: { - ClusterArn: { location: "uri", locationName: "clusterArn" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", }, + JobId: { location: "uri", locationName: "jobId" }, }, - required: ["ClusterArn"], + required: ["AppId", "BackendEnvironmentName", "JobId"], }, output: { type: "structure", members: { - NextToken: { locationName: "nextToken" }, - NodeInfoList: { - locationName: "nodeInfoList", - type: "list", - member: { - type: "structure", - members: { - AddedToClusterTime: { - locationName: "addedToClusterTime", - }, - BrokerNodeInfo: { - locationName: "brokerNodeInfo", - type: "structure", - members: { - AttachedENIId: { locationName: "attachedENIId" }, - BrokerId: { - locationName: "brokerId", - type: "double", - }, - ClientSubnet: { locationName: "clientSubnet" }, - ClientVpcIpAddress: { - locationName: "clientVpcIpAddress", - }, - CurrentBrokerSoftwareInfo: { - shape: "S19", - locationName: "currentBrokerSoftwareInfo", - }, - Endpoints: { shape: "S4", locationName: "endpoints" }, - }, - }, - InstanceType: { locationName: "instanceType" }, - NodeARN: { locationName: "nodeARN" }, - NodeType: { locationName: "nodeType" }, - ZookeeperNodeInfo: { - locationName: "zookeeperNodeInfo", - type: "structure", - members: { - AttachedENIId: { locationName: "attachedENIId" }, - ClientVpcIpAddress: { - locationName: "clientVpcIpAddress", - }, - Endpoints: { shape: "S4", locationName: "endpoints" }, - ZookeeperId: { - locationName: "zookeeperId", - type: "double", - }, - ZookeeperVersion: { - locationName: "zookeeperVersion", - }, - }, - }, - }, - }, + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", }, + CreateTime: { locationName: "createTime" }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, + UpdateTime: { locationName: "updateTime" }, }, }, }, - ListTagsForResource: { + GetToken: { http: { method: "GET", - requestUri: "/v1/tags/{resourceArn}", + requestUri: "/backend/{appId}/challenge/{sessionId}", responseCode: 200, }, input: { type: "structure", members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, + AppId: { location: "uri", locationName: "appId" }, + SessionId: { location: "uri", locationName: "sessionId" }, }, - required: ["ResourceArn"], + required: ["SessionId", "AppId"], }, output: { type: "structure", - members: { Tags: { shape: "Sw", locationName: "tags" } }, + members: { + AppId: { locationName: "appId" }, + ChallengeCode: { locationName: "challengeCode" }, + SessionId: { locationName: "sessionId" }, + Ttl: { locationName: "ttl" }, + }, }, }, - TagResource: { - http: { requestUri: "/v1/tags/{resourceArn}", responseCode: 204 }, + ListBackendJobs: { + http: { + requestUri: "/backend/{appId}/job/{backendEnvironmentName}", + responseCode: 200, + }, input: { type: "structure", members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - Tags: { shape: "Sw", locationName: "tags" }, + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", + }, + JobId: { locationName: "jobId" }, + MaxResults: { locationName: "maxResults", type: "integer" }, + NextToken: { locationName: "nextToken" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, - required: ["ResourceArn", "Tags"], + required: ["AppId", "BackendEnvironmentName"], }, - }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/v1/tags/{resourceArn}", - responseCode: 204, + output: { + type: "structure", + members: { + Jobs: { + locationName: "jobs", + type: "list", + member: { + type: "structure", + members: { + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + CreateTime: { locationName: "createTime" }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, + UpdateTime: { locationName: "updateTime" }, + }, + required: ["AppId", "BackendEnvironmentName"], + }, + }, + NextToken: { locationName: "nextToken" }, + }, }, + }, + RemoveAllBackends: { + http: { requestUri: "/backend/{appId}/remove", responseCode: 200 }, input: { type: "structure", members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - TagKeys: { - shape: "S4", - location: "querystring", - locationName: "tagKeys", + AppId: { location: "uri", locationName: "appId" }, + CleanAmplifyApp: { + locationName: "cleanAmplifyApp", + type: "boolean", }, }, - required: ["TagKeys", "ResourceArn"], + required: ["AppId"], + }, + output: { + type: "structure", + members: { + AppId: { locationName: "appId" }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, + }, }, }, - UpdateBrokerCount: { + RemoveBackendConfig: { http: { - method: "PUT", - requestUri: "/v1/clusters/{clusterArn}/nodes/count", + requestUri: "/backend/{appId}/config/remove", + responseCode: 200, + }, + input: { + type: "structure", + members: { AppId: { location: "uri", locationName: "appId" } }, + required: ["AppId"], + }, + output: { + type: "structure", + members: { Error: { locationName: "error" } }, + }, + }, + UpdateBackendAPI: { + http: { + requestUri: "/backend/{appId}/api/{backendEnvironmentName}", responseCode: 200, }, input: { type: "structure", members: { - ClusterArn: { location: "uri", locationName: "clusterArn" }, - CurrentVersion: { locationName: "currentVersion" }, - TargetNumberOfBrokerNodes: { - locationName: "targetNumberOfBrokerNodes", - type: "integer", + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", }, + ResourceConfig: { shape: "S8", locationName: "resourceConfig" }, + ResourceName: { locationName: "resourceName" }, }, - required: [ - "ClusterArn", - "CurrentVersion", - "TargetNumberOfBrokerNodes", - ], + required: ["AppId", "BackendEnvironmentName", "ResourceName"], }, output: { type: "structure", members: { - ClusterArn: { locationName: "clusterArn" }, - ClusterOperationArn: { locationName: "clusterOperationArn" }, + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, }, }, - UpdateBrokerStorage: { + UpdateBackendAuth: { http: { - method: "PUT", - requestUri: "/v1/clusters/{clusterArn}/nodes/storage", + requestUri: "/backend/{appId}/auth/{backendEnvironmentName}", responseCode: 200, }, input: { type: "structure", members: { - ClusterArn: { location: "uri", locationName: "clusterArn" }, - CurrentVersion: { locationName: "currentVersion" }, - TargetBrokerEBSVolumeInfo: { - shape: "S1l", - locationName: "targetBrokerEBSVolumeInfo", + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", + }, + ResourceConfig: { + locationName: "resourceConfig", + type: "structure", + members: { + AuthResources: { locationName: "authResources" }, + IdentityPoolConfigs: { + locationName: "identityPoolConfigs", + type: "structure", + members: { + UnauthenticatedLogin: { + locationName: "unauthenticatedLogin", + type: "boolean", + }, + }, + }, + Service: { locationName: "service" }, + UserPoolConfigs: { + locationName: "userPoolConfigs", + type: "structure", + members: { + ForgotPassword: { + locationName: "forgotPassword", + type: "structure", + members: { + DeliveryMethod: { locationName: "deliveryMethod" }, + EmailSettings: { + shape: "Sq", + locationName: "emailSettings", + }, + SmsSettings: { + shape: "Sr", + locationName: "smsSettings", + }, + }, + }, + Mfa: { + locationName: "mfa", + type: "structure", + members: { + MFAMode: {}, + Settings: { shape: "Su", locationName: "settings" }, + }, + }, + OAuth: { + locationName: "oAuth", + type: "structure", + members: { + DomainPrefix: { locationName: "domainPrefix" }, + OAuthGrantType: { locationName: "oAuthGrantType" }, + OAuthScopes: { + shape: "Sz", + locationName: "oAuthScopes", + }, + RedirectSignInURIs: { + shape: "S11", + locationName: "redirectSignInURIs", + }, + RedirectSignOutURIs: { + shape: "S11", + locationName: "redirectSignOutURIs", + }, + SocialProviderSettings: { + shape: "S12", + locationName: "socialProviderSettings", + }, + }, + }, + PasswordPolicy: { + locationName: "passwordPolicy", + type: "structure", + members: { + AdditionalConstraints: { + shape: "S15", + locationName: "additionalConstraints", + }, + MinimumLength: { + locationName: "minimumLength", + type: "double", + }, + }, + }, + }, + }, + }, + required: ["AuthResources", "UserPoolConfigs", "Service"], }, + ResourceName: { locationName: "resourceName" }, }, required: [ - "ClusterArn", - "TargetBrokerEBSVolumeInfo", - "CurrentVersion", + "AppId", + "BackendEnvironmentName", + "ResourceName", + "ResourceConfig", ], }, output: { type: "structure", members: { - ClusterArn: { locationName: "clusterArn" }, - ClusterOperationArn: { locationName: "clusterOperationArn" }, + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, }, }, - UpdateClusterConfiguration: { + UpdateBackendConfig: { http: { - method: "PUT", - requestUri: "/v1/clusters/{clusterArn}/configuration", + requestUri: "/backend/{appId}/config/update", responseCode: 200, }, input: { type: "structure", members: { - ClusterArn: { location: "uri", locationName: "clusterArn" }, - ConfigurationInfo: { - shape: "Sd", - locationName: "configurationInfo", + AppId: { location: "uri", locationName: "appId" }, + LoginAuthConfig: { + shape: "S2n", + locationName: "loginAuthConfig", }, - CurrentVersion: { locationName: "currentVersion" }, }, - required: ["ClusterArn", "CurrentVersion", "ConfigurationInfo"], + required: ["AppId"], }, output: { type: "structure", members: { - ClusterArn: { locationName: "clusterArn" }, - ClusterOperationArn: { locationName: "clusterOperationArn" }, + AppId: { locationName: "appId" }, + BackendManagerAppId: { locationName: "backendManagerAppId" }, + Error: { locationName: "error" }, + LoginAuthConfig: { + shape: "S2n", + locationName: "loginAuthConfig", + }, }, }, }, - UpdateMonitoring: { + UpdateBackendJob: { http: { - method: "PUT", - requestUri: "/v1/clusters/{clusterArn}/monitoring", + requestUri: + "/backend/{appId}/job/{backendEnvironmentName}/{jobId}", responseCode: 200, }, input: { type: "structure", members: { - ClusterArn: { location: "uri", locationName: "clusterArn" }, - CurrentVersion: { locationName: "currentVersion" }, - EnhancedMonitoring: { locationName: "enhancedMonitoring" }, - OpenMonitoring: { shape: "Sl", locationName: "openMonitoring" }, - LoggingInfo: { shape: "Sq", locationName: "loggingInfo" }, + AppId: { location: "uri", locationName: "appId" }, + BackendEnvironmentName: { + location: "uri", + locationName: "backendEnvironmentName", + }, + JobId: { location: "uri", locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, }, - required: ["ClusterArn", "CurrentVersion"], + required: ["AppId", "BackendEnvironmentName", "JobId"], }, output: { type: "structure", members: { - ClusterArn: { locationName: "clusterArn" }, - ClusterOperationArn: { locationName: "clusterOperationArn" }, + AppId: { locationName: "appId" }, + BackendEnvironmentName: { + locationName: "backendEnvironmentName", + }, + CreateTime: { locationName: "createTime" }, + Error: { locationName: "error" }, + JobId: { locationName: "jobId" }, + Operation: { locationName: "operation" }, + Status: { locationName: "status" }, + UpdateTime: { locationName: "updateTime" }, }, }, }, }, shapes: { - S2: { + S8: { type: "structure", members: { - BrokerAZDistribution: { locationName: "brokerAZDistribution" }, - ClientSubnets: { shape: "S4", locationName: "clientSubnets" }, - InstanceType: { locationName: "instanceType" }, - SecurityGroups: { shape: "S4", locationName: "securityGroups" }, - StorageInfo: { - locationName: "storageInfo", + AdditionalAuthTypes: { + locationName: "additionalAuthTypes", + type: "list", + member: { shape: "Sa" }, + }, + ApiName: { locationName: "apiName" }, + ConflictResolution: { + locationName: "conflictResolution", type: "structure", members: { - EbsStorageInfo: { - locationName: "ebsStorageInfo", - type: "structure", - members: { - VolumeSize: { - locationName: "volumeSize", - type: "integer", - }, - }, - }, + ResolutionStrategy: { locationName: "resolutionStrategy" }, }, }, + DefaultAuthType: { shape: "Sa", locationName: "defaultAuthType" }, + Service: { locationName: "service" }, + TransformSchema: { locationName: "transformSchema" }, }, - required: ["ClientSubnets", "InstanceType"], }, - S4: { type: "list", member: {} }, Sa: { type: "structure", members: { - Tls: { - locationName: "tls", + Mode: { locationName: "mode" }, + Settings: { + locationName: "settings", type: "structure", members: { - CertificateAuthorityArnList: { - shape: "S4", - locationName: "certificateAuthorityArnList", + CognitoUserPoolId: { locationName: "cognitoUserPoolId" }, + Description: { locationName: "description" }, + ExpirationTime: { + locationName: "expirationTime", + type: "double", }, + OpenIDAuthTTL: { locationName: "openIDAuthTTL" }, + OpenIDClientId: { locationName: "openIDClientId" }, + OpenIDIatTTL: { locationName: "openIDIatTTL" }, + OpenIDIssueURL: { locationName: "openIDIssueURL" }, + OpenIDProviderName: { locationName: "openIDProviderName" }, }, }, }, }, - Sd: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Revision: { locationName: "revision", type: "long" }, - }, - required: ["Revision", "Arn"], - }, - Sf: { + Si: { type: "structure", members: { - EncryptionAtRest: { - locationName: "encryptionAtRest", + AuthResources: { locationName: "authResources" }, + IdentityPoolConfigs: { + locationName: "identityPoolConfigs", type: "structure", members: { - DataVolumeKMSKeyId: { locationName: "dataVolumeKMSKeyId" }, - }, - required: ["DataVolumeKMSKeyId"], - }, - EncryptionInTransit: { - locationName: "encryptionInTransit", - type: "structure", - members: { - ClientBroker: { locationName: "clientBroker" }, - InCluster: { locationName: "inCluster", type: "boolean" }, + IdentityPoolName: { locationName: "identityPoolName" }, + UnauthenticatedLogin: { + locationName: "unauthenticatedLogin", + type: "boolean", + }, }, + required: ["UnauthenticatedLogin", "IdentityPoolName"], }, - }, - }, - Sl: { - type: "structure", - members: { - Prometheus: { - locationName: "prometheus", + Service: { locationName: "service" }, + UserPoolConfigs: { + locationName: "userPoolConfigs", type: "structure", members: { - JmxExporter: { - locationName: "jmxExporter", + ForgotPassword: { + locationName: "forgotPassword", type: "structure", members: { - EnabledInBroker: { - locationName: "enabledInBroker", - type: "boolean", + DeliveryMethod: { locationName: "deliveryMethod" }, + EmailSettings: { + shape: "Sq", + locationName: "emailSettings", }, + SmsSettings: { shape: "Sr", locationName: "smsSettings" }, }, - required: ["EnabledInBroker"], + required: ["DeliveryMethod"], }, - NodeExporter: { - locationName: "nodeExporter", + Mfa: { + locationName: "mfa", type: "structure", members: { - EnabledInBroker: { - locationName: "enabledInBroker", - type: "boolean", - }, + MFAMode: {}, + Settings: { shape: "Su", locationName: "settings" }, }, - required: ["EnabledInBroker"], + required: ["MFAMode"], }, - }, - }, - }, - required: ["Prometheus"], - }, - Sq: { - type: "structure", - members: { - BrokerLogs: { - locationName: "brokerLogs", - type: "structure", - members: { - CloudWatchLogs: { - locationName: "cloudWatchLogs", + OAuth: { + locationName: "oAuth", type: "structure", members: { - Enabled: { locationName: "enabled", type: "boolean" }, - LogGroup: { locationName: "logGroup" }, + DomainPrefix: { locationName: "domainPrefix" }, + OAuthGrantType: { locationName: "oAuthGrantType" }, + OAuthScopes: { shape: "Sz", locationName: "oAuthScopes" }, + RedirectSignInURIs: { + shape: "S11", + locationName: "redirectSignInURIs", + }, + RedirectSignOutURIs: { + shape: "S11", + locationName: "redirectSignOutURIs", + }, + SocialProviderSettings: { + shape: "S12", + locationName: "socialProviderSettings", + }, }, - required: ["Enabled"], + required: [ + "RedirectSignOutURIs", + "RedirectSignInURIs", + "OAuthGrantType", + "OAuthScopes", + ], }, - Firehose: { - locationName: "firehose", + PasswordPolicy: { + locationName: "passwordPolicy", type: "structure", members: { - DeliveryStream: { locationName: "deliveryStream" }, - Enabled: { locationName: "enabled", type: "boolean" }, + AdditionalConstraints: { + shape: "S15", + locationName: "additionalConstraints", + }, + MinimumLength: { + locationName: "minimumLength", + type: "double", + }, }, - required: ["Enabled"], + required: ["MinimumLength"], }, - S3: { - locationName: "s3", - type: "structure", - members: { - Bucket: { locationName: "bucket" }, - Enabled: { locationName: "enabled", type: "boolean" }, - Prefix: { locationName: "prefix" }, - }, - required: ["Enabled"], + RequiredSignUpAttributes: { + locationName: "requiredSignUpAttributes", + type: "list", + member: {}, }, + SignInMethod: { locationName: "signInMethod" }, + UserPoolName: { locationName: "userPoolName" }, }, + required: [ + "RequiredSignUpAttributes", + "SignInMethod", + "UserPoolName", + ], }, }, - required: ["BrokerLogs"], + required: ["AuthResources", "UserPoolConfigs", "Service"], }, - Sw: { type: "map", key: {}, value: {} }, - S12: { type: "timestamp", timestampFormat: "iso8601" }, - S13: { + Sq: { type: "structure", members: { - CreationTime: { shape: "S12", locationName: "creationTime" }, - Description: { locationName: "description" }, - Revision: { locationName: "revision", type: "long" }, + EmailMessage: { locationName: "emailMessage" }, + EmailSubject: { locationName: "emailSubject" }, }, - required: ["Revision", "CreationTime"], }, - S18: { + Sr: { type: "structure", - members: { - ActiveOperationArn: { locationName: "activeOperationArn" }, - BrokerNodeGroupInfo: { - shape: "S2", - locationName: "brokerNodeGroupInfo", - }, - ClientAuthentication: { - shape: "Sa", - locationName: "clientAuthentication", - }, - ClusterArn: { locationName: "clusterArn" }, - ClusterName: { locationName: "clusterName" }, - CreationTime: { shape: "S12", locationName: "creationTime" }, - CurrentBrokerSoftwareInfo: { - shape: "S19", - locationName: "currentBrokerSoftwareInfo", - }, - CurrentVersion: { locationName: "currentVersion" }, - EncryptionInfo: { shape: "Sf", locationName: "encryptionInfo" }, - EnhancedMonitoring: { locationName: "enhancedMonitoring" }, - OpenMonitoring: { shape: "S1a", locationName: "openMonitoring" }, - LoggingInfo: { shape: "Sq", locationName: "loggingInfo" }, - NumberOfBrokerNodes: { - locationName: "numberOfBrokerNodes", - type: "integer", - }, - State: { locationName: "state" }, - StateInfo: { - locationName: "stateInfo", - type: "structure", - members: { - Code: { locationName: "code" }, - Message: { locationName: "message" }, - }, - }, - Tags: { shape: "Sw", locationName: "tags" }, - ZookeeperConnectString: { - locationName: "zookeeperConnectString", - }, - }, + members: { SmsMessage: { locationName: "smsMessage" } }, }, - S19: { + Su: { type: "structure", members: { - ConfigurationArn: { locationName: "configurationArn" }, - ConfigurationRevision: { - locationName: "configurationRevision", - type: "long", - }, - KafkaVersion: { locationName: "kafkaVersion" }, + MfaTypes: { locationName: "mfaTypes", type: "list", member: {} }, + SmsMessage: { locationName: "smsMessage" }, }, }, - S1a: { + Sz: { type: "list", member: {} }, + S11: { type: "list", member: {} }, + S12: { type: "structure", members: { - Prometheus: { - locationName: "prometheus", - type: "structure", - members: { - JmxExporter: { - locationName: "jmxExporter", - type: "structure", - members: { - EnabledInBroker: { - locationName: "enabledInBroker", - type: "boolean", - }, - }, - required: ["EnabledInBroker"], - }, - NodeExporter: { - locationName: "nodeExporter", - type: "structure", - members: { - EnabledInBroker: { - locationName: "enabledInBroker", - type: "boolean", - }, - }, - required: ["EnabledInBroker"], - }, - }, - }, + Facebook: { shape: "S13" }, + Google: { shape: "S13" }, + LoginWithAmazon: { shape: "S13" }, }, - required: ["Prometheus"], }, - S1i: { + S13: { type: "structure", members: { - ClientRequestId: { locationName: "clientRequestId" }, - ClusterArn: { locationName: "clusterArn" }, - CreationTime: { shape: "S12", locationName: "creationTime" }, - EndTime: { shape: "S12", locationName: "endTime" }, - ErrorInfo: { - locationName: "errorInfo", - type: "structure", - members: { - ErrorCode: { locationName: "errorCode" }, - ErrorString: { locationName: "errorString" }, - }, - }, - OperationArn: { locationName: "operationArn" }, - OperationState: { locationName: "operationState" }, - OperationType: { locationName: "operationType" }, - SourceClusterInfo: { - shape: "S1k", - locationName: "sourceClusterInfo", - }, - TargetClusterInfo: { - shape: "S1k", - locationName: "targetClusterInfo", - }, + ClientId: { locationName: "client_id" }, + ClientSecret: { locationName: "client_secret" }, }, }, - S1k: { + S15: { type: "list", member: {} }, + S2n: { type: "structure", members: { - BrokerEBSVolumeInfo: { - shape: "S1l", - locationName: "brokerEBSVolumeInfo", + AwsCognitoIdentityPoolId: { + locationName: "aws_cognito_identity_pool_id", }, - ConfigurationInfo: { - shape: "Sd", - locationName: "configurationInfo", - }, - NumberOfBrokerNodes: { - locationName: "numberOfBrokerNodes", - type: "integer", - }, - EnhancedMonitoring: { locationName: "enhancedMonitoring" }, - OpenMonitoring: { shape: "S1a", locationName: "openMonitoring" }, - LoggingInfo: { shape: "Sq", locationName: "loggingInfo" }, - }, - }, - S1l: { - type: "list", - member: { - type: "structure", - members: { - KafkaBrokerNodeId: { locationName: "kafkaBrokerNodeId" }, - VolumeSizeGB: { locationName: "volumeSizeGB", type: "integer" }, + AwsCognitoRegion: { locationName: "aws_cognito_region" }, + AwsUserPoolsId: { locationName: "aws_user_pools_id" }, + AwsUserPoolsWebClientId: { + locationName: "aws_user_pools_web_client_id", }, - required: ["VolumeSizeGB", "KafkaBrokerNodeId"], }, }, }, @@ -68948,2807 +77041,1537 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 2317: /***/ function (module, __unusedexports, __webpack_require__) { + /***/ 2020: /***/ function (module, __unusedexports, __webpack_require__) { __webpack_require__(3234); var AWS = __webpack_require__(395); var Service = AWS.Service; var apiLoader = AWS.apiLoader; - apiLoader.services["codedeploy"] = {}; - AWS.CodeDeploy = Service.defineService("codedeploy", ["2014-10-06"]); - Object.defineProperty(apiLoader.services["codedeploy"], "2014-10-06", { + apiLoader.services["apigatewayv2"] = {}; + AWS.ApiGatewayV2 = Service.defineService("apigatewayv2", ["2018-11-29"]); + Object.defineProperty(apiLoader.services["apigatewayv2"], "2018-11-29", { get: function get() { - var model = __webpack_require__(4721); - model.paginators = __webpack_require__(2971).pagination; - model.waiters = __webpack_require__(1154).waiters; + var model = __webpack_require__(5687); + model.paginators = __webpack_require__(4725).pagination; return model; }, enumerable: true, configurable: true, }); - module.exports = AWS.CodeDeploy; + module.exports = AWS.ApiGatewayV2; /***/ }, - /***/ 2323: /***/ function (module) { + /***/ 2028: /***/ function (module) { module.exports = { pagination: {} }; /***/ }, - /***/ 2327: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["iotthingsgraph"] = {}; - AWS.IoTThingsGraph = Service.defineService("iotthingsgraph", [ - "2018-09-06", - ]); - Object.defineProperty( - apiLoader.services["iotthingsgraph"], - "2018-09-06", - { - get: function get() { - var model = __webpack_require__(9187); - model.paginators = __webpack_require__(6433).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.IoTThingsGraph; + /***/ 2046: /***/ function (module) { + module.exports = { pagination: {} }; /***/ }, - /***/ 2336: /***/ function (module) { + /***/ 2053: /***/ function (module) { module.exports = { - version: 2, - waiters: { - ResourceRecordSetsChanged: { - delay: 30, - maxAttempts: 60, - operation: "GetChange", - acceptors: [ - { - matcher: "path", - expected: "INSYNC", - argument: "ChangeInfo.Status", - state: "success", + metadata: { + apiVersion: "2017-06-07", + endpointPrefix: "greengrass", + signingName: "greengrass", + serviceFullName: "AWS Greengrass", + serviceId: "Greengrass", + protocol: "rest-json", + jsonVersion: "1.1", + uid: "greengrass-2017-06-07", + signatureVersion: "v4", + }, + operations: { + AssociateRoleToGroup: { + http: { + method: "PUT", + requestUri: "/greengrass/groups/{GroupId}/role", + responseCode: 200, + }, + input: { + type: "structure", + members: { + GroupId: { location: "uri", locationName: "GroupId" }, + RoleArn: {}, }, - ], + required: ["GroupId", "RoleArn"], + }, + output: { type: "structure", members: { AssociatedAt: {} } }, }, - }, - }; - - /***/ - }, - - /***/ 2339: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["mediapackagevod"] = {}; - AWS.MediaPackageVod = Service.defineService("mediapackagevod", [ - "2018-11-07", - ]); - Object.defineProperty( - apiLoader.services["mediapackagevod"], - "2018-11-07", - { - get: function get() { - var model = __webpack_require__(5351); - model.paginators = __webpack_require__(5826).pagination; - return model; + AssociateServiceRoleToAccount: { + http: { + method: "PUT", + requestUri: "/greengrass/servicerole", + responseCode: 200, + }, + input: { + type: "structure", + members: { RoleArn: {} }, + required: ["RoleArn"], + }, + output: { type: "structure", members: { AssociatedAt: {} } }, }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.MediaPackageVod; - - /***/ - }, - - /***/ 2349: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = authenticationRequestError; - - const { RequestError } = __webpack_require__(3497); - - function authenticationRequestError(state, error, options) { - /* istanbul ignore next */ - if (!error.headers) throw error; - - const otpRequired = /required/.test( - error.headers["x-github-otp"] || "" - ); - // handle "2FA required" error only - if (error.status !== 401 || !otpRequired) { - throw error; - } - - if ( - error.status === 401 && - otpRequired && - error.request && - error.request.headers["x-github-otp"] - ) { - throw new RequestError( - "Invalid one-time password for two-factor authentication", - 401, - { - headers: error.headers, - request: options, - } - ); - } - - if (typeof state.auth.on2fa !== "function") { - throw new RequestError( - "2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication", - 401, - { - headers: error.headers, - request: options, - } - ); - } - - return Promise.resolve() - .then(() => { - return state.auth.on2fa(); - }) - .then((oneTimePassword) => { - const newOptions = Object.assign(options, { - headers: Object.assign( - { "x-github-otp": oneTimePassword }, - options.headers - ), - }); - return state.octokit.request(newOptions); - }); - } - - /***/ - }, - - /***/ 2357: /***/ function (module) { - module.exports = require("assert"); - - /***/ - }, - - /***/ 2382: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - AWS.util.update(AWS.CognitoIdentity.prototype, { - getOpenIdToken: function getOpenIdToken(params, callback) { - return this.makeUnauthenticatedRequest( - "getOpenIdToken", - params, - callback - ); - }, - - getId: function getId(params, callback) { - return this.makeUnauthenticatedRequest("getId", params, callback); - }, - - getCredentialsForIdentity: function getCredentialsForIdentity( - params, - callback - ) { - return this.makeUnauthenticatedRequest( - "getCredentialsForIdentity", - params, - callback - ); - }, - }); - - /***/ - }, - - /***/ 2386: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["acmpca"] = {}; - AWS.ACMPCA = Service.defineService("acmpca", ["2017-08-22"]); - Object.defineProperty(apiLoader.services["acmpca"], "2017-08-22", { - get: function get() { - var model = __webpack_require__(72); - model.paginators = __webpack_require__(1455).pagination; - model.waiters = __webpack_require__(1273).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.ACMPCA; - - /***/ - }, - - /***/ 2390: /***/ function (module) { - /** - * Convert array of 16 byte values to UUID string format of the form: - * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX - */ - var byteToHex = []; - for (var i = 0; i < 256; ++i) { - byteToHex[i] = (i + 0x100).toString(16).substr(1); - } - - function bytesToUuid(buf, offset) { - var i = offset || 0; - var bth = byteToHex; - // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 - return [ - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - "-", - bth[buf[i++]], - bth[buf[i++]], - "-", - bth[buf[i++]], - bth[buf[i++]], - "-", - bth[buf[i++]], - bth[buf[i++]], - "-", - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - bth[buf[i++]], - ].join(""); - } - - module.exports = bytesToUuid; - - /***/ - }, - - /***/ 2394: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - DistributionDeployed: { - delay: 60, - operation: "GetDistribution", - maxAttempts: 25, - description: "Wait until a distribution is deployed.", - acceptors: [ - { - expected: "Deployed", - matcher: "path", - state: "success", - argument: "Distribution.Status", + CreateConnectorDefinition: { + http: { + requestUri: "/greengrass/definition/connectors", + responseCode: 200, + }, + input: { + type: "structure", + members: { + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + InitialVersion: { shape: "S7" }, + Name: {}, + tags: { shape: "Sb" }, }, - ], - }, - InvalidationCompleted: { - delay: 20, - operation: "GetInvalidation", - maxAttempts: 30, - description: "Wait until an invalidation has completed.", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "Invalidation.Status", + }, + output: { + type: "structure", + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, }, - ], + }, }, - StreamingDistributionDeployed: { - delay: 60, - operation: "GetStreamingDistribution", - maxAttempts: 25, - description: "Wait until a streaming distribution is deployed.", - acceptors: [ - { - expected: "Deployed", - matcher: "path", - state: "success", - argument: "StreamingDistribution.Status", + CreateConnectorDefinitionVersion: { + http: { + requestUri: + "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions", + responseCode: 200, + }, + input: { + type: "structure", + members: { + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + ConnectorDefinitionId: { + location: "uri", + locationName: "ConnectorDefinitionId", + }, + Connectors: { shape: "S8" }, }, - ], - }, - }, - }; - - /***/ - }, - - /***/ 2413: /***/ function (module) { - module.exports = require("stream"); - - /***/ - }, - - /***/ 2421: /***/ function (module) { - module.exports = { - pagination: { - ListMeshes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "meshes", + required: ["ConnectorDefinitionId"], + }, + output: { + type: "structure", + members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + }, }, - ListRoutes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "routes", + CreateCoreDefinition: { + http: { + requestUri: "/greengrass/definition/cores", + responseCode: 200, + }, + input: { + type: "structure", + members: { + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + InitialVersion: { shape: "Sg" }, + Name: {}, + tags: { shape: "Sb" }, + }, + }, + output: { + type: "structure", + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + }, + }, }, - ListTagsForResource: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "tags", + CreateCoreDefinitionVersion: { + http: { + requestUri: + "/greengrass/definition/cores/{CoreDefinitionId}/versions", + responseCode: 200, + }, + input: { + type: "structure", + members: { + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + CoreDefinitionId: { + location: "uri", + locationName: "CoreDefinitionId", + }, + Cores: { shape: "Sh" }, + }, + required: ["CoreDefinitionId"], + }, + output: { + type: "structure", + members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + }, }, - ListVirtualNodes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "virtualNodes", + CreateDeployment: { + http: { + requestUri: "/greengrass/groups/{GroupId}/deployments", + responseCode: 200, + }, + input: { + type: "structure", + members: { + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + DeploymentId: {}, + DeploymentType: {}, + GroupId: { location: "uri", locationName: "GroupId" }, + GroupVersionId: {}, + }, + required: ["GroupId", "DeploymentType"], + }, + output: { + type: "structure", + members: { DeploymentArn: {}, DeploymentId: {} }, + }, }, - ListVirtualRouters: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "virtualRouters", + CreateDeviceDefinition: { + http: { + requestUri: "/greengrass/definition/devices", + responseCode: 200, + }, + input: { + type: "structure", + members: { + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + InitialVersion: { shape: "Sr" }, + Name: {}, + tags: { shape: "Sb" }, + }, + }, + output: { + type: "structure", + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + }, + }, }, - ListVirtualServices: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "virtualServices", + CreateDeviceDefinitionVersion: { + http: { + requestUri: + "/greengrass/definition/devices/{DeviceDefinitionId}/versions", + responseCode: 200, + }, + input: { + type: "structure", + members: { + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + DeviceDefinitionId: { + location: "uri", + locationName: "DeviceDefinitionId", + }, + Devices: { shape: "Ss" }, + }, + required: ["DeviceDefinitionId"], + }, + output: { + type: "structure", + members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + }, }, - }, - }; - - /***/ - }, - - /***/ 2447: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["qldbsession"] = {}; - AWS.QLDBSession = Service.defineService("qldbsession", ["2019-07-11"]); - Object.defineProperty(apiLoader.services["qldbsession"], "2019-07-11", { - get: function get() { - var model = __webpack_require__(320); - model.paginators = __webpack_require__(8452).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.QLDBSession; - - /***/ - }, - - /***/ 2449: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, - - /***/ 2450: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - AWS.util.update(AWS.RDSDataService.prototype, { - /** - * @return [Boolean] whether the error can be retried - * @api private - */ - retryableError: function retryableError(error) { - if ( - error.code === "BadRequestException" && - error.message && - error.message.match(/^Communications link failure/) && - error.statusCode === 400 - ) { - return true; - } else { - var _super = AWS.Service.prototype.retryableError; - return _super.call(this, error); - } - }, - }); - - /***/ - }, - - /***/ 2453: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var AcceptorStateMachine = __webpack_require__(3696); - var inherit = AWS.util.inherit; - var domain = AWS.util.domain; - var jmespath = __webpack_require__(2802); - - /** - * @api private - */ - var hardErrorStates = { success: 1, error: 1, complete: 1 }; - - function isTerminalState(machine) { - return Object.prototype.hasOwnProperty.call( - hardErrorStates, - machine._asm.currentState - ); - } - - var fsm = new AcceptorStateMachine(); - fsm.setupStates = function () { - var transition = function (_, done) { - var self = this; - self._haltHandlersOnError = false; - - self.emit(self._asm.currentState, function (err) { - if (err) { - if (isTerminalState(self)) { - if (domain && self.domain instanceof domain.Domain) { - err.domainEmitter = self; - err.domain = self.domain; - err.domainThrown = false; - self.domain.emit("error", err); - } else { - throw err; - } - } else { - self.response.error = err; - done(err); - } - } else { - done(self.response.error); - } - }); - }; - - this.addState("validate", "build", "error", transition); - this.addState("build", "afterBuild", "restart", transition); - this.addState("afterBuild", "sign", "restart", transition); - this.addState("sign", "send", "retry", transition); - this.addState("retry", "afterRetry", "afterRetry", transition); - this.addState("afterRetry", "sign", "error", transition); - this.addState("send", "validateResponse", "retry", transition); - this.addState( - "validateResponse", - "extractData", - "extractError", - transition - ); - this.addState("extractError", "extractData", "retry", transition); - this.addState("extractData", "success", "retry", transition); - this.addState("restart", "build", "error", transition); - this.addState("success", "complete", "complete", transition); - this.addState("error", "complete", "complete", transition); - this.addState("complete", null, null, transition); - }; - fsm.setupStates(); - - /** - * ## Asynchronous Requests - * - * All requests made through the SDK are asynchronous and use a - * callback interface. Each service method that kicks off a request - * returns an `AWS.Request` object that you can use to register - * callbacks. - * - * For example, the following service method returns the request - * object as "request", which can be used to register callbacks: - * - * ```javascript - * // request is an AWS.Request object - * var request = ec2.describeInstances(); - * - * // register callbacks on request to retrieve response data - * request.on('success', function(response) { - * console.log(response.data); - * }); - * ``` - * - * When a request is ready to be sent, the {send} method should - * be called: - * - * ```javascript - * request.send(); - * ``` - * - * Since registered callbacks may or may not be idempotent, requests should only - * be sent once. To perform the same operation multiple times, you will need to - * create multiple request objects, each with its own registered callbacks. - * - * ## Removing Default Listeners for Events - * - * Request objects are built with default listeners for the various events, - * depending on the service type. In some cases, you may want to remove - * some built-in listeners to customize behaviour. Doing this requires - * access to the built-in listener functions, which are exposed through - * the {AWS.EventListeners.Core} namespace. For instance, you may - * want to customize the HTTP handler used when sending a request. In this - * case, you can remove the built-in listener associated with the 'send' - * event, the {AWS.EventListeners.Core.SEND} listener and add your own. - * - * ## Multiple Callbacks and Chaining - * - * You can register multiple callbacks on any request object. The - * callbacks can be registered for different events, or all for the - * same event. In addition, you can chain callback registration, for - * example: - * - * ```javascript - * request. - * on('success', function(response) { - * console.log("Success!"); - * }). - * on('error', function(error, response) { - * console.log("Error!"); - * }). - * on('complete', function(response) { - * console.log("Always!"); - * }). - * send(); - * ``` - * - * The above example will print either "Success! Always!", or "Error! Always!", - * depending on whether the request succeeded or not. - * - * @!attribute httpRequest - * @readonly - * @!group HTTP Properties - * @return [AWS.HttpRequest] the raw HTTP request object - * containing request headers and body information - * sent by the service. - * - * @!attribute startTime - * @readonly - * @!group Operation Properties - * @return [Date] the time that the request started - * - * @!group Request Building Events - * - * @!event validate(request) - * Triggered when a request is being validated. Listeners - * should throw an error if the request should not be sent. - * @param request [Request] the request object being sent - * @see AWS.EventListeners.Core.VALIDATE_CREDENTIALS - * @see AWS.EventListeners.Core.VALIDATE_REGION - * @example Ensuring that a certain parameter is set before sending a request - * var req = s3.putObject(params); - * req.on('validate', function() { - * if (!req.params.Body.match(/^Hello\s/)) { - * throw new Error('Body must start with "Hello "'); - * } - * }); - * req.send(function(err, data) { ... }); - * - * @!event build(request) - * Triggered when the request payload is being built. Listeners - * should fill the necessary information to send the request - * over HTTP. - * @param (see AWS.Request~validate) - * @example Add a custom HTTP header to a request - * var req = s3.putObject(params); - * req.on('build', function() { - * req.httpRequest.headers['Custom-Header'] = 'value'; - * }); - * req.send(function(err, data) { ... }); - * - * @!event sign(request) - * Triggered when the request is being signed. Listeners should - * add the correct authentication headers and/or adjust the body, - * depending on the authentication mechanism being used. - * @param (see AWS.Request~validate) - * - * @!group Request Sending Events - * - * @!event send(response) - * Triggered when the request is ready to be sent. Listeners - * should call the underlying transport layer to initiate - * the sending of the request. - * @param response [Response] the response object - * @context [Request] the request object that was sent - * @see AWS.EventListeners.Core.SEND - * - * @!event retry(response) - * Triggered when a request failed and might need to be retried or redirected. - * If the response is retryable, the listener should set the - * `response.error.retryable` property to `true`, and optionally set - * `response.error.retryDelay` to the millisecond delay for the next attempt. - * In the case of a redirect, `response.error.redirect` should be set to - * `true` with `retryDelay` set to an optional delay on the next request. - * - * If a listener decides that a request should not be retried, - * it should set both `retryable` and `redirect` to false. - * - * Note that a retryable error will be retried at most - * {AWS.Config.maxRetries} times (based on the service object's config). - * Similarly, a request that is redirected will only redirect at most - * {AWS.Config.maxRedirects} times. - * - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @example Adding a custom retry for a 404 response - * request.on('retry', function(response) { - * // this resource is not yet available, wait 10 seconds to get it again - * if (response.httpResponse.statusCode === 404 && response.error) { - * response.error.retryable = true; // retry this error - * response.error.retryDelay = 10000; // wait 10 seconds - * } - * }); - * - * @!group Data Parsing Events - * - * @!event extractError(response) - * Triggered on all non-2xx requests so that listeners can extract - * error details from the response body. Listeners to this event - * should set the `response.error` property. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event extractData(response) - * Triggered in successful requests to allow listeners to - * de-serialize the response body into `response.data`. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!group Completion Events - * - * @!event success(response) - * Triggered when the request completed successfully. - * `response.data` will contain the response data and - * `response.error` will be null. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event error(error, response) - * Triggered when an error occurs at any point during the - * request. `response.error` will contain details about the error - * that occurred. `response.data` will be null. - * @param error [Error] the error object containing details about - * the error that occurred. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event complete(response) - * Triggered whenever a request cycle completes. `response.error` - * should be checked, since the request may have failed. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!group HTTP Events - * - * @!event httpHeaders(statusCode, headers, response, statusMessage) - * Triggered when headers are sent by the remote server - * @param statusCode [Integer] the HTTP response code - * @param headers [map] the response headers - * @param (see AWS.Request~send) - * @param statusMessage [String] A status message corresponding to the HTTP - * response code - * @context (see AWS.Request~send) - * - * @!event httpData(chunk, response) - * Triggered when data is sent by the remote server - * @param chunk [Buffer] the buffer data containing the next data chunk - * from the server - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @see AWS.EventListeners.Core.HTTP_DATA - * - * @!event httpUploadProgress(progress, response) - * Triggered when the HTTP request has uploaded more data - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @note This event will not be emitted in Node.js 0.8.x. - * - * @!event httpDownloadProgress(progress, response) - * Triggered when the HTTP request has downloaded more data - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @note This event will not be emitted in Node.js 0.8.x. - * - * @!event httpError(error, response) - * Triggered when the HTTP request failed - * @param error [Error] the error object that was thrown - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event httpDone(response) - * Triggered when the server is finished sending data - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @see AWS.Response - */ - AWS.Request = inherit({ - /** - * Creates a request for an operation on a given service with - * a set of input parameters. - * - * @param service [AWS.Service] the service to perform the operation on - * @param operation [String] the operation to perform on the service - * @param params [Object] parameters to send to the operation. - * See the operation's documentation for the format of the - * parameters. - */ - constructor: function Request(service, operation, params) { - var endpoint = service.endpoint; - var region = service.config.region; - var customUserAgent = service.config.customUserAgent; - - // global endpoints sign as us-east-1 - if (service.isGlobalEndpoint) region = "us-east-1"; - - this.domain = domain && domain.active; - this.service = service; - this.operation = operation; - this.params = params || {}; - this.httpRequest = new AWS.HttpRequest(endpoint, region); - this.httpRequest.appendToUserAgent(customUserAgent); - this.startTime = service.getSkewCorrectedDate(); - - this.response = new AWS.Response(this); - this._asm = new AcceptorStateMachine(fsm.states, "validate"); - this._haltHandlersOnError = false; - - AWS.SequentialExecutor.call(this); - this.emit = this.emitEvent; - }, - - /** - * @!group Sending a Request - */ - - /** - * @overload send(callback = null) - * Sends the request object. - * - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @context [AWS.Request] the request object being sent. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - * @example Sending a request with a callback - * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * request.send(function(err, data) { console.log(err, data); }); - * @example Sending a request with no callback (using event handlers) - * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * request.on('complete', function(response) { ... }); // register a callback - * request.send(); - */ - send: function send(callback) { - if (callback) { - // append to user agent - this.httpRequest.appendToUserAgent("callback"); - this.on("complete", function (resp) { - callback.call(resp, resp.error, resp.data); - }); - } - this.runTo(); - - return this.response; - }, - - /** - * @!method promise() - * Sends the request and returns a 'thenable' promise. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function(data) - * Called if the promise is fulfilled. - * @param data [Object] the de-serialized data returned from the request. - * @callback rejectedCallback function(error) - * Called if the promise is rejected. - * @param error [Error] the error object returned from the request. - * @return [Promise] A promise that represents the state of the request. - * @example Sending a request using promises. - * var request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * var result = request.promise(); - * result.then(function(data) { ... }, function(error) { ... }); - */ - - /** - * @api private - */ - build: function build(callback) { - return this.runTo("send", callback); - }, - - /** - * @api private - */ - runTo: function runTo(state, done) { - this._asm.runTo(state, done, this); - return this; - }, - - /** - * Aborts a request, emitting the error and complete events. - * - * @!macro nobrowser - * @example Aborting a request after sending - * var params = { - * Bucket: 'bucket', Key: 'key', - * Body: Buffer.alloc(1024 * 1024 * 5) // 5MB payload - * }; - * var request = s3.putObject(params); - * request.send(function (err, data) { - * if (err) console.log("Error:", err.code, err.message); - * else console.log(data); - * }); - * - * // abort request in 1 second - * setTimeout(request.abort.bind(request), 1000); - * - * // prints "Error: RequestAbortedError Request aborted by user" - * @return [AWS.Request] the same request object, for chaining. - * @since v1.4.0 - */ - abort: function abort() { - this.removeAllListeners("validateResponse"); - this.removeAllListeners("extractError"); - this.on("validateResponse", function addAbortedError(resp) { - resp.error = AWS.util.error(new Error("Request aborted by user"), { - code: "RequestAbortedError", - retryable: false, - }); - }); - - if (this.httpRequest.stream && !this.httpRequest.stream.didCallback) { - // abort HTTP stream - this.httpRequest.stream.abort(); - if (this.httpRequest._abortCallback) { - this.httpRequest._abortCallback(); - } else { - this.removeAllListeners("send"); // haven't sent yet, so let's not - } - } - - return this; - }, - - /** - * Iterates over each page of results given a pageable request, calling - * the provided callback with each page of data. After all pages have been - * retrieved, the callback is called with `null` data. - * - * @note This operation can generate multiple requests to a service. - * @example Iterating over multiple pages of objects in an S3 bucket - * var pages = 1; - * s3.listObjects().eachPage(function(err, data) { - * if (err) return; - * console.log("Page", pages++); - * console.log(data); - * }); - * @example Iterating over multiple pages with an asynchronous callback - * s3.listObjects(params).eachPage(function(err, data, done) { - * doSomethingAsyncAndOrExpensive(function() { - * // The next page of results isn't fetched until done is called - * done(); - * }); - * }); - * @callback callback function(err, data, [doneCallback]) - * Called with each page of resulting data from the request. If the - * optional `doneCallback` is provided in the function, it must be called - * when the callback is complete. - * - * @param err [Error] an error object, if an error occurred. - * @param data [Object] a single page of response data. If there is no - * more data, this object will be `null`. - * @param doneCallback [Function] an optional done callback. If this - * argument is defined in the function declaration, it should be called - * when the next page is ready to be retrieved. This is useful for - * controlling serial pagination across asynchronous operations. - * @return [Boolean] if the callback returns `false`, pagination will - * stop. - * - * @see AWS.Request.eachItem - * @see AWS.Response.nextPage - * @since v1.4.0 - */ - eachPage: function eachPage(callback) { - // Make all callbacks async-ish - callback = AWS.util.fn.makeAsync(callback, 3); - - function wrappedCallback(response) { - callback.call(response, response.error, response.data, function ( - result - ) { - if (result === false) return; - - if (response.hasNextPage()) { - response.nextPage().on("complete", wrappedCallback).send(); - } else { - callback.call(response, null, null, AWS.util.fn.noop); - } - }); - } - - this.on("complete", wrappedCallback).send(); - }, - - /** - * Enumerates over individual items of a request, paging the responses if - * necessary. - * - * @api experimental - * @since v1.4.0 - */ - eachItem: function eachItem(callback) { - var self = this; - function wrappedCallback(err, data) { - if (err) return callback(err, null); - if (data === null) return callback(null, null); - - var config = self.service.paginationConfig(self.operation); - var resultKey = config.resultKey; - if (Array.isArray(resultKey)) resultKey = resultKey[0]; - var items = jmespath.search(data, resultKey); - var continueIteration = true; - AWS.util.arrayEach(items, function (item) { - continueIteration = callback(null, item); - if (continueIteration === false) { - return AWS.util.abort; - } - }); - return continueIteration; - } - - this.eachPage(wrappedCallback); - }, - - /** - * @return [Boolean] whether the operation can return multiple pages of - * response data. - * @see AWS.Response.eachPage - * @since v1.4.0 - */ - isPageable: function isPageable() { - return this.service.paginationConfig(this.operation) ? true : false; - }, - - /** - * Sends the request and converts the request object into a readable stream - * that can be read from or piped into a writable stream. - * - * @note The data read from a readable stream contains only - * the raw HTTP body contents. - * @example Manually reading from a stream - * request.createReadStream().on('data', function(data) { - * console.log("Got data:", data.toString()); - * }); - * @example Piping a request body into a file - * var out = fs.createWriteStream('/path/to/outfile.jpg'); - * s3.service.getObject(params).createReadStream().pipe(out); - * @return [Stream] the readable stream object that can be piped - * or read from (by registering 'data' event listeners). - * @!macro nobrowser - */ - createReadStream: function createReadStream() { - var streams = AWS.util.stream; - var req = this; - var stream = null; - - if (AWS.HttpClient.streamsApiVersion === 2) { - stream = new streams.PassThrough(); - process.nextTick(function () { - req.send(); - }); - } else { - stream = new streams.Stream(); - stream.readable = true; - - stream.sent = false; - stream.on("newListener", function (event) { - if (!stream.sent && event === "data") { - stream.sent = true; - process.nextTick(function () { - req.send(); - }); - } - }); - } - - this.on("error", function (err) { - stream.emit("error", err); - }); - - this.on("httpHeaders", function streamHeaders( - statusCode, - headers, - resp - ) { - if (statusCode < 300) { - req.removeListener("httpData", AWS.EventListeners.Core.HTTP_DATA); - req.removeListener( - "httpError", - AWS.EventListeners.Core.HTTP_ERROR - ); - req.on("httpError", function streamHttpError(error) { - resp.error = error; - resp.error.retryable = false; - }); - - var shouldCheckContentLength = false; - var expectedLen; - if (req.httpRequest.method !== "HEAD") { - expectedLen = parseInt(headers["content-length"], 10); - } - if ( - expectedLen !== undefined && - !isNaN(expectedLen) && - expectedLen >= 0 - ) { - shouldCheckContentLength = true; - var receivedLen = 0; - } - - var checkContentLengthAndEmit = function checkContentLengthAndEmit() { - if (shouldCheckContentLength && receivedLen !== expectedLen) { - stream.emit( - "error", - AWS.util.error( - new Error( - "Stream content length mismatch. Received " + - receivedLen + - " of " + - expectedLen + - " bytes." - ), - { code: "StreamContentLengthMismatch" } - ) - ); - } else if (AWS.HttpClient.streamsApiVersion === 2) { - stream.end(); - } else { - stream.emit("end"); - } - }; - - var httpStream = resp.httpResponse.createUnbufferedStream(); - - if (AWS.HttpClient.streamsApiVersion === 2) { - if (shouldCheckContentLength) { - var lengthAccumulator = new streams.PassThrough(); - lengthAccumulator._write = function (chunk) { - if (chunk && chunk.length) { - receivedLen += chunk.length; - } - return streams.PassThrough.prototype._write.apply( - this, - arguments - ); - }; - - lengthAccumulator.on("end", checkContentLengthAndEmit); - stream.on("error", function (err) { - shouldCheckContentLength = false; - httpStream.unpipe(lengthAccumulator); - lengthAccumulator.emit("end"); - lengthAccumulator.end(); - }); - httpStream - .pipe(lengthAccumulator) - .pipe(stream, { end: false }); - } else { - httpStream.pipe(stream); - } - } else { - if (shouldCheckContentLength) { - httpStream.on("data", function (arg) { - if (arg && arg.length) { - receivedLen += arg.length; - } - }); - } - - httpStream.on("data", function (arg) { - stream.emit("data", arg); - }); - httpStream.on("end", checkContentLengthAndEmit); - } - - httpStream.on("error", function (err) { - shouldCheckContentLength = false; - stream.emit("error", err); - }); - } - }); - - return stream; - }, - - /** - * @param [Array,Response] args This should be the response object, - * or an array of args to send to the event. - * @api private - */ - emitEvent: function emit(eventName, args, done) { - if (typeof args === "function") { - done = args; - args = null; - } - if (!done) done = function () {}; - if (!args) args = this.eventParameters(eventName, this.response); - - var origEmit = AWS.SequentialExecutor.prototype.emit; - origEmit.call(this, eventName, args, function (err) { - if (err) this.response.error = err; - done.call(this, err); - }); - }, - - /** - * @api private - */ - eventParameters: function eventParameters(eventName) { - switch (eventName) { - case "restart": - case "validate": - case "sign": - case "build": - case "afterValidate": - case "afterBuild": - return [this]; - case "error": - return [this.response.error, this.response]; - default: - return [this.response]; - } - }, - - /** - * @api private - */ - presign: function presign(expires, callback) { - if (!callback && typeof expires === "function") { - callback = expires; - expires = null; - } - return new AWS.Signers.Presign().sign( - this.toGet(), - expires, - callback - ); - }, - - /** - * @api private - */ - isPresigned: function isPresigned() { - return Object.prototype.hasOwnProperty.call( - this.httpRequest.headers, - "presigned-expires" - ); - }, - - /** - * @api private - */ - toUnauthenticated: function toUnauthenticated() { - this._unAuthenticated = true; - this.removeListener( - "validate", - AWS.EventListeners.Core.VALIDATE_CREDENTIALS - ); - this.removeListener("sign", AWS.EventListeners.Core.SIGN); - return this; - }, - - /** - * @api private - */ - toGet: function toGet() { - if ( - this.service.api.protocol === "query" || - this.service.api.protocol === "ec2" - ) { - this.removeListener("build", this.buildAsGet); - this.addListener("build", this.buildAsGet); - } - return this; - }, - - /** - * @api private - */ - buildAsGet: function buildAsGet(request) { - request.httpRequest.method = "GET"; - request.httpRequest.path = - request.service.endpoint.path + "?" + request.httpRequest.body; - request.httpRequest.body = ""; - - // don't need these headers on a GET request - delete request.httpRequest.headers["Content-Length"]; - delete request.httpRequest.headers["Content-Type"]; - }, - - /** - * @api private - */ - haltHandlersOnError: function haltHandlersOnError() { - this._haltHandlersOnError = true; - }, - }); - - /** - * @api private - */ - AWS.Request.addPromisesToClass = function addPromisesToClass( - PromiseDependency - ) { - this.prototype.promise = function promise() { - var self = this; - // append to user agent - this.httpRequest.appendToUserAgent("promise"); - return new PromiseDependency(function (resolve, reject) { - self.on("complete", function (resp) { - if (resp.error) { - reject(resp.error); - } else { - // define $response property so that it is not enumberable - // this prevents circular reference errors when stringifying the JSON object - resolve( - Object.defineProperty(resp.data || {}, "$response", { - value: resp, - }) - ); - } - }); - self.runTo(); - }); - }; - }; - - /** - * @api private - */ - AWS.Request.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.promise; - }; - - AWS.util.addPromises(AWS.Request); - - AWS.util.mixin(AWS.Request, AWS.SequentialExecutor); - - /***/ - }, - - /***/ 2459: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2014-10-31", - endpointPrefix: "rds", - protocol: "query", - serviceAbbreviation: "Amazon DocDB", - serviceFullName: "Amazon DocumentDB with MongoDB compatibility", - serviceId: "DocDB", - signatureVersion: "v4", - signingName: "rds", - uid: "docdb-2014-10-31", - xmlNamespace: "http://rds.amazonaws.com/doc/2014-10-31/", - }, - operations: { - AddTagsToResource: { - input: { - type: "structure", - required: ["ResourceName", "Tags"], - members: { ResourceName: {}, Tags: { shape: "S3" } }, + CreateFunctionDefinition: { + http: { + requestUri: "/greengrass/definition/functions", + responseCode: 200, }, - }, - ApplyPendingMaintenanceAction: { input: { type: "structure", - required: ["ResourceIdentifier", "ApplyAction", "OptInType"], members: { - ResourceIdentifier: {}, - ApplyAction: {}, - OptInType: {}, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + InitialVersion: { shape: "Sy" }, + Name: {}, + tags: { shape: "Sb" }, }, }, output: { - resultWrapper: "ApplyPendingMaintenanceActionResult", type: "structure", - members: { ResourcePendingMaintenanceActions: { shape: "S7" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + }, }, }, - CopyDBClusterParameterGroup: { + CreateFunctionDefinitionVersion: { + http: { + requestUri: + "/greengrass/definition/functions/{FunctionDefinitionId}/versions", + responseCode: 200, + }, input: { type: "structure", - required: [ - "SourceDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupIdentifier", - "TargetDBClusterParameterGroupDescription", - ], members: { - SourceDBClusterParameterGroupIdentifier: {}, - TargetDBClusterParameterGroupIdentifier: {}, - TargetDBClusterParameterGroupDescription: {}, - Tags: { shape: "S3" }, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + DefaultConfig: { shape: "Sz" }, + FunctionDefinitionId: { + location: "uri", + locationName: "FunctionDefinitionId", + }, + Functions: { shape: "S14" }, }, + required: ["FunctionDefinitionId"], }, output: { - resultWrapper: "CopyDBClusterParameterGroupResult", type: "structure", - members: { DBClusterParameterGroup: { shape: "Sd" } }, + members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, }, }, - CopyDBClusterSnapshot: { + CreateGroup: { + http: { requestUri: "/greengrass/groups", responseCode: 200 }, input: { type: "structure", - required: [ - "SourceDBClusterSnapshotIdentifier", - "TargetDBClusterSnapshotIdentifier", - ], members: { - SourceDBClusterSnapshotIdentifier: {}, - TargetDBClusterSnapshotIdentifier: {}, - KmsKeyId: {}, - PreSignedUrl: {}, - CopyTags: { type: "boolean" }, - Tags: { shape: "S3" }, - }, - }, - output: { - resultWrapper: "CopyDBClusterSnapshotResult", - type: "structure", - members: { DBClusterSnapshot: { shape: "Sh" } }, - }, - }, - CreateDBCluster: { - input: { - type: "structure", - required: [ - "DBClusterIdentifier", - "Engine", - "MasterUsername", - "MasterUserPassword", - ], - members: { - AvailabilityZones: { shape: "Si" }, - BackupRetentionPeriod: { type: "integer" }, - DBClusterIdentifier: {}, - DBClusterParameterGroupName: {}, - VpcSecurityGroupIds: { shape: "Sn" }, - DBSubnetGroupName: {}, - Engine: {}, - EngineVersion: {}, - Port: { type: "integer" }, - MasterUsername: {}, - MasterUserPassword: {}, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - Tags: { shape: "S3" }, - StorageEncrypted: { type: "boolean" }, - KmsKeyId: {}, - EnableCloudwatchLogsExports: { shape: "So" }, - DeletionProtection: { type: "boolean" }, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + InitialVersion: { shape: "S1h" }, + Name: {}, + tags: { shape: "Sb" }, }, }, output: { - resultWrapper: "CreateDBClusterResult", type: "structure", - members: { DBCluster: { shape: "Sq" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + }, }, }, - CreateDBClusterParameterGroup: { + CreateGroupCertificateAuthority: { + http: { + requestUri: "/greengrass/groups/{GroupId}/certificateauthorities", + responseCode: 200, + }, input: { type: "structure", - required: [ - "DBClusterParameterGroupName", - "DBParameterGroupFamily", - "Description", - ], members: { - DBClusterParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - Tags: { shape: "S3" }, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + GroupId: { location: "uri", locationName: "GroupId" }, }, + required: ["GroupId"], }, output: { - resultWrapper: "CreateDBClusterParameterGroupResult", type: "structure", - members: { DBClusterParameterGroup: { shape: "Sd" } }, + members: { GroupCertificateAuthorityArn: {} }, }, }, - CreateDBClusterSnapshot: { + CreateGroupVersion: { + http: { + requestUri: "/greengrass/groups/{GroupId}/versions", + responseCode: 200, + }, input: { type: "structure", - required: ["DBClusterSnapshotIdentifier", "DBClusterIdentifier"], members: { - DBClusterSnapshotIdentifier: {}, - DBClusterIdentifier: {}, - Tags: { shape: "S3" }, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + ConnectorDefinitionVersionArn: {}, + CoreDefinitionVersionArn: {}, + DeviceDefinitionVersionArn: {}, + FunctionDefinitionVersionArn: {}, + GroupId: { location: "uri", locationName: "GroupId" }, + LoggerDefinitionVersionArn: {}, + ResourceDefinitionVersionArn: {}, + SubscriptionDefinitionVersionArn: {}, }, + required: ["GroupId"], }, output: { - resultWrapper: "CreateDBClusterSnapshotResult", type: "structure", - members: { DBClusterSnapshot: { shape: "Sh" } }, + members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, }, }, - CreateDBInstance: { + CreateLoggerDefinition: { + http: { + requestUri: "/greengrass/definition/loggers", + responseCode: 200, + }, input: { type: "structure", - required: [ - "DBInstanceIdentifier", - "DBInstanceClass", - "Engine", - "DBClusterIdentifier", - ], members: { - DBInstanceIdentifier: {}, - DBInstanceClass: {}, - Engine: {}, - AvailabilityZone: {}, - PreferredMaintenanceWindow: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - Tags: { shape: "S3" }, - DBClusterIdentifier: {}, - PromotionTier: { type: "integer" }, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + InitialVersion: { shape: "S1o" }, + Name: {}, + tags: { shape: "Sb" }, }, }, output: { - resultWrapper: "CreateDBInstanceResult", type: "structure", - members: { DBInstance: { shape: "S13" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + }, }, }, - CreateDBSubnetGroup: { + CreateLoggerDefinitionVersion: { + http: { + requestUri: + "/greengrass/definition/loggers/{LoggerDefinitionId}/versions", + responseCode: 200, + }, input: { type: "structure", - required: [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds", - ], members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - SubnetIds: { shape: "S1e" }, - Tags: { shape: "S3" }, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + LoggerDefinitionId: { + location: "uri", + locationName: "LoggerDefinitionId", + }, + Loggers: { shape: "S1p" }, }, + required: ["LoggerDefinitionId"], }, output: { - resultWrapper: "CreateDBSubnetGroupResult", type: "structure", - members: { DBSubnetGroup: { shape: "S15" } }, + members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, }, }, - DeleteDBCluster: { + CreateResourceDefinition: { + http: { + requestUri: "/greengrass/definition/resources", + responseCode: 200, + }, input: { type: "structure", - required: ["DBClusterIdentifier"], members: { - DBClusterIdentifier: {}, - SkipFinalSnapshot: { type: "boolean" }, - FinalDBSnapshotIdentifier: {}, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + InitialVersion: { shape: "S1y" }, + Name: {}, + tags: { shape: "Sb" }, }, }, output: { - resultWrapper: "DeleteDBClusterResult", type: "structure", - members: { DBCluster: { shape: "Sq" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + }, }, }, - DeleteDBClusterParameterGroup: { - input: { - type: "structure", - required: ["DBClusterParameterGroupName"], - members: { DBClusterParameterGroupName: {} }, + CreateResourceDefinitionVersion: { + http: { + requestUri: + "/greengrass/definition/resources/{ResourceDefinitionId}/versions", + responseCode: 200, }, - }, - DeleteDBClusterSnapshot: { input: { type: "structure", - required: ["DBClusterSnapshotIdentifier"], - members: { DBClusterSnapshotIdentifier: {} }, + members: { + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + ResourceDefinitionId: { + location: "uri", + locationName: "ResourceDefinitionId", + }, + Resources: { shape: "S1z" }, + }, + required: ["ResourceDefinitionId"], }, output: { - resultWrapper: "DeleteDBClusterSnapshotResult", type: "structure", - members: { DBClusterSnapshot: { shape: "Sh" } }, + members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, }, }, - DeleteDBInstance: { + CreateSoftwareUpdateJob: { + http: { requestUri: "/greengrass/updates", responseCode: 200 }, input: { type: "structure", - required: ["DBInstanceIdentifier"], - members: { DBInstanceIdentifier: {} }, + members: { + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + S3UrlSignerRole: {}, + SoftwareToUpdate: {}, + UpdateAgentLogLevel: {}, + UpdateTargets: { type: "list", member: {} }, + UpdateTargetsArchitecture: {}, + UpdateTargetsOperatingSystem: {}, + }, + required: [ + "S3UrlSignerRole", + "UpdateTargetsArchitecture", + "SoftwareToUpdate", + "UpdateTargets", + "UpdateTargetsOperatingSystem", + ], }, output: { - resultWrapper: "DeleteDBInstanceResult", type: "structure", - members: { DBInstance: { shape: "S13" } }, + members: { + IotJobArn: {}, + IotJobId: {}, + PlatformSoftwareVersion: {}, + }, }, }, - DeleteDBSubnetGroup: { - input: { - type: "structure", - required: ["DBSubnetGroupName"], - members: { DBSubnetGroupName: {} }, + CreateSubscriptionDefinition: { + http: { + requestUri: "/greengrass/definition/subscriptions", + responseCode: 200, }, - }, - DescribeCertificates: { input: { type: "structure", members: { - CertificateIdentifier: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + InitialVersion: { shape: "S2m" }, + Name: {}, + tags: { shape: "Sb" }, }, }, output: { - resultWrapper: "DescribeCertificatesResult", type: "structure", members: { - Certificates: { - type: "list", - member: { - locationName: "Certificate", - type: "structure", - members: { - CertificateIdentifier: {}, - CertificateType: {}, - Thumbprint: {}, - ValidFrom: { type: "timestamp" }, - ValidTill: { type: "timestamp" }, - CertificateArn: {}, - }, - wrapper: true, - }, - }, - Marker: {}, + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, }, }, }, - DescribeDBClusterParameterGroups: { + CreateSubscriptionDefinitionVersion: { + http: { + requestUri: + "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", + responseCode: 200, + }, input: { type: "structure", members: { - DBClusterParameterGroupName: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + SubscriptionDefinitionId: { + location: "uri", + locationName: "SubscriptionDefinitionId", + }, + Subscriptions: { shape: "S2n" }, }, + required: ["SubscriptionDefinitionId"], }, output: { - resultWrapper: "DescribeDBClusterParameterGroupsResult", type: "structure", - members: { - Marker: {}, - DBClusterParameterGroups: { - type: "list", - member: { - shape: "Sd", - locationName: "DBClusterParameterGroup", - }, - }, - }, + members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, }, }, - DescribeDBClusterParameters: { + DeleteConnectorDefinition: { + http: { + method: "DELETE", + requestUri: + "/greengrass/definition/connectors/{ConnectorDefinitionId}", + responseCode: 200, + }, input: { type: "structure", - required: ["DBClusterParameterGroupName"], members: { - DBClusterParameterGroupName: {}, - Source: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, + ConnectorDefinitionId: { + location: "uri", + locationName: "ConnectorDefinitionId", + }, }, + required: ["ConnectorDefinitionId"], }, - output: { - resultWrapper: "DescribeDBClusterParametersResult", - type: "structure", - members: { Parameters: { shape: "S20" }, Marker: {} }, - }, + output: { type: "structure", members: {} }, }, - DescribeDBClusterSnapshotAttributes: { - input: { - type: "structure", - required: ["DBClusterSnapshotIdentifier"], - members: { DBClusterSnapshotIdentifier: {} }, + DeleteCoreDefinition: { + http: { + method: "DELETE", + requestUri: "/greengrass/definition/cores/{CoreDefinitionId}", + responseCode: 200, }, - output: { - resultWrapper: "DescribeDBClusterSnapshotAttributesResult", + input: { type: "structure", - members: { DBClusterSnapshotAttributesResult: { shape: "S25" } }, + members: { + CoreDefinitionId: { + location: "uri", + locationName: "CoreDefinitionId", + }, + }, + required: ["CoreDefinitionId"], }, + output: { type: "structure", members: {} }, }, - DescribeDBClusterSnapshots: { + DeleteDeviceDefinition: { + http: { + method: "DELETE", + requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}", + responseCode: 200, + }, input: { type: "structure", members: { - DBClusterIdentifier: {}, - DBClusterSnapshotIdentifier: {}, - SnapshotType: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - IncludeShared: { type: "boolean" }, - IncludePublic: { type: "boolean" }, + DeviceDefinitionId: { + location: "uri", + locationName: "DeviceDefinitionId", + }, }, + required: ["DeviceDefinitionId"], }, - output: { - resultWrapper: "DescribeDBClusterSnapshotsResult", + output: { type: "structure", members: {} }, + }, + DeleteFunctionDefinition: { + http: { + method: "DELETE", + requestUri: + "/greengrass/definition/functions/{FunctionDefinitionId}", + responseCode: 200, + }, + input: { type: "structure", members: { - Marker: {}, - DBClusterSnapshots: { - type: "list", - member: { shape: "Sh", locationName: "DBClusterSnapshot" }, + FunctionDefinitionId: { + location: "uri", + locationName: "FunctionDefinitionId", }, }, + required: ["FunctionDefinitionId"], }, + output: { type: "structure", members: {} }, }, - DescribeDBClusters: { + DeleteGroup: { + http: { + method: "DELETE", + requestUri: "/greengrass/groups/{GroupId}", + responseCode: 200, + }, input: { type: "structure", members: { - DBClusterIdentifier: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, + GroupId: { location: "uri", locationName: "GroupId" }, }, + required: ["GroupId"], }, - output: { - resultWrapper: "DescribeDBClustersResult", + output: { type: "structure", members: {} }, + }, + DeleteLoggerDefinition: { + http: { + method: "DELETE", + requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}", + responseCode: 200, + }, + input: { type: "structure", members: { - Marker: {}, - DBClusters: { - type: "list", - member: { shape: "Sq", locationName: "DBCluster" }, + LoggerDefinitionId: { + location: "uri", + locationName: "LoggerDefinitionId", }, }, + required: ["LoggerDefinitionId"], }, + output: { type: "structure", members: {} }, }, - DescribeDBEngineVersions: { + DeleteResourceDefinition: { + http: { + method: "DELETE", + requestUri: + "/greengrass/definition/resources/{ResourceDefinitionId}", + responseCode: 200, + }, input: { type: "structure", members: { - Engine: {}, - EngineVersion: {}, - DBParameterGroupFamily: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, - DefaultOnly: { type: "boolean" }, - ListSupportedCharacterSets: { type: "boolean" }, - ListSupportedTimezones: { type: "boolean" }, + ResourceDefinitionId: { + location: "uri", + locationName: "ResourceDefinitionId", + }, }, + required: ["ResourceDefinitionId"], }, - output: { - resultWrapper: "DescribeDBEngineVersionsResult", + output: { type: "structure", members: {} }, + }, + DeleteSubscriptionDefinition: { + http: { + method: "DELETE", + requestUri: + "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", + responseCode: 200, + }, + input: { type: "structure", members: { - Marker: {}, - DBEngineVersions: { - type: "list", - member: { - locationName: "DBEngineVersion", - type: "structure", - members: { - Engine: {}, - EngineVersion: {}, - DBParameterGroupFamily: {}, - DBEngineDescription: {}, - DBEngineVersionDescription: {}, - ValidUpgradeTarget: { - type: "list", - member: { - locationName: "UpgradeTarget", - type: "structure", - members: { - Engine: {}, - EngineVersion: {}, - Description: {}, - AutoUpgrade: { type: "boolean" }, - IsMajorVersionUpgrade: { type: "boolean" }, - }, - }, - }, - ExportableLogTypes: { shape: "So" }, - SupportsLogExportsToCloudwatchLogs: { type: "boolean" }, - }, - }, + SubscriptionDefinitionId: { + location: "uri", + locationName: "SubscriptionDefinitionId", }, }, + required: ["SubscriptionDefinitionId"], }, + output: { type: "structure", members: {} }, }, - DescribeDBInstances: { + DisassociateRoleFromGroup: { + http: { + method: "DELETE", + requestUri: "/greengrass/groups/{GroupId}/role", + responseCode: 200, + }, input: { type: "structure", members: { - DBInstanceIdentifier: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, + GroupId: { location: "uri", locationName: "GroupId" }, }, + required: ["GroupId"], }, - output: { - resultWrapper: "DescribeDBInstancesResult", - type: "structure", - members: { - Marker: {}, - DBInstances: { - type: "list", - member: { shape: "S13", locationName: "DBInstance" }, - }, - }, + output: { type: "structure", members: { DisassociatedAt: {} } }, + }, + DisassociateServiceRoleFromAccount: { + http: { + method: "DELETE", + requestUri: "/greengrass/servicerole", + responseCode: 200, }, + input: { type: "structure", members: {} }, + output: { type: "structure", members: { DisassociatedAt: {} } }, }, - DescribeDBSubnetGroups: { + GetAssociatedRole: { + http: { + method: "GET", + requestUri: "/greengrass/groups/{GroupId}/role", + responseCode: 200, + }, input: { type: "structure", members: { - DBSubnetGroupName: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, + GroupId: { location: "uri", locationName: "GroupId" }, }, + required: ["GroupId"], }, output: { - resultWrapper: "DescribeDBSubnetGroupsResult", type: "structure", - members: { - Marker: {}, - DBSubnetGroups: { - type: "list", - member: { shape: "S15", locationName: "DBSubnetGroup" }, - }, - }, + members: { AssociatedAt: {}, RoleArn: {} }, }, }, - DescribeEngineDefaultClusterParameters: { + GetBulkDeploymentStatus: { + http: { + method: "GET", + requestUri: + "/greengrass/bulk/deployments/{BulkDeploymentId}/status", + responseCode: 200, + }, input: { type: "structure", - required: ["DBParameterGroupFamily"], members: { - DBParameterGroupFamily: {}, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, + BulkDeploymentId: { + location: "uri", + locationName: "BulkDeploymentId", + }, }, + required: ["BulkDeploymentId"], }, output: { - resultWrapper: "DescribeEngineDefaultClusterParametersResult", type: "structure", members: { - EngineDefaults: { + BulkDeploymentMetrics: { type: "structure", members: { - DBParameterGroupFamily: {}, - Marker: {}, - Parameters: { shape: "S20" }, + InvalidInputRecords: { type: "integer" }, + RecordsProcessed: { type: "integer" }, + RetryAttempts: { type: "integer" }, }, - wrapper: true, }, + BulkDeploymentStatus: {}, + CreatedAt: {}, + ErrorDetails: { shape: "S3i" }, + ErrorMessage: {}, + tags: { shape: "Sb" }, }, }, }, - DescribeEventCategories: { + GetConnectivityInfo: { + http: { + method: "GET", + requestUri: "/greengrass/things/{ThingName}/connectivityInfo", + responseCode: 200, + }, input: { type: "structure", - members: { SourceType: {}, Filters: { shape: "S1p" } }, + members: { + ThingName: { location: "uri", locationName: "ThingName" }, + }, + required: ["ThingName"], }, output: { - resultWrapper: "DescribeEventCategoriesResult", type: "structure", members: { - EventCategoriesMapList: { - type: "list", - member: { - locationName: "EventCategoriesMap", - type: "structure", - members: { - SourceType: {}, - EventCategories: { shape: "S2y" }, - }, - wrapper: true, - }, - }, + ConnectivityInfo: { shape: "S3m" }, + Message: { locationName: "message" }, }, }, }, - DescribeEvents: { + GetConnectorDefinition: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/connectors/{ConnectorDefinitionId}", + responseCode: 200, + }, input: { type: "structure", members: { - SourceIdentifier: {}, - SourceType: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Duration: { type: "integer" }, - EventCategories: { shape: "S2y" }, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, + ConnectorDefinitionId: { + location: "uri", + locationName: "ConnectorDefinitionId", + }, }, + required: ["ConnectorDefinitionId"], }, output: { - resultWrapper: "DescribeEventsResult", type: "structure", members: { - Marker: {}, - Events: { - type: "list", - member: { - locationName: "Event", - type: "structure", - members: { - SourceIdentifier: {}, - SourceType: {}, - Message: {}, - EventCategories: { shape: "S2y" }, - Date: { type: "timestamp" }, - SourceArn: {}, - }, - }, - }, + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + tags: { shape: "Sb" }, }, }, }, - DescribeOrderableDBInstanceOptions: { + GetConnectorDefinitionVersion: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions/{ConnectorDefinitionVersionId}", + responseCode: 200, + }, input: { type: "structure", - required: ["Engine"], members: { - Engine: {}, - EngineVersion: {}, - DBInstanceClass: {}, - LicenseModel: {}, - Vpc: { type: "boolean" }, - Filters: { shape: "S1p" }, - MaxRecords: { type: "integer" }, - Marker: {}, + ConnectorDefinitionId: { + location: "uri", + locationName: "ConnectorDefinitionId", + }, + ConnectorDefinitionVersionId: { + location: "uri", + locationName: "ConnectorDefinitionVersionId", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, + required: [ + "ConnectorDefinitionId", + "ConnectorDefinitionVersionId", + ], }, output: { - resultWrapper: "DescribeOrderableDBInstanceOptionsResult", type: "structure", members: { - OrderableDBInstanceOptions: { - type: "list", - member: { - locationName: "OrderableDBInstanceOption", - type: "structure", - members: { - Engine: {}, - EngineVersion: {}, - DBInstanceClass: {}, - LicenseModel: {}, - AvailabilityZones: { - type: "list", - member: { - shape: "S18", - locationName: "AvailabilityZone", - }, - }, - Vpc: { type: "boolean" }, - }, - wrapper: true, - }, - }, - Marker: {}, + Arn: {}, + CreationTimestamp: {}, + Definition: { shape: "S7" }, + Id: {}, + NextToken: {}, + Version: {}, }, }, }, - DescribePendingMaintenanceActions: { + GetCoreDefinition: { + http: { + method: "GET", + requestUri: "/greengrass/definition/cores/{CoreDefinitionId}", + responseCode: 200, + }, input: { type: "structure", members: { - ResourceIdentifier: {}, - Filters: { shape: "S1p" }, - Marker: {}, - MaxRecords: { type: "integer" }, + CoreDefinitionId: { + location: "uri", + locationName: "CoreDefinitionId", + }, }, + required: ["CoreDefinitionId"], }, output: { - resultWrapper: "DescribePendingMaintenanceActionsResult", type: "structure", members: { - PendingMaintenanceActions: { - type: "list", - member: { - shape: "S7", - locationName: "ResourcePendingMaintenanceActions", - }, - }, - Marker: {}, + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + tags: { shape: "Sb" }, }, }, }, - FailoverDBCluster: { + GetCoreDefinitionVersion: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/cores/{CoreDefinitionId}/versions/{CoreDefinitionVersionId}", + responseCode: 200, + }, input: { type: "structure", members: { - DBClusterIdentifier: {}, - TargetDBInstanceIdentifier: {}, + CoreDefinitionId: { + location: "uri", + locationName: "CoreDefinitionId", + }, + CoreDefinitionVersionId: { + location: "uri", + locationName: "CoreDefinitionVersionId", + }, }, + required: ["CoreDefinitionId", "CoreDefinitionVersionId"], }, output: { - resultWrapper: "FailoverDBClusterResult", type: "structure", - members: { DBCluster: { shape: "Sq" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Definition: { shape: "Sg" }, + Id: {}, + NextToken: {}, + Version: {}, + }, }, }, - ListTagsForResource: { + GetDeploymentStatus: { + http: { + method: "GET", + requestUri: + "/greengrass/groups/{GroupId}/deployments/{DeploymentId}/status", + responseCode: 200, + }, input: { type: "structure", - required: ["ResourceName"], - members: { ResourceName: {}, Filters: { shape: "S1p" } }, + members: { + DeploymentId: { location: "uri", locationName: "DeploymentId" }, + GroupId: { location: "uri", locationName: "GroupId" }, + }, + required: ["GroupId", "DeploymentId"], }, output: { - resultWrapper: "ListTagsForResourceResult", type: "structure", - members: { TagList: { shape: "S3" } }, + members: { + DeploymentStatus: {}, + DeploymentType: {}, + ErrorDetails: { shape: "S3i" }, + ErrorMessage: {}, + UpdatedAt: {}, + }, }, }, - ModifyDBCluster: { + GetDeviceDefinition: { + http: { + method: "GET", + requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}", + responseCode: 200, + }, input: { type: "structure", - required: ["DBClusterIdentifier"], members: { - DBClusterIdentifier: {}, - NewDBClusterIdentifier: {}, - ApplyImmediately: { type: "boolean" }, - BackupRetentionPeriod: { type: "integer" }, - DBClusterParameterGroupName: {}, - VpcSecurityGroupIds: { shape: "Sn" }, - Port: { type: "integer" }, - MasterUserPassword: {}, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - CloudwatchLogsExportConfiguration: { - type: "structure", - members: { - EnableLogTypes: { shape: "So" }, - DisableLogTypes: { shape: "So" }, - }, + DeviceDefinitionId: { + location: "uri", + locationName: "DeviceDefinitionId", }, - EngineVersion: {}, - DeletionProtection: { type: "boolean" }, }, + required: ["DeviceDefinitionId"], }, output: { - resultWrapper: "ModifyDBClusterResult", - type: "structure", - members: { DBCluster: { shape: "Sq" } }, - }, - }, - ModifyDBClusterParameterGroup: { - input: { type: "structure", - required: ["DBClusterParameterGroupName", "Parameters"], members: { - DBClusterParameterGroupName: {}, - Parameters: { shape: "S20" }, + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + tags: { shape: "Sb" }, }, }, - output: { - shape: "S3k", - resultWrapper: "ModifyDBClusterParameterGroupResult", - }, }, - ModifyDBClusterSnapshotAttribute: { + GetDeviceDefinitionVersion: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/devices/{DeviceDefinitionId}/versions/{DeviceDefinitionVersionId}", + responseCode: 200, + }, input: { type: "structure", - required: ["DBClusterSnapshotIdentifier", "AttributeName"], members: { - DBClusterSnapshotIdentifier: {}, - AttributeName: {}, - ValuesToAdd: { shape: "S28" }, - ValuesToRemove: { shape: "S28" }, + DeviceDefinitionId: { + location: "uri", + locationName: "DeviceDefinitionId", + }, + DeviceDefinitionVersionId: { + location: "uri", + locationName: "DeviceDefinitionVersionId", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, + required: ["DeviceDefinitionVersionId", "DeviceDefinitionId"], }, output: { - resultWrapper: "ModifyDBClusterSnapshotAttributeResult", type: "structure", - members: { DBClusterSnapshotAttributesResult: { shape: "S25" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Definition: { shape: "Sr" }, + Id: {}, + NextToken: {}, + Version: {}, + }, }, }, - ModifyDBInstance: { + GetFunctionDefinition: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/functions/{FunctionDefinitionId}", + responseCode: 200, + }, input: { type: "structure", - required: ["DBInstanceIdentifier"], members: { - DBInstanceIdentifier: {}, - DBInstanceClass: {}, - ApplyImmediately: { type: "boolean" }, - PreferredMaintenanceWindow: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - NewDBInstanceIdentifier: {}, - CACertificateIdentifier: {}, - PromotionTier: { type: "integer" }, + FunctionDefinitionId: { + location: "uri", + locationName: "FunctionDefinitionId", + }, }, + required: ["FunctionDefinitionId"], }, output: { - resultWrapper: "ModifyDBInstanceResult", type: "structure", - members: { DBInstance: { shape: "S13" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + tags: { shape: "Sb" }, + }, }, }, - ModifyDBSubnetGroup: { + GetFunctionDefinitionVersion: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/functions/{FunctionDefinitionId}/versions/{FunctionDefinitionVersionId}", + responseCode: 200, + }, input: { type: "structure", - required: ["DBSubnetGroupName", "SubnetIds"], members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - SubnetIds: { shape: "S1e" }, + FunctionDefinitionId: { + location: "uri", + locationName: "FunctionDefinitionId", + }, + FunctionDefinitionVersionId: { + location: "uri", + locationName: "FunctionDefinitionVersionId", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, + required: ["FunctionDefinitionId", "FunctionDefinitionVersionId"], }, output: { - resultWrapper: "ModifyDBSubnetGroupResult", type: "structure", - members: { DBSubnetGroup: { shape: "S15" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Definition: { shape: "Sy" }, + Id: {}, + NextToken: {}, + Version: {}, + }, }, }, - RebootDBInstance: { + GetGroup: { + http: { + method: "GET", + requestUri: "/greengrass/groups/{GroupId}", + responseCode: 200, + }, input: { type: "structure", - required: ["DBInstanceIdentifier"], members: { - DBInstanceIdentifier: {}, - ForceFailover: { type: "boolean" }, + GroupId: { location: "uri", locationName: "GroupId" }, }, + required: ["GroupId"], }, output: { - resultWrapper: "RebootDBInstanceResult", - type: "structure", - members: { DBInstance: { shape: "S13" } }, - }, - }, - RemoveTagsFromResource: { - input: { type: "structure", - required: ["ResourceName", "TagKeys"], members: { - ResourceName: {}, - TagKeys: { type: "list", member: {} }, + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + tags: { shape: "Sb" }, }, }, }, - ResetDBClusterParameterGroup: { + GetGroupCertificateAuthority: { + http: { + method: "GET", + requestUri: + "/greengrass/groups/{GroupId}/certificateauthorities/{CertificateAuthorityId}", + responseCode: 200, + }, input: { type: "structure", - required: ["DBClusterParameterGroupName"], members: { - DBClusterParameterGroupName: {}, - ResetAllParameters: { type: "boolean" }, - Parameters: { shape: "S20" }, + CertificateAuthorityId: { + location: "uri", + locationName: "CertificateAuthorityId", + }, + GroupId: { location: "uri", locationName: "GroupId" }, }, + required: ["CertificateAuthorityId", "GroupId"], }, output: { - shape: "S3k", - resultWrapper: "ResetDBClusterParameterGroupResult", + type: "structure", + members: { + GroupCertificateAuthorityArn: {}, + GroupCertificateAuthorityId: {}, + PemEncodedCertificate: {}, + }, }, }, - RestoreDBClusterFromSnapshot: { + GetGroupCertificateConfiguration: { + http: { + method: "GET", + requestUri: + "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", + responseCode: 200, + }, input: { type: "structure", - required: ["DBClusterIdentifier", "SnapshotIdentifier", "Engine"], members: { - AvailabilityZones: { shape: "Si" }, - DBClusterIdentifier: {}, - SnapshotIdentifier: {}, - Engine: {}, - EngineVersion: {}, - Port: { type: "integer" }, - DBSubnetGroupName: {}, - VpcSecurityGroupIds: { shape: "Sn" }, - Tags: { shape: "S3" }, - KmsKeyId: {}, - EnableCloudwatchLogsExports: { shape: "So" }, - DeletionProtection: { type: "boolean" }, + GroupId: { location: "uri", locationName: "GroupId" }, }, + required: ["GroupId"], }, output: { - resultWrapper: "RestoreDBClusterFromSnapshotResult", type: "structure", - members: { DBCluster: { shape: "Sq" } }, + members: { + CertificateAuthorityExpiryInMilliseconds: {}, + CertificateExpiryInMilliseconds: {}, + GroupId: {}, + }, }, }, - RestoreDBClusterToPointInTime: { + GetGroupVersion: { + http: { + method: "GET", + requestUri: + "/greengrass/groups/{GroupId}/versions/{GroupVersionId}", + responseCode: 200, + }, input: { type: "structure", - required: ["DBClusterIdentifier", "SourceDBClusterIdentifier"], members: { - DBClusterIdentifier: {}, - SourceDBClusterIdentifier: {}, - RestoreToTime: { type: "timestamp" }, - UseLatestRestorableTime: { type: "boolean" }, - Port: { type: "integer" }, - DBSubnetGroupName: {}, - VpcSecurityGroupIds: { shape: "Sn" }, - Tags: { shape: "S3" }, - KmsKeyId: {}, - EnableCloudwatchLogsExports: { shape: "So" }, - DeletionProtection: { type: "boolean" }, + GroupId: { location: "uri", locationName: "GroupId" }, + GroupVersionId: { + location: "uri", + locationName: "GroupVersionId", + }, }, + required: ["GroupVersionId", "GroupId"], }, output: { - resultWrapper: "RestoreDBClusterToPointInTimeResult", type: "structure", - members: { DBCluster: { shape: "Sq" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Definition: { shape: "S1h" }, + Id: {}, + Version: {}, + }, }, }, - StartDBCluster: { + GetLoggerDefinition: { + http: { + method: "GET", + requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}", + responseCode: 200, + }, input: { type: "structure", - required: ["DBClusterIdentifier"], - members: { DBClusterIdentifier: {} }, + members: { + LoggerDefinitionId: { + location: "uri", + locationName: "LoggerDefinitionId", + }, + }, + required: ["LoggerDefinitionId"], }, output: { - resultWrapper: "StartDBClusterResult", type: "structure", - members: { DBCluster: { shape: "Sq" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + tags: { shape: "Sb" }, + }, }, }, - StopDBCluster: { + GetLoggerDefinitionVersion: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/loggers/{LoggerDefinitionId}/versions/{LoggerDefinitionVersionId}", + responseCode: 200, + }, input: { type: "structure", - required: ["DBClusterIdentifier"], - members: { DBClusterIdentifier: {} }, + members: { + LoggerDefinitionId: { + location: "uri", + locationName: "LoggerDefinitionId", + }, + LoggerDefinitionVersionId: { + location: "uri", + locationName: "LoggerDefinitionVersionId", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + }, + required: ["LoggerDefinitionVersionId", "LoggerDefinitionId"], }, output: { - resultWrapper: "StopDBClusterResult", type: "structure", - members: { DBCluster: { shape: "Sq" } }, + members: { + Arn: {}, + CreationTimestamp: {}, + Definition: { shape: "S1o" }, + Id: {}, + Version: {}, + }, }, }, - }, - shapes: { - S3: { - type: "list", - member: { - locationName: "Tag", - type: "structure", - members: { Key: {}, Value: {} }, + GetResourceDefinition: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/resources/{ResourceDefinitionId}", + responseCode: 200, }, - }, - S7: { - type: "structure", - members: { - ResourceIdentifier: {}, - PendingMaintenanceActionDetails: { - type: "list", - member: { - locationName: "PendingMaintenanceAction", - type: "structure", - members: { - Action: {}, - AutoAppliedAfterDate: { type: "timestamp" }, - ForcedApplyDate: { type: "timestamp" }, - OptInStatus: {}, - CurrentApplyDate: { type: "timestamp" }, - Description: {}, - }, + input: { + type: "structure", + members: { + ResourceDefinitionId: { + location: "uri", + locationName: "ResourceDefinitionId", }, }, + required: ["ResourceDefinitionId"], }, - wrapper: true, - }, - Sd: { - type: "structure", - members: { - DBClusterParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - DBClusterParameterGroupArn: {}, + output: { + type: "structure", + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + tags: { shape: "Sb" }, + }, }, - wrapper: true, }, - Sh: { - type: "structure", - members: { - AvailabilityZones: { shape: "Si" }, - DBClusterSnapshotIdentifier: {}, - DBClusterIdentifier: {}, - SnapshotCreateTime: { type: "timestamp" }, - Engine: {}, - Status: {}, - Port: { type: "integer" }, - VpcId: {}, - ClusterCreateTime: { type: "timestamp" }, - MasterUsername: {}, - EngineVersion: {}, - SnapshotType: {}, - PercentProgress: { type: "integer" }, - StorageEncrypted: { type: "boolean" }, - KmsKeyId: {}, - DBClusterSnapshotArn: {}, - SourceDBClusterSnapshotArn: {}, + GetResourceDefinitionVersion: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/resources/{ResourceDefinitionId}/versions/{ResourceDefinitionVersionId}", + responseCode: 200, }, - wrapper: true, - }, - Si: { type: "list", member: { locationName: "AvailabilityZone" } }, - Sn: { type: "list", member: { locationName: "VpcSecurityGroupId" } }, - So: { type: "list", member: {} }, - Sq: { - type: "structure", - members: { - AvailabilityZones: { shape: "Si" }, - BackupRetentionPeriod: { type: "integer" }, - DBClusterIdentifier: {}, - DBClusterParameterGroup: {}, - DBSubnetGroup: {}, - Status: {}, - PercentProgress: {}, - EarliestRestorableTime: { type: "timestamp" }, - Endpoint: {}, - ReaderEndpoint: {}, - MultiAZ: { type: "boolean" }, - Engine: {}, - EngineVersion: {}, - LatestRestorableTime: { type: "timestamp" }, - Port: { type: "integer" }, - MasterUsername: {}, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - DBClusterMembers: { - type: "list", - member: { - locationName: "DBClusterMember", - type: "structure", - members: { - DBInstanceIdentifier: {}, - IsClusterWriter: { type: "boolean" }, - DBClusterParameterGroupStatus: {}, - PromotionTier: { type: "integer" }, - }, - wrapper: true, + input: { + type: "structure", + members: { + ResourceDefinitionId: { + location: "uri", + locationName: "ResourceDefinitionId", }, - }, - VpcSecurityGroups: { shape: "St" }, - HostedZoneId: {}, - StorageEncrypted: { type: "boolean" }, - KmsKeyId: {}, - DbClusterResourceId: {}, - DBClusterArn: {}, - AssociatedRoles: { - type: "list", - member: { - locationName: "DBClusterRole", - type: "structure", - members: { RoleArn: {}, Status: {} }, + ResourceDefinitionVersionId: { + location: "uri", + locationName: "ResourceDefinitionVersionId", }, }, - ClusterCreateTime: { type: "timestamp" }, - EnabledCloudwatchLogsExports: { shape: "So" }, - DeletionProtection: { type: "boolean" }, + required: ["ResourceDefinitionVersionId", "ResourceDefinitionId"], + }, + output: { + type: "structure", + members: { + Arn: {}, + CreationTimestamp: {}, + Definition: { shape: "S1y" }, + Id: {}, + Version: {}, + }, }, - wrapper: true, }, - St: { - type: "list", - member: { - locationName: "VpcSecurityGroupMembership", + GetServiceRoleForAccount: { + http: { + method: "GET", + requestUri: "/greengrass/servicerole", + responseCode: 200, + }, + input: { type: "structure", members: {} }, + output: { type: "structure", - members: { VpcSecurityGroupId: {}, Status: {} }, + members: { AssociatedAt: {}, RoleArn: {} }, }, }, - S13: { - type: "structure", - members: { - DBInstanceIdentifier: {}, - DBInstanceClass: {}, - Engine: {}, - DBInstanceStatus: {}, - Endpoint: { - type: "structure", - members: { - Address: {}, - Port: { type: "integer" }, - HostedZoneId: {}, - }, - }, - InstanceCreateTime: { type: "timestamp" }, - PreferredBackupWindow: {}, - BackupRetentionPeriod: { type: "integer" }, - VpcSecurityGroups: { shape: "St" }, - AvailabilityZone: {}, - DBSubnetGroup: { shape: "S15" }, - PreferredMaintenanceWindow: {}, - PendingModifiedValues: { - type: "structure", - members: { - DBInstanceClass: {}, - AllocatedStorage: { type: "integer" }, - MasterUserPassword: {}, - Port: { type: "integer" }, - BackupRetentionPeriod: { type: "integer" }, - MultiAZ: { type: "boolean" }, - EngineVersion: {}, - LicenseModel: {}, - Iops: { type: "integer" }, - DBInstanceIdentifier: {}, - StorageType: {}, - CACertificateIdentifier: {}, - DBSubnetGroupName: {}, - PendingCloudwatchLogsExports: { - type: "structure", - members: { - LogTypesToEnable: { shape: "So" }, - LogTypesToDisable: { shape: "So" }, - }, - }, + GetSubscriptionDefinition: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", + responseCode: 200, + }, + input: { + type: "structure", + members: { + SubscriptionDefinitionId: { + location: "uri", + locationName: "SubscriptionDefinitionId", }, }, - LatestRestorableTime: { type: "timestamp" }, - EngineVersion: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - PubliclyAccessible: { type: "boolean" }, - StatusInfos: { - type: "list", - member: { - locationName: "DBInstanceStatusInfo", - type: "structure", - members: { - StatusType: {}, - Normal: { type: "boolean" }, - Status: {}, - Message: {}, - }, - }, + required: ["SubscriptionDefinitionId"], + }, + output: { + type: "structure", + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + tags: { shape: "Sb" }, }, - DBClusterIdentifier: {}, - StorageEncrypted: { type: "boolean" }, - KmsKeyId: {}, - DbiResourceId: {}, - CACertificateIdentifier: {}, - PromotionTier: { type: "integer" }, - DBInstanceArn: {}, - EnabledCloudwatchLogsExports: { shape: "So" }, }, - wrapper: true, }, - S15: { - type: "structure", - members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - VpcId: {}, - SubnetGroupStatus: {}, - Subnets: { - type: "list", - member: { - locationName: "Subnet", - type: "structure", - members: { - SubnetIdentifier: {}, - SubnetAvailabilityZone: { shape: "S18" }, - SubnetStatus: {}, - }, + GetSubscriptionDefinitionVersion: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions/{SubscriptionDefinitionVersionId}", + responseCode: 200, + }, + input: { + type: "structure", + members: { + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + SubscriptionDefinitionId: { + location: "uri", + locationName: "SubscriptionDefinitionId", + }, + SubscriptionDefinitionVersionId: { + location: "uri", + locationName: "SubscriptionDefinitionVersionId", }, }, - DBSubnetGroupArn: {}, + required: [ + "SubscriptionDefinitionId", + "SubscriptionDefinitionVersionId", + ], }, - wrapper: true, - }, - S18: { type: "structure", members: { Name: {} }, wrapper: true }, - S1e: { type: "list", member: { locationName: "SubnetIdentifier" } }, - S1p: { - type: "list", - member: { - locationName: "Filter", + output: { type: "structure", - required: ["Name", "Values"], members: { - Name: {}, - Values: { type: "list", member: { locationName: "Value" } }, + Arn: {}, + CreationTimestamp: {}, + Definition: { shape: "S2m" }, + Id: {}, + NextToken: {}, + Version: {}, }, }, }, - S20: { - type: "list", - member: { - locationName: "Parameter", + GetThingRuntimeConfiguration: { + http: { + method: "GET", + requestUri: "/greengrass/things/{ThingName}/runtimeconfig", + responseCode: 200, + }, + input: { type: "structure", members: { - ParameterName: {}, - ParameterValue: {}, - Description: {}, - Source: {}, - ApplyType: {}, - DataType: {}, - AllowedValues: {}, - IsModifiable: { type: "boolean" }, - MinimumEngineVersion: {}, - ApplyMethod: {}, + ThingName: { location: "uri", locationName: "ThingName" }, }, + required: ["ThingName"], }, - }, - S25: { - type: "structure", - members: { - DBClusterSnapshotIdentifier: {}, - DBClusterSnapshotAttributes: { - type: "list", - member: { - locationName: "DBClusterSnapshotAttribute", + output: { + type: "structure", + members: { + RuntimeConfiguration: { type: "structure", members: { - AttributeName: {}, - AttributeValues: { shape: "S28" }, + TelemetryConfiguration: { + type: "structure", + members: { ConfigurationSyncStatus: {}, Telemetry: {} }, + required: ["Telemetry"], + }, }, }, }, }, - wrapper: true, - }, - S28: { type: "list", member: { locationName: "AttributeValue" } }, - S2y: { type: "list", member: { locationName: "EventCategory" } }, - S3k: { - type: "structure", - members: { DBClusterParameterGroupName: {} }, - }, - }, - }; - - /***/ - }, - - /***/ 2467: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["accessanalyzer"] = {}; - AWS.AccessAnalyzer = Service.defineService("accessanalyzer", [ - "2019-11-01", - ]); - Object.defineProperty( - apiLoader.services["accessanalyzer"], - "2019-11-01", - { - get: function get() { - var model = __webpack_require__(4575); - model.paginators = __webpack_require__(7291).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.AccessAnalyzer; - - /***/ - }, - - /***/ 2474: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, - - /***/ 2476: /***/ function (__unusedmodule, exports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - "use strict"; - var builder, - defaults, - escapeCDATA, - requiresCDATA, - wrapCDATA, - hasProp = {}.hasOwnProperty; - - builder = __webpack_require__(312); - - defaults = __webpack_require__(1514).defaults; - - requiresCDATA = function (entry) { - return ( - typeof entry === "string" && - (entry.indexOf("&") >= 0 || - entry.indexOf(">") >= 0 || - entry.indexOf("<") >= 0) - ); - }; - - wrapCDATA = function (entry) { - return ""; - }; - - escapeCDATA = function (entry) { - return entry.replace("]]>", "]]]]>"); - }; - - exports.Builder = (function () { - function Builder(opts) { - var key, ref, value; - this.options = {}; - ref = defaults["0.2"]; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this.options[key] = value; - } - for (key in opts) { - if (!hasProp.call(opts, key)) continue; - value = opts[key]; - this.options[key] = value; - } - } - - Builder.prototype.buildObject = function (rootObj) { - var attrkey, charkey, render, rootElement, rootName; - attrkey = this.options.attrkey; - charkey = this.options.charkey; - if ( - Object.keys(rootObj).length === 1 && - this.options.rootName === defaults["0.2"].rootName - ) { - rootName = Object.keys(rootObj)[0]; - rootObj = rootObj[rootName]; - } else { - rootName = this.options.rootName; - } - render = (function (_this) { - return function (element, obj) { - var attr, child, entry, index, key, value; - if (typeof obj !== "object") { - if (_this.options.cdata && requiresCDATA(obj)) { - element.raw(wrapCDATA(obj)); - } else { - element.txt(obj); - } - } else if (Array.isArray(obj)) { - for (index in obj) { - if (!hasProp.call(obj, index)) continue; - child = obj[index]; - for (key in child) { - entry = child[key]; - element = render(element.ele(key), entry).up(); - } - } - } else { - for (key in obj) { - if (!hasProp.call(obj, key)) continue; - child = obj[key]; - if (key === attrkey) { - if (typeof child === "object") { - for (attr in child) { - value = child[attr]; - element = element.att(attr, value); - } - } - } else if (key === charkey) { - if (_this.options.cdata && requiresCDATA(child)) { - element = element.raw(wrapCDATA(child)); - } else { - element = element.txt(child); - } - } else if (Array.isArray(child)) { - for (index in child) { - if (!hasProp.call(child, index)) continue; - entry = child[index]; - if (typeof entry === "string") { - if (_this.options.cdata && requiresCDATA(entry)) { - element = element - .ele(key) - .raw(wrapCDATA(entry)) - .up(); - } else { - element = element.ele(key, entry).up(); - } - } else { - element = render(element.ele(key), entry).up(); - } - } - } else if (typeof child === "object") { - element = render(element.ele(key), child).up(); - } else { - if ( - typeof child === "string" && - _this.options.cdata && - requiresCDATA(child) - ) { - element = element.ele(key).raw(wrapCDATA(child)).up(); - } else { - if (child == null) { - child = ""; - } - element = element.ele(key, child.toString()).up(); - } - } - } - } - return element; - }; - })(this); - rootElement = builder.create( - rootName, - this.options.xmldec, - this.options.doctype, - { - headless: this.options.headless, - allowSurrogateChars: this.options.allowSurrogateChars, - } - ); - return render(rootElement, rootObj).end(this.options.renderOpts); - }; - - return Builder; - })(); - }.call(this)); - - /***/ - }, - - /***/ 2481: /***/ function (module) { - module.exports = { - pagination: { - ListDetectors: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "DetectorIds", - }, - ListFilters: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "FilterNames", - }, - ListFindings: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "FindingIds", - }, - ListIPSets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "IpSetIds", - }, - ListInvitations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Invitations", - }, - ListMembers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Members", - }, - ListPublishingDestinations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", }, - ListThreatIntelSets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "ThreatIntelSetIds", - }, - }, - }; - - /***/ - }, - - /***/ 2490: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-02-27", - endpointPrefix: "pi", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "AWS PI", - serviceFullName: "AWS Performance Insights", - serviceId: "PI", - signatureVersion: "v4", - signingName: "pi", - targetPrefix: "PerformanceInsightsv20180227", - uid: "pi-2018-02-27", - }, - operations: { - DescribeDimensionKeys: { + ListBulkDeploymentDetailedReports: { + http: { + method: "GET", + requestUri: + "/greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports", + responseCode: 200, + }, input: { type: "structure", - required: [ - "ServiceType", - "Identifier", - "StartTime", - "EndTime", - "Metric", - "GroupBy", - ], members: { - ServiceType: {}, - Identifier: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Metric: {}, - PeriodInSeconds: { type: "integer" }, - GroupBy: { shape: "S6" }, - PartitionBy: { shape: "S6" }, - Filter: { shape: "S9" }, - MaxResults: { type: "integer" }, - NextToken: {}, + BulkDeploymentId: { + location: "uri", + locationName: "BulkDeploymentId", + }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, + required: ["BulkDeploymentId"], }, output: { type: "structure", members: { - AlignedStartTime: { type: "timestamp" }, - AlignedEndTime: { type: "timestamp" }, - PartitionKeys: { - type: "list", - member: { - type: "structure", - required: ["Dimensions"], - members: { Dimensions: { shape: "Se" } }, - }, - }, - Keys: { + Deployments: { type: "list", member: { type: "structure", members: { - Dimensions: { shape: "Se" }, - Total: { type: "double" }, - Partitions: { type: "list", member: { type: "double" } }, + CreatedAt: {}, + DeploymentArn: {}, + DeploymentId: {}, + DeploymentStatus: {}, + DeploymentType: {}, + ErrorDetails: { shape: "S3i" }, + ErrorMessage: {}, + GroupArn: {}, }, }, }, @@ -71756,65 +78579,36 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - GetResourceMetrics: { + ListBulkDeployments: { + http: { + method: "GET", + requestUri: "/greengrass/bulk/deployments", + responseCode: 200, + }, input: { type: "structure", - required: [ - "ServiceType", - "Identifier", - "MetricQueries", - "StartTime", - "EndTime", - ], members: { - ServiceType: {}, - Identifier: {}, - MetricQueries: { - type: "list", - member: { - type: "structure", - required: ["Metric"], - members: { - Metric: {}, - GroupBy: { shape: "S6" }, - Filter: { shape: "S9" }, - }, - }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - PeriodInSeconds: { type: "integer" }, - MaxResults: { type: "integer" }, - NextToken: {}, }, }, output: { type: "structure", members: { - AlignedStartTime: { type: "timestamp" }, - AlignedEndTime: { type: "timestamp" }, - Identifier: {}, - MetricList: { + BulkDeployments: { type: "list", member: { type: "structure", members: { - Key: { - type: "structure", - required: ["Metric"], - members: { Metric: {}, Dimensions: { shape: "Se" } }, - }, - DataPoints: { - type: "list", - member: { - type: "structure", - required: ["Timestamp", "Value"], - members: { - Timestamp: { type: "timestamp" }, - Value: { type: "double" }, - }, - }, - }, + BulkDeploymentArn: {}, + BulkDeploymentId: {}, + CreatedAt: {}, }, }, }, @@ -71822,1837 +78616,2078 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - }, - shapes: { - S6: { - type: "structure", - required: ["Group"], - members: { - Group: {}, - Dimensions: { type: "list", member: {} }, - Limit: { type: "integer" }, + ListConnectorDefinitionVersions: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/connectors/{ConnectorDefinitionId}/versions", + responseCode: 200, + }, + input: { + type: "structure", + members: { + ConnectorDefinitionId: { + location: "uri", + locationName: "ConnectorDefinitionId", + }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + }, + required: ["ConnectorDefinitionId"], + }, + output: { + type: "structure", + members: { NextToken: {}, Versions: { shape: "S58" } }, }, }, - S9: { type: "map", key: {}, value: {} }, - Se: { type: "map", key: {}, value: {} }, - }, - }; - - /***/ - }, - - /***/ 2491: /***/ function (module, __unusedexports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLNode, - XMLProcessingInstruction, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; + ListConnectorDefinitions: { + http: { + method: "GET", + requestUri: "/greengrass/definition/connectors", + responseCode: 200, + }, + input: { + type: "structure", + members: { + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + }, + }, + output: { + type: "structure", + members: { Definitions: { shape: "S5c" }, NextToken: {} }, + }, }, - hasProp = {}.hasOwnProperty; - - XMLNode = __webpack_require__(6855); - - module.exports = XMLProcessingInstruction = (function (superClass) { - extend(XMLProcessingInstruction, superClass); - - function XMLProcessingInstruction(parent, target, value) { - XMLProcessingInstruction.__super__.constructor.call(this, parent); - if (target == null) { - throw new Error("Missing instruction target"); - } - this.target = this.stringify.insTarget(target); - if (value) { - this.value = this.stringify.insValue(value); - } - } - - XMLProcessingInstruction.prototype.clone = function () { - return Object.create(this); - }; - - XMLProcessingInstruction.prototype.toString = function (options) { - return this.options.writer.set(options).processingInstruction(this); - }; - - return XMLProcessingInstruction; - })(XMLNode); - }.call(this)); - - /***/ - }, - - /***/ 2492: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - var XmlNode = __webpack_require__(404).XmlNode; - var XmlText = __webpack_require__(4948).XmlText; - - function XmlBuilder() {} - - XmlBuilder.prototype.toXML = function ( - params, - shape, - rootElement, - noEmpty - ) { - var xml = new XmlNode(rootElement); - applyNamespaces(xml, shape, true); - serialize(xml, params, shape); - return xml.children.length > 0 || noEmpty ? xml.toString() : ""; - }; - - function serialize(xml, value, shape) { - switch (shape.type) { - case "structure": - return serializeStructure(xml, value, shape); - case "map": - return serializeMap(xml, value, shape); - case "list": - return serializeList(xml, value, shape); - default: - return serializeScalar(xml, value, shape); - } - } - - function serializeStructure(xml, params, shape) { - util.arrayEach(shape.memberNames, function (memberName) { - var memberShape = shape.members[memberName]; - if (memberShape.location !== "body") return; - - var value = params[memberName]; - var name = memberShape.name; - if (value !== undefined && value !== null) { - if (memberShape.isXmlAttribute) { - xml.addAttribute(name, value); - } else if (memberShape.flattened) { - serialize(xml, value, memberShape); - } else { - var element = new XmlNode(name); - xml.addChildNode(element); - applyNamespaces(element, memberShape); - serialize(element, value, memberShape); - } - } - }); - } - - function serializeMap(xml, map, shape) { - var xmlKey = shape.key.name || "key"; - var xmlValue = shape.value.name || "value"; - - util.each(map, function (key, value) { - var entry = new XmlNode(shape.flattened ? shape.name : "entry"); - xml.addChildNode(entry); - - var entryKey = new XmlNode(xmlKey); - var entryValue = new XmlNode(xmlValue); - entry.addChildNode(entryKey); - entry.addChildNode(entryValue); - - serialize(entryKey, key, shape.key); - serialize(entryValue, value, shape.value); - }); - } - - function serializeList(xml, list, shape) { - if (shape.flattened) { - util.arrayEach(list, function (value) { - var name = shape.member.name || shape.name; - var element = new XmlNode(name); - xml.addChildNode(element); - serialize(element, value, shape.member); - }); - } else { - util.arrayEach(list, function (value) { - var name = shape.member.name || "member"; - var element = new XmlNode(name); - xml.addChildNode(element); - serialize(element, value, shape.member); - }); - } - } - - function serializeScalar(xml, value, shape) { - xml.addChildNode(new XmlText(shape.toWireFormat(value))); - } - - function applyNamespaces(xml, shape, isRoot) { - var uri, - prefix = "xmlns"; - if (shape.xmlNamespaceUri) { - uri = shape.xmlNamespaceUri; - if (shape.xmlNamespacePrefix) - prefix += ":" + shape.xmlNamespacePrefix; - } else if (isRoot && shape.api.xmlNamespaceUri) { - uri = shape.api.xmlNamespaceUri; - } - - if (uri) xml.addAttribute(prefix, uri); - } - - /** - * @api private - */ - module.exports = XmlBuilder; - - /***/ - }, - - /***/ 2510: /***/ function (module) { - module.exports = addHook; - - function addHook(state, kind, name, hook) { - var orig = hook; - if (!state.registry[name]) { - state.registry[name] = []; - } - - if (kind === "before") { - hook = function (method, options) { - return Promise.resolve() - .then(orig.bind(null, options)) - .then(method.bind(null, options)); - }; - } - - if (kind === "after") { - hook = function (method, options) { - var result; - return Promise.resolve() - .then(method.bind(null, options)) - .then(function (result_) { - result = result_; - return orig(result, options); - }) - .then(function () { - return result; - }); - }; - } - - if (kind === "error") { - hook = function (method, options) { - return Promise.resolve() - .then(method.bind(null, options)) - .catch(function (error) { - return orig(error, options); - }); - }; - } - - state.registry[name].push({ - hook: hook, - orig: orig, - }); - } - - /***/ - }, - - /***/ 2522: /***/ function (module) { - module.exports = { - pagination: { - GetOfferingStatus: { - input_token: "nextToken", - output_token: "nextToken", - result_key: ["current", "nextPeriod"], - }, - ListArtifacts: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "artifacts", - }, - ListDevicePools: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "devicePools", - }, - ListDevices: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "devices", - }, - ListJobs: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "jobs", - }, - ListOfferingTransactions: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "offeringTransactions", - }, - ListOfferings: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "offerings", - }, - ListProjects: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "projects", - }, - ListRuns: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "runs", - }, - ListSamples: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "samples", - }, - ListSuites: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "suites", - }, - ListTestGridProjects: { - input_token: "nextToken", - limit_key: "maxResult", - output_token: "nextToken", - }, - ListTestGridSessionActions: { - input_token: "nextToken", - limit_key: "maxResult", - output_token: "nextToken", - }, - ListTestGridSessionArtifacts: { - input_token: "nextToken", - limit_key: "maxResult", - output_token: "nextToken", - }, - ListTestGridSessions: { - input_token: "nextToken", - limit_key: "maxResult", - output_token: "nextToken", - }, - ListTests: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "tests", - }, - ListUniqueProblems: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "uniqueProblems", - }, - ListUploads: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "uploads", - }, - }, - }; - - /***/ - }, - - /***/ 2528: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-01-06", - endpointPrefix: "cur", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Cost and Usage Report Service", - serviceId: "Cost and Usage Report Service", - signatureVersion: "v4", - signingName: "cur", - targetPrefix: "AWSOrigamiServiceGatewayService", - uid: "cur-2017-01-06", - }, - operations: { - DeleteReportDefinition: { - input: { type: "structure", members: { ReportName: {} } }, - output: { type: "structure", members: { ResponseMessage: {} } }, - }, - DescribeReportDefinitions: { + ListCoreDefinitionVersions: { + http: { + method: "GET", + requestUri: + "/greengrass/definition/cores/{CoreDefinitionId}/versions", + responseCode: 200, + }, input: { type: "structure", - members: { MaxResults: { type: "integer" }, NextToken: {} }, + members: { + CoreDefinitionId: { + location: "uri", + locationName: "CoreDefinitionId", + }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + }, + required: ["CoreDefinitionId"], }, output: { type: "structure", - members: { - ReportDefinitions: { type: "list", member: { shape: "Sa" } }, - NextToken: {}, - }, + members: { NextToken: {}, Versions: { shape: "S58" } }, }, }, - ModifyReportDefinition: { + ListCoreDefinitions: { + http: { + method: "GET", + requestUri: "/greengrass/definition/cores", + responseCode: 200, + }, input: { type: "structure", - required: ["ReportName", "ReportDefinition"], - members: { ReportName: {}, ReportDefinition: { shape: "Sa" } }, + members: { + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + }, }, - output: { type: "structure", members: {} }, - }, - PutReportDefinition: { - input: { + output: { type: "structure", - required: ["ReportDefinition"], - members: { ReportDefinition: { shape: "Sa" } }, + members: { Definitions: { shape: "S5c" }, NextToken: {} }, }, - output: { type: "structure", members: {} }, }, - }, - shapes: { - Sa: { - type: "structure", - required: [ - "ReportName", - "TimeUnit", - "Format", - "Compression", - "AdditionalSchemaElements", - "S3Bucket", - "S3Prefix", - "S3Region", - ], - members: { - ReportName: {}, - TimeUnit: {}, - Format: {}, - Compression: {}, - AdditionalSchemaElements: { type: "list", member: {} }, - S3Bucket: {}, - S3Prefix: {}, - S3Region: {}, - AdditionalArtifacts: { type: "list", member: {} }, - RefreshClosedReports: { type: "boolean" }, - ReportVersioning: {}, + ListDeployments: { + http: { + method: "GET", + requestUri: "/greengrass/groups/{GroupId}/deployments", + responseCode: 200, }, - }, - }, - }; - - /***/ - }, - - /***/ 2533: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2015-07-09", - endpointPrefix: "apigateway", - protocol: "rest-json", - serviceFullName: "Amazon API Gateway", - serviceId: "API Gateway", - signatureVersion: "v4", - uid: "apigateway-2015-07-09", - }, - operations: { - CreateApiKey: { - http: { requestUri: "/apikeys", responseCode: 201 }, input: { type: "structure", members: { - name: {}, - description: {}, - enabled: { type: "boolean" }, - generateDistinctId: { type: "boolean" }, - value: {}, - stageKeys: { + GroupId: { location: "uri", locationName: "GroupId" }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + }, + required: ["GroupId"], + }, + output: { + type: "structure", + members: { + Deployments: { type: "list", member: { type: "structure", - members: { restApiId: {}, stageName: {} }, + members: { + CreatedAt: {}, + DeploymentArn: {}, + DeploymentId: {}, + DeploymentType: {}, + GroupArn: {}, + }, }, }, - customerId: {}, - tags: { shape: "S6" }, + NextToken: {}, }, }, - output: { shape: "S7" }, }, - CreateAuthorizer: { + ListDeviceDefinitionVersions: { http: { - requestUri: "/restapis/{restapi_id}/authorizers", - responseCode: 201, + method: "GET", + requestUri: + "/greengrass/definition/devices/{DeviceDefinitionId}/versions", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "name", "type"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - name: {}, - type: {}, - providerARNs: { shape: "Sc" }, - authType: {}, - authorizerUri: {}, - authorizerCredentials: {}, - identitySource: {}, - identityValidationExpression: {}, - authorizerResultTtlInSeconds: { type: "integer" }, + DeviceDefinitionId: { + location: "uri", + locationName: "DeviceDefinitionId", + }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, + required: ["DeviceDefinitionId"], }, - output: { shape: "Sf" }, - }, - CreateBasePathMapping: { - http: { - requestUri: "/domainnames/{domain_name}/basepathmappings", - responseCode: 201, - }, - input: { + output: { type: "structure", - required: ["domainName", "restApiId"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - basePath: {}, - restApiId: {}, - stage: {}, - }, + members: { NextToken: {}, Versions: { shape: "S58" } }, }, - output: { shape: "Sh" }, }, - CreateDeployment: { + ListDeviceDefinitions: { http: { - requestUri: "/restapis/{restapi_id}/deployments", - responseCode: 201, + method: "GET", + requestUri: "/greengrass/definition/devices", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: {}, - stageDescription: {}, - description: {}, - cacheClusterEnabled: { type: "boolean" }, - cacheClusterSize: {}, - variables: { shape: "S6" }, - canarySettings: { - type: "structure", - members: { - percentTraffic: { type: "double" }, - stageVariableOverrides: { shape: "S6" }, - useStageCache: { type: "boolean" }, - }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", }, - tracingEnabled: { type: "boolean" }, }, }, - output: { shape: "Sn" }, + output: { + type: "structure", + members: { Definitions: { shape: "S5c" }, NextToken: {} }, + }, }, - CreateDocumentationPart: { + ListFunctionDefinitionVersions: { http: { - requestUri: "/restapis/{restapi_id}/documentation/parts", - responseCode: 201, + method: "GET", + requestUri: + "/greengrass/definition/functions/{FunctionDefinitionId}/versions", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "location", "properties"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - location: { shape: "Ss" }, - properties: {}, + FunctionDefinitionId: { + location: "uri", + locationName: "FunctionDefinitionId", + }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, + required: ["FunctionDefinitionId"], + }, + output: { + type: "structure", + members: { NextToken: {}, Versions: { shape: "S58" } }, }, - output: { shape: "Sv" }, }, - CreateDocumentationVersion: { + ListFunctionDefinitions: { http: { - requestUri: "/restapis/{restapi_id}/documentation/versions", - responseCode: 201, + method: "GET", + requestUri: "/greengrass/definition/functions", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "documentationVersion"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationVersion: {}, - stageName: {}, - description: {}, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, }, - output: { shape: "Sx" }, - }, - CreateDomainName: { - http: { requestUri: "/domainnames", responseCode: 201 }, - input: { + output: { type: "structure", - required: ["domainName"], - members: { - domainName: {}, - certificateName: {}, - certificateBody: {}, - certificatePrivateKey: {}, - certificateChain: {}, - certificateArn: {}, - regionalCertificateName: {}, - regionalCertificateArn: {}, - endpointConfiguration: { shape: "Sz" }, - tags: { shape: "S6" }, - securityPolicy: {}, - }, + members: { Definitions: { shape: "S5c" }, NextToken: {} }, }, - output: { shape: "S13" }, }, - CreateModel: { + ListGroupCertificateAuthorities: { http: { - requestUri: "/restapis/{restapi_id}/models", - responseCode: 201, + method: "GET", + requestUri: "/greengrass/groups/{GroupId}/certificateauthorities", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "name", "contentType"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - name: {}, - description: {}, - schema: {}, - contentType: {}, + GroupId: { location: "uri", locationName: "GroupId" }, }, + required: ["GroupId"], }, - output: { shape: "S16" }, - }, - CreateRequestValidator: { - http: { - requestUri: "/restapis/{restapi_id}/requestvalidators", - responseCode: 201, - }, - input: { + output: { type: "structure", - required: ["restApiId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - name: {}, - validateRequestBody: { type: "boolean" }, - validateRequestParameters: { type: "boolean" }, + GroupCertificateAuthorities: { + type: "list", + member: { + type: "structure", + members: { + GroupCertificateAuthorityArn: {}, + GroupCertificateAuthorityId: {}, + }, + }, + }, }, }, - output: { shape: "S18" }, }, - CreateResource: { + ListGroupVersions: { http: { - requestUri: "/restapis/{restapi_id}/resources/{parent_id}", - responseCode: 201, + method: "GET", + requestUri: "/greengrass/groups/{GroupId}/versions", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "parentId", "pathPart"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - parentId: { location: "uri", locationName: "parent_id" }, - pathPart: {}, + GroupId: { location: "uri", locationName: "GroupId" }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, + required: ["GroupId"], }, - output: { shape: "S1a" }, - }, - CreateRestApi: { - http: { requestUri: "/restapis", responseCode: 201 }, - input: { + output: { type: "structure", - required: ["name"], - members: { - name: {}, - description: {}, - version: {}, - cloneFrom: {}, - binaryMediaTypes: { shape: "S9" }, - minimumCompressionSize: { type: "integer" }, - apiKeySource: {}, - endpointConfiguration: { shape: "Sz" }, - policy: {}, - tags: { shape: "S6" }, - }, + members: { NextToken: {}, Versions: { shape: "S58" } }, }, - output: { shape: "S1q" }, }, - CreateStage: { + ListGroups: { http: { - requestUri: "/restapis/{restapi_id}/stages", - responseCode: 201, + method: "GET", + requestUri: "/greengrass/groups", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "stageName", "deploymentId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: {}, - deploymentId: {}, - description: {}, - cacheClusterEnabled: { type: "boolean" }, - cacheClusterSize: {}, - variables: { shape: "S6" }, - documentationVersion: {}, - canarySettings: { shape: "S1s" }, - tracingEnabled: { type: "boolean" }, - tags: { shape: "S6" }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, }, - output: { shape: "S1t" }, - }, - CreateUsagePlan: { - http: { requestUri: "/usageplans", responseCode: 201 }, - input: { + output: { type: "structure", - required: ["name"], members: { - name: {}, - description: {}, - apiStages: { shape: "S20" }, - throttle: { shape: "S23" }, - quota: { shape: "S24" }, - tags: { shape: "S6" }, + Groups: { + type: "list", + member: { + type: "structure", + members: { + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + }, + }, + }, + NextToken: {}, }, }, - output: { shape: "S26" }, }, - CreateUsagePlanKey: { + ListLoggerDefinitionVersions: { http: { - requestUri: "/usageplans/{usageplanId}/keys", - responseCode: 201, + method: "GET", + requestUri: + "/greengrass/definition/loggers/{LoggerDefinitionId}/versions", + responseCode: 200, }, input: { type: "structure", - required: ["usagePlanId", "keyId", "keyType"], members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - keyId: {}, - keyType: {}, + LoggerDefinitionId: { + location: "uri", + locationName: "LoggerDefinitionId", + }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, + required: ["LoggerDefinitionId"], }, - output: { shape: "S28" }, - }, - CreateVpcLink: { - http: { requestUri: "/vpclinks", responseCode: 202 }, - input: { + output: { type: "structure", - required: ["name", "targetArns"], - members: { - name: {}, - description: {}, - targetArns: { shape: "S9" }, - tags: { shape: "S6" }, - }, + members: { NextToken: {}, Versions: { shape: "S58" } }, }, - output: { shape: "S2a" }, }, - DeleteApiKey: { + ListLoggerDefinitions: { http: { - method: "DELETE", - requestUri: "/apikeys/{api_Key}", - responseCode: 202, + method: "GET", + requestUri: "/greengrass/definition/loggers", + responseCode: 200, }, input: { type: "structure", - required: ["apiKey"], - members: { apiKey: { location: "uri", locationName: "api_Key" } }, + members: { + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + }, + }, + output: { + type: "structure", + members: { Definitions: { shape: "S5c" }, NextToken: {} }, }, }, - DeleteAuthorizer: { + ListResourceDefinitionVersions: { http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", - responseCode: 202, + method: "GET", + requestUri: + "/greengrass/definition/resources/{ResourceDefinitionId}/versions", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "authorizerId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - authorizerId: { + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + ResourceDefinitionId: { location: "uri", - locationName: "authorizer_id", + locationName: "ResourceDefinitionId", }, }, + required: ["ResourceDefinitionId"], + }, + output: { + type: "structure", + members: { NextToken: {}, Versions: { shape: "S58" } }, }, }, - DeleteBasePathMapping: { + ListResourceDefinitions: { http: { - method: "DELETE", - requestUri: - "/domainnames/{domain_name}/basepathmappings/{base_path}", - responseCode: 202, + method: "GET", + requestUri: "/greengrass/definition/resources", + responseCode: 200, }, input: { type: "structure", - required: ["domainName", "basePath"], members: { - domainName: { location: "uri", locationName: "domain_name" }, - basePath: { location: "uri", locationName: "base_path" }, + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, }, }, + output: { + type: "structure", + members: { Definitions: { shape: "S5c" }, NextToken: {} }, + }, }, - DeleteClientCertificate: { + ListSubscriptionDefinitionVersions: { http: { - method: "DELETE", - requestUri: "/clientcertificates/{clientcertificate_id}", - responseCode: 202, + method: "GET", + requestUri: + "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", + responseCode: 200, }, input: { type: "structure", - required: ["clientCertificateId"], members: { - clientCertificateId: { + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + SubscriptionDefinitionId: { location: "uri", - locationName: "clientcertificate_id", + locationName: "SubscriptionDefinitionId", }, }, + required: ["SubscriptionDefinitionId"], + }, + output: { + type: "structure", + members: { NextToken: {}, Versions: { shape: "S58" } }, }, }, - DeleteDeployment: { + ListSubscriptionDefinitions: { http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}", - responseCode: 202, + method: "GET", + requestUri: "/greengrass/definition/subscriptions", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "deploymentId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - deploymentId: { - location: "uri", - locationName: "deployment_id", + MaxResults: { + location: "querystring", + locationName: "MaxResults", + }, + NextToken: { + location: "querystring", + locationName: "NextToken", }, }, }, + output: { + type: "structure", + members: { Definitions: { shape: "S5c" }, NextToken: {} }, + }, }, - DeleteDocumentationPart: { + ListTagsForResource: { http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/documentation/parts/{part_id}", - responseCode: 202, + method: "GET", + requestUri: "/tags/{resource-arn}", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "documentationPartId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationPartId: { - location: "uri", - locationName: "part_id", - }, + ResourceArn: { location: "uri", locationName: "resource-arn" }, }, + required: ["ResourceArn"], }, + output: { type: "structure", members: { tags: { shape: "Sb" } } }, }, - DeleteDocumentationVersion: { + ResetDeployments: { http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/documentation/versions/{doc_version}", - responseCode: 202, + requestUri: "/greengrass/groups/{GroupId}/deployments/$reset", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "documentationVersion"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationVersion: { - location: "uri", - locationName: "doc_version", + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", }, + Force: { type: "boolean" }, + GroupId: { location: "uri", locationName: "GroupId" }, }, + required: ["GroupId"], + }, + output: { + type: "structure", + members: { DeploymentArn: {}, DeploymentId: {} }, }, }, - DeleteDomainName: { + StartBulkDeployment: { http: { - method: "DELETE", - requestUri: "/domainnames/{domain_name}", - responseCode: 202, + requestUri: "/greengrass/bulk/deployments", + responseCode: 200, }, input: { type: "structure", - required: ["domainName"], members: { - domainName: { location: "uri", locationName: "domain_name" }, + AmznClientToken: { + location: "header", + locationName: "X-Amzn-Client-Token", + }, + ExecutionRoleArn: {}, + InputFileUri: {}, + tags: { shape: "Sb" }, }, + required: ["ExecutionRoleArn", "InputFileUri"], + }, + output: { + type: "structure", + members: { BulkDeploymentArn: {}, BulkDeploymentId: {} }, }, }, - DeleteGatewayResponse: { + StopBulkDeployment: { http: { - method: "DELETE", + method: "PUT", requestUri: - "/restapis/{restapi_id}/gatewayresponses/{response_type}", - responseCode: 202, + "/greengrass/bulk/deployments/{BulkDeploymentId}/$stop", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "responseType"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - responseType: { + BulkDeploymentId: { location: "uri", - locationName: "response_type", + locationName: "BulkDeploymentId", }, }, + required: ["BulkDeploymentId"], }, + output: { type: "structure", members: {} }, }, - DeleteIntegration: { - http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - responseCode: 204, - }, + TagResource: { + http: { requestUri: "/tags/{resource-arn}", responseCode: 204 }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, + ResourceArn: { location: "uri", locationName: "resource-arn" }, + tags: { shape: "Sb" }, }, + required: ["ResourceArn"], }, }, - DeleteIntegrationResponse: { + UntagResource: { http: { method: "DELETE", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", + requestUri: "/tags/{resource-arn}", responseCode: 204, }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, + ResourceArn: { location: "uri", locationName: "resource-arn" }, + TagKeys: { + shape: "S29", + location: "querystring", + locationName: "tagKeys", + }, }, + required: ["TagKeys", "ResourceArn"], }, }, - DeleteMethod: { + UpdateConnectivityInfo: { http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - responseCode: 204, + method: "PUT", + requestUri: "/greengrass/things/{ThingName}/connectivityInfo", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, + ConnectivityInfo: { shape: "S3m" }, + ThingName: { location: "uri", locationName: "ThingName" }, }, + required: ["ThingName"], + }, + output: { + type: "structure", + members: { Message: { locationName: "message" }, Version: {} }, }, }, - DeleteMethodResponse: { + UpdateConnectorDefinition: { http: { - method: "DELETE", + method: "PUT", requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - responseCode: 204, + "/greengrass/definition/connectors/{ConnectorDefinitionId}", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, + ConnectorDefinitionId: { + location: "uri", + locationName: "ConnectorDefinitionId", + }, + Name: {}, }, + required: ["ConnectorDefinitionId"], }, + output: { type: "structure", members: {} }, }, - DeleteModel: { + UpdateCoreDefinition: { http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}/models/{model_name}", - responseCode: 202, + method: "PUT", + requestUri: "/greengrass/definition/cores/{CoreDefinitionId}", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "modelName"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - modelName: { location: "uri", locationName: "model_name" }, + CoreDefinitionId: { + location: "uri", + locationName: "CoreDefinitionId", + }, + Name: {}, }, + required: ["CoreDefinitionId"], }, + output: { type: "structure", members: {} }, }, - DeleteRequestValidator: { + UpdateDeviceDefinition: { http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", - responseCode: 202, + method: "PUT", + requestUri: "/greengrass/definition/devices/{DeviceDefinitionId}", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "requestValidatorId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - requestValidatorId: { + DeviceDefinitionId: { location: "uri", - locationName: "requestvalidator_id", + locationName: "DeviceDefinitionId", }, + Name: {}, }, + required: ["DeviceDefinitionId"], }, + output: { type: "structure", members: {} }, }, - DeleteResource: { + UpdateFunctionDefinition: { http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}/resources/{resource_id}", - responseCode: 202, + method: "PUT", + requestUri: + "/greengrass/definition/functions/{FunctionDefinitionId}", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "resourceId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, + FunctionDefinitionId: { + location: "uri", + locationName: "FunctionDefinitionId", + }, + Name: {}, }, + required: ["FunctionDefinitionId"], }, + output: { type: "structure", members: {} }, }, - DeleteRestApi: { + UpdateGroup: { http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}", - responseCode: 202, + method: "PUT", + requestUri: "/greengrass/groups/{GroupId}", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, + GroupId: { location: "uri", locationName: "GroupId" }, + Name: {}, }, + required: ["GroupId"], }, + output: { type: "structure", members: {} }, }, - DeleteStage: { + UpdateGroupCertificateConfiguration: { http: { - method: "DELETE", - requestUri: "/restapis/{restapi_id}/stages/{stage_name}", - responseCode: 202, + method: "PUT", + requestUri: + "/greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "stageName"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, + CertificateExpiryInMilliseconds: {}, + GroupId: { location: "uri", locationName: "GroupId" }, }, + required: ["GroupId"], }, - }, - DeleteUsagePlan: { - http: { - method: "DELETE", - requestUri: "/usageplans/{usageplanId}", - responseCode: 202, - }, - input: { + output: { type: "structure", - required: ["usagePlanId"], members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, + CertificateAuthorityExpiryInMilliseconds: {}, + CertificateExpiryInMilliseconds: {}, + GroupId: {}, }, }, }, - DeleteUsagePlanKey: { + UpdateLoggerDefinition: { http: { - method: "DELETE", - requestUri: "/usageplans/{usageplanId}/keys/{keyId}", - responseCode: 202, + method: "PUT", + requestUri: "/greengrass/definition/loggers/{LoggerDefinitionId}", + responseCode: 200, }, input: { type: "structure", - required: ["usagePlanId", "keyId"], members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - keyId: { location: "uri", locationName: "keyId" }, + LoggerDefinitionId: { + location: "uri", + locationName: "LoggerDefinitionId", + }, + Name: {}, }, + required: ["LoggerDefinitionId"], }, + output: { type: "structure", members: {} }, }, - DeleteVpcLink: { + UpdateResourceDefinition: { http: { - method: "DELETE", - requestUri: "/vpclinks/{vpclink_id}", - responseCode: 202, + method: "PUT", + requestUri: + "/greengrass/definition/resources/{ResourceDefinitionId}", + responseCode: 200, }, input: { type: "structure", - required: ["vpcLinkId"], members: { - vpcLinkId: { location: "uri", locationName: "vpclink_id" }, + Name: {}, + ResourceDefinitionId: { + location: "uri", + locationName: "ResourceDefinitionId", + }, }, + required: ["ResourceDefinitionId"], }, + output: { type: "structure", members: {} }, }, - FlushStageAuthorizersCache: { + UpdateSubscriptionDefinition: { http: { - method: "DELETE", + method: "PUT", requestUri: - "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers", - responseCode: 202, + "/greengrass/definition/subscriptions/{SubscriptionDefinitionId}", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "stageName"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, + Name: {}, + SubscriptionDefinitionId: { + location: "uri", + locationName: "SubscriptionDefinitionId", + }, }, + required: ["SubscriptionDefinitionId"], }, + output: { type: "structure", members: {} }, }, - FlushStageCache: { + UpdateThingRuntimeConfiguration: { http: { - method: "DELETE", - requestUri: - "/restapis/{restapi_id}/stages/{stage_name}/cache/data", - responseCode: 202, + method: "PUT", + requestUri: "/greengrass/things/{ThingName}/runtimeconfig", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "stageName"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, + TelemetryConfiguration: { + type: "structure", + members: { Telemetry: {} }, + required: ["Telemetry"], + }, + ThingName: { location: "uri", locationName: "ThingName" }, }, + required: ["ThingName"], }, + output: { type: "structure", members: {} }, }, - GenerateClientCertificate: { - http: { requestUri: "/clientcertificates", responseCode: 201 }, - input: { - type: "structure", - members: { description: {}, tags: { shape: "S6" } }, - }, - output: { shape: "S31" }, - }, - GetAccount: { - http: { method: "GET", requestUri: "/account" }, - input: { type: "structure", members: {} }, - output: { shape: "S33" }, - }, - GetApiKey: { - http: { method: "GET", requestUri: "/apikeys/{api_Key}" }, - input: { + }, + shapes: { + S7: { type: "structure", members: { Connectors: { shape: "S8" } } }, + S8: { + type: "list", + member: { type: "structure", - required: ["apiKey"], members: { - apiKey: { location: "uri", locationName: "api_Key" }, - includeValue: { - location: "querystring", - locationName: "includeValue", - type: "boolean", - }, + ConnectorArn: {}, + Id: {}, + Parameters: { shape: "Sa" }, }, + required: ["ConnectorArn", "Id"], }, - output: { shape: "S7" }, }, - GetApiKeys: { - http: { method: "GET", requestUri: "/apikeys" }, - input: { + Sa: { type: "map", key: {}, value: {} }, + Sb: { type: "map", key: {}, value: {} }, + Sg: { type: "structure", members: { Cores: { shape: "Sh" } } }, + Sh: { + type: "list", + member: { type: "structure", members: { - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - nameQuery: { location: "querystring", locationName: "name" }, - customerId: { - location: "querystring", - locationName: "customerId", - }, - includeValues: { - location: "querystring", - locationName: "includeValues", - type: "boolean", - }, + CertificateArn: {}, + Id: {}, + SyncShadow: { type: "boolean" }, + ThingArn: {}, }, + required: ["ThingArn", "Id", "CertificateArn"], }, - output: { + }, + Sr: { type: "structure", members: { Devices: { shape: "Ss" } } }, + Ss: { + type: "list", + member: { type: "structure", members: { - warnings: { shape: "S9" }, - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S7" }, - }, + CertificateArn: {}, + Id: {}, + SyncShadow: { type: "boolean" }, + ThingArn: {}, }, + required: ["ThingArn", "Id", "CertificateArn"], }, }, - GetAuthorizer: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", + Sy: { + type: "structure", + members: { + DefaultConfig: { shape: "Sz" }, + Functions: { shape: "S14" }, }, - input: { + }, + Sz: { + type: "structure", + members: { + Execution: { + type: "structure", + members: { IsolationMode: {}, RunAs: { shape: "S12" } }, + }, + }, + }, + S12: { + type: "structure", + members: { Gid: { type: "integer" }, Uid: { type: "integer" } }, + }, + S14: { + type: "list", + member: { type: "structure", - required: ["restApiId", "authorizerId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - authorizerId: { - location: "uri", - locationName: "authorizer_id", + FunctionArn: {}, + FunctionConfiguration: { + type: "structure", + members: { + EncodingType: {}, + Environment: { + type: "structure", + members: { + AccessSysfs: { type: "boolean" }, + Execution: { + type: "structure", + members: { + IsolationMode: {}, + RunAs: { shape: "S12" }, + }, + }, + ResourceAccessPolicies: { + type: "list", + member: { + type: "structure", + members: { Permission: {}, ResourceId: {} }, + required: ["ResourceId"], + }, + }, + Variables: { shape: "Sa" }, + }, + }, + ExecArgs: {}, + Executable: {}, + MemorySize: { type: "integer" }, + Pinned: { type: "boolean" }, + Timeout: { type: "integer" }, + }, }, + Id: {}, }, + required: ["Id"], }, - output: { shape: "Sf" }, }, - GetAuthorizers: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/authorizers", + S1h: { + type: "structure", + members: { + ConnectorDefinitionVersionArn: {}, + CoreDefinitionVersionArn: {}, + DeviceDefinitionVersionArn: {}, + FunctionDefinitionVersionArn: {}, + LoggerDefinitionVersionArn: {}, + ResourceDefinitionVersionArn: {}, + SubscriptionDefinitionVersionArn: {}, }, - input: { + }, + S1o: { type: "structure", members: { Loggers: { shape: "S1p" } } }, + S1p: { + type: "list", + member: { type: "structure", - required: ["restApiId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, + Component: {}, + Id: {}, + Level: {}, + Space: { type: "integer" }, + Type: {}, }, + required: ["Type", "Level", "Id", "Component"], }, - output: { + }, + S1y: { type: "structure", members: { Resources: { shape: "S1z" } } }, + S1z: { + type: "list", + member: { type: "structure", members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "Sf" }, + Id: {}, + Name: {}, + ResourceDataContainer: { + type: "structure", + members: { + LocalDeviceResourceData: { + type: "structure", + members: { + GroupOwnerSetting: { shape: "S23" }, + SourcePath: {}, + }, + }, + LocalVolumeResourceData: { + type: "structure", + members: { + DestinationPath: {}, + GroupOwnerSetting: { shape: "S23" }, + SourcePath: {}, + }, + }, + S3MachineLearningModelResourceData: { + type: "structure", + members: { + DestinationPath: {}, + OwnerSetting: { shape: "S26" }, + S3Uri: {}, + }, + }, + SageMakerMachineLearningModelResourceData: { + type: "structure", + members: { + DestinationPath: {}, + OwnerSetting: { shape: "S26" }, + SageMakerJobArn: {}, + }, + }, + SecretsManagerSecretResourceData: { + type: "structure", + members: { + ARN: {}, + AdditionalStagingLabelsToDownload: { shape: "S29" }, + }, + }, + }, }, }, + required: ["ResourceDataContainer", "Id", "Name"], }, }, - GetBasePathMapping: { - http: { - method: "GET", - requestUri: - "/domainnames/{domain_name}/basepathmappings/{base_path}", - }, - input: { + S23: { + type: "structure", + members: { AutoAddGroupOwner: { type: "boolean" }, GroupOwner: {} }, + }, + S26: { + type: "structure", + members: { GroupOwner: {}, GroupPermission: {} }, + required: ["GroupOwner", "GroupPermission"], + }, + S29: { type: "list", member: {} }, + S2m: { + type: "structure", + members: { Subscriptions: { shape: "S2n" } }, + }, + S2n: { + type: "list", + member: { type: "structure", - required: ["domainName", "basePath"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - basePath: { location: "uri", locationName: "base_path" }, - }, + members: { Id: {}, Source: {}, Subject: {}, Target: {} }, + required: ["Target", "Id", "Subject", "Source"], }, - output: { shape: "Sh" }, }, - GetBasePathMappings: { - http: { - method: "GET", - requestUri: "/domainnames/{domain_name}/basepathmappings", + S3i: { + type: "list", + member: { + type: "structure", + members: { DetailedErrorCode: {}, DetailedErrorMessage: {} }, }, - input: { + }, + S3m: { + type: "list", + member: { type: "structure", - required: ["domainName"], members: { - domainName: { location: "uri", locationName: "domain_name" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, + HostAddress: {}, + Id: {}, + Metadata: {}, + PortNumber: { type: "integer" }, }, }, - output: { + }, + S58: { + type: "list", + member: { + type: "structure", + members: { Arn: {}, CreationTimestamp: {}, Id: {}, Version: {} }, + }, + }, + S5c: { + type: "list", + member: { type: "structure", members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "Sh" }, - }, + Arn: {}, + CreationTimestamp: {}, + Id: {}, + LastUpdatedTimestamp: {}, + LatestVersion: {}, + LatestVersionArn: {}, + Name: {}, + Tags: { shape: "Sb", locationName: "tags" }, }, }, }, - GetClientCertificate: { + }, + }; + + /***/ + }, + + /***/ 2077: /***/ function (module) { + module.exports = { + pagination: { + GetBehaviorModelTrainingSummaries: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "summaries", + }, + ListActiveViolations: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "activeViolations", + }, + ListAttachedPolicies: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "policies", + }, + ListAuditFindings: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "findings", + }, + ListAuditMitigationActionsExecutions: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "actionsExecutions", + }, + ListAuditMitigationActionsTasks: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "tasks", + }, + ListAuditSuppressions: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "suppressions", + }, + ListAuditTasks: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "tasks", + }, + ListAuthorizers: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "authorizers", + }, + ListBillingGroups: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "billingGroups", + }, + ListCACertificates: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "certificates", + }, + ListCertificates: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "certificates", + }, + ListCertificatesByCA: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "certificates", + }, + ListCustomMetrics: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "metricNames", + }, + ListDetectMitigationActionsExecutions: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "actionsExecutions", + }, + ListDetectMitigationActionsTasks: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "tasks", + }, + ListDimensions: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "dimensionNames", + }, + ListDomainConfigurations: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "domainConfigurations", + }, + ListIndices: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "indexNames", + }, + ListJobExecutionsForJob: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "executionSummaries", + }, + ListJobExecutionsForThing: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "executionSummaries", + }, + ListJobs: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "jobs", + }, + ListMitigationActions: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "actionIdentifiers", + }, + ListOTAUpdates: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "otaUpdates", + }, + ListOutgoingCertificates: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "outgoingCertificates", + }, + ListPolicies: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "policies", + }, + ListPolicyPrincipals: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "principals", + }, + ListPrincipalPolicies: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "policies", + }, + ListPrincipalThings: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "things", + }, + ListProvisioningTemplateVersions: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "versions", + }, + ListProvisioningTemplates: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "templates", + }, + ListRoleAliases: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "roleAliases", + }, + ListScheduledAudits: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "scheduledAudits", + }, + ListSecurityProfiles: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "securityProfileIdentifiers", + }, + ListSecurityProfilesForTarget: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "securityProfileTargetMappings", + }, + ListStreams: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "streams", + }, + ListTagsForResource: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "tags", + }, + ListTargetsForPolicy: { + input_token: "marker", + limit_key: "pageSize", + output_token: "nextMarker", + result_key: "targets", + }, + ListTargetsForSecurityProfile: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "securityProfileTargets", + }, + ListThingGroups: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "thingGroups", + }, + ListThingGroupsForThing: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "thingGroups", + }, + ListThingPrincipals: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "principals", + }, + ListThingRegistrationTaskReports: { + input_token: "nextToken", + limit_key: "maxResults", + non_aggregate_keys: ["reportType"], + output_token: "nextToken", + result_key: "resourceLinks", + }, + ListThingRegistrationTasks: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "taskIds", + }, + ListThingTypes: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "thingTypes", + }, + ListThings: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "things", + }, + ListThingsInBillingGroup: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "things", + }, + ListThingsInThingGroup: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "things", + }, + ListTopicRuleDestinations: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "destinationSummaries", + }, + ListTopicRules: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "rules", + }, + ListV2LoggingLevels: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "logTargetConfigurations", + }, + ListViolationEvents: { + input_token: "nextToken", + limit_key: "maxResults", + output_token: "nextToken", + result_key: "violationEvents", + }, + }, + }; + + /***/ + }, + + /***/ 2087: /***/ function (module) { + module.exports = require("os"); + + /***/ + }, + + /***/ 2091: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2018-08-20", + endpointPrefix: "s3-control", + protocol: "rest-xml", + serviceFullName: "AWS S3 Control", + serviceId: "S3 Control", + signatureVersion: "s3v4", + signingName: "s3", + uid: "s3control-2018-08-20", + }, + operations: { + CreateAccessPoint: { http: { - method: "GET", - requestUri: "/clientcertificates/{clientcertificate_id}", + method: "PUT", + requestUri: "/v20180820/accesspoint/{name}", }, input: { + locationName: "CreateAccessPointRequest", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", + }, type: "structure", - required: ["clientCertificateId"], + required: ["AccountId", "Name", "Bucket"], members: { - clientCertificateId: { - location: "uri", - locationName: "clientcertificate_id", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Name: { location: "uri", locationName: "name" }, + Bucket: {}, + VpcConfiguration: { shape: "S5" }, + PublicAccessBlockConfiguration: { shape: "S7" }, }, }, - output: { shape: "S31" }, + output: { type: "structure", members: { AccessPointArn: {} } }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetClientCertificates: { - http: { method: "GET", requestUri: "/clientcertificates" }, + CreateBucket: { + http: { method: "PUT", requestUri: "/v20180820/bucket/{name}" }, input: { type: "structure", + required: ["Bucket"], members: { - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", + ACL: { location: "header", locationName: "x-amz-acl" }, + Bucket: { location: "uri", locationName: "name" }, + CreateBucketConfiguration: { + locationName: "CreateBucketConfiguration", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", + }, + type: "structure", + members: { LocationConstraint: {} }, + }, + GrantFullControl: { + location: "header", + locationName: "x-amz-grant-full-control", + }, + GrantRead: { + location: "header", + locationName: "x-amz-grant-read", + }, + GrantReadACP: { + location: "header", + locationName: "x-amz-grant-read-acp", + }, + GrantWrite: { + location: "header", + locationName: "x-amz-grant-write", + }, + GrantWriteACP: { + location: "header", + locationName: "x-amz-grant-write-acp", + }, + ObjectLockEnabledForBucket: { + location: "header", + locationName: "x-amz-bucket-object-lock-enabled", + type: "boolean", + }, + OutpostId: { + location: "header", + locationName: "x-amz-outpost-id", }, }, + payload: "CreateBucketConfiguration", }, output: { type: "structure", members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S31" }, + Location: { location: "header", locationName: "Location" }, + BucketArn: {}, + }, + }, + httpChecksumRequired: true, + }, + CreateJob: { + http: { requestUri: "/v20180820/jobs" }, + input: { + locationName: "CreateJobRequest", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", + }, + type: "structure", + required: [ + "AccountId", + "Operation", + "Report", + "ClientRequestToken", + "Manifest", + "Priority", + "RoleArn", + ], + members: { + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + ConfirmationRequired: { type: "boolean" }, + Operation: { shape: "Sr" }, + Report: { shape: "S1x" }, + ClientRequestToken: { idempotencyToken: true }, + Manifest: { shape: "S21" }, + Description: {}, + Priority: { type: "integer" }, + RoleArn: {}, + Tags: { shape: "S1b" }, }, }, + output: { type: "structure", members: { JobId: {} } }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetDeployment: { + DeleteAccessPoint: { http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}", + method: "DELETE", + requestUri: "/v20180820/accesspoint/{name}", }, input: { type: "structure", - required: ["restApiId", "deploymentId"], + required: ["AccountId", "Name"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - deploymentId: { - location: "uri", - locationName: "deployment_id", - }, - embed: { - shape: "S9", - location: "querystring", - locationName: "embed", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Name: { location: "uri", locationName: "name" }, }, }, - output: { shape: "Sn" }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetDeployments: { + DeleteAccessPointPolicy: { http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/deployments", + method: "DELETE", + requestUri: "/v20180820/accesspoint/{name}/policy", }, input: { type: "structure", - required: ["restApiId"], + required: ["AccountId", "Name"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Name: { location: "uri", locationName: "name" }, }, }, - output: { + endpoint: { hostPrefix: "{AccountId}." }, + }, + DeleteBucket: { + http: { method: "DELETE", requestUri: "/v20180820/bucket/{name}" }, + input: { type: "structure", + required: ["AccountId", "Bucket"], members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "Sn" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Bucket: { location: "uri", locationName: "name" }, }, }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetDocumentationPart: { + DeleteBucketLifecycleConfiguration: { http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/documentation/parts/{part_id}", + method: "DELETE", + requestUri: "/v20180820/bucket/{name}/lifecycleconfiguration", }, input: { type: "structure", - required: ["restApiId", "documentationPartId"], + required: ["AccountId", "Bucket"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationPartId: { - location: "uri", - locationName: "part_id", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Bucket: { location: "uri", locationName: "name" }, }, }, - output: { shape: "Sv" }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetDocumentationParts: { + DeleteBucketPolicy: { http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/documentation/parts", + method: "DELETE", + requestUri: "/v20180820/bucket/{name}/policy", }, input: { type: "structure", - required: ["restApiId"], + required: ["AccountId", "Bucket"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - type: { location: "querystring", locationName: "type" }, - nameQuery: { location: "querystring", locationName: "name" }, - path: { location: "querystring", locationName: "path" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - locationStatus: { - location: "querystring", - locationName: "locationStatus", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Bucket: { location: "uri", locationName: "name" }, }, }, - output: { + endpoint: { hostPrefix: "{AccountId}." }, + }, + DeleteBucketTagging: { + http: { + method: "DELETE", + requestUri: "/v20180820/bucket/{name}/tagging", + responseCode: 204, + }, + input: { type: "structure", + required: ["AccountId", "Bucket"], members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "Sv" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Bucket: { location: "uri", locationName: "name" }, }, }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetDocumentationVersion: { + DeleteJobTagging: { http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/documentation/versions/{doc_version}", + method: "DELETE", + requestUri: "/v20180820/jobs/{id}/tagging", }, input: { type: "structure", - required: ["restApiId", "documentationVersion"], + required: ["AccountId", "JobId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationVersion: { - location: "uri", - locationName: "doc_version", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + JobId: { location: "uri", locationName: "id" }, }, }, - output: { shape: "Sx" }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetDocumentationVersions: { + DeletePublicAccessBlock: { http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/documentation/versions", + method: "DELETE", + requestUri: "/v20180820/configuration/publicAccessBlock", }, input: { type: "structure", - required: ["restApiId"], + required: ["AccountId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, }, }, - output: { + endpoint: { hostPrefix: "{AccountId}." }, + }, + DeleteStorageLensConfiguration: { + http: { + method: "DELETE", + requestUri: "/v20180820/storagelens/{storagelensid}", + }, + input: { type: "structure", + required: ["ConfigId", "AccountId"], members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "Sx" }, + ConfigId: { location: "uri", locationName: "storagelensid" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, }, }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetDomainName: { - http: { method: "GET", requestUri: "/domainnames/{domain_name}" }, + DeleteStorageLensConfigurationTagging: { + http: { + method: "DELETE", + requestUri: "/v20180820/storagelens/{storagelensid}/tagging", + }, input: { type: "structure", - required: ["domainName"], + required: ["ConfigId", "AccountId"], members: { - domainName: { location: "uri", locationName: "domain_name" }, + ConfigId: { location: "uri", locationName: "storagelensid" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, }, }, - output: { shape: "S13" }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetDomainNames: { - http: { method: "GET", requestUri: "/domainnames" }, + DescribeJob: { + http: { method: "GET", requestUri: "/v20180820/jobs/{id}" }, input: { type: "structure", + required: ["AccountId", "JobId"], members: { - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + JobId: { location: "uri", locationName: "id" }, }, }, output: { type: "structure", members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S13" }, + Job: { + type: "structure", + members: { + JobId: {}, + ConfirmationRequired: { type: "boolean" }, + Description: {}, + JobArn: {}, + Status: {}, + Manifest: { shape: "S21" }, + Operation: { shape: "Sr" }, + Priority: { type: "integer" }, + ProgressSummary: { shape: "S2w" }, + StatusUpdateReason: {}, + FailureReasons: { + type: "list", + member: { + type: "structure", + members: { FailureCode: {}, FailureReason: {} }, + }, + }, + Report: { shape: "S1x" }, + CreationTime: { type: "timestamp" }, + TerminationDate: { type: "timestamp" }, + RoleArn: {}, + SuspendedDate: { type: "timestamp" }, + SuspendedCause: {}, + }, }, }, }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetExport: { + GetAccessPoint: { http: { method: "GET", - requestUri: - "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}", - responseCode: 200, + requestUri: "/v20180820/accesspoint/{name}", }, input: { type: "structure", - required: ["restApiId", "stageName", "exportType"], + required: ["AccountId", "Name"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - exportType: { location: "uri", locationName: "export_type" }, - parameters: { shape: "S6", location: "querystring" }, - accepts: { location: "header", locationName: "Accept" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, + Name: { location: "uri", locationName: "name" }, }, }, output: { type: "structure", members: { - contentType: { - location: "header", - locationName: "Content-Type", - }, - contentDisposition: { - location: "header", - locationName: "Content-Disposition", - }, - body: { type: "blob" }, + Name: {}, + Bucket: {}, + NetworkOrigin: {}, + VpcConfiguration: { shape: "S5" }, + PublicAccessBlockConfiguration: { shape: "S7" }, + CreationDate: { type: "timestamp" }, }, - payload: "body", }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetGatewayResponse: { + GetAccessPointPolicy: { http: { method: "GET", - requestUri: - "/restapis/{restapi_id}/gatewayresponses/{response_type}", + requestUri: "/v20180820/accesspoint/{name}/policy", }, input: { type: "structure", - required: ["restApiId", "responseType"], + required: ["AccountId", "Name"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - responseType: { - location: "uri", - locationName: "response_type", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Name: { location: "uri", locationName: "name" }, }, }, - output: { shape: "S45" }, + output: { type: "structure", members: { Policy: {} } }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetGatewayResponses: { + GetAccessPointPolicyStatus: { http: { method: "GET", - requestUri: "/restapis/{restapi_id}/gatewayresponses", + requestUri: "/v20180820/accesspoint/{name}/policyStatus", }, input: { type: "structure", - required: ["restApiId"], + required: ["AccountId", "Name"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Name: { location: "uri", locationName: "name" }, }, }, output: { type: "structure", members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S45" }, + PolicyStatus: { + type: "structure", + members: { + IsPublic: { locationName: "IsPublic", type: "boolean" }, + }, }, }, }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetIntegration: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - }, + GetBucket: { + http: { method: "GET", requestUri: "/v20180820/bucket/{name}" }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], + required: ["AccountId", "Bucket"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, + Bucket: { location: "uri", locationName: "name" }, }, }, - output: { shape: "S1h" }, - }, - GetIntegrationResponse: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", - }, - input: { + output: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, + Bucket: {}, + PublicAccessBlockEnabled: { type: "boolean" }, + CreationDate: { type: "timestamp" }, }, }, - output: { shape: "S1n" }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetMethod: { + GetBucketLifecycleConfiguration: { http: { method: "GET", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", + requestUri: "/v20180820/bucket/{name}/lifecycleconfiguration", }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], + required: ["AccountId", "Bucket"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, + Bucket: { location: "uri", locationName: "name" }, }, }, - output: { shape: "S1c" }, + output: { type: "structure", members: { Rules: { shape: "S3p" } } }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetMethodResponse: { + GetBucketPolicy: { http: { method: "GET", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", + requestUri: "/v20180820/bucket/{name}/policy", }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], + required: ["AccountId", "Bucket"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, + Bucket: { location: "uri", locationName: "name" }, }, }, - output: { shape: "S1f" }, + output: { type: "structure", members: { Policy: {} } }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetModel: { + GetBucketTagging: { http: { method: "GET", - requestUri: "/restapis/{restapi_id}/models/{model_name}", + requestUri: "/v20180820/bucket/{name}/tagging", }, input: { type: "structure", - required: ["restApiId", "modelName"], + required: ["AccountId", "Bucket"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - modelName: { location: "uri", locationName: "model_name" }, - flatten: { - location: "querystring", - locationName: "flatten", - type: "boolean", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Bucket: { location: "uri", locationName: "name" }, }, }, - output: { shape: "S16" }, - }, - GetModelTemplate: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/models/{model_name}/default_template", - }, - input: { + output: { type: "structure", - required: ["restApiId", "modelName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - modelName: { location: "uri", locationName: "model_name" }, - }, + required: ["TagSet"], + members: { TagSet: { shape: "S1b" } }, }, - output: { type: "structure", members: { value: {} } }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetModels: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/models", - }, + GetJobTagging: { + http: { method: "GET", requestUri: "/v20180820/jobs/{id}/tagging" }, input: { type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", + required: ["AccountId", "JobId"], members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S16" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + JobId: { location: "uri", locationName: "id" }, }, }, + output: { type: "structure", members: { Tags: { shape: "S1b" } } }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetRequestValidator: { + GetPublicAccessBlock: { http: { method: "GET", - requestUri: - "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", + requestUri: "/v20180820/configuration/publicAccessBlock", }, input: { type: "structure", - required: ["restApiId", "requestValidatorId"], + required: ["AccountId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - requestValidatorId: { - location: "uri", - locationName: "requestvalidator_id", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, }, }, - output: { shape: "S18" }, + output: { + type: "structure", + members: { PublicAccessBlockConfiguration: { shape: "S7" } }, + payload: "PublicAccessBlockConfiguration", + }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetRequestValidators: { + GetStorageLensConfiguration: { http: { method: "GET", - requestUri: "/restapis/{restapi_id}/requestvalidators", + requestUri: "/v20180820/storagelens/{storagelensid}", }, input: { type: "structure", - required: ["restApiId"], + required: ["ConfigId", "AccountId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", + ConfigId: { location: "uri", locationName: "storagelensid" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, }, }, output: { type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S18" }, - }, - }, + members: { StorageLensConfiguration: { shape: "S4i" } }, + payload: "StorageLensConfiguration", }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetResource: { + GetStorageLensConfigurationTagging: { http: { method: "GET", - requestUri: "/restapis/{restapi_id}/resources/{resource_id}", + requestUri: "/v20180820/storagelens/{storagelensid}/tagging", }, input: { type: "structure", - required: ["restApiId", "resourceId"], + required: ["ConfigId", "AccountId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - embed: { - shape: "S9", - location: "querystring", - locationName: "embed", + ConfigId: { location: "uri", locationName: "storagelensid" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, }, }, - output: { shape: "S1a" }, + output: { type: "structure", members: { Tags: { shape: "S5b" } } }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetResources: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/resources", - }, + ListAccessPoints: { + http: { method: "GET", requestUri: "/v20180820/accesspoint" }, input: { type: "structure", - required: ["restApiId"], + required: ["AccountId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, - embed: { - shape: "S9", + Bucket: { location: "querystring", locationName: "bucket" }, + NextToken: { location: "querystring", - locationName: "embed", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S1a" }, + locationName: "nextToken", }, - }, - }, - }, - GetRestApi: { - http: { method: "GET", requestUri: "/restapis/{restapi_id}" }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - }, - }, - output: { shape: "S1q" }, - }, - GetRestApis: { - http: { method: "GET", requestUri: "/restapis" }, - input: { - type: "structure", - members: { - position: { location: "querystring", locationName: "position" }, - limit: { + MaxResults: { location: "querystring", - locationName: "limit", + locationName: "maxResults", type: "integer", }, }, @@ -73660,66 +80695,50 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - position: {}, - items: { - locationName: "item", + AccessPointList: { type: "list", - member: { shape: "S1q" }, + member: { + locationName: "AccessPoint", + type: "structure", + required: ["Name", "NetworkOrigin", "Bucket"], + members: { + Name: {}, + NetworkOrigin: {}, + VpcConfiguration: { shape: "S5" }, + Bucket: {}, + AccessPointArn: {}, + }, + }, }, + NextToken: {}, }, }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetSdk: { - http: { - method: "GET", - requestUri: - "/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}", - responseCode: 200, - }, + ListJobs: { + http: { method: "GET", requestUri: "/v20180820/jobs" }, input: { type: "structure", - required: ["restApiId", "stageName", "sdkType"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - sdkType: { location: "uri", locationName: "sdk_type" }, - parameters: { shape: "S6", location: "querystring" }, - }, - }, - output: { - type: "structure", + required: ["AccountId"], members: { - contentType: { + AccountId: { + hostLabel: true, location: "header", - locationName: "Content-Type", + locationName: "x-amz-account-id", }, - contentDisposition: { - location: "header", - locationName: "Content-Disposition", + JobStatuses: { + location: "querystring", + locationName: "jobStatuses", + type: "list", + member: {}, }, - body: { type: "blob" }, - }, - payload: "body", - }, - }, - GetSdkType: { - http: { method: "GET", requestUri: "/sdktypes/{sdktype_id}" }, - input: { - type: "structure", - required: ["id"], - members: { id: { location: "uri", locationName: "sdktype_id" } }, - }, - output: { shape: "S4y" }, - }, - GetSdkTypes: { - http: { method: "GET", requestUri: "/sdktypes" }, - input: { - type: "structure", - members: { - position: { location: "querystring", locationName: "position" }, - limit: { + NextToken: { location: "querystring", - locationName: "limit", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", type: "integer", }, }, @@ -73727,4191 +80746,3608 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { - position: {}, - items: { - locationName: "item", + NextToken: {}, + Jobs: { type: "list", - member: { shape: "S4y" }, - }, - }, - }, - }, - GetStage: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/stages/{stage_name}", - }, - input: { - type: "structure", - required: ["restApiId", "stageName"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - }, - }, - output: { shape: "S1t" }, - }, - GetStages: { - http: { - method: "GET", - requestUri: "/restapis/{restapi_id}/stages", - }, - input: { - type: "structure", - required: ["restApiId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - deploymentId: { - location: "querystring", - locationName: "deploymentId", + member: { + type: "structure", + members: { + JobId: {}, + Description: {}, + Operation: {}, + Priority: { type: "integer" }, + Status: {}, + CreationTime: { type: "timestamp" }, + TerminationDate: { type: "timestamp" }, + ProgressSummary: { shape: "S2w" }, + }, + }, }, }, }, - output: { - type: "structure", - members: { item: { type: "list", member: { shape: "S1t" } } }, - }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetTags: { - http: { method: "GET", requestUri: "/tags/{resource_arn}" }, + ListRegionalBuckets: { + http: { method: "GET", requestUri: "/v20180820/bucket" }, input: { type: "structure", - required: ["resourceArn"], + required: ["AccountId"], members: { - resourceArn: { location: "uri", locationName: "resource_arn" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, - }, - }, - output: { type: "structure", members: { tags: { shape: "S6" } } }, - }, - GetUsage: { - http: { - method: "GET", - requestUri: "/usageplans/{usageplanId}/usage", - }, - input: { - type: "structure", - required: ["usagePlanId", "startDate", "endDate"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - keyId: { location: "querystring", locationName: "keyId" }, - startDate: { + NextToken: { location: "querystring", - locationName: "startDate", + locationName: "nextToken", }, - endDate: { location: "querystring", locationName: "endDate" }, - position: { location: "querystring", locationName: "position" }, - limit: { + MaxResults: { location: "querystring", - locationName: "limit", + locationName: "maxResults", type: "integer", }, - }, - }, - output: { shape: "S5b" }, - }, - GetUsagePlan: { - http: { method: "GET", requestUri: "/usageplans/{usageplanId}" }, - input: { - type: "structure", - required: ["usagePlanId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - }, - }, - output: { shape: "S26" }, - }, - GetUsagePlanKey: { - http: { - method: "GET", - requestUri: "/usageplans/{usageplanId}/keys/{keyId}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["usagePlanId", "keyId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - keyId: { location: "uri", locationName: "keyId" }, - }, - }, - output: { shape: "S28" }, - }, - GetUsagePlanKeys: { - http: { - method: "GET", - requestUri: "/usageplans/{usageplanId}/keys", - }, - input: { - type: "structure", - required: ["usagePlanId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", + OutpostId: { + location: "header", + locationName: "x-amz-outpost-id", }, - nameQuery: { location: "querystring", locationName: "name" }, }, }, output: { type: "structure", members: { - position: {}, - items: { - locationName: "item", + RegionalBucketList: { type: "list", - member: { shape: "S28" }, + member: { + locationName: "RegionalBucket", + type: "structure", + required: [ + "Bucket", + "PublicAccessBlockEnabled", + "CreationDate", + ], + members: { + Bucket: {}, + BucketArn: {}, + PublicAccessBlockEnabled: { type: "boolean" }, + CreationDate: { type: "timestamp" }, + OutpostId: {}, + }, + }, }, + NextToken: {}, }, }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetUsagePlans: { - http: { method: "GET", requestUri: "/usageplans" }, + ListStorageLensConfigurations: { + http: { method: "GET", requestUri: "/v20180820/storagelens" }, input: { type: "structure", + required: ["AccountId"], members: { - position: { location: "querystring", locationName: "position" }, - keyId: { location: "querystring", locationName: "keyId" }, - limit: { + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, + NextToken: { location: "querystring", - locationName: "limit", - type: "integer", + locationName: "nextToken", }, }, }, output: { type: "structure", members: { - position: {}, - items: { - locationName: "item", + NextToken: {}, + StorageLensConfigurationList: { type: "list", - member: { shape: "S26" }, + member: { + locationName: "StorageLensConfiguration", + type: "structure", + required: ["Id", "StorageLensArn", "HomeRegion"], + members: { + Id: {}, + StorageLensArn: {}, + HomeRegion: {}, + IsEnabled: { type: "boolean" }, + }, + }, + flattened: true, }, }, }, + endpoint: { hostPrefix: "{AccountId}." }, }, - GetVpcLink: { - http: { method: "GET", requestUri: "/vpclinks/{vpclink_id}" }, - input: { - type: "structure", - required: ["vpcLinkId"], - members: { - vpcLinkId: { location: "uri", locationName: "vpclink_id" }, - }, + PutAccessPointPolicy: { + http: { + method: "PUT", + requestUri: "/v20180820/accesspoint/{name}/policy", }, - output: { shape: "S2a" }, - }, - GetVpcLinks: { - http: { method: "GET", requestUri: "/vpclinks" }, input: { - type: "structure", - members: { - position: { location: "querystring", locationName: "position" }, - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - position: {}, - items: { - locationName: "item", - type: "list", - member: { shape: "S2a" }, - }, + locationName: "PutAccessPointPolicyRequest", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", }, - }, - }, - ImportApiKeys: { - http: { requestUri: "/apikeys?mode=import", responseCode: 201 }, - input: { type: "structure", - required: ["body", "format"], + required: ["AccountId", "Name", "Policy"], members: { - body: { type: "blob" }, - format: { location: "querystring", locationName: "format" }, - failOnWarnings: { - location: "querystring", - locationName: "failonwarnings", - type: "boolean", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, + Name: { location: "uri", locationName: "name" }, + Policy: {}, }, - payload: "body", - }, - output: { - type: "structure", - members: { ids: { shape: "S9" }, warnings: { shape: "S9" } }, }, + endpoint: { hostPrefix: "{AccountId}." }, }, - ImportDocumentationParts: { + PutBucketLifecycleConfiguration: { http: { method: "PUT", - requestUri: "/restapis/{restapi_id}/documentation/parts", + requestUri: "/v20180820/bucket/{name}/lifecycleconfiguration", }, input: { type: "structure", - required: ["restApiId", "body"], + required: ["AccountId", "Bucket"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - mode: { location: "querystring", locationName: "mode" }, - failOnWarnings: { - location: "querystring", - locationName: "failonwarnings", - type: "boolean", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, - body: { type: "blob" }, - }, - payload: "body", - }, - output: { - type: "structure", - members: { ids: { shape: "S9" }, warnings: { shape: "S9" } }, - }, - }, - ImportRestApi: { - http: { requestUri: "/restapis?mode=import", responseCode: 201 }, - input: { - type: "structure", - required: ["body"], - members: { - failOnWarnings: { - location: "querystring", - locationName: "failonwarnings", - type: "boolean", + Bucket: { location: "uri", locationName: "name" }, + LifecycleConfiguration: { + locationName: "LifecycleConfiguration", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", + }, + type: "structure", + members: { Rules: { shape: "S3p" } }, }, - parameters: { shape: "S6", location: "querystring" }, - body: { type: "blob" }, }, - payload: "body", + payload: "LifecycleConfiguration", }, - output: { shape: "S1q" }, + endpoint: { hostPrefix: "{AccountId}." }, + httpChecksumRequired: true, }, - PutGatewayResponse: { + PutBucketPolicy: { http: { method: "PUT", - requestUri: - "/restapis/{restapi_id}/gatewayresponses/{response_type}", - responseCode: 201, + requestUri: "/v20180820/bucket/{name}/policy", }, input: { + locationName: "PutBucketPolicyRequest", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", + }, type: "structure", - required: ["restApiId", "responseType"], + required: ["AccountId", "Bucket", "Policy"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - responseType: { - location: "uri", - locationName: "response_type", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, - statusCode: {}, - responseParameters: { shape: "S6" }, - responseTemplates: { shape: "S6" }, + Bucket: { location: "uri", locationName: "name" }, + ConfirmRemoveSelfBucketAccess: { + location: "header", + locationName: "x-amz-confirm-remove-self-bucket-access", + type: "boolean", + }, + Policy: {}, }, }, - output: { shape: "S45" }, + endpoint: { hostPrefix: "{AccountId}." }, + httpChecksumRequired: true, }, - PutIntegration: { + PutBucketTagging: { http: { method: "PUT", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - responseCode: 201, + requestUri: "/v20180820/bucket/{name}/tagging", }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "type"], + required: ["AccountId", "Bucket", "Tagging"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - type: {}, - integrationHttpMethod: { locationName: "httpMethod" }, - uri: {}, - connectionType: {}, - connectionId: {}, - credentials: {}, - requestParameters: { shape: "S6" }, - requestTemplates: { shape: "S6" }, - passthroughBehavior: {}, - cacheNamespace: {}, - cacheKeyParameters: { shape: "S9" }, - contentHandling: {}, - timeoutInMillis: { type: "integer" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, + Bucket: { location: "uri", locationName: "name" }, + Tagging: { + locationName: "Tagging", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", + }, + type: "structure", + required: ["TagSet"], + members: { TagSet: { shape: "S1b" } }, + }, }, + payload: "Tagging", }, - output: { shape: "S1h" }, + endpoint: { hostPrefix: "{AccountId}." }, + httpChecksumRequired: true, }, - PutIntegrationResponse: { - http: { - method: "PUT", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", - responseCode: 201, - }, + PutJobTagging: { + http: { method: "PUT", requestUri: "/v20180820/jobs/{id}/tagging" }, input: { + locationName: "PutJobTaggingRequest", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", + }, type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], + required: ["AccountId", "JobId", "Tags"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - selectionPattern: {}, - responseParameters: { shape: "S6" }, - responseTemplates: { shape: "S6" }, - contentHandling: {}, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, + JobId: { location: "uri", locationName: "id" }, + Tags: { shape: "S1b" }, }, }, - output: { shape: "S1n" }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "{AccountId}." }, }, - PutMethod: { + PutPublicAccessBlock: { http: { method: "PUT", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - responseCode: 201, + requestUri: "/v20180820/configuration/publicAccessBlock", }, input: { type: "structure", - required: [ - "restApiId", - "resourceId", - "httpMethod", - "authorizationType", - ], + required: ["PublicAccessBlockConfiguration", "AccountId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - authorizationType: {}, - authorizerId: {}, - apiKeyRequired: { type: "boolean" }, - operationName: {}, - requestParameters: { shape: "S1d" }, - requestModels: { shape: "S6" }, - requestValidatorId: {}, - authorizationScopes: { shape: "S9" }, + PublicAccessBlockConfiguration: { + shape: "S7", + locationName: "PublicAccessBlockConfiguration", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", + }, + }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, }, + payload: "PublicAccessBlockConfiguration", }, - output: { shape: "S1c" }, + endpoint: { hostPrefix: "{AccountId}." }, }, - PutMethodResponse: { + PutStorageLensConfiguration: { http: { method: "PUT", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - responseCode: 201, + requestUri: "/v20180820/storagelens/{storagelensid}", }, input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - responseParameters: { shape: "S1d" }, - responseModels: { shape: "S6" }, + locationName: "PutStorageLensConfigurationRequest", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", }, - }, - output: { shape: "S1f" }, - }, - PutRestApi: { - http: { method: "PUT", requestUri: "/restapis/{restapi_id}" }, - input: { type: "structure", - required: ["restApiId", "body"], + required: ["ConfigId", "AccountId", "StorageLensConfiguration"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - mode: { location: "querystring", locationName: "mode" }, - failOnWarnings: { - location: "querystring", - locationName: "failonwarnings", - type: "boolean", + ConfigId: { location: "uri", locationName: "storagelensid" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, - parameters: { shape: "S6", location: "querystring" }, - body: { type: "blob" }, + StorageLensConfiguration: { shape: "S4i" }, + Tags: { shape: "S5b" }, }, - payload: "body", }, - output: { shape: "S1q" }, + endpoint: { hostPrefix: "{AccountId}." }, }, - TagResource: { + PutStorageLensConfigurationTagging: { http: { method: "PUT", - requestUri: "/tags/{resource_arn}", - responseCode: 204, + requestUri: "/v20180820/storagelens/{storagelensid}/tagging", }, input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resource_arn" }, - tags: { shape: "S6" }, + locationName: "PutStorageLensConfigurationTaggingRequest", + xmlNamespace: { + uri: "http://awss3control.amazonaws.com/doc/2018-08-20/", }, - }, - }, - TestInvokeAuthorizer: { - http: { - requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", - }, - input: { type: "structure", - required: ["restApiId", "authorizerId"], + required: ["ConfigId", "AccountId", "Tags"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - authorizerId: { - location: "uri", - locationName: "authorizer_id", + ConfigId: { location: "uri", locationName: "storagelensid" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", }, - headers: { shape: "S6" }, - multiValueHeaders: { shape: "S67" }, - pathWithQueryString: {}, - body: {}, - stageVariables: { shape: "S6" }, - additionalContext: { shape: "S6" }, - }, - }, - output: { - type: "structure", - members: { - clientStatus: { type: "integer" }, - log: {}, - latency: { type: "long" }, - principalId: {}, - policy: {}, - authorization: { shape: "S67" }, - claims: { shape: "S6" }, + Tags: { shape: "S5b" }, }, }, + output: { type: "structure", members: {} }, + endpoint: { hostPrefix: "{AccountId}." }, }, - TestInvokeMethod: { - http: { - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", - }, + UpdateJobPriority: { + http: { requestUri: "/v20180820/jobs/{id}/priority" }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], + required: ["AccountId", "JobId", "Priority"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - pathWithQueryString: {}, - body: {}, - headers: { shape: "S6" }, - multiValueHeaders: { shape: "S67" }, - clientCertificateId: {}, - stageVariables: { shape: "S6" }, + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, + JobId: { location: "uri", locationName: "id" }, + Priority: { + location: "querystring", + locationName: "priority", + type: "integer", + }, }, }, output: { type: "structure", - members: { - status: { type: "integer" }, - body: {}, - headers: { shape: "S6" }, - multiValueHeaders: { shape: "S67" }, - log: {}, - latency: { type: "long" }, - }, + required: ["JobId", "Priority"], + members: { JobId: {}, Priority: { type: "integer" } }, }, + endpoint: { hostPrefix: "{AccountId}." }, }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/tags/{resource_arn}", - responseCode: 204, - }, + UpdateJobStatus: { + http: { requestUri: "/v20180820/jobs/{id}/status" }, input: { type: "structure", - required: ["resourceArn", "tagKeys"], + required: ["AccountId", "JobId", "RequestedJobStatus"], members: { - resourceArn: { location: "uri", locationName: "resource_arn" }, - tagKeys: { - shape: "S9", + AccountId: { + hostLabel: true, + location: "header", + locationName: "x-amz-account-id", + }, + JobId: { location: "uri", locationName: "id" }, + RequestedJobStatus: { location: "querystring", - locationName: "tagKeys", + locationName: "requestedJobStatus", + }, + StatusUpdateReason: { + location: "querystring", + locationName: "statusUpdateReason", }, }, }, - }, - UpdateAccount: { - http: { method: "PATCH", requestUri: "/account" }, - input: { + output: { type: "structure", - members: { patchOperations: { shape: "S6d" } }, + members: { JobId: {}, Status: {}, StatusUpdateReason: {} }, }, - output: { shape: "S33" }, + endpoint: { hostPrefix: "{AccountId}." }, }, - UpdateApiKey: { - http: { method: "PATCH", requestUri: "/apikeys/{api_Key}" }, - input: { - type: "structure", - required: ["apiKey"], - members: { - apiKey: { location: "uri", locationName: "api_Key" }, - patchOperations: { shape: "S6d" }, + }, + shapes: { + S5: { + type: "structure", + required: ["VpcId"], + members: { VpcId: {} }, + }, + S7: { + type: "structure", + members: { + BlockPublicAcls: { + locationName: "BlockPublicAcls", + type: "boolean", + }, + IgnorePublicAcls: { + locationName: "IgnorePublicAcls", + type: "boolean", + }, + BlockPublicPolicy: { + locationName: "BlockPublicPolicy", + type: "boolean", + }, + RestrictPublicBuckets: { + locationName: "RestrictPublicBuckets", + type: "boolean", }, }, - output: { shape: "S7" }, }, - UpdateAuthorizer: { - http: { - method: "PATCH", - requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", - }, - input: { - type: "structure", - required: ["restApiId", "authorizerId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - authorizerId: { - location: "uri", - locationName: "authorizer_id", + Sr: { + type: "structure", + members: { + LambdaInvoke: { type: "structure", members: { FunctionArn: {} } }, + S3PutObjectCopy: { + type: "structure", + members: { + TargetResource: {}, + CannedAccessControlList: {}, + AccessControlGrants: { shape: "Sx" }, + MetadataDirective: {}, + ModifiedSinceConstraint: { type: "timestamp" }, + NewObjectMetadata: { + type: "structure", + members: { + CacheControl: {}, + ContentDisposition: {}, + ContentEncoding: {}, + ContentLanguage: {}, + UserMetadata: { type: "map", key: {}, value: {} }, + ContentLength: { type: "long" }, + ContentMD5: {}, + ContentType: {}, + HttpExpiresDate: { type: "timestamp" }, + RequesterCharged: { type: "boolean" }, + SSEAlgorithm: {}, + }, + }, + NewObjectTagging: { shape: "S1b" }, + RedirectLocation: {}, + RequesterPays: { type: "boolean" }, + StorageClass: {}, + UnModifiedSinceConstraint: { type: "timestamp" }, + SSEAwsKmsKeyId: {}, + TargetKeyPrefix: {}, + ObjectLockLegalHoldStatus: {}, + ObjectLockMode: {}, + ObjectLockRetainUntilDate: { type: "timestamp" }, }, - patchOperations: { shape: "S6d" }, }, - }, - output: { shape: "Sf" }, - }, - UpdateBasePathMapping: { - http: { - method: "PATCH", - requestUri: - "/domainnames/{domain_name}/basepathmappings/{base_path}", - }, - input: { - type: "structure", - required: ["domainName", "basePath"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - basePath: { location: "uri", locationName: "base_path" }, - patchOperations: { shape: "S6d" }, + S3PutObjectAcl: { + type: "structure", + members: { + AccessControlPolicy: { + type: "structure", + members: { + AccessControlList: { + type: "structure", + required: ["Owner"], + members: { + Owner: { + type: "structure", + members: { ID: {}, DisplayName: {} }, + }, + Grants: { shape: "Sx" }, + }, + }, + CannedAccessControlList: {}, + }, + }, + }, + }, + S3PutObjectTagging: { + type: "structure", + members: { TagSet: { shape: "S1b" } }, + }, + S3InitiateRestoreObject: { + type: "structure", + members: { + ExpirationInDays: { type: "integer" }, + GlacierJobTier: {}, + }, + }, + S3PutObjectLegalHold: { + type: "structure", + required: ["LegalHold"], + members: { + LegalHold: { + type: "structure", + required: ["Status"], + members: { Status: {} }, + }, + }, + }, + S3PutObjectRetention: { + type: "structure", + required: ["Retention"], + members: { + BypassGovernanceRetention: { type: "boolean" }, + Retention: { + type: "structure", + members: { + RetainUntilDate: { type: "timestamp" }, + Mode: {}, + }, + }, + }, }, }, - output: { shape: "Sh" }, }, - UpdateClientCertificate: { - http: { - method: "PATCH", - requestUri: "/clientcertificates/{clientcertificate_id}", - }, - input: { + Sx: { + type: "list", + member: { type: "structure", - required: ["clientCertificateId"], members: { - clientCertificateId: { - location: "uri", - locationName: "clientcertificate_id", + Grantee: { + type: "structure", + members: { + TypeIdentifier: {}, + Identifier: {}, + DisplayName: {}, + }, }, - patchOperations: { shape: "S6d" }, + Permission: {}, }, }, - output: { shape: "S31" }, }, - UpdateDeployment: { - http: { - method: "PATCH", - requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}", + S1b: { type: "list", member: { shape: "S1c" } }, + S1c: { + type: "structure", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, + }, + S1x: { + type: "structure", + required: ["Enabled"], + members: { + Bucket: {}, + Format: {}, + Enabled: { type: "boolean" }, + Prefix: {}, + ReportScope: {}, }, - input: { - type: "structure", - required: ["restApiId", "deploymentId"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - deploymentId: { - location: "uri", - locationName: "deployment_id", - }, - patchOperations: { shape: "S6d" }, + }, + S21: { + type: "structure", + required: ["Spec", "Location"], + members: { + Spec: { + type: "structure", + required: ["Format"], + members: { Format: {}, Fields: { type: "list", member: {} } }, + }, + Location: { + type: "structure", + required: ["ObjectArn", "ETag"], + members: { ObjectArn: {}, ObjectVersionId: {}, ETag: {} }, }, }, - output: { shape: "Sn" }, }, - UpdateDocumentationPart: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/documentation/parts/{part_id}", + S2w: { + type: "structure", + members: { + TotalNumberOfTasks: { type: "long" }, + NumberOfTasksSucceeded: { type: "long" }, + NumberOfTasksFailed: { type: "long" }, }, - input: { + }, + S3p: { + type: "list", + member: { + locationName: "Rule", type: "structure", - required: ["restApiId", "documentationPartId"], + required: ["Status"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationPartId: { - location: "uri", - locationName: "part_id", + Expiration: { + type: "structure", + members: { + Date: { type: "timestamp" }, + Days: { type: "integer" }, + ExpiredObjectDeleteMarker: { type: "boolean" }, + }, + }, + ID: {}, + Filter: { + type: "structure", + members: { + Prefix: {}, + Tag: { shape: "S1c" }, + And: { + type: "structure", + members: { Prefix: {}, Tags: { shape: "S1b" } }, + }, + }, + }, + Status: {}, + Transitions: { + type: "list", + member: { + locationName: "Transition", + type: "structure", + members: { + Date: { type: "timestamp" }, + Days: { type: "integer" }, + StorageClass: {}, + }, + }, + }, + NoncurrentVersionTransitions: { + type: "list", + member: { + locationName: "NoncurrentVersionTransition", + type: "structure", + members: { + NoncurrentDays: { type: "integer" }, + StorageClass: {}, + }, + }, + }, + NoncurrentVersionExpiration: { + type: "structure", + members: { NoncurrentDays: { type: "integer" } }, + }, + AbortIncompleteMultipartUpload: { + type: "structure", + members: { DaysAfterInitiation: { type: "integer" } }, }, - patchOperations: { shape: "S6d" }, }, }, - output: { shape: "Sv" }, }, - UpdateDocumentationVersion: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/documentation/versions/{doc_version}", - }, - input: { - type: "structure", - required: ["restApiId", "documentationVersion"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - documentationVersion: { - location: "uri", - locationName: "doc_version", + S4i: { + type: "structure", + required: ["Id", "AccountLevel", "IsEnabled"], + members: { + Id: {}, + AccountLevel: { + type: "structure", + required: ["BucketLevel"], + members: { + ActivityMetrics: { shape: "S4k" }, + BucketLevel: { + type: "structure", + members: { + ActivityMetrics: { shape: "S4k" }, + PrefixLevel: { + type: "structure", + required: ["StorageMetrics"], + members: { + StorageMetrics: { + type: "structure", + members: { + IsEnabled: { type: "boolean" }, + SelectionCriteria: { + type: "structure", + members: { + Delimiter: {}, + MaxDepth: { type: "integer" }, + MinStorageBytesPercentage: { type: "double" }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + Include: { + type: "structure", + members: { + Buckets: { shape: "S4u" }, + Regions: { shape: "S4v" }, + }, + }, + Exclude: { + type: "structure", + members: { + Buckets: { shape: "S4u" }, + Regions: { shape: "S4v" }, + }, + }, + DataExport: { + type: "structure", + required: ["S3BucketDestination"], + members: { + S3BucketDestination: { + type: "structure", + required: [ + "Format", + "OutputSchemaVersion", + "AccountId", + "Arn", + ], + members: { + Format: {}, + OutputSchemaVersion: {}, + AccountId: {}, + Arn: {}, + Prefix: {}, + Encryption: { + type: "structure", + members: { + SSES3: { + locationName: "SSE-S3", + type: "structure", + members: {}, + }, + SSEKMS: { + locationName: "SSE-KMS", + type: "structure", + required: ["KeyId"], + members: { KeyId: {} }, + }, + }, + }, + }, + }, }, - patchOperations: { shape: "S6d" }, }, + IsEnabled: { type: "boolean" }, + AwsOrg: { + type: "structure", + required: ["Arn"], + members: { Arn: {} }, + }, + StorageLensArn: {}, }, - output: { shape: "Sx" }, }, - UpdateDomainName: { - http: { method: "PATCH", requestUri: "/domainnames/{domain_name}" }, - input: { + S4k: { + type: "structure", + members: { IsEnabled: { type: "boolean" } }, + }, + S4u: { type: "list", member: { locationName: "Arn" } }, + S4v: { type: "list", member: { locationName: "Region" } }, + S5b: { + type: "list", + member: { + locationName: "Tag", type: "structure", - required: ["domainName"], - members: { - domainName: { location: "uri", locationName: "domain_name" }, - patchOperations: { shape: "S6d" }, - }, + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, }, - output: { shape: "S13" }, }, - UpdateGatewayResponse: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/gatewayresponses/{response_type}", - }, - input: { - type: "structure", - required: ["restApiId", "responseType"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - responseType: { - location: "uri", - locationName: "response_type", + }, + }; + + /***/ + }, + + /***/ 2102: /***/ function (__unusedmodule, exports, __webpack_require__) { + "use strict"; + + // For internal use, subject to change. + var __createBinding = + (this && this.__createBinding) || + (Object.create + ? function (o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { + enumerable: true, + get: function () { + return m[k]; }, - patchOperations: { shape: "S6d" }, + }); + } + : function (o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }); + var __setModuleDefault = + (this && this.__setModuleDefault) || + (Object.create + ? function (o, v) { + Object.defineProperty(o, "default", { + enumerable: true, + value: v, + }); + } + : function (o, v) { + o["default"] = v; + }); + var __importStar = + (this && this.__importStar) || + function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) + for (var k in mod) + if (k !== "default" && Object.hasOwnProperty.call(mod, k)) + __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; + }; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; + // We use any as a valid input type + /* eslint-disable @typescript-eslint/no-explicit-any */ + const fs = __importStar(__webpack_require__(5747)); + const os = __importStar(__webpack_require__(2087)); + const uuid_1 = __webpack_require__(6025); + const utils_1 = __webpack_require__(5082); + function issueFileCommand(command, message) { + const filePath = process.env[`GITHUB_${command}`]; + if (!filePath) { + throw new Error( + `Unable to find environment variable for file command ${command}` + ); + } + if (!fs.existsSync(filePath)) { + throw new Error(`Missing file at path: ${filePath}`); + } + fs.appendFileSync( + filePath, + `${utils_1.toCommandValue(message)}${os.EOL}`, + { + encoding: "utf8", + } + ); + } + exports.issueFileCommand = issueFileCommand; + function prepareKeyValueMessage(key, value) { + const delimiter = `ghadelimiter_${uuid_1.v4()}`; + const convertedValue = utils_1.toCommandValue(value); + // These should realistically never happen, but just in case someone finds a + // way to exploit uuid generation let's not allow keys or values that contain + // the delimiter. + if (key.includes(delimiter)) { + throw new Error( + `Unexpected input: name should not contain the delimiter "${delimiter}"` + ); + } + if (convertedValue.includes(delimiter)) { + throw new Error( + `Unexpected input: value should not contain the delimiter "${delimiter}"` + ); + } + return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`; + } + exports.prepareKeyValueMessage = prepareKeyValueMessage; + //# sourceMappingURL=file-command.js.map + + /***/ + }, + + /***/ 2106: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["migrationhub"] = {}; + AWS.MigrationHub = Service.defineService("migrationhub", ["2017-05-31"]); + Object.defineProperty(apiLoader.services["migrationhub"], "2017-05-31", { + get: function get() { + var model = __webpack_require__(6686); + model.paginators = __webpack_require__(370).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.MigrationHub; + + /***/ + }, + + /***/ 2110: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["synthetics"] = {}; + AWS.Synthetics = Service.defineService("synthetics", ["2017-10-11"]); + Object.defineProperty(apiLoader.services["synthetics"], "2017-10-11", { + get: function get() { + var model = __webpack_require__(7717); + model.paginators = __webpack_require__(1340).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.Synthetics; + + /***/ + }, + + /***/ 2120: /***/ function (module) { + module.exports = { + pagination: { + GetBotAliases: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetBotChannelAssociations: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetBotVersions: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetBots: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetBuiltinIntents: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetBuiltinSlotTypes: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetIntentVersions: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetIntents: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetSlotTypeVersions: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + GetSlotTypes: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + }, + }; + + /***/ + }, + + /***/ 2122: /***/ function (module) { + module.exports = { + pagination: { + GetDevicePositionHistory: { + input_token: "NextToken", + output_token: "NextToken", + result_key: "DevicePositions", + }, + ListGeofenceCollections: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Entries", + }, + ListGeofences: { + input_token: "NextToken", + output_token: "NextToken", + result_key: "Entries", + }, + ListMaps: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Entries", + }, + ListPlaceIndexes: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Entries", + }, + ListTrackerConsumers: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "ConsumerArns", + }, + ListTrackers: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Entries", + }, + }, + }; + + /***/ + }, + + /***/ 2135: /***/ function (__unusedmodule, exports, __webpack_require__) { + "use strict"; + + Object.defineProperty(exports, "__esModule", { + value: true, + }); + exports.default = void 0; + + var _validate = _interopRequireDefault(__webpack_require__(6634)); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + function version(uuid) { + if (!(0, _validate.default)(uuid)) { + throw TypeError("Invalid UUID"); + } + + return parseInt(uuid.substr(14, 1), 16); + } + + var _default = version; + exports.default = _default; + + /***/ + }, + + /***/ 2145: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["workmailmessageflow"] = {}; + AWS.WorkMailMessageFlow = Service.defineService("workmailmessageflow", [ + "2019-05-01", + ]); + Object.defineProperty( + apiLoader.services["workmailmessageflow"], + "2019-05-01", + { + get: function get() { + var model = __webpack_require__(3642); + model.paginators = __webpack_require__(2028).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.WorkMailMessageFlow; + + /***/ + }, + + /***/ 2189: /***/ function (module) { + module.exports = { + pagination: { + GetDedicatedIps: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListConfigurationSets: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListContactLists: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListContacts: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListCustomVerificationEmailTemplates: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListDedicatedIpPools: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListDeliverabilityTestReports: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListDomainDeliverabilityCampaigns: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListEmailIdentities: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListEmailTemplates: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListImportJobs: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + ListSuppressedDestinations: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "PageSize", + }, + }, + }; + + /***/ + }, + + /***/ 2204: /***/ function (module) { + module.exports = { + pagination: { + SearchDevices: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "devices", + }, + SearchQuantumTasks: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "quantumTasks", + }, + }, + }; + + /***/ + }, + + /***/ 2214: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["cognitoidentity"] = {}; + AWS.CognitoIdentity = Service.defineService("cognitoidentity", [ + "2014-06-30", + ]); + Object.defineProperty( + apiLoader.services["cognitoidentity"], + "2014-06-30", + { + get: function get() { + var model = __webpack_require__(7056); + model.paginators = __webpack_require__(7280).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.CognitoIdentity; + + /***/ + }, + + /***/ 2220: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["braket"] = {}; + AWS.Braket = Service.defineService("braket", ["2019-09-01"]); + Object.defineProperty(apiLoader.services["braket"], "2019-09-01", { + get: function get() { + var model = __webpack_require__(6039); + model.paginators = __webpack_require__(2204).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.Braket; + + /***/ + }, + + /***/ 2221: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["iotsitewise"] = {}; + AWS.IoTSiteWise = Service.defineService("iotsitewise", ["2019-12-02"]); + Object.defineProperty(apiLoader.services["iotsitewise"], "2019-12-02", { + get: function get() { + var model = __webpack_require__(1872); + model.paginators = __webpack_require__(9090).pagination; + model.waiters = __webpack_require__(9472).waiters; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.IoTSiteWise; + + /***/ + }, + + /***/ 2225: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 2230: /***/ function (module) { + module.exports = { + version: 2, + waiters: { + ProjectVersionTrainingCompleted: { + description: "Wait until the ProjectVersion training completes.", + operation: "DescribeProjectVersions", + delay: 120, + maxAttempts: 360, + acceptors: [ + { + state: "success", + matcher: "pathAll", + argument: "ProjectVersionDescriptions[].Status", + expected: "TRAINING_COMPLETED", }, - }, - output: { shape: "S45" }, + { + state: "failure", + matcher: "pathAny", + argument: "ProjectVersionDescriptions[].Status", + expected: "TRAINING_FAILED", + }, + ], }, - UpdateIntegration: { - http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - patchOperations: { shape: "S6d" }, + ProjectVersionRunning: { + description: "Wait until the ProjectVersion is running.", + delay: 30, + maxAttempts: 40, + operation: "DescribeProjectVersions", + acceptors: [ + { + state: "success", + matcher: "pathAll", + argument: "ProjectVersionDescriptions[].Status", + expected: "RUNNING", }, - }, - output: { shape: "S1h" }, + { + state: "failure", + matcher: "pathAny", + argument: "ProjectVersionDescriptions[].Status", + expected: "FAILED", + }, + ], }, - UpdateIntegrationResponse: { + }, + }; + + /***/ + }, + + /***/ 2241: /***/ function (module) { + module.exports = { + metadata: { + apiVersion: "2018-09-05", + endpointPrefix: "sms-voice.pinpoint", + signingName: "sms-voice", + serviceAbbreviation: "Pinpoint SMS Voice", + serviceFullName: "Amazon Pinpoint SMS and Voice Service", + serviceId: "Pinpoint SMS Voice", + protocol: "rest-json", + jsonVersion: "1.1", + uid: "pinpoint-sms-voice-2018-09-05", + signatureVersion: "v4", + }, + operations: { + CreateConfigurationSet: { http: { - method: "PATCH", - requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", - }, - input: { - type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], - members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - patchOperations: { shape: "S6d" }, - }, + requestUri: "/v1/sms-voice/configuration-sets", + responseCode: 200, }, - output: { shape: "S1n" }, + input: { type: "structure", members: { ConfigurationSetName: {} } }, + output: { type: "structure", members: {} }, }, - UpdateMethod: { + CreateConfigurationSetEventDestination: { http: { - method: "PATCH", requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", + "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - patchOperations: { shape: "S6d" }, + ConfigurationSetName: { + location: "uri", + locationName: "ConfigurationSetName", + }, + EventDestination: { shape: "S6" }, + EventDestinationName: {}, }, + required: ["ConfigurationSetName"], }, - output: { shape: "S1c" }, + output: { type: "structure", members: {} }, }, - UpdateMethodResponse: { + DeleteConfigurationSet: { http: { - method: "PATCH", + method: "DELETE", requestUri: - "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", - responseCode: 201, + "/v1/sms-voice/configuration-sets/{ConfigurationSetName}", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "resourceId", "httpMethod", "statusCode"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - httpMethod: { location: "uri", locationName: "http_method" }, - statusCode: { location: "uri", locationName: "status_code" }, - patchOperations: { shape: "S6d" }, + ConfigurationSetName: { + location: "uri", + locationName: "ConfigurationSetName", + }, }, + required: ["ConfigurationSetName"], }, - output: { shape: "S1f" }, + output: { type: "structure", members: {} }, }, - UpdateModel: { + DeleteConfigurationSetEventDestination: { http: { - method: "PATCH", - requestUri: "/restapis/{restapi_id}/models/{model_name}", + method: "DELETE", + requestUri: + "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "modelName"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - modelName: { location: "uri", locationName: "model_name" }, - patchOperations: { shape: "S6d" }, + ConfigurationSetName: { + location: "uri", + locationName: "ConfigurationSetName", + }, + EventDestinationName: { + location: "uri", + locationName: "EventDestinationName", + }, }, + required: ["EventDestinationName", "ConfigurationSetName"], }, - output: { shape: "S16" }, + output: { type: "structure", members: {} }, }, - UpdateRequestValidator: { + GetConfigurationSetEventDestinations: { http: { - method: "PATCH", + method: "GET", requestUri: - "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", + "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", + responseCode: 200, }, input: { type: "structure", - required: ["restApiId", "requestValidatorId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - requestValidatorId: { + ConfigurationSetName: { location: "uri", - locationName: "requestvalidator_id", + locationName: "ConfigurationSetName", }, - patchOperations: { shape: "S6d" }, }, + required: ["ConfigurationSetName"], }, - output: { shape: "S18" }, - }, - UpdateResource: { - http: { - method: "PATCH", - requestUri: "/restapis/{restapi_id}/resources/{resource_id}", - }, - input: { + output: { type: "structure", - required: ["restApiId", "resourceId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - resourceId: { location: "uri", locationName: "resource_id" }, - patchOperations: { shape: "S6d" }, + EventDestinations: { + type: "list", + member: { + type: "structure", + members: { + CloudWatchLogsDestination: { shape: "S7" }, + Enabled: { type: "boolean" }, + KinesisFirehoseDestination: { shape: "Sa" }, + MatchingEventTypes: { shape: "Sb" }, + Name: {}, + SnsDestination: { shape: "Sd" }, + }, + }, + }, }, }, - output: { shape: "S1a" }, }, - UpdateRestApi: { - http: { method: "PATCH", requestUri: "/restapis/{restapi_id}" }, + ListConfigurationSets: { + http: { + method: "GET", + requestUri: "/v1/sms-voice/configuration-sets", + responseCode: 200, + }, input: { type: "structure", - required: ["restApiId"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - patchOperations: { shape: "S6d" }, + NextToken: { + location: "querystring", + locationName: "NextToken", + }, + PageSize: { location: "querystring", locationName: "PageSize" }, }, }, - output: { shape: "S1q" }, - }, - UpdateStage: { - http: { - method: "PATCH", - requestUri: "/restapis/{restapi_id}/stages/{stage_name}", - }, - input: { + output: { type: "structure", - required: ["restApiId", "stageName"], members: { - restApiId: { location: "uri", locationName: "restapi_id" }, - stageName: { location: "uri", locationName: "stage_name" }, - patchOperations: { shape: "S6d" }, + ConfigurationSets: { type: "list", member: {} }, + NextToken: {}, }, }, - output: { shape: "S1t" }, }, - UpdateUsage: { + SendVoiceMessage: { http: { - method: "PATCH", - requestUri: "/usageplans/{usageplanId}/keys/{keyId}/usage", + requestUri: "/v1/sms-voice/voice/message", + responseCode: 200, }, input: { type: "structure", - required: ["usagePlanId", "keyId"], members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - keyId: { location: "uri", locationName: "keyId" }, - patchOperations: { shape: "S6d" }, + CallerId: {}, + ConfigurationSetName: {}, + Content: { + type: "structure", + members: { + CallInstructionsMessage: { + type: "structure", + members: { Text: {} }, + required: [], + }, + PlainTextMessage: { + type: "structure", + members: { LanguageCode: {}, Text: {}, VoiceId: {} }, + required: [], + }, + SSMLMessage: { + type: "structure", + members: { LanguageCode: {}, Text: {}, VoiceId: {} }, + required: [], + }, + }, + }, + DestinationPhoneNumber: {}, + OriginationPhoneNumber: {}, }, }, - output: { shape: "S5b" }, + output: { type: "structure", members: { MessageId: {} } }, }, - UpdateUsagePlan: { - http: { method: "PATCH", requestUri: "/usageplans/{usageplanId}" }, - input: { - type: "structure", - required: ["usagePlanId"], - members: { - usagePlanId: { location: "uri", locationName: "usageplanId" }, - patchOperations: { shape: "S6d" }, - }, + UpdateConfigurationSetEventDestination: { + http: { + method: "PUT", + requestUri: + "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", + responseCode: 200, }, - output: { shape: "S26" }, - }, - UpdateVpcLink: { - http: { method: "PATCH", requestUri: "/vpclinks/{vpclink_id}" }, input: { type: "structure", - required: ["vpcLinkId"], members: { - vpcLinkId: { location: "uri", locationName: "vpclink_id" }, - patchOperations: { shape: "S6d" }, + ConfigurationSetName: { + location: "uri", + locationName: "ConfigurationSetName", + }, + EventDestination: { shape: "S6" }, + EventDestinationName: { + location: "uri", + locationName: "EventDestinationName", + }, }, + required: ["EventDestinationName", "ConfigurationSetName"], }, - output: { shape: "S2a" }, + output: { type: "structure", members: {} }, }, }, shapes: { - S6: { type: "map", key: {}, value: {} }, - S7: { - type: "structure", - members: { - id: {}, - value: {}, - name: {}, - customerId: {}, - description: {}, - enabled: { type: "boolean" }, - createdDate: { type: "timestamp" }, - lastUpdatedDate: { type: "timestamp" }, - stageKeys: { shape: "S9" }, - tags: { shape: "S6" }, - }, - }, - S9: { type: "list", member: {} }, - Sc: { type: "list", member: {} }, - Sf: { - type: "structure", - members: { - id: {}, - name: {}, - type: {}, - providerARNs: { shape: "Sc" }, - authType: {}, - authorizerUri: {}, - authorizerCredentials: {}, - identitySource: {}, - identityValidationExpression: {}, - authorizerResultTtlInSeconds: { type: "integer" }, - }, - }, - Sh: { - type: "structure", - members: { basePath: {}, restApiId: {}, stage: {} }, - }, - Sn: { - type: "structure", - members: { - id: {}, - description: {}, - createdDate: { type: "timestamp" }, - apiSummary: { - type: "map", - key: {}, - value: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - authorizationType: {}, - apiKeyRequired: { type: "boolean" }, - }, - }, - }, - }, - }, - }, - Ss: { - type: "structure", - required: ["type"], - members: { - type: {}, - path: {}, - method: {}, - statusCode: {}, - name: {}, - }, - }, - Sv: { - type: "structure", - members: { id: {}, location: { shape: "Ss" }, properties: {} }, - }, - Sx: { - type: "structure", - members: { - version: {}, - createdDate: { type: "timestamp" }, - description: {}, - }, - }, - Sz: { - type: "structure", - members: { - types: { type: "list", member: {} }, - vpcEndpointIds: { shape: "S9" }, - }, - }, - S13: { - type: "structure", - members: { - domainName: {}, - certificateName: {}, - certificateArn: {}, - certificateUploadDate: { type: "timestamp" }, - regionalDomainName: {}, - regionalHostedZoneId: {}, - regionalCertificateName: {}, - regionalCertificateArn: {}, - distributionDomainName: {}, - distributionHostedZoneId: {}, - endpointConfiguration: { shape: "Sz" }, - domainNameStatus: {}, - domainNameStatusMessage: {}, - securityPolicy: {}, - tags: { shape: "S6" }, - }, - }, - S16: { - type: "structure", - members: { - id: {}, - name: {}, - description: {}, - schema: {}, - contentType: {}, - }, - }, - S18: { - type: "structure", - members: { - id: {}, - name: {}, - validateRequestBody: { type: "boolean" }, - validateRequestParameters: { type: "boolean" }, - }, - }, - S1a: { - type: "structure", - members: { - id: {}, - parentId: {}, - pathPart: {}, - path: {}, - resourceMethods: { - type: "map", - key: {}, - value: { shape: "S1c" }, - }, - }, - }, - S1c: { - type: "structure", - members: { - httpMethod: {}, - authorizationType: {}, - authorizerId: {}, - apiKeyRequired: { type: "boolean" }, - requestValidatorId: {}, - operationName: {}, - requestParameters: { shape: "S1d" }, - requestModels: { shape: "S6" }, - methodResponses: { - type: "map", - key: {}, - value: { shape: "S1f" }, - }, - methodIntegration: { shape: "S1h" }, - authorizationScopes: { shape: "S9" }, - }, - }, - S1d: { type: "map", key: {}, value: { type: "boolean" } }, - S1f: { - type: "structure", - members: { - statusCode: {}, - responseParameters: { shape: "S1d" }, - responseModels: { shape: "S6" }, - }, - }, - S1h: { - type: "structure", - members: { - type: {}, - httpMethod: {}, - uri: {}, - connectionType: {}, - connectionId: {}, - credentials: {}, - requestParameters: { shape: "S6" }, - requestTemplates: { shape: "S6" }, - passthroughBehavior: {}, - contentHandling: {}, - timeoutInMillis: { type: "integer" }, - cacheNamespace: {}, - cacheKeyParameters: { shape: "S9" }, - integrationResponses: { - type: "map", - key: {}, - value: { shape: "S1n" }, - }, - }, - }, - S1n: { - type: "structure", - members: { - statusCode: {}, - selectionPattern: {}, - responseParameters: { shape: "S6" }, - responseTemplates: { shape: "S6" }, - contentHandling: {}, - }, - }, - S1q: { - type: "structure", - members: { - id: {}, - name: {}, - description: {}, - createdDate: { type: "timestamp" }, - version: {}, - warnings: { shape: "S9" }, - binaryMediaTypes: { shape: "S9" }, - minimumCompressionSize: { type: "integer" }, - apiKeySource: {}, - endpointConfiguration: { shape: "Sz" }, - policy: {}, - tags: { shape: "S6" }, - }, - }, - S1s: { - type: "structure", - members: { - percentTraffic: { type: "double" }, - deploymentId: {}, - stageVariableOverrides: { shape: "S6" }, - useStageCache: { type: "boolean" }, - }, - }, - S1t: { - type: "structure", - members: { - deploymentId: {}, - clientCertificateId: {}, - stageName: {}, - description: {}, - cacheClusterEnabled: { type: "boolean" }, - cacheClusterSize: {}, - cacheClusterStatus: {}, - methodSettings: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - metricsEnabled: { type: "boolean" }, - loggingLevel: {}, - dataTraceEnabled: { type: "boolean" }, - throttlingBurstLimit: { type: "integer" }, - throttlingRateLimit: { type: "double" }, - cachingEnabled: { type: "boolean" }, - cacheTtlInSeconds: { type: "integer" }, - cacheDataEncrypted: { type: "boolean" }, - requireAuthorizationForCacheControl: { type: "boolean" }, - unauthorizedCacheControlHeaderStrategy: {}, - }, - }, - }, - variables: { shape: "S6" }, - documentationVersion: {}, - accessLogSettings: { - type: "structure", - members: { format: {}, destinationArn: {} }, - }, - canarySettings: { shape: "S1s" }, - tracingEnabled: { type: "boolean" }, - webAclArn: {}, - tags: { shape: "S6" }, - createdDate: { type: "timestamp" }, - lastUpdatedDate: { type: "timestamp" }, - }, - }, - S20: { - type: "list", - member: { - type: "structure", - members: { - apiId: {}, - stage: {}, - throttle: { type: "map", key: {}, value: { shape: "S23" } }, - }, - }, - }, - S23: { - type: "structure", - members: { - burstLimit: { type: "integer" }, - rateLimit: { type: "double" }, - }, - }, - S24: { - type: "structure", - members: { - limit: { type: "integer" }, - offset: { type: "integer" }, - period: {}, - }, - }, - S26: { - type: "structure", - members: { - id: {}, - name: {}, - description: {}, - apiStages: { shape: "S20" }, - throttle: { shape: "S23" }, - quota: { shape: "S24" }, - productCode: {}, - tags: { shape: "S6" }, - }, - }, - S28: { - type: "structure", - members: { id: {}, type: {}, value: {}, name: {} }, - }, - S2a: { - type: "structure", - members: { - id: {}, - name: {}, - description: {}, - targetArns: { shape: "S9" }, - status: {}, - statusMessage: {}, - tags: { shape: "S6" }, - }, - }, - S31: { - type: "structure", - members: { - clientCertificateId: {}, - description: {}, - pemEncodedCertificate: {}, - createdDate: { type: "timestamp" }, - expirationDate: { type: "timestamp" }, - tags: { shape: "S6" }, - }, - }, - S33: { - type: "structure", - members: { - cloudwatchRoleArn: {}, - throttleSettings: { shape: "S23" }, - features: { shape: "S9" }, - apiKeyVersion: {}, - }, - }, - S45: { + S6: { type: "structure", members: { - responseType: {}, - statusCode: {}, - responseParameters: { shape: "S6" }, - responseTemplates: { shape: "S6" }, - defaultResponse: { type: "boolean" }, + CloudWatchLogsDestination: { shape: "S7" }, + Enabled: { type: "boolean" }, + KinesisFirehoseDestination: { shape: "Sa" }, + MatchingEventTypes: { shape: "Sb" }, + SnsDestination: { shape: "Sd" }, }, + required: [], }, - S4y: { + S7: { type: "structure", - members: { - id: {}, - friendlyName: {}, - description: {}, - configurationProperties: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - friendlyName: {}, - description: {}, - required: { type: "boolean" }, - defaultValue: {}, - }, - }, - }, - }, + members: { IamRoleArn: {}, LogGroupArn: {} }, + required: [], }, - S5b: { + Sa: { type: "structure", - members: { - usagePlanId: {}, - startDate: {}, - endDate: {}, - position: {}, - items: { - locationName: "values", - type: "map", - key: {}, - value: { - type: "list", - member: { type: "list", member: { type: "long" } }, - }, - }, - }, - }, - S67: { type: "map", key: {}, value: { shape: "S9" } }, - S6d: { - type: "list", - member: { - type: "structure", - members: { op: {}, path: {}, value: {}, from: {} }, - }, + members: { DeliveryStreamArn: {}, IamRoleArn: {} }, + required: [], }, + Sb: { type: "list", member: {} }, + Sd: { type: "structure", members: { TopicArn: {} }, required: [] }, }, }; /***/ }, - /***/ 2541: /***/ function (module, __unusedexports, __webpack_require__) { + /***/ 2259: /***/ function (module, __unusedexports, __webpack_require__) { __webpack_require__(3234); - module.exports = { - ACM: __webpack_require__(9427), - APIGateway: __webpack_require__(7126), - ApplicationAutoScaling: __webpack_require__(170), - AppStream: __webpack_require__(7624), - AutoScaling: __webpack_require__(9595), - Batch: __webpack_require__(6605), - Budgets: __webpack_require__(1836), - CloudDirectory: __webpack_require__(469), - CloudFormation: __webpack_require__(8021), - CloudFront: __webpack_require__(4779), - CloudHSM: __webpack_require__(5701), - CloudSearch: __webpack_require__(9890), - CloudSearchDomain: __webpack_require__(8395), - CloudTrail: __webpack_require__(768), - CloudWatch: __webpack_require__(5967), - CloudWatchEvents: __webpack_require__(5114), - CloudWatchLogs: __webpack_require__(4227), - CodeBuild: __webpack_require__(665), - CodeCommit: __webpack_require__(4086), - CodeDeploy: __webpack_require__(2317), - CodePipeline: __webpack_require__(8773), - CognitoIdentity: __webpack_require__(2214), - CognitoIdentityServiceProvider: __webpack_require__(9291), - CognitoSync: __webpack_require__(1186), - ConfigService: __webpack_require__(6458), - CUR: __webpack_require__(4671), - DataPipeline: __webpack_require__(5109), - DeviceFarm: __webpack_require__(1372), - DirectConnect: __webpack_require__(8331), - DirectoryService: __webpack_require__(7194), - Discovery: __webpack_require__(4341), - DMS: __webpack_require__(6261), - DynamoDB: __webpack_require__(7502), - DynamoDBStreams: __webpack_require__(9822), - EC2: __webpack_require__(3877), - ECR: __webpack_require__(5773), - ECS: __webpack_require__(6211), - EFS: __webpack_require__(6887), - ElastiCache: __webpack_require__(9236), - ElasticBeanstalk: __webpack_require__(9452), - ELB: __webpack_require__(600), - ELBv2: __webpack_require__(1420), - EMR: __webpack_require__(1928), - ES: __webpack_require__(1920), - ElasticTranscoder: __webpack_require__(8930), - Firehose: __webpack_require__(9405), - GameLift: __webpack_require__(8307), - Glacier: __webpack_require__(9096), - Health: __webpack_require__(7715), - IAM: __webpack_require__(7845), - ImportExport: __webpack_require__(6384), - Inspector: __webpack_require__(4343), - Iot: __webpack_require__(6255), - IotData: __webpack_require__(1291), - Kinesis: __webpack_require__(7221), - KinesisAnalytics: __webpack_require__(3506), - KMS: __webpack_require__(9374), - Lambda: __webpack_require__(6382), - LexRuntime: __webpack_require__(1879), - Lightsail: __webpack_require__(7350), - MachineLearning: __webpack_require__(5889), - MarketplaceCommerceAnalytics: __webpack_require__(8458), - MarketplaceMetering: __webpack_require__(9225), - MTurk: __webpack_require__(6427), - MobileAnalytics: __webpack_require__(6117), - OpsWorks: __webpack_require__(5542), - OpsWorksCM: __webpack_require__(6738), - Organizations: __webpack_require__(7106), - Pinpoint: __webpack_require__(5381), - Polly: __webpack_require__(4211), - RDS: __webpack_require__(1071), - Redshift: __webpack_require__(5609), - Rekognition: __webpack_require__(8991), - ResourceGroupsTaggingAPI: __webpack_require__(6205), - Route53: __webpack_require__(5707), - Route53Domains: __webpack_require__(3206), - S3: __webpack_require__(1777), - S3Control: __webpack_require__(2617), - ServiceCatalog: __webpack_require__(2673), - SES: __webpack_require__(5311), - Shield: __webpack_require__(8057), - SimpleDB: __webpack_require__(7645), - SMS: __webpack_require__(5103), - Snowball: __webpack_require__(2259), - SNS: __webpack_require__(6735), - SQS: __webpack_require__(8779), - SSM: __webpack_require__(2883), - StorageGateway: __webpack_require__(910), - StepFunctions: __webpack_require__(5835), - STS: __webpack_require__(1733), - Support: __webpack_require__(3042), - SWF: __webpack_require__(8866), - XRay: __webpack_require__(1015), - WAF: __webpack_require__(4258), - WAFRegional: __webpack_require__(2709), - WorkDocs: __webpack_require__(4469), - WorkSpaces: __webpack_require__(4400), - CodeStar: __webpack_require__(7205), - LexModelBuildingService: __webpack_require__(4888), - MarketplaceEntitlementService: __webpack_require__(8265), - Athena: __webpack_require__(7207), - Greengrass: __webpack_require__(4290), - DAX: __webpack_require__(7258), - MigrationHub: __webpack_require__(2106), - CloudHSMV2: __webpack_require__(6900), - Glue: __webpack_require__(1711), - Mobile: __webpack_require__(758), - Pricing: __webpack_require__(3989), - CostExplorer: __webpack_require__(332), - MediaConvert: __webpack_require__(9568), - MediaLive: __webpack_require__(99), - MediaPackage: __webpack_require__(6515), - MediaStore: __webpack_require__(1401), - MediaStoreData: __webpack_require__(2271), - AppSync: __webpack_require__(8847), - GuardDuty: __webpack_require__(5939), - MQ: __webpack_require__(3346), - Comprehend: __webpack_require__(9627), - IoTJobsDataPlane: __webpack_require__(6394), - KinesisVideoArchivedMedia: __webpack_require__(6454), - KinesisVideoMedia: __webpack_require__(4487), - KinesisVideo: __webpack_require__(3707), - SageMakerRuntime: __webpack_require__(2747), - SageMaker: __webpack_require__(7151), - Translate: __webpack_require__(1602), - ResourceGroups: __webpack_require__(215), - AlexaForBusiness: __webpack_require__(8679), - Cloud9: __webpack_require__(877), - ServerlessApplicationRepository: __webpack_require__(1592), - ServiceDiscovery: __webpack_require__(6688), - WorkMail: __webpack_require__(7404), - AutoScalingPlans: __webpack_require__(3099), - TranscribeService: __webpack_require__(8577), - Connect: __webpack_require__(697), - ACMPCA: __webpack_require__(2386), - FMS: __webpack_require__(7923), - SecretsManager: __webpack_require__(585), - IoTAnalytics: __webpack_require__(7010), - IoT1ClickDevicesService: __webpack_require__(8859), - IoT1ClickProjects: __webpack_require__(9523), - PI: __webpack_require__(1032), - Neptune: __webpack_require__(8660), - MediaTailor: __webpack_require__(466), - EKS: __webpack_require__(1429), - Macie: __webpack_require__(7899), - DLM: __webpack_require__(160), - Signer: __webpack_require__(4795), - Chime: __webpack_require__(7409), - PinpointEmail: __webpack_require__(8843), - RAM: __webpack_require__(8421), - Route53Resolver: __webpack_require__(4915), - PinpointSMSVoice: __webpack_require__(1187), - QuickSight: __webpack_require__(9475), - RDSDataService: __webpack_require__(408), - Amplify: __webpack_require__(8375), - DataSync: __webpack_require__(9980), - RoboMaker: __webpack_require__(4802), - Transfer: __webpack_require__(7830), - GlobalAccelerator: __webpack_require__(7443), - ComprehendMedical: __webpack_require__(9457), - KinesisAnalyticsV2: __webpack_require__(7043), - MediaConnect: __webpack_require__(9526), - FSx: __webpack_require__(8937), - SecurityHub: __webpack_require__(1353), - AppMesh: __webpack_require__(7555), - LicenseManager: __webpack_require__(3110), - Kafka: __webpack_require__(1275), - ApiGatewayManagementApi: __webpack_require__(5319), - ApiGatewayV2: __webpack_require__(2020), - DocDB: __webpack_require__(7223), - Backup: __webpack_require__(4604), - WorkLink: __webpack_require__(1250), - Textract: __webpack_require__(3223), - ManagedBlockchain: __webpack_require__(3220), - MediaPackageVod: __webpack_require__(2339), - GroundStation: __webpack_require__(9976), - IoTThingsGraph: __webpack_require__(2327), - IoTEvents: __webpack_require__(3222), - IoTEventsData: __webpack_require__(7581), - Personalize: __webpack_require__(8478), - PersonalizeEvents: __webpack_require__(8280), - PersonalizeRuntime: __webpack_require__(1349), - ApplicationInsights: __webpack_require__(9512), - ServiceQuotas: __webpack_require__(6723), - EC2InstanceConnect: __webpack_require__(5107), - EventBridge: __webpack_require__(4105), - LakeFormation: __webpack_require__(7026), - ForecastService: __webpack_require__(1798), - ForecastQueryService: __webpack_require__(4068), - QLDB: __webpack_require__(9086), - QLDBSession: __webpack_require__(2447), - WorkMailMessageFlow: __webpack_require__(2145), - CodeStarNotifications: __webpack_require__(3853), - SavingsPlans: __webpack_require__(686), - SSO: __webpack_require__(4612), - SSOOIDC: __webpack_require__(1786), - MarketplaceCatalog: __webpack_require__(6773), - DataExchange: __webpack_require__(8433), - SESV2: __webpack_require__(837), - MigrationHubConfig: __webpack_require__(5924), - ConnectParticipant: __webpack_require__(4122), - AppConfig: __webpack_require__(5821), - IoTSecureTunneling: __webpack_require__(6992), - WAFV2: __webpack_require__(42), - ElasticInference: __webpack_require__(5252), - Imagebuilder: __webpack_require__(6244), - Schemas: __webpack_require__(3694), - AccessAnalyzer: __webpack_require__(2467), - CodeGuruReviewer: __webpack_require__(1917), - CodeGuruProfiler: __webpack_require__(623), - ComputeOptimizer: __webpack_require__(1530), - FraudDetector: __webpack_require__(9196), - Kendra: __webpack_require__(6906), - NetworkManager: __webpack_require__(4128), - Outposts: __webpack_require__(8119), - AugmentedAIRuntime: __webpack_require__(7508), - EBS: __webpack_require__(7646), - KinesisVideoSignalingChannels: __webpack_require__(2641), - Detective: __webpack_require__(1068), - CodeStarconnections: __webpack_require__(1096), - }; - - /***/ - }, + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - /***/ 2572: /***/ function (module) { - module.exports = { - rules: { - "*/*": { endpoint: "{service}.{region}.amazonaws.com" }, - "cn-*/*": { endpoint: "{service}.{region}.amazonaws.com.cn" }, - "us-iso-*/*": { endpoint: "{service}.{region}.c2s.ic.gov" }, - "us-isob-*/*": { endpoint: "{service}.{region}.sc2s.sgov.gov" }, - "*/budgets": "globalSSL", - "*/cloudfront": "globalSSL", - "*/iam": "globalSSL", - "*/sts": "globalSSL", - "*/importexport": { - endpoint: "{service}.amazonaws.com", - signatureVersion: "v2", - globalEndpoint: true, - }, - "*/route53": { - endpoint: "https://{service}.amazonaws.com", - signatureVersion: "v3https", - globalEndpoint: true, - }, - "*/waf": "globalSSL", - "us-gov-*/iam": "globalGovCloud", - "us-gov-*/sts": { endpoint: "{service}.{region}.amazonaws.com" }, - "us-gov-west-1/s3": "s3signature", - "us-west-1/s3": "s3signature", - "us-west-2/s3": "s3signature", - "eu-west-1/s3": "s3signature", - "ap-southeast-1/s3": "s3signature", - "ap-southeast-2/s3": "s3signature", - "ap-northeast-1/s3": "s3signature", - "sa-east-1/s3": "s3signature", - "us-east-1/s3": { - endpoint: "{service}.amazonaws.com", - signatureVersion: "s3", - }, - "us-east-1/sdb": { - endpoint: "{service}.amazonaws.com", - signatureVersion: "v2", - }, - "*/sdb": { - endpoint: "{service}.{region}.amazonaws.com", - signatureVersion: "v2", - }, - }, - patterns: { - globalSSL: { - endpoint: "https://{service}.amazonaws.com", - globalEndpoint: true, - }, - globalGovCloud: { endpoint: "{service}.us-gov.amazonaws.com" }, - s3signature: { - endpoint: "{service}.{region}.amazonaws.com", - signatureVersion: "s3", - }, + apiLoader.services["snowball"] = {}; + AWS.Snowball = Service.defineService("snowball", ["2016-06-30"]); + Object.defineProperty(apiLoader.services["snowball"], "2016-06-30", { + get: function get() { + var model = __webpack_require__(4887); + model.paginators = __webpack_require__(184).pagination; + return model; }, - }; - - /***/ - }, + enumerable: true, + configurable: true, + }); - /***/ 2592: /***/ function (module) { - module.exports = { - pagination: { - ListAccessPoints: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListJobs: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; + module.exports = AWS.Snowball; /***/ }, - /***/ 2599: /***/ function (module) { + /***/ 2261: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2018-11-05", - endpointPrefix: "transfer", + apiVersion: "2016-10-20", + endpointPrefix: "budgets", jsonVersion: "1.1", protocol: "json", - serviceAbbreviation: "AWS Transfer", - serviceFullName: "AWS Transfer for SFTP", - serviceId: "Transfer", + serviceAbbreviation: "AWSBudgets", + serviceFullName: "AWS Budgets", + serviceId: "Budgets", signatureVersion: "v4", - signingName: "transfer", - targetPrefix: "TransferService", - uid: "transfer-2018-11-05", + targetPrefix: "AWSBudgetServiceGateway", + uid: "budgets-2016-10-20", }, operations: { - CreateServer: { + CreateBudget: { input: { type: "structure", + required: ["AccountId", "Budget"], members: { - EndpointDetails: { shape: "S2" }, - EndpointType: {}, - HostKey: { shape: "Sa" }, - IdentityProviderDetails: { shape: "Sb" }, - IdentityProviderType: {}, - LoggingRole: {}, - Tags: { shape: "Sf" }, + AccountId: {}, + Budget: { shape: "S3" }, + NotificationsWithSubscribers: { + type: "list", + member: { + type: "structure", + required: ["Notification", "Subscribers"], + members: { + Notification: { shape: "Sl" }, + Subscribers: { shape: "Sr" }, + }, + }, + }, }, }, - output: { - type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, - }, + output: { type: "structure", members: {} }, }, - CreateUser: { + CreateBudgetAction: { input: { type: "structure", - required: ["Role", "ServerId", "UserName"], + required: [ + "AccountId", + "BudgetName", + "NotificationType", + "ActionType", + "ActionThreshold", + "Definition", + "ExecutionRoleArn", + "ApprovalModel", + "Subscribers", + ], members: { - HomeDirectory: {}, - HomeDirectoryType: {}, - HomeDirectoryMappings: { shape: "So" }, - Policy: {}, - Role: {}, - ServerId: {}, - SshPublicKeyBody: {}, - Tags: { shape: "Sf" }, - UserName: {}, + AccountId: {}, + BudgetName: {}, + NotificationType: {}, + ActionType: {}, + ActionThreshold: { shape: "Sy" }, + Definition: { shape: "Sz" }, + ExecutionRoleArn: {}, + ApprovalModel: {}, + Subscribers: { shape: "Sr" }, }, }, output: { type: "structure", - required: ["ServerId", "UserName"], - members: { ServerId: {}, UserName: {} }, + required: ["AccountId", "BudgetName", "ActionId"], + members: { AccountId: {}, BudgetName: {}, ActionId: {} }, }, }, - DeleteServer: { + CreateNotification: { input: { type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, + required: [ + "AccountId", + "BudgetName", + "Notification", + "Subscribers", + ], + members: { + AccountId: {}, + BudgetName: {}, + Notification: { shape: "Sl" }, + Subscribers: { shape: "Sr" }, + }, }, + output: { type: "structure", members: {} }, }, - DeleteSshPublicKey: { + CreateSubscriber: { input: { type: "structure", - required: ["ServerId", "SshPublicKeyId", "UserName"], - members: { ServerId: {}, SshPublicKeyId: {}, UserName: {} }, + required: [ + "AccountId", + "BudgetName", + "Notification", + "Subscriber", + ], + members: { + AccountId: {}, + BudgetName: {}, + Notification: { shape: "Sl" }, + Subscriber: { shape: "Ss" }, + }, }, + output: { type: "structure", members: {} }, }, - DeleteUser: { + DeleteBudget: { input: { type: "structure", - required: ["ServerId", "UserName"], - members: { ServerId: {}, UserName: {} }, + required: ["AccountId", "BudgetName"], + members: { AccountId: {}, BudgetName: {} }, }, + output: { type: "structure", members: {} }, }, - DescribeServer: { + DeleteBudgetAction: { input: { type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, + required: ["AccountId", "BudgetName", "ActionId"], + members: { AccountId: {}, BudgetName: {}, ActionId: {} }, }, output: { type: "structure", - required: ["Server"], + required: ["AccountId", "BudgetName", "Action"], members: { - Server: { - type: "structure", - required: ["Arn"], - members: { - Arn: {}, - EndpointDetails: { shape: "S2" }, - EndpointType: {}, - HostKeyFingerprint: {}, - IdentityProviderDetails: { shape: "Sb" }, - IdentityProviderType: {}, - LoggingRole: {}, - ServerId: {}, - State: {}, - Tags: { shape: "Sf" }, - UserCount: { type: "integer" }, - }, - }, + AccountId: {}, + BudgetName: {}, + Action: { shape: "S1t" }, }, }, }, - DescribeUser: { + DeleteNotification: { input: { type: "structure", - required: ["ServerId", "UserName"], - members: { ServerId: {}, UserName: {} }, + required: ["AccountId", "BudgetName", "Notification"], + members: { + AccountId: {}, + BudgetName: {}, + Notification: { shape: "Sl" }, + }, }, - output: { + output: { type: "structure", members: {} }, + }, + DeleteSubscriber: { + input: { type: "structure", - required: ["ServerId", "User"], + required: [ + "AccountId", + "BudgetName", + "Notification", + "Subscriber", + ], members: { - ServerId: {}, - User: { - type: "structure", - required: ["Arn"], - members: { - Arn: {}, - HomeDirectory: {}, - HomeDirectoryMappings: { shape: "So" }, - HomeDirectoryType: {}, - Policy: {}, - Role: {}, - SshPublicKeys: { - type: "list", - member: { - type: "structure", - required: [ - "DateImported", - "SshPublicKeyBody", - "SshPublicKeyId", - ], - members: { - DateImported: { type: "timestamp" }, - SshPublicKeyBody: {}, - SshPublicKeyId: {}, - }, - }, - }, - Tags: { shape: "Sf" }, - UserName: {}, - }, - }, + AccountId: {}, + BudgetName: {}, + Notification: { shape: "Sl" }, + Subscriber: { shape: "Ss" }, }, }, + output: { type: "structure", members: {} }, }, - ImportSshPublicKey: { + DescribeBudget: { input: { type: "structure", - required: ["ServerId", "SshPublicKeyBody", "UserName"], - members: { ServerId: {}, SshPublicKeyBody: {}, UserName: {} }, + required: ["AccountId", "BudgetName"], + members: { AccountId: {}, BudgetName: {} }, + }, + output: { type: "structure", members: { Budget: { shape: "S3" } } }, + }, + DescribeBudgetAction: { + input: { + type: "structure", + required: ["AccountId", "BudgetName", "ActionId"], + members: { AccountId: {}, BudgetName: {}, ActionId: {} }, }, output: { type: "structure", - required: ["ServerId", "SshPublicKeyId", "UserName"], - members: { ServerId: {}, SshPublicKeyId: {}, UserName: {} }, + required: ["AccountId", "BudgetName", "Action"], + members: { + AccountId: {}, + BudgetName: {}, + Action: { shape: "S1t" }, + }, }, }, - ListServers: { + DescribeBudgetActionHistories: { input: { type: "structure", - members: { MaxResults: { type: "integer" }, NextToken: {} }, + required: ["AccountId", "BudgetName", "ActionId"], + members: { + AccountId: {}, + BudgetName: {}, + ActionId: {}, + TimePeriod: { shape: "Sf" }, + MaxResults: { type: "integer" }, + NextToken: {}, + }, }, output: { type: "structure", - required: ["Servers"], + required: ["ActionHistories"], members: { - NextToken: {}, - Servers: { + ActionHistories: { type: "list", member: { type: "structure", - required: ["Arn"], + required: [ + "Timestamp", + "Status", + "EventType", + "ActionHistoryDetails", + ], members: { - Arn: {}, - IdentityProviderType: {}, - EndpointType: {}, - LoggingRole: {}, - ServerId: {}, - State: {}, - UserCount: { type: "integer" }, + Timestamp: { type: "timestamp" }, + Status: {}, + EventType: {}, + ActionHistoryDetails: { + type: "structure", + required: ["Message", "Action"], + members: { Message: {}, Action: { shape: "S1t" } }, + }, }, }, }, + NextToken: {}, }, }, }, - ListTagsForResource: { + DescribeBudgetActionsForAccount: { input: { type: "structure", - required: ["Arn"], + required: ["AccountId"], members: { - Arn: {}, + AccountId: {}, MaxResults: { type: "integer" }, NextToken: {}, }, }, output: { type: "structure", - members: { Arn: {}, NextToken: {}, Tags: { shape: "Sf" } }, + required: ["Actions"], + members: { Actions: { shape: "S2c" }, NextToken: {} }, }, }, - ListUsers: { + DescribeBudgetActionsForBudget: { input: { type: "structure", - required: ["ServerId"], + required: ["AccountId", "BudgetName"], members: { + AccountId: {}, + BudgetName: {}, MaxResults: { type: "integer" }, NextToken: {}, - ServerId: {}, }, }, output: { type: "structure", - required: ["ServerId", "Users"], + required: ["Actions"], + members: { Actions: { shape: "S2c" }, NextToken: {} }, + }, + }, + DescribeBudgetPerformanceHistory: { + input: { + type: "structure", + required: ["AccountId", "BudgetName"], members: { + AccountId: {}, + BudgetName: {}, + TimePeriod: { shape: "Sf" }, + MaxResults: { type: "integer" }, NextToken: {}, - ServerId: {}, - Users: { - type: "list", - member: { - type: "structure", - required: ["Arn"], - members: { - Arn: {}, - HomeDirectory: {}, - HomeDirectoryType: {}, - Role: {}, - SshPublicKeyCount: { type: "integer" }, - UserName: {}, + }, + }, + output: { + type: "structure", + members: { + BudgetPerformanceHistory: { + type: "structure", + members: { + BudgetName: {}, + BudgetType: {}, + CostFilters: { shape: "Sa" }, + CostTypes: { shape: "Sc" }, + TimeUnit: {}, + BudgetedAndActualAmountsList: { + type: "list", + member: { + type: "structure", + members: { + BudgetedAmount: { shape: "S5" }, + ActualAmount: { shape: "S5" }, + TimePeriod: { shape: "Sf" }, + }, + }, }, }, }, + NextToken: {}, }, }, }, - StartServer: { + DescribeBudgets: { input: { type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, + required: ["AccountId"], + members: { + AccountId: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + }, }, - }, - StopServer: { - input: { + output: { type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, + members: { + Budgets: { type: "list", member: { shape: "S3" } }, + NextToken: {}, + }, }, }, - TagResource: { + DescribeNotificationsForBudget: { input: { type: "structure", - required: ["Arn", "Tags"], - members: { Arn: {}, Tags: { shape: "Sf" } }, + required: ["AccountId", "BudgetName"], + members: { + AccountId: {}, + BudgetName: {}, + MaxResults: { type: "integer" }, + NextToken: {}, + }, + }, + output: { + type: "structure", + members: { + Notifications: { type: "list", member: { shape: "Sl" } }, + NextToken: {}, + }, }, }, - TestIdentityProvider: { + DescribeSubscribersForNotification: { input: { type: "structure", - required: ["ServerId", "UserName"], + required: ["AccountId", "BudgetName", "Notification"], members: { - ServerId: {}, - UserName: {}, - UserPassword: { type: "string", sensitive: true }, + AccountId: {}, + BudgetName: {}, + Notification: { shape: "Sl" }, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, output: { type: "structure", - required: ["StatusCode", "Url"], + members: { Subscribers: { shape: "Sr" }, NextToken: {} }, + }, + }, + ExecuteBudgetAction: { + input: { + type: "structure", + required: [ + "AccountId", + "BudgetName", + "ActionId", + "ExecutionType", + ], members: { - Response: {}, - StatusCode: { type: "integer" }, - Message: {}, - Url: {}, + AccountId: {}, + BudgetName: {}, + ActionId: {}, + ExecutionType: {}, + }, + }, + output: { + type: "structure", + required: [ + "AccountId", + "BudgetName", + "ActionId", + "ExecutionType", + ], + members: { + AccountId: {}, + BudgetName: {}, + ActionId: {}, + ExecutionType: {}, }, }, }, - UntagResource: { + UpdateBudget: { input: { type: "structure", - required: ["Arn", "TagKeys"], - members: { Arn: {}, TagKeys: { type: "list", member: {} } }, + required: ["AccountId", "NewBudget"], + members: { AccountId: {}, NewBudget: { shape: "S3" } }, }, + output: { type: "structure", members: {} }, }, - UpdateServer: { + UpdateBudgetAction: { input: { type: "structure", - required: ["ServerId"], + required: ["AccountId", "BudgetName", "ActionId"], members: { - EndpointDetails: { shape: "S2" }, - EndpointType: {}, - HostKey: { shape: "Sa" }, - IdentityProviderDetails: { shape: "Sb" }, - LoggingRole: {}, - ServerId: {}, + AccountId: {}, + BudgetName: {}, + ActionId: {}, + NotificationType: {}, + ActionThreshold: { shape: "Sy" }, + Definition: { shape: "Sz" }, + ExecutionRoleArn: {}, + ApprovalModel: {}, + Subscribers: { shape: "Sr" }, }, }, output: { type: "structure", - required: ["ServerId"], - members: { ServerId: {} }, + required: ["AccountId", "BudgetName", "OldAction", "NewAction"], + members: { + AccountId: {}, + BudgetName: {}, + OldAction: { shape: "S1t" }, + NewAction: { shape: "S1t" }, + }, }, }, - UpdateUser: { + UpdateNotification: { input: { type: "structure", - required: ["ServerId", "UserName"], + required: [ + "AccountId", + "BudgetName", + "OldNotification", + "NewNotification", + ], members: { - HomeDirectory: {}, - HomeDirectoryType: {}, - HomeDirectoryMappings: { shape: "So" }, - Policy: {}, - Role: {}, - ServerId: {}, - UserName: {}, + AccountId: {}, + BudgetName: {}, + OldNotification: { shape: "Sl" }, + NewNotification: { shape: "Sl" }, }, }, - output: { + output: { type: "structure", members: {} }, + }, + UpdateSubscriber: { + input: { type: "structure", - required: ["ServerId", "UserName"], - members: { ServerId: {}, UserName: {} }, + required: [ + "AccountId", + "BudgetName", + "Notification", + "OldSubscriber", + "NewSubscriber", + ], + members: { + AccountId: {}, + BudgetName: {}, + Notification: { shape: "Sl" }, + OldSubscriber: { shape: "Ss" }, + NewSubscriber: { shape: "Ss" }, + }, }, + output: { type: "structure", members: {} }, }, }, shapes: { - S2: { + S3: { type: "structure", + required: ["BudgetName", "TimeUnit", "BudgetType"], members: { - AddressAllocationIds: { type: "list", member: {} }, - SubnetIds: { type: "list", member: {} }, - VpcEndpointId: {}, - VpcId: {}, + BudgetName: {}, + BudgetLimit: { shape: "S5" }, + PlannedBudgetLimits: { + type: "map", + key: {}, + value: { shape: "S5" }, + }, + CostFilters: { shape: "Sa" }, + CostTypes: { shape: "Sc" }, + TimeUnit: {}, + TimePeriod: { shape: "Sf" }, + CalculatedSpend: { + type: "structure", + required: ["ActualSpend"], + members: { + ActualSpend: { shape: "S5" }, + ForecastedSpend: { shape: "S5" }, + }, + }, + BudgetType: {}, + LastUpdatedTime: { type: "timestamp" }, + }, + }, + S5: { + type: "structure", + required: ["Amount", "Unit"], + members: { Amount: {}, Unit: {} }, + }, + Sa: { type: "map", key: {}, value: { type: "list", member: {} } }, + Sc: { + type: "structure", + members: { + IncludeTax: { type: "boolean" }, + IncludeSubscription: { type: "boolean" }, + UseBlended: { type: "boolean" }, + IncludeRefund: { type: "boolean" }, + IncludeCredit: { type: "boolean" }, + IncludeUpfront: { type: "boolean" }, + IncludeRecurring: { type: "boolean" }, + IncludeOtherSubscription: { type: "boolean" }, + IncludeSupport: { type: "boolean" }, + IncludeDiscount: { type: "boolean" }, + UseAmortized: { type: "boolean" }, }, }, - Sa: { type: "string", sensitive: true }, - Sb: { type: "structure", members: { Url: {}, InvocationRole: {} } }, Sf: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, + type: "structure", + members: { + Start: { type: "timestamp" }, + End: { type: "timestamp" }, }, }, - So: { - type: "list", - member: { - type: "structure", - required: ["Entry", "Target"], - members: { Entry: {}, Target: {} }, + Sl: { + type: "structure", + required: ["NotificationType", "ComparisonOperator", "Threshold"], + members: { + NotificationType: {}, + ComparisonOperator: {}, + Threshold: { type: "double" }, + ThresholdType: {}, + NotificationState: {}, + }, + }, + Sr: { type: "list", member: { shape: "Ss" } }, + Ss: { + type: "structure", + required: ["SubscriptionType", "Address"], + members: { + SubscriptionType: {}, + Address: { type: "string", sensitive: true }, + }, + }, + Sy: { + type: "structure", + required: ["ActionThresholdValue", "ActionThresholdType"], + members: { + ActionThresholdValue: { type: "double" }, + ActionThresholdType: {}, + }, + }, + Sz: { + type: "structure", + members: { + IamActionDefinition: { + type: "structure", + required: ["PolicyArn"], + members: { + PolicyArn: {}, + Roles: { type: "list", member: {} }, + Groups: { type: "list", member: {} }, + Users: { type: "list", member: {} }, + }, + }, + ScpActionDefinition: { + type: "structure", + required: ["PolicyId", "TargetIds"], + members: { + PolicyId: {}, + TargetIds: { type: "list", member: {} }, + }, + }, + SsmActionDefinition: { + type: "structure", + required: ["ActionSubType", "Region", "InstanceIds"], + members: { + ActionSubType: {}, + Region: {}, + InstanceIds: { type: "list", member: {} }, + }, + }, + }, + }, + S1t: { + type: "structure", + required: [ + "ActionId", + "BudgetName", + "NotificationType", + "ActionType", + "ActionThreshold", + "Definition", + "ExecutionRoleArn", + "ApprovalModel", + "Status", + "Subscribers", + ], + members: { + ActionId: {}, + BudgetName: {}, + NotificationType: {}, + ActionType: {}, + ActionThreshold: { shape: "Sy" }, + Definition: { shape: "Sz" }, + ExecutionRoleArn: {}, + ApprovalModel: {}, + Status: {}, + Subscribers: { shape: "Sr" }, }, }, + S2c: { type: "list", member: { shape: "S1t" } }, }, }; /***/ }, - /***/ 2617: /***/ function (module, __unusedexports, __webpack_require__) { + /***/ 2269: /***/ function (module) { + module.exports = { + pagination: { + DescribeCertificates: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "Certificates", + }, + DescribeDBClusterParameterGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBClusterParameterGroups", + }, + DescribeDBClusterParameters: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "Parameters", + }, + DescribeDBClusterSnapshots: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBClusterSnapshots", + }, + DescribeDBClusters: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBClusters", + }, + DescribeDBEngineVersions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBEngineVersions", + }, + DescribeDBInstances: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBInstances", + }, + DescribeDBSubnetGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBSubnetGroups", + }, + DescribeEvents: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "Events", + }, + DescribeOrderableDBInstanceOptions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "OrderableDBInstanceOptions", + }, + DescribePendingMaintenanceActions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "PendingMaintenanceActions", + }, + ListTagsForResource: { result_key: "TagList" }, + }, + }; + + /***/ + }, + + /***/ 2271: /***/ function (module, __unusedexports, __webpack_require__) { __webpack_require__(3234); var AWS = __webpack_require__(395); var Service = AWS.Service; var apiLoader = AWS.apiLoader; - apiLoader.services["s3control"] = {}; - AWS.S3Control = Service.defineService("s3control", ["2018-08-20"]); - __webpack_require__(1489); - Object.defineProperty(apiLoader.services["s3control"], "2018-08-20", { - get: function get() { - var model = __webpack_require__(2091); - model.paginators = __webpack_require__(2592).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + apiLoader.services["mediastoredata"] = {}; + AWS.MediaStoreData = Service.defineService("mediastoredata", [ + "2017-09-01", + ]); + Object.defineProperty( + apiLoader.services["mediastoredata"], + "2017-09-01", + { + get: function get() { + var model = __webpack_require__(8825); + model.paginators = __webpack_require__(4483).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); - module.exports = AWS.S3Control; + module.exports = AWS.MediaStoreData; /***/ }, - /***/ 2638: /***/ function (module) { + /***/ 2297: /***/ function (module) { + module.exports = class HttpError extends Error { + constructor(message, code, headers) { + super(message); + + // Maintains proper stack trace (only available on V8) + /* istanbul ignore next */ + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } + + this.name = "HttpError"; + this.code = code; + this.headers = headers; + } + }; + + /***/ + }, + + /***/ 2304: /***/ function (module) { module.exports = { - version: "2.0", metadata: { - apiVersion: "2017-01-11", - endpointPrefix: "clouddirectory", + apiVersion: "2018-11-14", + endpointPrefix: "kafka", + signingName: "kafka", + serviceFullName: "Managed Streaming for Kafka", + serviceAbbreviation: "Kafka", + serviceId: "Kafka", protocol: "rest-json", - serviceFullName: "Amazon CloudDirectory", - serviceId: "CloudDirectory", + jsonVersion: "1.1", + uid: "kafka-2018-11-14", signatureVersion: "v4", - signingName: "clouddirectory", - uid: "clouddirectory-2017-01-11", }, operations: { - AddFacetToObject: { + BatchAssociateScramSecret: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object/facets", + requestUri: "/v1/clusters/{clusterArn}/scram-secrets", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "SchemaFacet", "ObjectReference"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + ClusterArn: { location: "uri", locationName: "clusterArn" }, + SecretArnList: { shape: "S3", locationName: "secretArnList" }, + }, + required: ["ClusterArn", "SecretArnList"], + }, + output: { + type: "structure", + members: { + ClusterArn: { locationName: "clusterArn" }, + UnprocessedScramSecrets: { + shape: "S5", + locationName: "unprocessedScramSecrets", }, - SchemaFacet: { shape: "S3" }, - ObjectAttributeList: { shape: "S5" }, - ObjectReference: { shape: "Sf" }, }, }, - output: { type: "structure", members: {} }, }, - ApplySchema: { + CreateCluster: { + http: { requestUri: "/v1/clusters", responseCode: 200 }, + input: { + type: "structure", + members: { + BrokerNodeGroupInfo: { + shape: "S8", + locationName: "brokerNodeGroupInfo", + }, + ClientAuthentication: { + shape: "Se", + locationName: "clientAuthentication", + }, + ClusterName: { locationName: "clusterName" }, + ConfigurationInfo: { + shape: "Sk", + locationName: "configurationInfo", + }, + EncryptionInfo: { shape: "Sm", locationName: "encryptionInfo" }, + EnhancedMonitoring: { locationName: "enhancedMonitoring" }, + OpenMonitoring: { shape: "Sr", locationName: "openMonitoring" }, + KafkaVersion: { locationName: "kafkaVersion" }, + LoggingInfo: { shape: "Sw", locationName: "loggingInfo" }, + NumberOfBrokerNodes: { + locationName: "numberOfBrokerNodes", + type: "integer", + }, + Tags: { shape: "S12", locationName: "tags" }, + }, + required: [ + "BrokerNodeGroupInfo", + "KafkaVersion", + "NumberOfBrokerNodes", + "ClusterName", + ], + }, + output: { + type: "structure", + members: { + ClusterArn: { locationName: "clusterArn" }, + ClusterName: { locationName: "clusterName" }, + State: { locationName: "state" }, + }, + }, + }, + CreateConfiguration: { + http: { requestUri: "/v1/configurations", responseCode: 200 }, + input: { + type: "structure", + members: { + Description: { locationName: "description" }, + KafkaVersions: { shape: "S3", locationName: "kafkaVersions" }, + Name: { locationName: "name" }, + ServerProperties: { + locationName: "serverProperties", + type: "blob", + }, + }, + required: ["ServerProperties", "Name"], + }, + output: { + type: "structure", + members: { + Arn: { locationName: "arn" }, + CreationTime: { shape: "S18", locationName: "creationTime" }, + LatestRevision: { + shape: "S19", + locationName: "latestRevision", + }, + Name: { locationName: "name" }, + State: { locationName: "state" }, + }, + }, + }, + DeleteCluster: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema/apply", + method: "DELETE", + requestUri: "/v1/clusters/{clusterArn}", responseCode: 200, }, input: { type: "structure", - required: ["PublishedSchemaArn", "DirectoryArn"], members: { - PublishedSchemaArn: {}, - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + ClusterArn: { location: "uri", locationName: "clusterArn" }, + CurrentVersion: { + location: "querystring", + locationName: "currentVersion", }, }, + required: ["ClusterArn"], }, output: { type: "structure", - members: { AppliedSchemaArn: {}, DirectoryArn: {} }, + members: { + ClusterArn: { locationName: "clusterArn" }, + State: { locationName: "state" }, + }, }, }, - AttachObject: { + DeleteConfiguration: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object/attach", + method: "DELETE", + requestUri: "/v1/configurations/{arn}", responseCode: 200, }, input: { type: "structure", - required: [ - "DirectoryArn", - "ParentReference", - "ChildReference", - "LinkName", - ], + members: { Arn: { location: "uri", locationName: "arn" } }, + required: ["Arn"], + }, + output: { + type: "structure", members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + Arn: { locationName: "arn" }, + State: { locationName: "state" }, + }, + }, + }, + DescribeCluster: { + http: { + method: "GET", + requestUri: "/v1/clusters/{clusterArn}", + responseCode: 200, + }, + input: { + type: "structure", + members: { + ClusterArn: { location: "uri", locationName: "clusterArn" }, + }, + required: ["ClusterArn"], + }, + output: { + type: "structure", + members: { + ClusterInfo: { shape: "S1h", locationName: "clusterInfo" }, + }, + }, + }, + DescribeClusterOperation: { + http: { + method: "GET", + requestUri: "/v1/operations/{clusterOperationArn}", + responseCode: 200, + }, + input: { + type: "structure", + members: { + ClusterOperationArn: { + location: "uri", + locationName: "clusterOperationArn", }, - ParentReference: { shape: "Sf" }, - ChildReference: { shape: "Sf" }, - LinkName: {}, }, + required: ["ClusterOperationArn"], }, output: { type: "structure", - members: { AttachedObjectIdentifier: {} }, + members: { + ClusterOperationInfo: { + shape: "S1r", + locationName: "clusterOperationInfo", + }, + }, }, }, - AttachPolicy: { + DescribeConfiguration: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/policy/attach", + method: "GET", + requestUri: "/v1/configurations/{arn}", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "PolicyReference", "ObjectReference"], + members: { Arn: { location: "uri", locationName: "arn" } }, + required: ["Arn"], + }, + output: { + type: "structure", members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + Arn: { locationName: "arn" }, + CreationTime: { shape: "S18", locationName: "creationTime" }, + Description: { locationName: "description" }, + KafkaVersions: { shape: "S3", locationName: "kafkaVersions" }, + LatestRevision: { + shape: "S19", + locationName: "latestRevision", }, - PolicyReference: { shape: "Sf" }, - ObjectReference: { shape: "Sf" }, + Name: { locationName: "name" }, + State: { locationName: "state" }, }, }, - output: { type: "structure", members: {} }, }, - AttachToIndex: { + DescribeConfigurationRevision: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/index/attach", + method: "GET", + requestUri: "/v1/configurations/{arn}/revisions/{revision}", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "IndexReference", "TargetReference"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + Arn: { location: "uri", locationName: "arn" }, + Revision: { + location: "uri", + locationName: "revision", + type: "long", }, - IndexReference: { shape: "Sf" }, - TargetReference: { shape: "Sf" }, }, + required: ["Revision", "Arn"], }, output: { type: "structure", - members: { AttachedObjectIdentifier: {} }, + members: { + Arn: { locationName: "arn" }, + CreationTime: { shape: "S18", locationName: "creationTime" }, + Description: { locationName: "description" }, + Revision: { locationName: "revision", type: "long" }, + ServerProperties: { + locationName: "serverProperties", + type: "blob", + }, + }, }, }, - AttachTypedLink: { + BatchDisassociateScramSecret: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/typedlink/attach", + method: "PATCH", + requestUri: "/v1/clusters/{clusterArn}/scram-secrets", responseCode: 200, }, input: { type: "structure", - required: [ - "DirectoryArn", - "SourceObjectReference", - "TargetObjectReference", - "TypedLinkFacet", - "Attributes", - ], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + ClusterArn: { location: "uri", locationName: "clusterArn" }, + SecretArnList: { shape: "S3", locationName: "secretArnList" }, + }, + required: ["ClusterArn", "SecretArnList"], + }, + output: { + type: "structure", + members: { + ClusterArn: { locationName: "clusterArn" }, + UnprocessedScramSecrets: { + shape: "S5", + locationName: "unprocessedScramSecrets", }, - SourceObjectReference: { shape: "Sf" }, - TargetObjectReference: { shape: "Sf" }, - TypedLinkFacet: { shape: "St" }, - Attributes: { shape: "Sv" }, }, }, + }, + GetBootstrapBrokers: { + http: { + method: "GET", + requestUri: "/v1/clusters/{clusterArn}/bootstrap-brokers", + responseCode: 200, + }, + input: { + type: "structure", + members: { + ClusterArn: { location: "uri", locationName: "clusterArn" }, + }, + required: ["ClusterArn"], + }, output: { type: "structure", - members: { TypedLinkSpecifier: { shape: "Sy" } }, + members: { + BootstrapBrokerString: { + locationName: "bootstrapBrokerString", + }, + BootstrapBrokerStringTls: { + locationName: "bootstrapBrokerStringTls", + }, + BootstrapBrokerStringSaslScram: { + locationName: "bootstrapBrokerStringSaslScram", + }, + }, }, }, - BatchRead: { + GetCompatibleKafkaVersions: { http: { - requestUri: "/amazonclouddirectory/2017-01-11/batchread", + method: "GET", + requestUri: "/v1/compatible-kafka-versions", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "Operations"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + ClusterArn: { + location: "querystring", + locationName: "clusterArn", }, - Operations: { + }, + }, + output: { + type: "structure", + members: { + CompatibleKafkaVersions: { + locationName: "compatibleKafkaVersions", type: "list", member: { type: "structure", members: { - ListObjectAttributes: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - FacetFilter: { shape: "S3" }, - }, - }, - ListObjectChildren: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListAttachedIndices: { - type: "structure", - required: ["TargetReference"], - members: { - TargetReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListObjectParentPaths: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - GetObjectInformation: { - type: "structure", - required: ["ObjectReference"], - members: { ObjectReference: { shape: "Sf" } }, - }, - GetObjectAttributes: { - type: "structure", - required: [ - "ObjectReference", - "SchemaFacet", - "AttributeNames", - ], - members: { - ObjectReference: { shape: "Sf" }, - SchemaFacet: { shape: "S3" }, - AttributeNames: { shape: "S1a" }, - }, - }, - ListObjectParents: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListObjectPolicies: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListPolicyAttachments: { - type: "structure", - required: ["PolicyReference"], - members: { - PolicyReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - LookupPolicy: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListIndex: { - type: "structure", - required: ["IndexReference"], - members: { - RangesOnIndexedValues: { shape: "S1g" }, - IndexReference: { shape: "Sf" }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - ListOutgoingTypedLinks: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - FilterAttributeRanges: { shape: "S1l" }, - FilterTypedLink: { shape: "St" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - ListIncomingTypedLinks: { - type: "structure", - required: ["ObjectReference"], - members: { - ObjectReference: { shape: "Sf" }, - FilterAttributeRanges: { shape: "S1l" }, - FilterTypedLink: { shape: "St" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - GetLinkAttributes: { - type: "structure", - required: ["TypedLinkSpecifier", "AttributeNames"], - members: { - TypedLinkSpecifier: { shape: "Sy" }, - AttributeNames: { shape: "S1a" }, - }, + SourceVersion: { locationName: "sourceVersion" }, + TargetVersions: { + shape: "S3", + locationName: "targetVersions", }, }, }, }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", + }, + }, + }, + ListClusterOperations: { + http: { + method: "GET", + requestUri: "/v1/clusters/{clusterArn}/operations", + responseCode: 200, + }, + input: { + type: "structure", + members: { + ClusterArn: { location: "uri", locationName: "clusterArn" }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", }, }, + required: ["ClusterArn"], }, output: { type: "structure", members: { - Responses: { + ClusterOperationInfoList: { + locationName: "clusterOperationInfoList", type: "list", - member: { - type: "structure", - members: { - SuccessfulResponse: { - type: "structure", - members: { - ListObjectAttributes: { - type: "structure", - members: { - Attributes: { shape: "S5" }, - NextToken: {}, - }, - }, - ListObjectChildren: { - type: "structure", - members: { - Children: { shape: "S1w" }, - NextToken: {}, - }, - }, - GetObjectInformation: { - type: "structure", - members: { - SchemaFacets: { shape: "S1y" }, - ObjectIdentifier: {}, - }, - }, - GetObjectAttributes: { - type: "structure", - members: { Attributes: { shape: "S5" } }, - }, - ListAttachedIndices: { - type: "structure", - members: { - IndexAttachments: { shape: "S21" }, - NextToken: {}, - }, - }, - ListObjectParentPaths: { - type: "structure", - members: { - PathToObjectIdentifiersList: { shape: "S24" }, - NextToken: {}, - }, - }, - ListObjectPolicies: { - type: "structure", - members: { - AttachedPolicyIds: { shape: "S27" }, - NextToken: {}, - }, - }, - ListPolicyAttachments: { - type: "structure", - members: { - ObjectIdentifiers: { shape: "S27" }, - NextToken: {}, - }, - }, - LookupPolicy: { - type: "structure", - members: { - PolicyToPathList: { shape: "S2b" }, - NextToken: {}, - }, - }, - ListIndex: { - type: "structure", - members: { - IndexAttachments: { shape: "S21" }, - NextToken: {}, - }, - }, - ListOutgoingTypedLinks: { - type: "structure", - members: { - TypedLinkSpecifiers: { shape: "S2i" }, - NextToken: {}, - }, - }, - ListIncomingTypedLinks: { - type: "structure", - members: { - LinkSpecifiers: { shape: "S2i" }, - NextToken: {}, - }, - }, - GetLinkAttributes: { - type: "structure", - members: { Attributes: { shape: "S5" } }, - }, - ListObjectParents: { - type: "structure", - members: { - ParentLinks: { shape: "S2m" }, - NextToken: {}, - }, - }, - }, - }, - ExceptionResponse: { - type: "structure", - members: { Type: {}, Message: {} }, - }, - }, - }, + member: { shape: "S1r" }, }, + NextToken: { locationName: "nextToken" }, }, }, }, - BatchWrite: { + ListClusters: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/batchwrite", + method: "GET", + requestUri: "/v1/clusters", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "Operations"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + ClusterNameFilter: { + location: "querystring", + locationName: "clusterNameFilter", }, - Operations: { + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + }, + }, + output: { + type: "structure", + members: { + ClusterInfoList: { + locationName: "clusterInfoList", type: "list", - member: { - type: "structure", - members: { - CreateObject: { - type: "structure", - required: ["SchemaFacet", "ObjectAttributeList"], - members: { - SchemaFacet: { shape: "S1y" }, - ObjectAttributeList: { shape: "S5" }, - ParentReference: { shape: "Sf" }, - LinkName: {}, - BatchReferenceName: {}, - }, - }, - AttachObject: { - type: "structure", - required: [ - "ParentReference", - "ChildReference", - "LinkName", - ], - members: { - ParentReference: { shape: "Sf" }, - ChildReference: { shape: "Sf" }, - LinkName: {}, - }, - }, - DetachObject: { - type: "structure", - required: ["ParentReference", "LinkName"], - members: { - ParentReference: { shape: "Sf" }, - LinkName: {}, - BatchReferenceName: {}, - }, - }, - UpdateObjectAttributes: { - type: "structure", - required: ["ObjectReference", "AttributeUpdates"], - members: { - ObjectReference: { shape: "Sf" }, - AttributeUpdates: { shape: "S2z" }, - }, - }, - DeleteObject: { - type: "structure", - required: ["ObjectReference"], - members: { ObjectReference: { shape: "Sf" } }, - }, - AddFacetToObject: { - type: "structure", - required: [ - "SchemaFacet", - "ObjectAttributeList", - "ObjectReference", - ], - members: { - SchemaFacet: { shape: "S3" }, - ObjectAttributeList: { shape: "S5" }, - ObjectReference: { shape: "Sf" }, - }, - }, - RemoveFacetFromObject: { - type: "structure", - required: ["SchemaFacet", "ObjectReference"], - members: { - SchemaFacet: { shape: "S3" }, - ObjectReference: { shape: "Sf" }, - }, - }, - AttachPolicy: { - type: "structure", - required: ["PolicyReference", "ObjectReference"], - members: { - PolicyReference: { shape: "Sf" }, - ObjectReference: { shape: "Sf" }, - }, - }, - DetachPolicy: { - type: "structure", - required: ["PolicyReference", "ObjectReference"], - members: { - PolicyReference: { shape: "Sf" }, - ObjectReference: { shape: "Sf" }, - }, - }, - CreateIndex: { - type: "structure", - required: ["OrderedIndexedAttributeList", "IsUnique"], - members: { - OrderedIndexedAttributeList: { shape: "S39" }, - IsUnique: { type: "boolean" }, - ParentReference: { shape: "Sf" }, - LinkName: {}, - BatchReferenceName: {}, - }, - }, - AttachToIndex: { - type: "structure", - required: ["IndexReference", "TargetReference"], - members: { - IndexReference: { shape: "Sf" }, - TargetReference: { shape: "Sf" }, - }, - }, - DetachFromIndex: { - type: "structure", - required: ["IndexReference", "TargetReference"], - members: { - IndexReference: { shape: "Sf" }, - TargetReference: { shape: "Sf" }, - }, - }, - AttachTypedLink: { - type: "structure", - required: [ - "SourceObjectReference", - "TargetObjectReference", - "TypedLinkFacet", - "Attributes", - ], - members: { - SourceObjectReference: { shape: "Sf" }, - TargetObjectReference: { shape: "Sf" }, - TypedLinkFacet: { shape: "St" }, - Attributes: { shape: "Sv" }, - }, - }, - DetachTypedLink: { - type: "structure", - required: ["TypedLinkSpecifier"], - members: { TypedLinkSpecifier: { shape: "Sy" } }, - }, - UpdateLinkAttributes: { - type: "structure", - required: ["TypedLinkSpecifier", "AttributeUpdates"], - members: { - TypedLinkSpecifier: { shape: "Sy" }, - AttributeUpdates: { shape: "S3g" }, - }, - }, - }, - }, - }, - }, - }, - output: { - type: "structure", - members: { - Responses: { - type: "list", - member: { - type: "structure", - members: { - CreateObject: { - type: "structure", - members: { ObjectIdentifier: {} }, - }, - AttachObject: { - type: "structure", - members: { attachedObjectIdentifier: {} }, - }, - DetachObject: { - type: "structure", - members: { detachedObjectIdentifier: {} }, - }, - UpdateObjectAttributes: { - type: "structure", - members: { ObjectIdentifier: {} }, - }, - DeleteObject: { type: "structure", members: {} }, - AddFacetToObject: { type: "structure", members: {} }, - RemoveFacetFromObject: { type: "structure", members: {} }, - AttachPolicy: { type: "structure", members: {} }, - DetachPolicy: { type: "structure", members: {} }, - CreateIndex: { - type: "structure", - members: { ObjectIdentifier: {} }, - }, - AttachToIndex: { - type: "structure", - members: { AttachedObjectIdentifier: {} }, - }, - DetachFromIndex: { - type: "structure", - members: { DetachedObjectIdentifier: {} }, - }, - AttachTypedLink: { - type: "structure", - members: { TypedLinkSpecifier: { shape: "Sy" } }, - }, - DetachTypedLink: { type: "structure", members: {} }, - UpdateLinkAttributes: { type: "structure", members: {} }, - }, - }, + member: { shape: "S1h" }, }, + NextToken: { locationName: "nextToken" }, }, }, }, - CreateDirectory: { + ListConfigurationRevisions: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/directory/create", + method: "GET", + requestUri: "/v1/configurations/{arn}/revisions", responseCode: 200, }, input: { type: "structure", - required: ["Name", "SchemaArn"], members: { - Name: {}, - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", + Arn: { location: "uri", locationName: "arn" }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", }, }, + required: ["Arn"], }, output: { type: "structure", - required: [ - "DirectoryArn", - "Name", - "ObjectIdentifier", - "AppliedSchemaArn", - ], members: { - DirectoryArn: {}, - Name: {}, - ObjectIdentifier: {}, - AppliedSchemaArn: {}, + NextToken: { locationName: "nextToken" }, + Revisions: { + locationName: "revisions", + type: "list", + member: { shape: "S19" }, + }, }, }, }, - CreateFacet: { + ListConfigurations: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/facet/create", + method: "GET", + requestUri: "/v1/configurations", responseCode: 200, }, input: { type: "structure", - required: ["SchemaArn", "Name"], members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", }, - Name: {}, - Attributes: { shape: "S46" }, - ObjectType: {}, - FacetStyle: {}, }, }, - output: { type: "structure", members: {} }, - }, - CreateIndex: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/index", - responseCode: 200, - }, - input: { + output: { type: "structure", - required: [ - "DirectoryArn", - "OrderedIndexedAttributeList", - "IsUnique", - ], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + Configurations: { + locationName: "configurations", + type: "list", + member: { + type: "structure", + members: { + Arn: { locationName: "arn" }, + CreationTime: { + shape: "S18", + locationName: "creationTime", + }, + Description: { locationName: "description" }, + KafkaVersions: { + shape: "S3", + locationName: "kafkaVersions", + }, + LatestRevision: { + shape: "S19", + locationName: "latestRevision", + }, + Name: { locationName: "name" }, + State: { locationName: "state" }, + }, + required: [ + "Description", + "LatestRevision", + "CreationTime", + "KafkaVersions", + "Arn", + "Name", + "State", + ], + }, }, - OrderedIndexedAttributeList: { shape: "S39" }, - IsUnique: { type: "boolean" }, - ParentReference: { shape: "Sf" }, - LinkName: {}, + NextToken: { locationName: "nextToken" }, }, }, - output: { type: "structure", members: { ObjectIdentifier: {} } }, }, - CreateObject: { + ListKafkaVersions: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object", + method: "GET", + requestUri: "/v1/kafka-versions", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "SchemaFacets"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", }, - SchemaFacets: { shape: "S1y" }, - ObjectAttributeList: { shape: "S5" }, - ParentReference: { shape: "Sf" }, - LinkName: {}, }, }, - output: { type: "structure", members: { ObjectIdentifier: {} } }, - }, - CreateSchema: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema/create", - responseCode: 200, - }, - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { type: "structure", members: { SchemaArn: {} } }, - }, - CreateTypedLinkFacet: { - http: { - method: "PUT", - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/facet/create", - responseCode: 200, - }, - input: { + output: { type: "structure", - required: ["SchemaArn", "Facet"], members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Facet: { - type: "structure", - required: ["Name", "Attributes", "IdentityAttributeOrder"], - members: { - Name: {}, - Attributes: { shape: "S4v" }, - IdentityAttributeOrder: { shape: "S1a" }, + KafkaVersions: { + locationName: "kafkaVersions", + type: "list", + member: { + type: "structure", + members: { + Version: { locationName: "version" }, + Status: { locationName: "status" }, + }, }, }, + NextToken: { locationName: "nextToken" }, }, }, - output: { type: "structure", members: {} }, }, - DeleteDirectory: { + ListNodes: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/directory", + method: "GET", + requestUri: "/v1/clusters/{clusterArn}/nodes", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + ClusterArn: { location: "uri", locationName: "clusterArn" }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", }, }, + required: ["ClusterArn"], }, output: { type: "structure", - required: ["DirectoryArn"], - members: { DirectoryArn: {} }, - }, - }, - DeleteFacet: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/facet/delete", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", + NextToken: { locationName: "nextToken" }, + NodeInfoList: { + locationName: "nodeInfoList", + type: "list", + member: { + type: "structure", + members: { + AddedToClusterTime: { + locationName: "addedToClusterTime", + }, + BrokerNodeInfo: { + locationName: "brokerNodeInfo", + type: "structure", + members: { + AttachedENIId: { locationName: "attachedENIId" }, + BrokerId: { + locationName: "brokerId", + type: "double", + }, + ClientSubnet: { locationName: "clientSubnet" }, + ClientVpcIpAddress: { + locationName: "clientVpcIpAddress", + }, + CurrentBrokerSoftwareInfo: { + shape: "S1i", + locationName: "currentBrokerSoftwareInfo", + }, + Endpoints: { shape: "S3", locationName: "endpoints" }, + }, + }, + InstanceType: { locationName: "instanceType" }, + NodeARN: { locationName: "nodeARN" }, + NodeType: { locationName: "nodeType" }, + ZookeeperNodeInfo: { + locationName: "zookeeperNodeInfo", + type: "structure", + members: { + AttachedENIId: { locationName: "attachedENIId" }, + ClientVpcIpAddress: { + locationName: "clientVpcIpAddress", + }, + Endpoints: { shape: "S3", locationName: "endpoints" }, + ZookeeperId: { + locationName: "zookeeperId", + type: "double", + }, + ZookeeperVersion: { + locationName: "zookeeperVersion", + }, + }, + }, + }, + }, }, - Name: {}, }, }, - output: { type: "structure", members: {} }, }, - DeleteObject: { + ListScramSecrets: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object/delete", + method: "GET", + requestUri: "/v1/clusters/{clusterArn}/scram-secrets", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "ObjectReference"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + ClusterArn: { location: "uri", locationName: "clusterArn" }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", }, - ObjectReference: { shape: "Sf" }, - }, - }, - output: { type: "structure", members: {} }, - }, - DeleteSchema: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", + NextToken: { + location: "querystring", + locationName: "nextToken", }, }, + required: ["ClusterArn"], }, - output: { type: "structure", members: { SchemaArn: {} } }, - }, - DeleteTypedLinkFacet: { - http: { - method: "PUT", - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/facet/delete", - responseCode: 200, - }, - input: { + output: { type: "structure", - required: ["SchemaArn", "Name"], members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, + NextToken: { locationName: "nextToken" }, + SecretArnList: { shape: "S3", locationName: "secretArnList" }, }, }, - output: { type: "structure", members: {} }, }, - DetachFromIndex: { + ListTagsForResource: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/index/detach", + method: "GET", + requestUri: "/v1/tags/{resourceArn}", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "IndexReference", "TargetReference"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - IndexReference: { shape: "Sf" }, - TargetReference: { shape: "Sf" }, + ResourceArn: { location: "uri", locationName: "resourceArn" }, }, + required: ["ResourceArn"], }, output: { type: "structure", - members: { DetachedObjectIdentifier: {} }, + members: { Tags: { shape: "S12", locationName: "tags" } }, }, }, - DetachObject: { + RebootBroker: { http: { method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object/detach", + requestUri: "/v1/clusters/{clusterArn}/reboot-broker", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "ParentReference", "LinkName"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ParentReference: { shape: "Sf" }, - LinkName: {}, + BrokerIds: { shape: "S3", locationName: "brokerIds" }, + ClusterArn: { location: "uri", locationName: "clusterArn" }, }, + required: ["ClusterArn", "BrokerIds"], }, output: { type: "structure", - members: { DetachedObjectIdentifier: {} }, - }, - }, - DetachPolicy: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/policy/detach", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "PolicyReference", "ObjectReference"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - PolicyReference: { shape: "Sf" }, - ObjectReference: { shape: "Sf" }, + ClusterArn: { locationName: "clusterArn" }, + ClusterOperationArn: { locationName: "clusterOperationArn" }, }, }, - output: { type: "structure", members: {} }, }, - DetachTypedLink: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/typedlink/detach", - responseCode: 200, - }, + TagResource: { + http: { requestUri: "/v1/tags/{resourceArn}", responseCode: 204 }, input: { type: "structure", - required: ["DirectoryArn", "TypedLinkSpecifier"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - TypedLinkSpecifier: { shape: "Sy" }, + ResourceArn: { location: "uri", locationName: "resourceArn" }, + Tags: { shape: "S12", locationName: "tags" }, }, + required: ["ResourceArn", "Tags"], }, }, - DisableDirectory: { + UntagResource: { http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/directory/disable", - responseCode: 200, + method: "DELETE", + requestUri: "/v1/tags/{resourceArn}", + responseCode: 204, }, input: { type: "structure", - required: ["DirectoryArn"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + ResourceArn: { location: "uri", locationName: "resourceArn" }, + TagKeys: { + shape: "S3", + location: "querystring", + locationName: "tagKeys", }, }, - }, - output: { - type: "structure", - required: ["DirectoryArn"], - members: { DirectoryArn: {} }, + required: ["TagKeys", "ResourceArn"], }, }, - EnableDirectory: { + UpdateBrokerCount: { http: { method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/directory/enable", + requestUri: "/v1/clusters/{clusterArn}/nodes/count", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + ClusterArn: { location: "uri", locationName: "clusterArn" }, + CurrentVersion: { locationName: "currentVersion" }, + TargetNumberOfBrokerNodes: { + locationName: "targetNumberOfBrokerNodes", + type: "integer", }, }, + required: [ + "ClusterArn", + "CurrentVersion", + "TargetNumberOfBrokerNodes", + ], }, output: { type: "structure", - required: ["DirectoryArn"], - members: { DirectoryArn: {} }, - }, - }, - GetAppliedSchemaVersion: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/schema/getappliedschema", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn"], - members: { SchemaArn: {} }, - }, - output: { type: "structure", members: { AppliedSchemaArn: {} } }, - }, - GetDirectory: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/directory/get", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, + ClusterArn: { locationName: "clusterArn" }, + ClusterOperationArn: { locationName: "clusterOperationArn" }, }, }, - output: { - type: "structure", - required: ["Directory"], - members: { Directory: { shape: "S5n" } }, - }, }, - GetFacet: { + UpdateBrokerStorage: { http: { - requestUri: "/amazonclouddirectory/2017-01-11/facet", + method: "PUT", + requestUri: "/v1/clusters/{clusterArn}/nodes/storage", responseCode: 200, }, input: { type: "structure", - required: ["SchemaArn", "Name"], members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", + ClusterArn: { location: "uri", locationName: "clusterArn" }, + CurrentVersion: { locationName: "currentVersion" }, + TargetBrokerEBSVolumeInfo: { + shape: "S1x", + locationName: "targetBrokerEBSVolumeInfo", }, - Name: {}, }, + required: [ + "ClusterArn", + "TargetBrokerEBSVolumeInfo", + "CurrentVersion", + ], }, output: { type: "structure", members: { - Facet: { - type: "structure", - members: { Name: {}, ObjectType: {}, FacetStyle: {} }, - }, + ClusterArn: { locationName: "clusterArn" }, + ClusterOperationArn: { locationName: "clusterOperationArn" }, }, }, }, - GetLinkAttributes: { + UpdateConfiguration: { http: { - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/attributes/get", + method: "PUT", + requestUri: "/v1/configurations/{arn}", responseCode: 200, }, input: { type: "structure", - required: [ - "DirectoryArn", - "TypedLinkSpecifier", - "AttributeNames", - ], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + Arn: { location: "uri", locationName: "arn" }, + Description: { locationName: "description" }, + ServerProperties: { + locationName: "serverProperties", + type: "blob", }, - TypedLinkSpecifier: { shape: "Sy" }, - AttributeNames: { shape: "S1a" }, - ConsistencyLevel: {}, }, + required: ["Arn", "ServerProperties"], }, output: { type: "structure", - members: { Attributes: { shape: "S5" } }, - }, - }, - GetObjectAttributes: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/object/attributes/get", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "DirectoryArn", - "ObjectReference", - "SchemaFacet", - "AttributeNames", - ], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", + Arn: { locationName: "arn" }, + LatestRevision: { + shape: "S19", + locationName: "latestRevision", }, - SchemaFacet: { shape: "S3" }, - AttributeNames: { shape: "S1a" }, }, }, - output: { - type: "structure", - members: { Attributes: { shape: "S5" } }, - }, }, - GetObjectInformation: { + UpdateClusterConfiguration: { http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/information", + method: "PUT", + requestUri: "/v1/clusters/{clusterArn}/configuration", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "ObjectReference"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", + ClusterArn: { location: "uri", locationName: "clusterArn" }, + ConfigurationInfo: { + shape: "Sk", + locationName: "configurationInfo", }, + CurrentVersion: { locationName: "currentVersion" }, }, + required: ["ClusterArn", "CurrentVersion", "ConfigurationInfo"], }, output: { type: "structure", - members: { SchemaFacets: { shape: "S1y" }, ObjectIdentifier: {} }, - }, - }, - GetSchemaAsJson: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/schema/json", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn"], members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, + ClusterArn: { locationName: "clusterArn" }, + ClusterOperationArn: { locationName: "clusterOperationArn" }, }, }, - output: { type: "structure", members: { Name: {}, Document: {} } }, }, - GetTypedLinkFacetInformation: { + UpdateClusterKafkaVersion: { http: { - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/facet/get", + method: "PUT", + requestUri: "/v1/clusters/{clusterArn}/version", responseCode: 200, }, input: { type: "structure", - required: ["SchemaArn", "Name"], members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", + ClusterArn: { location: "uri", locationName: "clusterArn" }, + ConfigurationInfo: { + shape: "Sk", + locationName: "configurationInfo", }, - Name: {}, + CurrentVersion: { locationName: "currentVersion" }, + TargetKafkaVersion: { locationName: "targetKafkaVersion" }, }, + required: ["ClusterArn", "TargetKafkaVersion", "CurrentVersion"], }, output: { type: "structure", - members: { IdentityAttributeOrder: { shape: "S1a" } }, - }, - }, - ListAppliedSchemaArns: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/schema/applied", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn"], members: { - DirectoryArn: {}, - SchemaArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + ClusterArn: { locationName: "clusterArn" }, + ClusterOperationArn: { locationName: "clusterOperationArn" }, }, }, - output: { - type: "structure", - members: { SchemaArns: { shape: "S66" }, NextToken: {} }, - }, }, - ListAttachedIndices: { + UpdateMonitoring: { http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/indices", + method: "PUT", + requestUri: "/v1/clusters/{clusterArn}/monitoring", responseCode: 200, }, input: { type: "structure", - required: ["DirectoryArn", "TargetReference"], members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - TargetReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, + ClusterArn: { location: "uri", locationName: "clusterArn" }, + CurrentVersion: { locationName: "currentVersion" }, + EnhancedMonitoring: { locationName: "enhancedMonitoring" }, + OpenMonitoring: { shape: "Sr", locationName: "openMonitoring" }, + LoggingInfo: { shape: "Sw", locationName: "loggingInfo" }, }, + required: ["ClusterArn", "CurrentVersion"], }, output: { - type: "structure", - members: { IndexAttachments: { shape: "S21" }, NextToken: {} }, - }, - }, - ListDevelopmentSchemaArns: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/schema/development", - responseCode: 200, - }, - input: { - type: "structure", - members: { NextToken: {}, MaxResults: { type: "integer" } }, - }, - output: { - type: "structure", - members: { SchemaArns: { shape: "S66" }, NextToken: {} }, - }, - }, - ListDirectories: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/directory/list", - responseCode: 200, - }, - input: { type: "structure", members: { - NextToken: {}, - MaxResults: { type: "integer" }, - state: {}, + ClusterArn: { locationName: "clusterArn" }, + ClusterOperationArn: { locationName: "clusterOperationArn" }, }, }, - output: { + }, + }, + shapes: { + S3: { type: "list", member: {} }, + S5: { + type: "list", + member: { type: "structure", - required: ["Directories"], members: { - Directories: { type: "list", member: { shape: "S5n" } }, - NextToken: {}, + ErrorCode: { locationName: "errorCode" }, + ErrorMessage: { locationName: "errorMessage" }, + SecretArn: { locationName: "secretArn" }, }, }, }, - ListFacetAttributes: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/facet/attributes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", + S8: { + type: "structure", + members: { + BrokerAZDistribution: { locationName: "brokerAZDistribution" }, + ClientSubnets: { shape: "S3", locationName: "clientSubnets" }, + InstanceType: { locationName: "instanceType" }, + SecurityGroups: { shape: "S3", locationName: "securityGroups" }, + StorageInfo: { + locationName: "storageInfo", + type: "structure", + members: { + EbsStorageInfo: { + locationName: "ebsStorageInfo", + type: "structure", + members: { + VolumeSize: { + locationName: "volumeSize", + type: "integer", + }, + }, + }, }, - Name: {}, - NextToken: {}, - MaxResults: { type: "integer" }, }, }, - output: { - type: "structure", - members: { Attributes: { shape: "S46" }, NextToken: {} }, - }, + required: ["ClientSubnets", "InstanceType"], }, - ListFacetNames: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/facet/list", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", + Se: { + type: "structure", + members: { + Sasl: { + locationName: "sasl", + type: "structure", + members: { + Scram: { + locationName: "scram", + type: "structure", + members: { + Enabled: { locationName: "enabled", type: "boolean" }, + }, + }, }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - FacetNames: { type: "list", member: {} }, - NextToken: {}, }, - }, - }, - ListIncomingTypedLinks: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/typedlink/incoming", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + Tls: { + locationName: "tls", + type: "structure", + members: { + CertificateAuthorityArnList: { + shape: "S3", + locationName: "certificateAuthorityArnList", + }, }, - ObjectReference: { shape: "Sf" }, - FilterAttributeRanges: { shape: "S1l" }, - FilterTypedLink: { shape: "St" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: {}, }, }, - output: { - type: "structure", - members: { LinkSpecifiers: { shape: "S2i" }, NextToken: {} }, - }, }, - ListIndex: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/index/targets", - responseCode: 200, + Sk: { + type: "structure", + members: { + Arn: { locationName: "arn" }, + Revision: { locationName: "revision", type: "long" }, }, - input: { - type: "structure", - required: ["DirectoryArn", "IndexReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", + required: ["Revision", "Arn"], + }, + Sm: { + type: "structure", + members: { + EncryptionAtRest: { + locationName: "encryptionAtRest", + type: "structure", + members: { + DataVolumeKMSKeyId: { locationName: "dataVolumeKMSKeyId" }, }, - RangesOnIndexedValues: { shape: "S1g" }, - IndexReference: { shape: "Sf" }, - MaxResults: { type: "integer" }, - NextToken: {}, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", + required: ["DataVolumeKMSKeyId"], + }, + EncryptionInTransit: { + locationName: "encryptionInTransit", + type: "structure", + members: { + ClientBroker: { locationName: "clientBroker" }, + InCluster: { locationName: "inCluster", type: "boolean" }, }, }, }, - output: { - type: "structure", - members: { IndexAttachments: { shape: "S21" }, NextToken: {} }, - }, }, - ListManagedSchemaArns: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/schema/managed", - responseCode: 200, - }, - input: { - type: "structure", - members: { - SchemaArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + Sr: { + type: "structure", + members: { + Prometheus: { + locationName: "prometheus", + type: "structure", + members: { + JmxExporter: { + locationName: "jmxExporter", + type: "structure", + members: { + EnabledInBroker: { + locationName: "enabledInBroker", + type: "boolean", + }, + }, + required: ["EnabledInBroker"], + }, + NodeExporter: { + locationName: "nodeExporter", + type: "structure", + members: { + EnabledInBroker: { + locationName: "enabledInBroker", + type: "boolean", + }, + }, + required: ["EnabledInBroker"], + }, + }, }, }, - output: { - type: "structure", - members: { SchemaArns: { shape: "S66" }, NextToken: {} }, - }, + required: ["Prometheus"], }, - ListObjectAttributes: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/attributes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - FacetFilter: { shape: "S3" }, - }, - }, - output: { - type: "structure", - members: { Attributes: { shape: "S5" }, NextToken: {} }, - }, - }, - ListObjectChildren: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/children", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - }, - }, - output: { - type: "structure", - members: { Children: { shape: "S1w" }, NextToken: {} }, - }, - }, - ListObjectParentPaths: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/parentpaths", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - PathToObjectIdentifiersList: { shape: "S24" }, - NextToken: {}, - }, - }, - }, - ListObjectParents: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/parent", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - IncludeAllLinksToEachParent: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { - Parents: { type: "map", key: {}, value: {} }, - NextToken: {}, - ParentLinks: { shape: "S2m" }, - }, - }, - }, - ListObjectPolicies: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/object/policy", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - }, - }, - output: { - type: "structure", - members: { AttachedPolicyIds: { shape: "S27" }, NextToken: {} }, - }, - }, - ListOutgoingTypedLinks: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/typedlink/outgoing", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - FilterAttributeRanges: { shape: "S1l" }, - FilterTypedLink: { shape: "St" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: {}, - }, - }, - output: { - type: "structure", - members: { TypedLinkSpecifiers: { shape: "S2i" }, NextToken: {} }, - }, - }, - ListPolicyAttachments: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/policy/attachment", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "PolicyReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - PolicyReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - ConsistencyLevel: { - location: "header", - locationName: "x-amz-consistency-level", - }, - }, - }, - output: { - type: "structure", - members: { ObjectIdentifiers: { shape: "S27" }, NextToken: {} }, - }, - }, - ListPublishedSchemaArns: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/schema/published", - responseCode: 200, - }, - input: { - type: "structure", - members: { - SchemaArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { SchemaArns: { shape: "S66" }, NextToken: {} }, - }, - }, - ListTagsForResource: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/tags", - responseCode: 200, - }, - input: { - type: "structure", - required: ["ResourceArn"], - members: { - ResourceArn: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Tags: { shape: "S79" }, NextToken: {} }, - }, - }, - ListTypedLinkFacetAttributes: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/facet/attributes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Attributes: { shape: "S4v" }, NextToken: {} }, - }, - }, - ListTypedLinkFacetNames: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/facet/list", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - FacetNames: { type: "list", member: {} }, - NextToken: {}, - }, - }, - }, - LookupPolicy: { - http: { - requestUri: "/amazonclouddirectory/2017-01-11/policy/lookup", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { PolicyToPathList: { shape: "S2b" }, NextToken: {} }, - }, - }, - PublishSchema: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema/publish", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DevelopmentSchemaArn", "Version"], - members: { - DevelopmentSchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Version: {}, - MinorVersion: {}, - Name: {}, - }, - }, - output: { type: "structure", members: { PublishedSchemaArn: {} } }, - }, - PutSchemaFromJson: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema/json", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Document"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Document: {}, - }, - }, - output: { type: "structure", members: { Arn: {} } }, - }, - RemoveFacetFromObject: { - http: { - method: "PUT", - requestUri: - "/amazonclouddirectory/2017-01-11/object/facets/delete", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "SchemaFacet", "ObjectReference"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - SchemaFacet: { shape: "S3" }, - ObjectReference: { shape: "Sf" }, - }, - }, - output: { type: "structure", members: {} }, - }, - TagResource: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/tags/add", - responseCode: 200, - }, - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "S79" } }, - }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/tags/remove", - responseCode: 200, - }, - input: { - type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateFacet: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/facet", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - AttributeUpdates: { - type: "list", - member: { + Sw: { + type: "structure", + members: { + BrokerLogs: { + locationName: "brokerLogs", + type: "structure", + members: { + CloudWatchLogs: { + locationName: "cloudWatchLogs", type: "structure", - members: { Attribute: { shape: "S47" }, Action: {} }, + members: { + Enabled: { locationName: "enabled", type: "boolean" }, + LogGroup: { locationName: "logGroup" }, + }, + required: ["Enabled"], }, - }, - ObjectType: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateLinkAttributes: { - http: { - requestUri: - "/amazonclouddirectory/2017-01-11/typedlink/attributes/update", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "DirectoryArn", - "TypedLinkSpecifier", - "AttributeUpdates", - ], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - TypedLinkSpecifier: { shape: "Sy" }, - AttributeUpdates: { shape: "S3g" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateObjectAttributes: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/object/update", - responseCode: 200, - }, - input: { - type: "structure", - required: ["DirectoryArn", "ObjectReference", "AttributeUpdates"], - members: { - DirectoryArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - ObjectReference: { shape: "Sf" }, - AttributeUpdates: { shape: "S2z" }, - }, - }, - output: { type: "structure", members: { ObjectIdentifier: {} } }, - }, - UpdateSchema: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/schema/update", - responseCode: 200, - }, - input: { - type: "structure", - required: ["SchemaArn", "Name"], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - }, - }, - output: { type: "structure", members: { SchemaArn: {} } }, - }, - UpdateTypedLinkFacet: { - http: { - method: "PUT", - requestUri: "/amazonclouddirectory/2017-01-11/typedlink/facet", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "SchemaArn", - "Name", - "AttributeUpdates", - "IdentityAttributeOrder", - ], - members: { - SchemaArn: { - location: "header", - locationName: "x-amz-data-partition", - }, - Name: {}, - AttributeUpdates: { - type: "list", - member: { + Firehose: { + locationName: "firehose", type: "structure", - required: ["Attribute", "Action"], - members: { Attribute: { shape: "S4w" }, Action: {} }, + members: { + DeliveryStream: { locationName: "deliveryStream" }, + Enabled: { locationName: "enabled", type: "boolean" }, + }, + required: ["Enabled"], + }, + S3: { + locationName: "s3", + type: "structure", + members: { + Bucket: { locationName: "bucket" }, + Enabled: { locationName: "enabled", type: "boolean" }, + Prefix: { locationName: "prefix" }, + }, + required: ["Enabled"], }, }, - IdentityAttributeOrder: { shape: "S1a" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpgradeAppliedSchema: { - http: { - method: "PUT", - requestUri: - "/amazonclouddirectory/2017-01-11/schema/upgradeapplied", - responseCode: 200, - }, - input: { - type: "structure", - required: ["PublishedSchemaArn", "DirectoryArn"], - members: { - PublishedSchemaArn: {}, - DirectoryArn: {}, - DryRun: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { UpgradedSchemaArn: {}, DirectoryArn: {} }, - }, - }, - UpgradePublishedSchema: { - http: { - method: "PUT", - requestUri: - "/amazonclouddirectory/2017-01-11/schema/upgradepublished", - responseCode: 200, - }, - input: { - type: "structure", - required: [ - "DevelopmentSchemaArn", - "PublishedSchemaArn", - "MinorVersion", - ], - members: { - DevelopmentSchemaArn: {}, - PublishedSchemaArn: {}, - MinorVersion: {}, - DryRun: { type: "boolean" }, }, }, - output: { type: "structure", members: { UpgradedSchemaArn: {} } }, - }, - }, - shapes: { - S3: { type: "structure", members: { SchemaArn: {}, FacetName: {} } }, - S5: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: { shape: "S7" }, Value: { shape: "S9" } }, - }, - }, - S7: { - type: "structure", - required: ["SchemaArn", "FacetName", "Name"], - members: { SchemaArn: {}, FacetName: {}, Name: {} }, + required: ["BrokerLogs"], }, - S9: { + S12: { type: "map", key: {}, value: {} }, + S18: { type: "timestamp", timestampFormat: "iso8601" }, + S19: { type: "structure", members: { - StringValue: {}, - BinaryValue: { type: "blob" }, - BooleanValue: { type: "boolean" }, - NumberValue: {}, - DatetimeValue: { type: "timestamp" }, - }, - }, - Sf: { type: "structure", members: { Selector: {} } }, - St: { - type: "structure", - required: ["SchemaArn", "TypedLinkName"], - members: { SchemaArn: {}, TypedLinkName: {} }, - }, - Sv: { - type: "list", - member: { - type: "structure", - required: ["AttributeName", "Value"], - members: { AttributeName: {}, Value: { shape: "S9" } }, + CreationTime: { shape: "S18", locationName: "creationTime" }, + Description: { locationName: "description" }, + Revision: { locationName: "revision", type: "long" }, }, + required: ["Revision", "CreationTime"], }, - Sy: { + S1h: { type: "structure", - required: [ - "TypedLinkFacet", - "SourceObjectReference", - "TargetObjectReference", - "IdentityAttributeValues", - ], members: { - TypedLinkFacet: { shape: "St" }, - SourceObjectReference: { shape: "Sf" }, - TargetObjectReference: { shape: "Sf" }, - IdentityAttributeValues: { shape: "Sv" }, - }, - }, - S1a: { type: "list", member: {} }, - S1g: { - type: "list", - member: { - type: "structure", - members: { - AttributeKey: { shape: "S7" }, - Range: { shape: "S1i" }, + ActiveOperationArn: { locationName: "activeOperationArn" }, + BrokerNodeGroupInfo: { + shape: "S8", + locationName: "brokerNodeGroupInfo", + }, + ClientAuthentication: { + shape: "Se", + locationName: "clientAuthentication", + }, + ClusterArn: { locationName: "clusterArn" }, + ClusterName: { locationName: "clusterName" }, + CreationTime: { shape: "S18", locationName: "creationTime" }, + CurrentBrokerSoftwareInfo: { + shape: "S1i", + locationName: "currentBrokerSoftwareInfo", + }, + CurrentVersion: { locationName: "currentVersion" }, + EncryptionInfo: { shape: "Sm", locationName: "encryptionInfo" }, + EnhancedMonitoring: { locationName: "enhancedMonitoring" }, + OpenMonitoring: { shape: "S1j", locationName: "openMonitoring" }, + LoggingInfo: { shape: "Sw", locationName: "loggingInfo" }, + NumberOfBrokerNodes: { + locationName: "numberOfBrokerNodes", + type: "integer", + }, + State: { locationName: "state" }, + StateInfo: { + locationName: "stateInfo", + type: "structure", + members: { + Code: { locationName: "code" }, + Message: { locationName: "message" }, + }, + }, + Tags: { shape: "S12", locationName: "tags" }, + ZookeeperConnectString: { + locationName: "zookeeperConnectString", + }, + ZookeeperConnectStringTls: { + locationName: "zookeeperConnectStringTls", }, }, }, S1i: { type: "structure", - required: ["StartMode", "EndMode"], members: { - StartMode: {}, - StartValue: { shape: "S9" }, - EndMode: {}, - EndValue: { shape: "S9" }, - }, - }, - S1l: { - type: "list", - member: { - type: "structure", - required: ["Range"], - members: { AttributeName: {}, Range: { shape: "S1i" } }, - }, - }, - S1w: { type: "map", key: {}, value: {} }, - S1y: { type: "list", member: { shape: "S3" } }, - S21: { - type: "list", - member: { - type: "structure", - members: { - IndexedAttributes: { shape: "S5" }, - ObjectIdentifier: {}, + ConfigurationArn: { locationName: "configurationArn" }, + ConfigurationRevision: { + locationName: "configurationRevision", + type: "long", }, + KafkaVersion: { locationName: "kafkaVersion" }, }, }, - S24: { - type: "list", - member: { - type: "structure", - members: { Path: {}, ObjectIdentifiers: { shape: "S27" } }, - }, - }, - S27: { type: "list", member: {} }, - S2b: { - type: "list", - member: { - type: "structure", - members: { - Path: {}, - Policies: { - type: "list", - member: { + S1j: { + type: "structure", + members: { + Prometheus: { + locationName: "prometheus", + type: "structure", + members: { + JmxExporter: { + locationName: "jmxExporter", type: "structure", members: { - PolicyId: {}, - ObjectIdentifier: {}, - PolicyType: {}, + EnabledInBroker: { + locationName: "enabledInBroker", + type: "boolean", + }, + }, + required: ["EnabledInBroker"], + }, + NodeExporter: { + locationName: "nodeExporter", + type: "structure", + members: { + EnabledInBroker: { + locationName: "enabledInBroker", + type: "boolean", + }, }, + required: ["EnabledInBroker"], }, }, }, }, + required: ["Prometheus"], }, - S2i: { type: "list", member: { shape: "Sy" } }, - S2m: { - type: "list", - member: { - type: "structure", - members: { ObjectIdentifier: {}, LinkName: {} }, - }, - }, - S2z: { - type: "list", - member: { - type: "structure", - members: { - ObjectAttributeKey: { shape: "S7" }, - ObjectAttributeAction: { - type: "structure", - members: { - ObjectAttributeActionType: {}, - ObjectAttributeUpdateValue: { shape: "S9" }, - }, + S1r: { + type: "structure", + members: { + ClientRequestId: { locationName: "clientRequestId" }, + ClusterArn: { locationName: "clusterArn" }, + CreationTime: { shape: "S18", locationName: "creationTime" }, + EndTime: { shape: "S18", locationName: "endTime" }, + ErrorInfo: { + locationName: "errorInfo", + type: "structure", + members: { + ErrorCode: { locationName: "errorCode" }, + ErrorString: { locationName: "errorString" }, }, }, - }, - }, - S39: { type: "list", member: { shape: "S7" } }, - S3g: { - type: "list", - member: { - type: "structure", - members: { - AttributeKey: { shape: "S7" }, - AttributeAction: { + OperationArn: { locationName: "operationArn" }, + OperationState: { locationName: "operationState" }, + OperationSteps: { + locationName: "operationSteps", + type: "list", + member: { type: "structure", members: { - AttributeActionType: {}, - AttributeUpdateValue: { shape: "S9" }, + StepInfo: { + locationName: "stepInfo", + type: "structure", + members: { StepStatus: { locationName: "stepStatus" } }, + }, + StepName: { locationName: "stepName" }, }, }, }, + OperationType: { locationName: "operationType" }, + SourceClusterInfo: { + shape: "S1w", + locationName: "sourceClusterInfo", + }, + TargetClusterInfo: { + shape: "S1w", + locationName: "targetClusterInfo", + }, }, }, - S46: { type: "list", member: { shape: "S47" } }, - S47: { + S1w: { type: "structure", - required: ["Name"], members: { - Name: {}, - AttributeDefinition: { - type: "structure", - required: ["Type"], - members: { - Type: {}, - DefaultValue: { shape: "S9" }, - IsImmutable: { type: "boolean" }, - Rules: { shape: "S4a" }, - }, + BrokerEBSVolumeInfo: { + shape: "S1x", + locationName: "brokerEBSVolumeInfo", }, - AttributeReference: { - type: "structure", - required: ["TargetFacetName", "TargetAttributeName"], - members: { TargetFacetName: {}, TargetAttributeName: {} }, + ConfigurationInfo: { + shape: "Sk", + locationName: "configurationInfo", }, - RequiredBehavior: {}, + NumberOfBrokerNodes: { + locationName: "numberOfBrokerNodes", + type: "integer", + }, + EnhancedMonitoring: { locationName: "enhancedMonitoring" }, + OpenMonitoring: { shape: "S1j", locationName: "openMonitoring" }, + KafkaVersion: { locationName: "kafkaVersion" }, + LoggingInfo: { shape: "Sw", locationName: "loggingInfo" }, }, }, - S4a: { - type: "map", - key: {}, - value: { + S1x: { + type: "list", + member: { type: "structure", members: { - Type: {}, - Parameters: { type: "map", key: {}, value: {} }, + KafkaBrokerNodeId: { locationName: "kafkaBrokerNodeId" }, + VolumeSizeGB: { locationName: "volumeSizeGB", type: "integer" }, }, + required: ["VolumeSizeGB", "KafkaBrokerNodeId"], }, }, - S4v: { type: "list", member: { shape: "S4w" } }, - S4w: { - type: "structure", - required: ["Name", "Type", "RequiredBehavior"], - members: { - Name: {}, - Type: {}, - DefaultValue: { shape: "S9" }, - IsImmutable: { type: "boolean" }, - Rules: { shape: "S4a" }, - RequiredBehavior: {}, - }, - }, - S5n: { - type: "structure", - members: { - Name: {}, - DirectoryArn: {}, - State: {}, - CreationDateTime: { type: "timestamp" }, - }, + }, + }; + + /***/ + }, + + /***/ 2317: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["codedeploy"] = {}; + AWS.CodeDeploy = Service.defineService("codedeploy", ["2014-10-06"]); + Object.defineProperty(apiLoader.services["codedeploy"], "2014-10-06", { + get: function get() { + var model = __webpack_require__(4721); + model.paginators = __webpack_require__(2971).pagination; + model.waiters = __webpack_require__(1154).waiters; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.CodeDeploy; + + /***/ + }, + + /***/ 2323: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 2327: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["iotthingsgraph"] = {}; + AWS.IoTThingsGraph = Service.defineService("iotthingsgraph", [ + "2018-09-06", + ]); + Object.defineProperty( + apiLoader.services["iotthingsgraph"], + "2018-09-06", + { + get: function get() { + var model = __webpack_require__(9187); + model.paginators = __webpack_require__(6433).pagination; + return model; }, - S66: { type: "list", member: {} }, - S79: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.IoTThingsGraph; + + /***/ + }, + + /***/ 2336: /***/ function (module) { + module.exports = { + version: 2, + waiters: { + ResourceRecordSetsChanged: { + delay: 30, + maxAttempts: 60, + operation: "GetChange", + acceptors: [ + { + matcher: "path", + expected: "INSYNC", + argument: "ChangeInfo.Status", + state: "success", + }, + ], }, }, }; @@ -77919,24 +84355,23 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 2641: /***/ function (module, __unusedexports, __webpack_require__) { + /***/ 2339: /***/ function (module, __unusedexports, __webpack_require__) { __webpack_require__(3234); var AWS = __webpack_require__(395); var Service = AWS.Service; var apiLoader = AWS.apiLoader; - apiLoader.services["kinesisvideosignalingchannels"] = {}; - AWS.KinesisVideoSignalingChannels = Service.defineService( - "kinesisvideosignalingchannels", - ["2019-12-04"] - ); + apiLoader.services["mediapackagevod"] = {}; + AWS.MediaPackageVod = Service.defineService("mediapackagevod", [ + "2018-11-07", + ]); Object.defineProperty( - apiLoader.services["kinesisvideosignalingchannels"], - "2019-12-04", + apiLoader.services["mediapackagevod"], + "2018-11-07", { get: function get() { - var model = __webpack_require__(1713); - model.paginators = __webpack_require__(1529).pagination; + var model = __webpack_require__(5351); + model.paginators = __webpack_require__(5826).pagination; return model; }, enumerable: true, @@ -77944,988 +84379,273 @@ module.exports = /******/ (function (modules, runtime) { } ); - module.exports = AWS.KinesisVideoSignalingChannels; + module.exports = AWS.MediaPackageVod; /***/ }, - /***/ 2655: /***/ function (module) { + /***/ 2345: /***/ function (module) { module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-05-22", - endpointPrefix: "personalize", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon Personalize", - serviceId: "Personalize", - signatureVersion: "v4", - signingName: "personalize", - targetPrefix: "AmazonPersonalize", - uid: "personalize-2018-05-22", - }, - operations: { - CreateBatchInferenceJob: { - input: { - type: "structure", - required: [ - "jobName", - "solutionVersionArn", - "jobInput", - "jobOutput", - "roleArn", - ], - members: { - jobName: {}, - solutionVersionArn: {}, - numResults: { type: "integer" }, - jobInput: { shape: "S5" }, - jobOutput: { shape: "S9" }, - roleArn: {}, - }, - }, - output: { - type: "structure", - members: { batchInferenceJobArn: {} }, - }, + pagination: { + ListDatabases: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", }, - CreateCampaign: { - input: { - type: "structure", - required: ["name", "solutionVersionArn", "minProvisionedTPS"], - members: { - name: {}, - solutionVersionArn: {}, - minProvisionedTPS: { type: "integer" }, - }, - }, - output: { type: "structure", members: { campaignArn: {} } }, - idempotent: true, + ListTables: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", }, - CreateDataset: { - input: { - type: "structure", - required: ["name", "schemaArn", "datasetGroupArn", "datasetType"], - members: { - name: {}, - schemaArn: {}, - datasetGroupArn: {}, - datasetType: {}, - }, - }, - output: { type: "structure", members: { datasetArn: {} } }, - idempotent: true, - }, - CreateDatasetGroup: { - input: { - type: "structure", - required: ["name"], - members: { name: {}, roleArn: {}, kmsKeyArn: {} }, - }, - output: { type: "structure", members: { datasetGroupArn: {} } }, - }, - CreateDatasetImportJob: { - input: { - type: "structure", - required: ["jobName", "datasetArn", "dataSource", "roleArn"], - members: { - jobName: {}, - datasetArn: {}, - dataSource: { shape: "Sl" }, - roleArn: {}, - }, - }, - output: { type: "structure", members: { datasetImportJobArn: {} } }, - }, - CreateEventTracker: { - input: { - type: "structure", - required: ["name", "datasetGroupArn"], - members: { name: {}, datasetGroupArn: {} }, - }, - output: { - type: "structure", - members: { eventTrackerArn: {}, trackingId: {} }, - }, - idempotent: true, - }, - CreateSchema: { - input: { - type: "structure", - required: ["name", "schema"], - members: { name: {}, schema: {} }, - }, - output: { type: "structure", members: { schemaArn: {} } }, - idempotent: true, - }, - CreateSolution: { - input: { - type: "structure", - required: ["name", "datasetGroupArn"], - members: { - name: {}, - performHPO: { type: "boolean" }, - performAutoML: { type: "boolean" }, - recipeArn: {}, - datasetGroupArn: {}, - eventType: {}, - solutionConfig: { shape: "Sx" }, - }, - }, - output: { type: "structure", members: { solutionArn: {} } }, - }, - CreateSolutionVersion: { - input: { - type: "structure", - required: ["solutionArn"], - members: { solutionArn: {}, trainingMode: {} }, - }, - output: { type: "structure", members: { solutionVersionArn: {} } }, - }, - DeleteCampaign: { - input: { - type: "structure", - required: ["campaignArn"], - members: { campaignArn: {} }, - }, - idempotent: true, - }, - DeleteDataset: { - input: { - type: "structure", - required: ["datasetArn"], - members: { datasetArn: {} }, - }, - idempotent: true, - }, - DeleteDatasetGroup: { - input: { - type: "structure", - required: ["datasetGroupArn"], - members: { datasetGroupArn: {} }, - }, - idempotent: true, - }, - DeleteEventTracker: { - input: { - type: "structure", - required: ["eventTrackerArn"], - members: { eventTrackerArn: {} }, - }, - idempotent: true, - }, - DeleteSchema: { - input: { - type: "structure", - required: ["schemaArn"], - members: { schemaArn: {} }, - }, - idempotent: true, - }, - DeleteSolution: { - input: { - type: "structure", - required: ["solutionArn"], - members: { solutionArn: {} }, - }, - idempotent: true, - }, - DescribeAlgorithm: { - input: { - type: "structure", - required: ["algorithmArn"], - members: { algorithmArn: {} }, - }, - output: { - type: "structure", - members: { - algorithm: { - type: "structure", - members: { - name: {}, - algorithmArn: {}, - algorithmImage: { - type: "structure", - required: ["dockerURI"], - members: { name: {}, dockerURI: {} }, - }, - defaultHyperParameters: { shape: "S1k" }, - defaultHyperParameterRanges: { - type: "structure", - members: { - integerHyperParameterRanges: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - minValue: { type: "integer" }, - maxValue: { type: "integer" }, - isTunable: { type: "boolean" }, - }, - }, - }, - continuousHyperParameterRanges: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - minValue: { type: "double" }, - maxValue: { type: "double" }, - isTunable: { type: "boolean" }, - }, - }, - }, - categoricalHyperParameterRanges: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - values: { shape: "S1i" }, - isTunable: { type: "boolean" }, - }, - }, - }, - }, - }, - defaultResourceConfig: { type: "map", key: {}, value: {} }, - trainingInputMode: {}, - roleArn: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - }, - idempotent: true, - }, - DescribeBatchInferenceJob: { - input: { - type: "structure", - required: ["batchInferenceJobArn"], - members: { batchInferenceJobArn: {} }, - }, - output: { - type: "structure", - members: { - batchInferenceJob: { - type: "structure", - members: { - jobName: {}, - batchInferenceJobArn: {}, - failureReason: {}, - solutionVersionArn: {}, - numResults: { type: "integer" }, - jobInput: { shape: "S5" }, - jobOutput: { shape: "S9" }, - roleArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - }, - idempotent: true, - }, - DescribeCampaign: { - input: { - type: "structure", - required: ["campaignArn"], - members: { campaignArn: {} }, - }, - output: { - type: "structure", - members: { - campaign: { - type: "structure", - members: { - name: {}, - campaignArn: {}, - solutionVersionArn: {}, - minProvisionedTPS: { type: "integer" }, - status: {}, - failureReason: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - latestCampaignUpdate: { - type: "structure", - members: { - solutionVersionArn: {}, - minProvisionedTPS: { type: "integer" }, - status: {}, - failureReason: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - }, - }, - }, - idempotent: true, - }, - DescribeDataset: { - input: { - type: "structure", - required: ["datasetArn"], - members: { datasetArn: {} }, - }, - output: { - type: "structure", - members: { - dataset: { - type: "structure", - members: { - name: {}, - datasetArn: {}, - datasetGroupArn: {}, - datasetType: {}, - schemaArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - }, - idempotent: true, - }, - DescribeDatasetGroup: { - input: { - type: "structure", - required: ["datasetGroupArn"], - members: { datasetGroupArn: {} }, - }, - output: { - type: "structure", - members: { - datasetGroup: { - type: "structure", - members: { - name: {}, - datasetGroupArn: {}, - status: {}, - roleArn: {}, - kmsKeyArn: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - failureReason: {}, - }, - }, - }, - }, - idempotent: true, - }, - DescribeDatasetImportJob: { - input: { - type: "structure", - required: ["datasetImportJobArn"], - members: { datasetImportJobArn: {} }, - }, - output: { - type: "structure", - members: { - datasetImportJob: { - type: "structure", - members: { - jobName: {}, - datasetImportJobArn: {}, - datasetArn: {}, - dataSource: { shape: "Sl" }, - roleArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - failureReason: {}, - }, - }, - }, - }, - idempotent: true, - }, - DescribeEventTracker: { - input: { - type: "structure", - required: ["eventTrackerArn"], - members: { eventTrackerArn: {} }, - }, - output: { - type: "structure", - members: { - eventTracker: { - type: "structure", - members: { - name: {}, - eventTrackerArn: {}, - accountId: {}, - trackingId: {}, - datasetGroupArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - }, - idempotent: true, - }, - DescribeFeatureTransformation: { - input: { - type: "structure", - required: ["featureTransformationArn"], - members: { featureTransformationArn: {} }, - }, - output: { - type: "structure", - members: { - featureTransformation: { - type: "structure", - members: { - name: {}, - featureTransformationArn: {}, - defaultParameters: { type: "map", key: {}, value: {} }, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - status: {}, - }, - }, - }, - }, - idempotent: true, - }, - DescribeRecipe: { - input: { - type: "structure", - required: ["recipeArn"], - members: { recipeArn: {} }, - }, - output: { - type: "structure", - members: { - recipe: { - type: "structure", - members: { - name: {}, - recipeArn: {}, - algorithmArn: {}, - featureTransformationArn: {}, - status: {}, - description: {}, - creationDateTime: { type: "timestamp" }, - recipeType: {}, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - }, - idempotent: true, - }, - DescribeSchema: { - input: { - type: "structure", - required: ["schemaArn"], - members: { schemaArn: {} }, - }, - output: { - type: "structure", - members: { - schema: { - type: "structure", - members: { - name: {}, - schemaArn: {}, - schema: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - }, - idempotent: true, - }, - DescribeSolution: { - input: { - type: "structure", - required: ["solutionArn"], - members: { solutionArn: {} }, - }, - output: { - type: "structure", - members: { - solution: { - type: "structure", - members: { - name: {}, - solutionArn: {}, - performHPO: { type: "boolean" }, - performAutoML: { type: "boolean" }, - recipeArn: {}, - datasetGroupArn: {}, - eventType: {}, - solutionConfig: { shape: "Sx" }, - autoMLResult: { - type: "structure", - members: { bestRecipeArn: {} }, - }, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - latestSolutionVersion: { shape: "S3i" }, - }, - }, - }, - }, - idempotent: true, - }, - DescribeSolutionVersion: { - input: { - type: "structure", - required: ["solutionVersionArn"], - members: { solutionVersionArn: {} }, - }, - output: { - type: "structure", - members: { - solutionVersion: { - type: "structure", - members: { - solutionVersionArn: {}, - solutionArn: {}, - performHPO: { type: "boolean" }, - performAutoML: { type: "boolean" }, - recipeArn: {}, - eventType: {}, - datasetGroupArn: {}, - solutionConfig: { shape: "Sx" }, - trainingHours: { type: "double" }, - trainingMode: {}, - tunedHPOParams: { - type: "structure", - members: { algorithmHyperParameters: { shape: "S1k" } }, - }, - status: {}, - failureReason: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - }, - idempotent: true, - }, - GetSolutionMetrics: { - input: { - type: "structure", - required: ["solutionVersionArn"], - members: { solutionVersionArn: {} }, - }, - output: { - type: "structure", - members: { - solutionVersionArn: {}, - metrics: { type: "map", key: {}, value: { type: "double" } }, + }, + }; + + /***/ + }, + + /***/ 2349: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = authenticationRequestError; + + const { RequestError } = __webpack_require__(3497); + + function authenticationRequestError(state, error, options) { + /* istanbul ignore next */ + if (!error.headers) throw error; + + const otpRequired = /required/.test( + error.headers["x-github-otp"] || "" + ); + // handle "2FA required" error only + if (error.status !== 401 || !otpRequired) { + throw error; + } + + if ( + error.status === 401 && + otpRequired && + error.request && + error.request.headers["x-github-otp"] + ) { + throw new RequestError( + "Invalid one-time password for two-factor authentication", + 401, + { + headers: error.headers, + request: options, + } + ); + } + + if (typeof state.auth.on2fa !== "function") { + throw new RequestError( + "2FA required, but options.on2fa is not a function. See https://github.com/octokit/rest.js#authentication", + 401, + { + headers: error.headers, + request: options, + } + ); + } + + return Promise.resolve() + .then(() => { + return state.auth.on2fa(); + }) + .then((oneTimePassword) => { + const newOptions = Object.assign(options, { + headers: Object.assign( + { "x-github-otp": oneTimePassword }, + options.headers + ), + }); + return state.octokit.request(newOptions); + }); + } + + /***/ + }, + + /***/ 2357: /***/ function (module) { + module.exports = require("assert"); + + /***/ + }, + + /***/ 2386: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["acmpca"] = {}; + AWS.ACMPCA = Service.defineService("acmpca", ["2017-08-22"]); + Object.defineProperty(apiLoader.services["acmpca"], "2017-08-22", { + get: function get() { + var model = __webpack_require__(72); + model.paginators = __webpack_require__(1455).pagination; + model.waiters = __webpack_require__(1273).waiters; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.ACMPCA; + + /***/ + }, + + /***/ 2390: /***/ function (module) { + /** + * Convert array of 16 byte values to UUID string format of the form: + * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + */ + var byteToHex = []; + for (var i = 0; i < 256; ++i) { + byteToHex[i] = (i + 0x100).toString(16).substr(1); + } + + function bytesToUuid(buf, offset) { + var i = offset || 0; + var bth = byteToHex; + // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 + return [ + bth[buf[i++]], + bth[buf[i++]], + bth[buf[i++]], + bth[buf[i++]], + "-", + bth[buf[i++]], + bth[buf[i++]], + "-", + bth[buf[i++]], + bth[buf[i++]], + "-", + bth[buf[i++]], + bth[buf[i++]], + "-", + bth[buf[i++]], + bth[buf[i++]], + bth[buf[i++]], + bth[buf[i++]], + bth[buf[i++]], + bth[buf[i++]], + ].join(""); + } + + module.exports = bytesToUuid; + + /***/ + }, + + /***/ 2394: /***/ function (module) { + module.exports = { + version: 2, + waiters: { + DistributionDeployed: { + delay: 60, + operation: "GetDistribution", + maxAttempts: 25, + description: "Wait until a distribution is deployed.", + acceptors: [ + { + expected: "Deployed", + matcher: "path", + state: "success", + argument: "Distribution.Status", }, - }, + ], }, - ListBatchInferenceJobs: { - input: { - type: "structure", - members: { - solutionVersionArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - batchInferenceJobs: { - type: "list", - member: { - type: "structure", - members: { - batchInferenceJobArn: {}, - jobName: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - failureReason: {}, - solutionVersionArn: {}, - }, - }, - }, - nextToken: {}, + InvalidationCompleted: { + delay: 20, + operation: "GetInvalidation", + maxAttempts: 30, + description: "Wait until an invalidation has completed.", + acceptors: [ + { + expected: "Completed", + matcher: "path", + state: "success", + argument: "Invalidation.Status", }, - }, - idempotent: true, + ], }, - ListCampaigns: { - input: { - type: "structure", - members: { - solutionArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - campaigns: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - campaignArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - failureReason: {}, - }, - }, - }, - nextToken: {}, + StreamingDistributionDeployed: { + delay: 60, + operation: "GetStreamingDistribution", + maxAttempts: 25, + description: "Wait until a streaming distribution is deployed.", + acceptors: [ + { + expected: "Deployed", + matcher: "path", + state: "success", + argument: "StreamingDistribution.Status", }, - }, - idempotent: true, + ], }, - ListDatasetGroups: { - input: { - type: "structure", - members: { nextToken: {}, maxResults: { type: "integer" } }, - }, - output: { - type: "structure", - members: { - datasetGroups: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - datasetGroupArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - failureReason: {}, - }, - }, - }, - nextToken: {}, - }, - }, - idempotent: true, + }, + }; + + /***/ + }, + + /***/ 2413: /***/ function (module) { + module.exports = require("stream"); + + /***/ + }, + + /***/ 2421: /***/ function (module) { + module.exports = { + pagination: { + ListGatewayRoutes: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "limit", + result_key: "gatewayRoutes", }, - ListDatasetImportJobs: { - input: { - type: "structure", - members: { - datasetArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - datasetImportJobs: { - type: "list", - member: { - type: "structure", - members: { - datasetImportJobArn: {}, - jobName: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - failureReason: {}, - }, - }, - }, - nextToken: {}, - }, - }, - idempotent: true, + ListMeshes: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "limit", + result_key: "meshes", }, - ListDatasets: { - input: { - type: "structure", - members: { - datasetGroupArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - datasets: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - datasetArn: {}, - datasetType: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, - }, - idempotent: true, + ListRoutes: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "limit", + result_key: "routes", }, - ListEventTrackers: { - input: { - type: "structure", - members: { - datasetGroupArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - eventTrackers: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - eventTrackerArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, - }, - idempotent: true, + ListTagsForResource: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "limit", + result_key: "tags", }, - ListRecipes: { - input: { - type: "structure", - members: { - recipeProvider: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - recipes: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - recipeArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, - }, - idempotent: true, + ListVirtualGateways: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "limit", + result_key: "virtualGateways", }, - ListSchemas: { - input: { - type: "structure", - members: { nextToken: {}, maxResults: { type: "integer" } }, - }, - output: { - type: "structure", - members: { - schemas: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - schemaArn: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, - }, - idempotent: true, + ListVirtualNodes: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "limit", + result_key: "virtualNodes", }, - ListSolutionVersions: { - input: { - type: "structure", - members: { - solutionArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - solutionVersions: { type: "list", member: { shape: "S3i" } }, - nextToken: {}, - }, - }, - idempotent: true, + ListVirtualRouters: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "limit", + result_key: "virtualRouters", }, - ListSolutions: { - input: { - type: "structure", - members: { - datasetGroupArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - solutions: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - solutionArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, - }, - idempotent: true, - }, - UpdateCampaign: { - input: { - type: "structure", - required: ["campaignArn"], - members: { - campaignArn: {}, - solutionVersionArn: {}, - minProvisionedTPS: { type: "integer" }, - }, - }, - output: { type: "structure", members: { campaignArn: {} } }, - idempotent: true, - }, - }, - shapes: { - S5: { - type: "structure", - required: ["s3DataSource"], - members: { s3DataSource: { shape: "S6" } }, - }, - S6: { - type: "structure", - required: ["path"], - members: { path: {}, kmsKeyArn: {} }, - }, - S9: { - type: "structure", - required: ["s3DataDestination"], - members: { s3DataDestination: { shape: "S6" } }, - }, - Sl: { type: "structure", members: { dataLocation: {} } }, - Sx: { - type: "structure", - members: { - eventValueThreshold: {}, - hpoConfig: { - type: "structure", - members: { - hpoObjective: { - type: "structure", - members: { type: {}, metricName: {}, metricRegex: {} }, - }, - hpoResourceConfig: { - type: "structure", - members: { - maxNumberOfTrainingJobs: {}, - maxParallelTrainingJobs: {}, - }, - }, - algorithmHyperParameterRanges: { - type: "structure", - members: { - integerHyperParameterRanges: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - minValue: { type: "integer" }, - maxValue: { type: "integer" }, - }, - }, - }, - continuousHyperParameterRanges: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - minValue: { type: "double" }, - maxValue: { type: "double" }, - }, - }, - }, - categoricalHyperParameterRanges: { - type: "list", - member: { - type: "structure", - members: { name: {}, values: { shape: "S1i" } }, - }, - }, - }, - }, - }, - }, - algorithmHyperParameters: { shape: "S1k" }, - featureTransformationParameters: { - type: "map", - key: {}, - value: {}, - }, - autoMLConfig: { - type: "structure", - members: { - metricName: {}, - recipeList: { type: "list", member: {} }, - }, - }, - }, - }, - S1i: { type: "list", member: {} }, - S1k: { type: "map", key: {}, value: {} }, - S3i: { - type: "structure", - members: { - solutionVersionArn: {}, - status: {}, - creationDateTime: { type: "timestamp" }, - lastUpdatedDateTime: { type: "timestamp" }, - failureReason: {}, - }, + ListVirtualServices: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "limit", + result_key: "virtualServices", }, }, }; @@ -78933,3036 +84653,2931 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 2659: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2018-10-01", - endpointPrefix: "appmesh", - jsonVersion: "1.1", - protocol: "rest-json", - serviceFullName: "AWS App Mesh", - serviceId: "App Mesh", - signatureVersion: "v4", - signingName: "appmesh", - uid: "appmesh-2018-10-01", - }, - operations: { - CreateMesh: { - http: { method: "PUT", requestUri: "/meshes", responseCode: 200 }, - input: { - type: "structure", - required: ["meshName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: {}, - }, - }, - output: { - type: "structure", - members: { mesh: { shape: "S5" } }, - payload: "mesh", - }, - idempotent: true, - }, - CreateRoute: { - http: { - method: "PUT", - requestUri: - "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "routeName", "spec", "virtualRouterName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - routeName: {}, - spec: { shape: "Sd" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { route: { shape: "Sl" } }, - payload: "route", - }, - idempotent: true, - }, - CreateVirtualNode: { - http: { - method: "PUT", - requestUri: "/meshes/{meshName}/virtualNodes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "spec", "virtualNodeName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - spec: { shape: "Sp" }, - virtualNodeName: {}, - }, - }, - output: { - type: "structure", - members: { virtualNode: { shape: "S14" } }, - payload: "virtualNode", - }, - idempotent: true, - }, - CreateVirtualRouter: { - http: { - method: "PUT", - requestUri: "/meshes/{meshName}/virtualRouters", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "spec", "virtualRouterName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - spec: { shape: "S18" }, - virtualRouterName: {}, - }, - }, - output: { - type: "structure", - members: { virtualRouter: { shape: "S1b" } }, - payload: "virtualRouter", - }, - idempotent: true, - }, - DeleteMesh: { - http: { - method: "DELETE", - requestUri: "/meshes/{meshName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - }, - }, - output: { - type: "structure", - members: { mesh: { shape: "S5" } }, - payload: "mesh", - }, - idempotent: true, - }, - DeleteRoute: { - http: { - method: "DELETE", - requestUri: - "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "routeName", "virtualRouterName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - routeName: { location: "uri", locationName: "routeName" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { route: { shape: "Sl" } }, - payload: "route", - }, - idempotent: true, - }, - DeleteVirtualNode: { - http: { - method: "DELETE", - requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "virtualNodeName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - virtualNodeName: { - location: "uri", - locationName: "virtualNodeName", - }, - }, - }, - output: { - type: "structure", - members: { virtualNode: { shape: "S14" } }, - payload: "virtualNode", - }, - idempotent: true, - }, - DeleteVirtualRouter: { - http: { - method: "DELETE", - requestUri: - "/meshes/{meshName}/virtualRouters/{virtualRouterName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "virtualRouterName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { virtualRouter: { shape: "S1b" } }, - payload: "virtualRouter", - }, - idempotent: true, - }, - DescribeMesh: { - http: { - method: "GET", - requestUri: "/meshes/{meshName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - }, - }, - output: { - type: "structure", - members: { mesh: { shape: "S5" } }, - payload: "mesh", - }, - }, - DescribeRoute: { - http: { - method: "GET", - requestUri: - "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "routeName", "virtualRouterName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - routeName: { location: "uri", locationName: "routeName" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { route: { shape: "Sl" } }, - payload: "route", - }, - }, - DescribeVirtualNode: { - http: { - method: "GET", - requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "virtualNodeName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - virtualNodeName: { - location: "uri", - locationName: "virtualNodeName", - }, - }, - }, - output: { - type: "structure", - members: { virtualNode: { shape: "S14" } }, - payload: "virtualNode", - }, - }, - DescribeVirtualRouter: { - http: { - method: "GET", - requestUri: - "/meshes/{meshName}/virtualRouters/{virtualRouterName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "virtualRouterName"], - members: { - meshName: { location: "uri", locationName: "meshName" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { virtualRouter: { shape: "S1b" } }, - payload: "virtualRouter", - }, - }, - ListMeshes: { - http: { method: "GET", requestUri: "/meshes", responseCode: 200 }, - input: { - type: "structure", - members: { - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - required: ["meshes"], - members: { - meshes: { - type: "list", - member: { - type: "structure", - members: { arn: {}, meshName: {} }, - }, - }, - nextToken: {}, - }, - }, - }, - ListRoutes: { - http: { - method: "GET", - requestUri: - "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "virtualRouterName"], - members: { - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - meshName: { location: "uri", locationName: "meshName" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - required: ["routes"], - members: { - nextToken: {}, - routes: { - type: "list", - member: { - type: "structure", - members: { - arn: {}, - meshName: {}, - routeName: {}, - virtualRouterName: {}, - }, - }, - }, - }, - }, - }, - ListVirtualNodes: { - http: { - method: "GET", - requestUri: "/meshes/{meshName}/virtualNodes", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName"], - members: { - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - meshName: { location: "uri", locationName: "meshName" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - required: ["virtualNodes"], - members: { - nextToken: {}, - virtualNodes: { - type: "list", - member: { - type: "structure", - members: { arn: {}, meshName: {}, virtualNodeName: {} }, - }, - }, - }, - }, - }, - ListVirtualRouters: { - http: { - method: "GET", - requestUri: "/meshes/{meshName}/virtualRouters", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName"], - members: { - limit: { - location: "querystring", - locationName: "limit", - type: "integer", - }, - meshName: { location: "uri", locationName: "meshName" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - required: ["virtualRouters"], - members: { - nextToken: {}, - virtualRouters: { - type: "list", - member: { - type: "structure", - members: { arn: {}, meshName: {}, virtualRouterName: {} }, - }, - }, - }, - }, - }, - UpdateRoute: { - http: { - method: "PUT", - requestUri: - "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "routeName", "spec", "virtualRouterName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - routeName: { location: "uri", locationName: "routeName" }, - spec: { shape: "Sd" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { route: { shape: "Sl" } }, - payload: "route", - }, - idempotent: true, - }, - UpdateVirtualNode: { - http: { - method: "PUT", - requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "spec", "virtualNodeName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - spec: { shape: "Sp" }, - virtualNodeName: { - location: "uri", - locationName: "virtualNodeName", - }, - }, - }, - output: { - type: "structure", - members: { virtualNode: { shape: "S14" } }, - payload: "virtualNode", - }, - idempotent: true, - }, - UpdateVirtualRouter: { - http: { - method: "PUT", - requestUri: - "/meshes/{meshName}/virtualRouters/{virtualRouterName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["meshName", "spec", "virtualRouterName"], - members: { - clientToken: { idempotencyToken: true }, - meshName: { location: "uri", locationName: "meshName" }, - spec: { shape: "S18" }, - virtualRouterName: { - location: "uri", - locationName: "virtualRouterName", - }, - }, - }, - output: { - type: "structure", - members: { virtualRouter: { shape: "S1b" } }, - payload: "virtualRouter", - }, - idempotent: true, - }, - }, - shapes: { - S5: { - type: "structure", - required: ["meshName", "metadata"], - members: { - meshName: {}, - metadata: { shape: "S6" }, - status: { type: "structure", members: { status: {} } }, - }, - }, - S6: { - type: "structure", - members: { - arn: {}, - createdAt: { type: "timestamp" }, - lastUpdatedAt: { type: "timestamp" }, - uid: {}, - version: { type: "long" }, - }, - }, - Sd: { - type: "structure", - members: { - httpRoute: { - type: "structure", - members: { - action: { - type: "structure", - members: { - weightedTargets: { - type: "list", - member: { - type: "structure", - members: { - virtualNode: {}, - weight: { type: "integer" }, - }, - }, - }, - }, - }, - match: { type: "structure", members: { prefix: {} } }, - }, - }, - }, - }, - Sl: { - type: "structure", - required: ["meshName", "routeName", "virtualRouterName"], - members: { - meshName: {}, - metadata: { shape: "S6" }, - routeName: {}, - spec: { shape: "Sd" }, - status: { type: "structure", members: { status: {} } }, - virtualRouterName: {}, - }, - }, - Sp: { - type: "structure", - members: { - backends: { type: "list", member: {} }, - listeners: { - type: "list", - member: { - type: "structure", - members: { - healthCheck: { - type: "structure", - required: [ - "healthyThreshold", - "intervalMillis", - "protocol", - "timeoutMillis", - "unhealthyThreshold", - ], - members: { - healthyThreshold: { type: "integer" }, - intervalMillis: { type: "long" }, - path: {}, - port: { type: "integer" }, - protocol: {}, - timeoutMillis: { type: "long" }, - unhealthyThreshold: { type: "integer" }, - }, - }, - portMapping: { - type: "structure", - members: { port: { type: "integer" }, protocol: {} }, - }, - }, - }, - }, - serviceDiscovery: { - type: "structure", - members: { - dns: { type: "structure", members: { serviceName: {} } }, - }, - }, - }, - }, - S14: { - type: "structure", - required: ["meshName", "virtualNodeName"], - members: { - meshName: {}, - metadata: { shape: "S6" }, - spec: { shape: "Sp" }, - status: { type: "structure", members: { status: {} } }, - virtualNodeName: {}, - }, - }, - S18: { - type: "structure", - members: { serviceNames: { type: "list", member: {} } }, - }, - S1b: { - type: "structure", - required: ["meshName", "virtualRouterName"], - members: { - meshName: {}, - metadata: { shape: "S6" }, - spec: { shape: "S18" }, - status: { type: "structure", members: { status: {} } }, - virtualRouterName: {}, - }, - }, + /***/ 2447: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["qldbsession"] = {}; + AWS.QLDBSession = Service.defineService("qldbsession", ["2019-07-11"]); + Object.defineProperty(apiLoader.services["qldbsession"], "2019-07-11", { + get: function get() { + var model = __webpack_require__(320); + model.paginators = __webpack_require__(8452).pagination; + return model; }, - }; + enumerable: true, + configurable: true, + }); + + module.exports = AWS.QLDBSession; /***/ }, - /***/ 2662: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-08-08", - endpointPrefix: "connect", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "Amazon Connect", - serviceFullName: "Amazon Connect Service", - serviceId: "Connect", - signatureVersion: "v4", - signingName: "connect", - uid: "connect-2017-08-08", + /***/ 2449: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 2450: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); + + AWS.util.update(AWS.RDSDataService.prototype, { + /** + * @return [Boolean] whether the error can be retried + * @api private + */ + retryableError: function retryableError(error) { + if ( + error.code === "BadRequestException" && + error.message && + error.message.match(/^Communications link failure/) && + error.statusCode === 400 + ) { + return true; + } else { + var _super = AWS.Service.prototype.retryableError; + return _super.call(this, error); + } }, - operations: { - CreateUser: { - http: { method: "PUT", requestUri: "/users/{InstanceId}" }, - input: { - type: "structure", - required: [ - "Username", - "PhoneConfig", - "SecurityProfileIds", - "RoutingProfileId", - "InstanceId", - ], - members: { - Username: {}, - Password: {}, - IdentityInfo: { shape: "S4" }, - PhoneConfig: { shape: "S8" }, - DirectoryUserId: {}, - SecurityProfileIds: { shape: "Se" }, - RoutingProfileId: {}, - HierarchyGroupId: {}, - InstanceId: { location: "uri", locationName: "InstanceId" }, - Tags: { shape: "Sj" }, - }, - }, - output: { type: "structure", members: { UserId: {}, UserArn: {} } }, - }, - DeleteUser: { - http: { - method: "DELETE", - requestUri: "/users/{InstanceId}/{UserId}", - }, - input: { - type: "structure", - required: ["InstanceId", "UserId"], - members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - UserId: { location: "uri", locationName: "UserId" }, - }, - }, - }, - DescribeUser: { - http: { method: "GET", requestUri: "/users/{InstanceId}/{UserId}" }, - input: { - type: "structure", - required: ["UserId", "InstanceId"], - members: { - UserId: { location: "uri", locationName: "UserId" }, - InstanceId: { location: "uri", locationName: "InstanceId" }, - }, - }, - output: { - type: "structure", - members: { - User: { - type: "structure", - members: { - Id: {}, - Arn: {}, - Username: {}, - IdentityInfo: { shape: "S4" }, - PhoneConfig: { shape: "S8" }, - DirectoryUserId: {}, - SecurityProfileIds: { shape: "Se" }, - RoutingProfileId: {}, - HierarchyGroupId: {}, - Tags: { shape: "Sj" }, - }, - }, - }, - }, - }, - DescribeUserHierarchyGroup: { - http: { - method: "GET", - requestUri: - "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}", - }, - input: { - type: "structure", - required: ["HierarchyGroupId", "InstanceId"], - members: { - HierarchyGroupId: { - location: "uri", - locationName: "HierarchyGroupId", - }, - InstanceId: { location: "uri", locationName: "InstanceId" }, - }, - }, - output: { - type: "structure", - members: { - HierarchyGroup: { - type: "structure", - members: { - Id: {}, - Arn: {}, - Name: {}, - LevelId: {}, - HierarchyPath: { - type: "structure", - members: { - LevelOne: { shape: "Sz" }, - LevelTwo: { shape: "Sz" }, - LevelThree: { shape: "Sz" }, - LevelFour: { shape: "Sz" }, - LevelFive: { shape: "Sz" }, - }, - }, - }, - }, - }, - }, - }, - DescribeUserHierarchyStructure: { - http: { - method: "GET", - requestUri: "/user-hierarchy-structure/{InstanceId}", - }, - input: { - type: "structure", - required: ["InstanceId"], - members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - }, - }, - output: { - type: "structure", - members: { - HierarchyStructure: { - type: "structure", - members: { - LevelOne: { shape: "S13" }, - LevelTwo: { shape: "S13" }, - LevelThree: { shape: "S13" }, - LevelFour: { shape: "S13" }, - LevelFive: { shape: "S13" }, - }, - }, - }, - }, - }, - GetContactAttributes: { - http: { - method: "GET", - requestUri: "/contact/attributes/{InstanceId}/{InitialContactId}", - }, - input: { - type: "structure", - required: ["InstanceId", "InitialContactId"], - members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - InitialContactId: { - location: "uri", - locationName: "InitialContactId", - }, - }, - }, - output: { - type: "structure", - members: { Attributes: { shape: "S18" } }, - }, - }, - GetCurrentMetricData: { - http: { requestUri: "/metrics/current/{InstanceId}" }, - input: { - type: "structure", - required: ["InstanceId", "Filters", "CurrentMetrics"], - members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - Filters: { shape: "S1c" }, - Groupings: { shape: "S1h" }, - CurrentMetrics: { type: "list", member: { shape: "S1k" } }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - NextToken: {}, - MetricResults: { - type: "list", - member: { - type: "structure", - members: { - Dimensions: { shape: "S1s" }, - Collections: { - type: "list", - member: { - type: "structure", - members: { - Metric: { shape: "S1k" }, - Value: { type: "double" }, - }, - }, - }, - }, - }, - }, - DataSnapshotTime: { type: "timestamp" }, - }, - }, - }, - GetFederationToken: { - http: { method: "GET", requestUri: "/user/federate/{InstanceId}" }, - input: { - type: "structure", - required: ["InstanceId"], - members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - }, - }, - output: { - type: "structure", - members: { - Credentials: { - type: "structure", - members: { - AccessToken: { shape: "S21" }, - AccessTokenExpiration: { type: "timestamp" }, - RefreshToken: { shape: "S21" }, - RefreshTokenExpiration: { type: "timestamp" }, - }, - }, - }, - }, - }, - GetMetricData: { - http: { requestUri: "/metrics/historical/{InstanceId}" }, - input: { + }); + + /***/ + }, + + /***/ 2453: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); + var AcceptorStateMachine = __webpack_require__(3696); + var inherit = AWS.util.inherit; + var domain = AWS.util.domain; + var jmespath = __webpack_require__(2802); + + /** + * @api private + */ + var hardErrorStates = { success: 1, error: 1, complete: 1 }; + + function isTerminalState(machine) { + return Object.prototype.hasOwnProperty.call( + hardErrorStates, + machine._asm.currentState + ); + } + + var fsm = new AcceptorStateMachine(); + fsm.setupStates = function () { + var transition = function (_, done) { + var self = this; + self._haltHandlersOnError = false; + + self.emit(self._asm.currentState, function (err) { + if (err) { + if (isTerminalState(self)) { + if (domain && self.domain instanceof domain.Domain) { + err.domainEmitter = self; + err.domain = self.domain; + err.domainThrown = false; + self.domain.emit("error", err); + } else { + throw err; + } + } else { + self.response.error = err; + done(err); + } + } else { + done(self.response.error); + } + }); + }; + + this.addState("validate", "build", "error", transition); + this.addState("build", "afterBuild", "restart", transition); + this.addState("afterBuild", "sign", "restart", transition); + this.addState("sign", "send", "retry", transition); + this.addState("retry", "afterRetry", "afterRetry", transition); + this.addState("afterRetry", "sign", "error", transition); + this.addState("send", "validateResponse", "retry", transition); + this.addState( + "validateResponse", + "extractData", + "extractError", + transition + ); + this.addState("extractError", "extractData", "retry", transition); + this.addState("extractData", "success", "retry", transition); + this.addState("restart", "build", "error", transition); + this.addState("success", "complete", "complete", transition); + this.addState("error", "complete", "complete", transition); + this.addState("complete", null, null, transition); + }; + fsm.setupStates(); + + /** + * ## Asynchronous Requests + * + * All requests made through the SDK are asynchronous and use a + * callback interface. Each service method that kicks off a request + * returns an `AWS.Request` object that you can use to register + * callbacks. + * + * For example, the following service method returns the request + * object as "request", which can be used to register callbacks: + * + * ```javascript + * // request is an AWS.Request object + * var request = ec2.describeInstances(); + * + * // register callbacks on request to retrieve response data + * request.on('success', function(response) { + * console.log(response.data); + * }); + * ``` + * + * When a request is ready to be sent, the {send} method should + * be called: + * + * ```javascript + * request.send(); + * ``` + * + * Since registered callbacks may or may not be idempotent, requests should only + * be sent once. To perform the same operation multiple times, you will need to + * create multiple request objects, each with its own registered callbacks. + * + * ## Removing Default Listeners for Events + * + * Request objects are built with default listeners for the various events, + * depending on the service type. In some cases, you may want to remove + * some built-in listeners to customize behaviour. Doing this requires + * access to the built-in listener functions, which are exposed through + * the {AWS.EventListeners.Core} namespace. For instance, you may + * want to customize the HTTP handler used when sending a request. In this + * case, you can remove the built-in listener associated with the 'send' + * event, the {AWS.EventListeners.Core.SEND} listener and add your own. + * + * ## Multiple Callbacks and Chaining + * + * You can register multiple callbacks on any request object. The + * callbacks can be registered for different events, or all for the + * same event. In addition, you can chain callback registration, for + * example: + * + * ```javascript + * request. + * on('success', function(response) { + * console.log("Success!"); + * }). + * on('error', function(error, response) { + * console.log("Error!"); + * }). + * on('complete', function(response) { + * console.log("Always!"); + * }). + * send(); + * ``` + * + * The above example will print either "Success! Always!", or "Error! Always!", + * depending on whether the request succeeded or not. + * + * @!attribute httpRequest + * @readonly + * @!group HTTP Properties + * @return [AWS.HttpRequest] the raw HTTP request object + * containing request headers and body information + * sent by the service. + * + * @!attribute startTime + * @readonly + * @!group Operation Properties + * @return [Date] the time that the request started + * + * @!group Request Building Events + * + * @!event validate(request) + * Triggered when a request is being validated. Listeners + * should throw an error if the request should not be sent. + * @param request [Request] the request object being sent + * @see AWS.EventListeners.Core.VALIDATE_CREDENTIALS + * @see AWS.EventListeners.Core.VALIDATE_REGION + * @example Ensuring that a certain parameter is set before sending a request + * var req = s3.putObject(params); + * req.on('validate', function() { + * if (!req.params.Body.match(/^Hello\s/)) { + * throw new Error('Body must start with "Hello "'); + * } + * }); + * req.send(function(err, data) { ... }); + * + * @!event build(request) + * Triggered when the request payload is being built. Listeners + * should fill the necessary information to send the request + * over HTTP. + * @param (see AWS.Request~validate) + * @example Add a custom HTTP header to a request + * var req = s3.putObject(params); + * req.on('build', function() { + * req.httpRequest.headers['Custom-Header'] = 'value'; + * }); + * req.send(function(err, data) { ... }); + * + * @!event sign(request) + * Triggered when the request is being signed. Listeners should + * add the correct authentication headers and/or adjust the body, + * depending on the authentication mechanism being used. + * @param (see AWS.Request~validate) + * + * @!group Request Sending Events + * + * @!event send(response) + * Triggered when the request is ready to be sent. Listeners + * should call the underlying transport layer to initiate + * the sending of the request. + * @param response [Response] the response object + * @context [Request] the request object that was sent + * @see AWS.EventListeners.Core.SEND + * + * @!event retry(response) + * Triggered when a request failed and might need to be retried or redirected. + * If the response is retryable, the listener should set the + * `response.error.retryable` property to `true`, and optionally set + * `response.error.retryDelay` to the millisecond delay for the next attempt. + * In the case of a redirect, `response.error.redirect` should be set to + * `true` with `retryDelay` set to an optional delay on the next request. + * + * If a listener decides that a request should not be retried, + * it should set both `retryable` and `redirect` to false. + * + * Note that a retryable error will be retried at most + * {AWS.Config.maxRetries} times (based on the service object's config). + * Similarly, a request that is redirected will only redirect at most + * {AWS.Config.maxRedirects} times. + * + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * @example Adding a custom retry for a 404 response + * request.on('retry', function(response) { + * // this resource is not yet available, wait 10 seconds to get it again + * if (response.httpResponse.statusCode === 404 && response.error) { + * response.error.retryable = true; // retry this error + * response.error.retryDelay = 10000; // wait 10 seconds + * } + * }); + * + * @!group Data Parsing Events + * + * @!event extractError(response) + * Triggered on all non-2xx requests so that listeners can extract + * error details from the response body. Listeners to this event + * should set the `response.error` property. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!event extractData(response) + * Triggered in successful requests to allow listeners to + * de-serialize the response body into `response.data`. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!group Completion Events + * + * @!event success(response) + * Triggered when the request completed successfully. + * `response.data` will contain the response data and + * `response.error` will be null. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!event error(error, response) + * Triggered when an error occurs at any point during the + * request. `response.error` will contain details about the error + * that occurred. `response.data` will be null. + * @param error [Error] the error object containing details about + * the error that occurred. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!event complete(response) + * Triggered whenever a request cycle completes. `response.error` + * should be checked, since the request may have failed. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!group HTTP Events + * + * @!event httpHeaders(statusCode, headers, response, statusMessage) + * Triggered when headers are sent by the remote server + * @param statusCode [Integer] the HTTP response code + * @param headers [map] the response headers + * @param (see AWS.Request~send) + * @param statusMessage [String] A status message corresponding to the HTTP + * response code + * @context (see AWS.Request~send) + * + * @!event httpData(chunk, response) + * Triggered when data is sent by the remote server + * @param chunk [Buffer] the buffer data containing the next data chunk + * from the server + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * @see AWS.EventListeners.Core.HTTP_DATA + * + * @!event httpUploadProgress(progress, response) + * Triggered when the HTTP request has uploaded more data + * @param progress [map] An object containing the `loaded` and `total` bytes + * of the request. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * @note This event will not be emitted in Node.js 0.8.x. + * + * @!event httpDownloadProgress(progress, response) + * Triggered when the HTTP request has downloaded more data + * @param progress [map] An object containing the `loaded` and `total` bytes + * of the request. + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * @note This event will not be emitted in Node.js 0.8.x. + * + * @!event httpError(error, response) + * Triggered when the HTTP request failed + * @param error [Error] the error object that was thrown + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @!event httpDone(response) + * Triggered when the server is finished sending data + * @param (see AWS.Request~send) + * @context (see AWS.Request~send) + * + * @see AWS.Response + */ + AWS.Request = inherit({ + /** + * Creates a request for an operation on a given service with + * a set of input parameters. + * + * @param service [AWS.Service] the service to perform the operation on + * @param operation [String] the operation to perform on the service + * @param params [Object] parameters to send to the operation. + * See the operation's documentation for the format of the + * parameters. + */ + constructor: function Request(service, operation, params) { + var endpoint = service.endpoint; + var region = service.config.region; + var customUserAgent = service.config.customUserAgent; + + if (service.isGlobalEndpoint) { + if (service.signingRegion) { + region = service.signingRegion; + } else { + region = "us-east-1"; + } + } + + this.domain = domain && domain.active; + this.service = service; + this.operation = operation; + this.params = params || {}; + this.httpRequest = new AWS.HttpRequest(endpoint, region); + this.httpRequest.appendToUserAgent(customUserAgent); + this.startTime = service.getSkewCorrectedDate(); + + this.response = new AWS.Response(this); + this._asm = new AcceptorStateMachine(fsm.states, "validate"); + this._haltHandlersOnError = false; + + AWS.SequentialExecutor.call(this); + this.emit = this.emitEvent; + }, + + /** + * @!group Sending a Request + */ + + /** + * @overload send(callback = null) + * Sends the request object. + * + * @callback callback function(err, data) + * If a callback is supplied, it is called when a response is returned + * from the service. + * @context [AWS.Request] the request object being sent. + * @param err [Error] the error object returned from the request. + * Set to `null` if the request is successful. + * @param data [Object] the de-serialized data returned from + * the request. Set to `null` if a request error occurs. + * @example Sending a request with a callback + * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); + * request.send(function(err, data) { console.log(err, data); }); + * @example Sending a request with no callback (using event handlers) + * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); + * request.on('complete', function(response) { ... }); // register a callback + * request.send(); + */ + send: function send(callback) { + if (callback) { + // append to user agent + this.httpRequest.appendToUserAgent("callback"); + this.on("complete", function (resp) { + callback.call(resp, resp.error, resp.data); + }); + } + this.runTo(); + + return this.response; + }, + + /** + * @!method promise() + * Sends the request and returns a 'thenable' promise. + * + * Two callbacks can be provided to the `then` method on the returned promise. + * The first callback will be called if the promise is fulfilled, and the second + * callback will be called if the promise is rejected. + * @callback fulfilledCallback function(data) + * Called if the promise is fulfilled. + * @param data [Object] the de-serialized data returned from the request. + * @callback rejectedCallback function(error) + * Called if the promise is rejected. + * @param error [Error] the error object returned from the request. + * @return [Promise] A promise that represents the state of the request. + * @example Sending a request using promises. + * var request = s3.putObject({Bucket: 'bucket', Key: 'key'}); + * var result = request.promise(); + * result.then(function(data) { ... }, function(error) { ... }); + */ + + /** + * @api private + */ + build: function build(callback) { + return this.runTo("send", callback); + }, + + /** + * @api private + */ + runTo: function runTo(state, done) { + this._asm.runTo(state, done, this); + return this; + }, + + /** + * Aborts a request, emitting the error and complete events. + * + * @!macro nobrowser + * @example Aborting a request after sending + * var params = { + * Bucket: 'bucket', Key: 'key', + * Body: Buffer.alloc(1024 * 1024 * 5) // 5MB payload + * }; + * var request = s3.putObject(params); + * request.send(function (err, data) { + * if (err) console.log("Error:", err.code, err.message); + * else console.log(data); + * }); + * + * // abort request in 1 second + * setTimeout(request.abort.bind(request), 1000); + * + * // prints "Error: RequestAbortedError Request aborted by user" + * @return [AWS.Request] the same request object, for chaining. + * @since v1.4.0 + */ + abort: function abort() { + this.removeAllListeners("validateResponse"); + this.removeAllListeners("extractError"); + this.on("validateResponse", function addAbortedError(resp) { + resp.error = AWS.util.error(new Error("Request aborted by user"), { + code: "RequestAbortedError", + retryable: false, + }); + }); + + if (this.httpRequest.stream && !this.httpRequest.stream.didCallback) { + // abort HTTP stream + this.httpRequest.stream.abort(); + if (this.httpRequest._abortCallback) { + this.httpRequest._abortCallback(); + } else { + this.removeAllListeners("send"); // haven't sent yet, so let's not + } + } + + return this; + }, + + /** + * Iterates over each page of results given a pageable request, calling + * the provided callback with each page of data. After all pages have been + * retrieved, the callback is called with `null` data. + * + * @note This operation can generate multiple requests to a service. + * @example Iterating over multiple pages of objects in an S3 bucket + * var pages = 1; + * s3.listObjects().eachPage(function(err, data) { + * if (err) return; + * console.log("Page", pages++); + * console.log(data); + * }); + * @example Iterating over multiple pages with an asynchronous callback + * s3.listObjects(params).eachPage(function(err, data, done) { + * doSomethingAsyncAndOrExpensive(function() { + * // The next page of results isn't fetched until done is called + * done(); + * }); + * }); + * @callback callback function(err, data, [doneCallback]) + * Called with each page of resulting data from the request. If the + * optional `doneCallback` is provided in the function, it must be called + * when the callback is complete. + * + * @param err [Error] an error object, if an error occurred. + * @param data [Object] a single page of response data. If there is no + * more data, this object will be `null`. + * @param doneCallback [Function] an optional done callback. If this + * argument is defined in the function declaration, it should be called + * when the next page is ready to be retrieved. This is useful for + * controlling serial pagination across asynchronous operations. + * @return [Boolean] if the callback returns `false`, pagination will + * stop. + * + * @see AWS.Request.eachItem + * @see AWS.Response.nextPage + * @since v1.4.0 + */ + eachPage: function eachPage(callback) { + // Make all callbacks async-ish + callback = AWS.util.fn.makeAsync(callback, 3); + + function wrappedCallback(response) { + callback.call(response, response.error, response.data, function ( + result + ) { + if (result === false) return; + + if (response.hasNextPage()) { + response.nextPage().on("complete", wrappedCallback).send(); + } else { + callback.call(response, null, null, AWS.util.fn.noop); + } + }); + } + + this.on("complete", wrappedCallback).send(); + }, + + /** + * Enumerates over individual items of a request, paging the responses if + * necessary. + * + * @api experimental + * @since v1.4.0 + */ + eachItem: function eachItem(callback) { + var self = this; + function wrappedCallback(err, data) { + if (err) return callback(err, null); + if (data === null) return callback(null, null); + + var config = self.service.paginationConfig(self.operation); + var resultKey = config.resultKey; + if (Array.isArray(resultKey)) resultKey = resultKey[0]; + var items = jmespath.search(data, resultKey); + var continueIteration = true; + AWS.util.arrayEach(items, function (item) { + continueIteration = callback(null, item); + if (continueIteration === false) { + return AWS.util.abort; + } + }); + return continueIteration; + } + + this.eachPage(wrappedCallback); + }, + + /** + * @return [Boolean] whether the operation can return multiple pages of + * response data. + * @see AWS.Response.eachPage + * @since v1.4.0 + */ + isPageable: function isPageable() { + return this.service.paginationConfig(this.operation) ? true : false; + }, + + /** + * Sends the request and converts the request object into a readable stream + * that can be read from or piped into a writable stream. + * + * @note The data read from a readable stream contains only + * the raw HTTP body contents. + * @example Manually reading from a stream + * request.createReadStream().on('data', function(data) { + * console.log("Got data:", data.toString()); + * }); + * @example Piping a request body into a file + * var out = fs.createWriteStream('/path/to/outfile.jpg'); + * s3.service.getObject(params).createReadStream().pipe(out); + * @return [Stream] the readable stream object that can be piped + * or read from (by registering 'data' event listeners). + * @!macro nobrowser + */ + createReadStream: function createReadStream() { + var streams = AWS.util.stream; + var req = this; + var stream = null; + + if (AWS.HttpClient.streamsApiVersion === 2) { + stream = new streams.PassThrough(); + process.nextTick(function () { + req.send(); + }); + } else { + stream = new streams.Stream(); + stream.readable = true; + + stream.sent = false; + stream.on("newListener", function (event) { + if (!stream.sent && event === "data") { + stream.sent = true; + process.nextTick(function () { + req.send(); + }); + } + }); + } + + this.on("error", function (err) { + stream.emit("error", err); + }); + + this.on("httpHeaders", function streamHeaders( + statusCode, + headers, + resp + ) { + if (statusCode < 300) { + req.removeListener("httpData", AWS.EventListeners.Core.HTTP_DATA); + req.removeListener( + "httpError", + AWS.EventListeners.Core.HTTP_ERROR + ); + req.on("httpError", function streamHttpError(error) { + resp.error = error; + resp.error.retryable = false; + }); + + var shouldCheckContentLength = false; + var expectedLen; + if (req.httpRequest.method !== "HEAD") { + expectedLen = parseInt(headers["content-length"], 10); + } + if ( + expectedLen !== undefined && + !isNaN(expectedLen) && + expectedLen >= 0 + ) { + shouldCheckContentLength = true; + var receivedLen = 0; + } + + var checkContentLengthAndEmit = function checkContentLengthAndEmit() { + if (shouldCheckContentLength && receivedLen !== expectedLen) { + stream.emit( + "error", + AWS.util.error( + new Error( + "Stream content length mismatch. Received " + + receivedLen + + " of " + + expectedLen + + " bytes." + ), + { code: "StreamContentLengthMismatch" } + ) + ); + } else if (AWS.HttpClient.streamsApiVersion === 2) { + stream.end(); + } else { + stream.emit("end"); + } + }; + + var httpStream = resp.httpResponse.createUnbufferedStream(); + + if (AWS.HttpClient.streamsApiVersion === 2) { + if (shouldCheckContentLength) { + var lengthAccumulator = new streams.PassThrough(); + lengthAccumulator._write = function (chunk) { + if (chunk && chunk.length) { + receivedLen += chunk.length; + } + return streams.PassThrough.prototype._write.apply( + this, + arguments + ); + }; + + lengthAccumulator.on("end", checkContentLengthAndEmit); + stream.on("error", function (err) { + shouldCheckContentLength = false; + httpStream.unpipe(lengthAccumulator); + lengthAccumulator.emit("end"); + lengthAccumulator.end(); + }); + httpStream + .pipe(lengthAccumulator) + .pipe(stream, { end: false }); + } else { + httpStream.pipe(stream); + } + } else { + if (shouldCheckContentLength) { + httpStream.on("data", function (arg) { + if (arg && arg.length) { + receivedLen += arg.length; + } + }); + } + + httpStream.on("data", function (arg) { + stream.emit("data", arg); + }); + httpStream.on("end", checkContentLengthAndEmit); + } + + httpStream.on("error", function (err) { + shouldCheckContentLength = false; + stream.emit("error", err); + }); + } + }); + + return stream; + }, + + /** + * @param [Array,Response] args This should be the response object, + * or an array of args to send to the event. + * @api private + */ + emitEvent: function emit(eventName, args, done) { + if (typeof args === "function") { + done = args; + args = null; + } + if (!done) done = function () {}; + if (!args) args = this.eventParameters(eventName, this.response); + + var origEmit = AWS.SequentialExecutor.prototype.emit; + origEmit.call(this, eventName, args, function (err) { + if (err) this.response.error = err; + done.call(this, err); + }); + }, + + /** + * @api private + */ + eventParameters: function eventParameters(eventName) { + switch (eventName) { + case "restart": + case "validate": + case "sign": + case "build": + case "afterValidate": + case "afterBuild": + return [this]; + case "error": + return [this.response.error, this.response]; + default: + return [this.response]; + } + }, + + /** + * @api private + */ + presign: function presign(expires, callback) { + if (!callback && typeof expires === "function") { + callback = expires; + expires = null; + } + return new AWS.Signers.Presign().sign( + this.toGet(), + expires, + callback + ); + }, + + /** + * @api private + */ + isPresigned: function isPresigned() { + return Object.prototype.hasOwnProperty.call( + this.httpRequest.headers, + "presigned-expires" + ); + }, + + /** + * @api private + */ + toUnauthenticated: function toUnauthenticated() { + this._unAuthenticated = true; + this.removeListener( + "validate", + AWS.EventListeners.Core.VALIDATE_CREDENTIALS + ); + this.removeListener("sign", AWS.EventListeners.Core.SIGN); + return this; + }, + + /** + * @api private + */ + toGet: function toGet() { + if ( + this.service.api.protocol === "query" || + this.service.api.protocol === "ec2" + ) { + this.removeListener("build", this.buildAsGet); + this.addListener("build", this.buildAsGet); + } + return this; + }, + + /** + * @api private + */ + buildAsGet: function buildAsGet(request) { + request.httpRequest.method = "GET"; + request.httpRequest.path = + request.service.endpoint.path + "?" + request.httpRequest.body; + request.httpRequest.body = ""; + + // don't need these headers on a GET request + delete request.httpRequest.headers["Content-Length"]; + delete request.httpRequest.headers["Content-Type"]; + }, + + /** + * @api private + */ + haltHandlersOnError: function haltHandlersOnError() { + this._haltHandlersOnError = true; + }, + }); + + /** + * @api private + */ + AWS.Request.addPromisesToClass = function addPromisesToClass( + PromiseDependency + ) { + this.prototype.promise = function promise() { + var self = this; + // append to user agent + this.httpRequest.appendToUserAgent("promise"); + return new PromiseDependency(function (resolve, reject) { + self.on("complete", function (resp) { + if (resp.error) { + reject(resp.error); + } else { + // define $response property so that it is not enumerable + // this prevents circular reference errors when stringifying the JSON object + resolve( + Object.defineProperty(resp.data || {}, "$response", { + value: resp, + }) + ); + } + }); + self.runTo(); + }); + }; + }; + + /** + * @api private + */ + AWS.Request.deletePromisesFromClass = function deletePromisesFromClass() { + delete this.prototype.promise; + }; + + AWS.util.addPromises(AWS.Request); + + AWS.util.mixin(AWS.Request, AWS.SequentialExecutor); + + /***/ + }, + + /***/ 2459: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2014-10-31", + endpointPrefix: "rds", + protocol: "query", + serviceAbbreviation: "Amazon DocDB", + serviceFullName: "Amazon DocumentDB with MongoDB compatibility", + serviceId: "DocDB", + signatureVersion: "v4", + signingName: "rds", + uid: "docdb-2014-10-31", + xmlNamespace: "http://rds.amazonaws.com/doc/2014-10-31/", + }, + operations: { + AddTagsToResource: { + input: { type: "structure", - required: [ - "InstanceId", - "StartTime", - "EndTime", - "Filters", - "HistoricalMetrics", - ], + required: ["ResourceName", "Tags"], + members: { ResourceName: {}, Tags: { shape: "S3" } }, + }, + }, + ApplyPendingMaintenanceAction: { + input: { + type: "structure", + required: ["ResourceIdentifier", "ApplyAction", "OptInType"], members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Filters: { shape: "S1c" }, - Groupings: { shape: "S1h" }, - HistoricalMetrics: { type: "list", member: { shape: "S24" } }, - NextToken: {}, - MaxResults: { type: "integer" }, + ResourceIdentifier: {}, + ApplyAction: {}, + OptInType: {}, }, }, output: { + resultWrapper: "ApplyPendingMaintenanceActionResult", type: "structure", - members: { - NextToken: {}, - MetricResults: { - type: "list", - member: { - type: "structure", - members: { - Dimensions: { shape: "S1s" }, - Collections: { - type: "list", - member: { - type: "structure", - members: { - Metric: { shape: "S24" }, - Value: { type: "double" }, - }, - }, - }, - }, - }, - }, - }, + members: { ResourcePendingMaintenanceActions: { shape: "S7" } }, }, }, - ListContactFlows: { - http: { - method: "GET", - requestUri: "/contact-flows-summary/{InstanceId}", - }, + CopyDBClusterParameterGroup: { input: { type: "structure", - required: ["InstanceId"], + required: [ + "SourceDBClusterParameterGroupIdentifier", + "TargetDBClusterParameterGroupIdentifier", + "TargetDBClusterParameterGroupDescription", + ], members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - ContactFlowTypes: { - location: "querystring", - locationName: "contactFlowTypes", - type: "list", - member: {}, - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + SourceDBClusterParameterGroupIdentifier: {}, + TargetDBClusterParameterGroupIdentifier: {}, + TargetDBClusterParameterGroupDescription: {}, + Tags: { shape: "S3" }, }, }, output: { + resultWrapper: "CopyDBClusterParameterGroupResult", type: "structure", - members: { - ContactFlowSummaryList: { - type: "list", - member: { - type: "structure", - members: { Id: {}, Arn: {}, Name: {}, ContactFlowType: {} }, - }, - }, - NextToken: {}, - }, + members: { DBClusterParameterGroup: { shape: "Sd" } }, }, }, - ListHoursOfOperations: { - http: { - method: "GET", - requestUri: "/hours-of-operations-summary/{InstanceId}", - }, + CopyDBClusterSnapshot: { input: { type: "structure", - required: ["InstanceId"], + required: [ + "SourceDBClusterSnapshotIdentifier", + "TargetDBClusterSnapshotIdentifier", + ], members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + SourceDBClusterSnapshotIdentifier: {}, + TargetDBClusterSnapshotIdentifier: {}, + KmsKeyId: {}, + PreSignedUrl: {}, + CopyTags: { type: "boolean" }, + Tags: { shape: "S3" }, }, }, output: { + resultWrapper: "CopyDBClusterSnapshotResult", type: "structure", - members: { - HoursOfOperationSummaryList: { - type: "list", - member: { - type: "structure", - members: { Id: {}, Arn: {}, Name: {} }, - }, - }, - NextToken: {}, - }, + members: { DBClusterSnapshot: { shape: "Sh" } }, }, }, - ListPhoneNumbers: { - http: { - method: "GET", - requestUri: "/phone-numbers-summary/{InstanceId}", - }, - input: { - type: "structure", - required: ["InstanceId"], - members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - PhoneNumberTypes: { - location: "querystring", - locationName: "phoneNumberTypes", - type: "list", - member: {}, - }, - PhoneNumberCountryCodes: { - location: "querystring", - locationName: "phoneNumberCountryCodes", - type: "list", - member: {}, - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - PhoneNumberSummaryList: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Arn: {}, - PhoneNumber: {}, - PhoneNumberType: {}, - PhoneNumberCountryCode: {}, - }, - }, - }, - NextToken: {}, - }, - }, - }, - ListQueues: { - http: { method: "GET", requestUri: "/queues-summary/{InstanceId}" }, + CreateDBCluster: { input: { type: "structure", - required: ["InstanceId"], + required: [ + "DBClusterIdentifier", + "Engine", + "MasterUsername", + "MasterUserPassword", + ], members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - QueueTypes: { - location: "querystring", - locationName: "queueTypes", - type: "list", - member: {}, - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + AvailabilityZones: { shape: "Si" }, + BackupRetentionPeriod: { type: "integer" }, + DBClusterIdentifier: {}, + DBClusterParameterGroupName: {}, + VpcSecurityGroupIds: { shape: "Sn" }, + DBSubnetGroupName: {}, + Engine: {}, + EngineVersion: {}, + Port: { type: "integer" }, + MasterUsername: {}, + MasterUserPassword: {}, + PreferredBackupWindow: {}, + PreferredMaintenanceWindow: {}, + Tags: { shape: "S3" }, + StorageEncrypted: { type: "boolean" }, + KmsKeyId: {}, + PreSignedUrl: {}, + EnableCloudwatchLogsExports: { shape: "So" }, + DeletionProtection: { type: "boolean" }, }, }, output: { + resultWrapper: "CreateDBClusterResult", type: "structure", - members: { - QueueSummaryList: { - type: "list", - member: { - type: "structure", - members: { Id: {}, Arn: {}, Name: {}, QueueType: {} }, - }, - }, - NextToken: {}, - }, + members: { DBCluster: { shape: "Sq" } }, }, }, - ListRoutingProfiles: { - http: { - method: "GET", - requestUri: "/routing-profiles-summary/{InstanceId}", - }, + CreateDBClusterParameterGroup: { input: { type: "structure", - required: ["InstanceId"], + required: [ + "DBClusterParameterGroupName", + "DBParameterGroupFamily", + "Description", + ], members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + DBClusterParameterGroupName: {}, + DBParameterGroupFamily: {}, + Description: {}, + Tags: { shape: "S3" }, }, }, output: { + resultWrapper: "CreateDBClusterParameterGroupResult", type: "structure", - members: { - RoutingProfileSummaryList: { - type: "list", - member: { - type: "structure", - members: { Id: {}, Arn: {}, Name: {} }, - }, - }, - NextToken: {}, - }, + members: { DBClusterParameterGroup: { shape: "Sd" } }, }, }, - ListSecurityProfiles: { - http: { - method: "GET", - requestUri: "/security-profiles-summary/{InstanceId}", - }, + CreateDBClusterSnapshot: { input: { type: "structure", - required: ["InstanceId"], + required: ["DBClusterSnapshotIdentifier", "DBClusterIdentifier"], members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + DBClusterSnapshotIdentifier: {}, + DBClusterIdentifier: {}, + Tags: { shape: "S3" }, }, }, output: { + resultWrapper: "CreateDBClusterSnapshotResult", type: "structure", - members: { - SecurityProfileSummaryList: { - type: "list", - member: { - type: "structure", - members: { Id: {}, Arn: {}, Name: {} }, - }, - }, - NextToken: {}, - }, - }, - }, - ListTagsForResource: { - http: { method: "GET", requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["resourceArn"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - }, + members: { DBClusterSnapshot: { shape: "Sh" } }, }, - output: { type: "structure", members: { tags: { shape: "Sj" } } }, }, - ListUserHierarchyGroups: { - http: { - method: "GET", - requestUri: "/user-hierarchy-groups-summary/{InstanceId}", - }, + CreateDBInstance: { input: { type: "structure", - required: ["InstanceId"], + required: [ + "DBInstanceIdentifier", + "DBInstanceClass", + "Engine", + "DBClusterIdentifier", + ], members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + DBInstanceIdentifier: {}, + DBInstanceClass: {}, + Engine: {}, + AvailabilityZone: {}, + PreferredMaintenanceWindow: {}, + AutoMinorVersionUpgrade: { type: "boolean" }, + Tags: { shape: "S3" }, + DBClusterIdentifier: {}, + PromotionTier: { type: "integer" }, }, }, output: { + resultWrapper: "CreateDBInstanceResult", type: "structure", - members: { - UserHierarchyGroupSummaryList: { - type: "list", - member: { shape: "Sz" }, - }, - NextToken: {}, - }, + members: { DBInstance: { shape: "S13" } }, }, }, - ListUsers: { - http: { method: "GET", requestUri: "/users-summary/{InstanceId}" }, + CreateDBSubnetGroup: { input: { type: "structure", - required: ["InstanceId"], + required: [ + "DBSubnetGroupName", + "DBSubnetGroupDescription", + "SubnetIds", + ], members: { - InstanceId: { location: "uri", locationName: "InstanceId" }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + DBSubnetGroupName: {}, + DBSubnetGroupDescription: {}, + SubnetIds: { shape: "S1e" }, + Tags: { shape: "S3" }, }, }, output: { + resultWrapper: "CreateDBSubnetGroupResult", type: "structure", - members: { - UserSummaryList: { - type: "list", - member: { - type: "structure", - members: { Id: {}, Arn: {}, Username: {} }, - }, - }, - NextToken: {}, - }, + members: { DBSubnetGroup: { shape: "S15" } }, }, }, - StartChatContact: { - http: { method: "PUT", requestUri: "/contact/chat" }, + DeleteDBCluster: { input: { type: "structure", - required: ["InstanceId", "ContactFlowId", "ParticipantDetails"], + required: ["DBClusterIdentifier"], members: { - InstanceId: {}, - ContactFlowId: {}, - Attributes: { shape: "S18" }, - ParticipantDetails: { - type: "structure", - required: ["DisplayName"], - members: { DisplayName: {} }, - }, - InitialMessage: { - type: "structure", - required: ["ContentType", "Content"], - members: { ContentType: {}, Content: {} }, - }, - ClientToken: { idempotencyToken: true }, + DBClusterIdentifier: {}, + SkipFinalSnapshot: { type: "boolean" }, + FinalDBSnapshotIdentifier: {}, }, }, output: { + resultWrapper: "DeleteDBClusterResult", type: "structure", - members: { - ContactId: {}, - ParticipantId: {}, - ParticipantToken: {}, - }, - }, - }, - StartOutboundVoiceContact: { - http: { method: "PUT", requestUri: "/contact/outbound-voice" }, - input: { - type: "structure", - required: [ - "DestinationPhoneNumber", - "ContactFlowId", - "InstanceId", - ], - members: { - DestinationPhoneNumber: {}, - ContactFlowId: {}, - InstanceId: {}, - ClientToken: { idempotencyToken: true }, - SourcePhoneNumber: {}, - QueueId: {}, - Attributes: { shape: "S18" }, - }, + members: { DBCluster: { shape: "Sq" } }, }, - output: { type: "structure", members: { ContactId: {} } }, }, - StopContact: { - http: { requestUri: "/contact/stop" }, + DeleteDBClusterParameterGroup: { input: { type: "structure", - required: ["ContactId", "InstanceId"], - members: { ContactId: {}, InstanceId: {} }, + required: ["DBClusterParameterGroupName"], + members: { DBClusterParameterGroupName: {} }, }, - output: { type: "structure", members: {} }, }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, + DeleteDBClusterSnapshot: { input: { type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "Sj" }, - }, + required: ["DBClusterSnapshotIdentifier"], + members: { DBClusterSnapshotIdentifier: {} }, }, - }, - UntagResource: { - http: { method: "DELETE", requestUri: "/tags/{resourceArn}" }, - input: { + output: { + resultWrapper: "DeleteDBClusterSnapshotResult", type: "structure", - required: ["resourceArn", "tagKeys"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tagKeys: { - location: "querystring", - locationName: "tagKeys", - type: "list", - member: {}, - }, - }, + members: { DBClusterSnapshot: { shape: "Sh" } }, }, }, - UpdateContactAttributes: { - http: { requestUri: "/contact/attributes" }, + DeleteDBInstance: { input: { type: "structure", - required: ["InitialContactId", "InstanceId", "Attributes"], - members: { - InitialContactId: {}, - InstanceId: {}, - Attributes: { shape: "S18" }, - }, + required: ["DBInstanceIdentifier"], + members: { DBInstanceIdentifier: {} }, }, - output: { type: "structure", members: {} }, - }, - UpdateUserHierarchy: { - http: { requestUri: "/users/{InstanceId}/{UserId}/hierarchy" }, - input: { + output: { + resultWrapper: "DeleteDBInstanceResult", type: "structure", - required: ["UserId", "InstanceId"], - members: { - HierarchyGroupId: {}, - UserId: { location: "uri", locationName: "UserId" }, - InstanceId: { location: "uri", locationName: "InstanceId" }, - }, + members: { DBInstance: { shape: "S13" } }, }, }, - UpdateUserIdentityInfo: { - http: { requestUri: "/users/{InstanceId}/{UserId}/identity-info" }, + DeleteDBSubnetGroup: { input: { type: "structure", - required: ["IdentityInfo", "UserId", "InstanceId"], - members: { - IdentityInfo: { shape: "S4" }, - UserId: { location: "uri", locationName: "UserId" }, - InstanceId: { location: "uri", locationName: "InstanceId" }, - }, + required: ["DBSubnetGroupName"], + members: { DBSubnetGroupName: {} }, }, }, - UpdateUserPhoneConfig: { - http: { requestUri: "/users/{InstanceId}/{UserId}/phone-config" }, + DescribeCertificates: { input: { type: "structure", - required: ["PhoneConfig", "UserId", "InstanceId"], members: { - PhoneConfig: { shape: "S8" }, - UserId: { location: "uri", locationName: "UserId" }, - InstanceId: { location: "uri", locationName: "InstanceId" }, + CertificateIdentifier: {}, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, + Marker: {}, }, }, - }, - UpdateUserRoutingProfile: { - http: { - requestUri: "/users/{InstanceId}/{UserId}/routing-profile", - }, - input: { + output: { + resultWrapper: "DescribeCertificatesResult", type: "structure", - required: ["RoutingProfileId", "UserId", "InstanceId"], members: { - RoutingProfileId: {}, - UserId: { location: "uri", locationName: "UserId" }, - InstanceId: { location: "uri", locationName: "InstanceId" }, + Certificates: { + type: "list", + member: { + locationName: "Certificate", + type: "structure", + members: { + CertificateIdentifier: {}, + CertificateType: {}, + Thumbprint: {}, + ValidFrom: { type: "timestamp" }, + ValidTill: { type: "timestamp" }, + CertificateArn: {}, + }, + wrapper: true, + }, + }, + Marker: {}, }, }, }, - UpdateUserSecurityProfiles: { - http: { - requestUri: "/users/{InstanceId}/{UserId}/security-profiles", - }, + DescribeDBClusterParameterGroups: { input: { type: "structure", - required: ["SecurityProfileIds", "UserId", "InstanceId"], members: { - SecurityProfileIds: { shape: "Se" }, - UserId: { location: "uri", locationName: "UserId" }, - InstanceId: { location: "uri", locationName: "InstanceId" }, - }, - }, - }, - }, - shapes: { - S4: { - type: "structure", - members: { FirstName: {}, LastName: {}, Email: {} }, - }, - S8: { - type: "structure", - required: ["PhoneType"], - members: { - PhoneType: {}, - AutoAccept: { type: "boolean" }, - AfterContactWorkTimeLimit: { type: "integer" }, - DeskPhoneNumber: {}, - }, - }, - Se: { type: "list", member: {} }, - Sj: { type: "map", key: {}, value: {} }, - Sz: { type: "structure", members: { Id: {}, Arn: {}, Name: {} } }, - S13: { type: "structure", members: { Id: {}, Arn: {}, Name: {} } }, - S18: { type: "map", key: {}, value: {} }, - S1c: { - type: "structure", - members: { - Queues: { type: "list", member: {} }, - Channels: { type: "list", member: {} }, - }, - }, - S1h: { type: "list", member: {} }, - S1k: { type: "structure", members: { Name: {}, Unit: {} } }, - S1s: { - type: "structure", - members: { - Queue: { type: "structure", members: { Id: {}, Arn: {} } }, - Channel: {}, - }, - }, - S21: { type: "string", sensitive: true }, - S24: { - type: "structure", - members: { - Name: {}, - Threshold: { - type: "structure", - members: { Comparison: {}, ThresholdValue: { type: "double" } }, + DBClusterParameterGroupName: {}, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, + Marker: {}, }, - Statistic: {}, - Unit: {}, }, - }, - }, - }; - - /***/ - }, - - /***/ 2667: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2012-06-01", - endpointPrefix: "elasticloadbalancing", - protocol: "query", - serviceFullName: "Elastic Load Balancing", - serviceId: "Elastic Load Balancing", - signatureVersion: "v4", - uid: "elasticloadbalancing-2012-06-01", - xmlNamespace: - "http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/", - }, - operations: { - AddTags: { - input: { + output: { + resultWrapper: "DescribeDBClusterParameterGroupsResult", type: "structure", - required: ["LoadBalancerNames", "Tags"], members: { - LoadBalancerNames: { shape: "S2" }, - Tags: { shape: "S4" }, + Marker: {}, + DBClusterParameterGroups: { + type: "list", + member: { + shape: "Sd", + locationName: "DBClusterParameterGroup", + }, + }, }, }, - output: { - resultWrapper: "AddTagsResult", - type: "structure", - members: {}, - }, }, - ApplySecurityGroupsToLoadBalancer: { + DescribeDBClusterParameters: { input: { type: "structure", - required: ["LoadBalancerName", "SecurityGroups"], + required: ["DBClusterParameterGroupName"], members: { - LoadBalancerName: {}, - SecurityGroups: { shape: "Sa" }, + DBClusterParameterGroupName: {}, + Source: {}, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, + Marker: {}, }, }, output: { - resultWrapper: "ApplySecurityGroupsToLoadBalancerResult", - type: "structure", - members: { SecurityGroups: { shape: "Sa" } }, - }, - }, - AttachLoadBalancerToSubnets: { - input: { - type: "structure", - required: ["LoadBalancerName", "Subnets"], - members: { LoadBalancerName: {}, Subnets: { shape: "Se" } }, - }, - output: { - resultWrapper: "AttachLoadBalancerToSubnetsResult", - type: "structure", - members: { Subnets: { shape: "Se" } }, - }, - }, - ConfigureHealthCheck: { - input: { - type: "structure", - required: ["LoadBalancerName", "HealthCheck"], - members: { LoadBalancerName: {}, HealthCheck: { shape: "Si" } }, - }, - output: { - resultWrapper: "ConfigureHealthCheckResult", + resultWrapper: "DescribeDBClusterParametersResult", type: "structure", - members: { HealthCheck: { shape: "Si" } }, + members: { Parameters: { shape: "S20" }, Marker: {} }, }, }, - CreateAppCookieStickinessPolicy: { + DescribeDBClusterSnapshotAttributes: { input: { type: "structure", - required: ["LoadBalancerName", "PolicyName", "CookieName"], - members: { LoadBalancerName: {}, PolicyName: {}, CookieName: {} }, + required: ["DBClusterSnapshotIdentifier"], + members: { DBClusterSnapshotIdentifier: {} }, }, output: { - resultWrapper: "CreateAppCookieStickinessPolicyResult", + resultWrapper: "DescribeDBClusterSnapshotAttributesResult", type: "structure", - members: {}, + members: { DBClusterSnapshotAttributesResult: { shape: "S25" } }, }, }, - CreateLBCookieStickinessPolicy: { + DescribeDBClusterSnapshots: { input: { type: "structure", - required: ["LoadBalancerName", "PolicyName"], members: { - LoadBalancerName: {}, - PolicyName: {}, - CookieExpirationPeriod: { type: "long" }, + DBClusterIdentifier: {}, + DBClusterSnapshotIdentifier: {}, + SnapshotType: {}, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, + Marker: {}, + IncludeShared: { type: "boolean" }, + IncludePublic: { type: "boolean" }, }, }, output: { - resultWrapper: "CreateLBCookieStickinessPolicyResult", + resultWrapper: "DescribeDBClusterSnapshotsResult", type: "structure", - members: {}, + members: { + Marker: {}, + DBClusterSnapshots: { + type: "list", + member: { shape: "Sh", locationName: "DBClusterSnapshot" }, + }, + }, }, }, - CreateLoadBalancer: { + DescribeDBClusters: { input: { type: "structure", - required: ["LoadBalancerName", "Listeners"], members: { - LoadBalancerName: {}, - Listeners: { shape: "Sx" }, - AvailabilityZones: { shape: "S13" }, - Subnets: { shape: "Se" }, - SecurityGroups: { shape: "Sa" }, - Scheme: {}, - Tags: { shape: "S4" }, + DBClusterIdentifier: {}, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, + Marker: {}, }, }, output: { - resultWrapper: "CreateLoadBalancerResult", + resultWrapper: "DescribeDBClustersResult", type: "structure", - members: { DNSName: {} }, + members: { + Marker: {}, + DBClusters: { + type: "list", + member: { shape: "Sq", locationName: "DBCluster" }, + }, + }, }, }, - CreateLoadBalancerListeners: { + DescribeDBEngineVersions: { input: { type: "structure", - required: ["LoadBalancerName", "Listeners"], - members: { LoadBalancerName: {}, Listeners: { shape: "Sx" } }, + members: { + Engine: {}, + EngineVersion: {}, + DBParameterGroupFamily: {}, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, + Marker: {}, + DefaultOnly: { type: "boolean" }, + ListSupportedCharacterSets: { type: "boolean" }, + ListSupportedTimezones: { type: "boolean" }, + }, }, output: { - resultWrapper: "CreateLoadBalancerListenersResult", - type: "structure", - members: {}, - }, - }, - CreateLoadBalancerPolicy: { - input: { + resultWrapper: "DescribeDBEngineVersionsResult", type: "structure", - required: ["LoadBalancerName", "PolicyName", "PolicyTypeName"], members: { - LoadBalancerName: {}, - PolicyName: {}, - PolicyTypeName: {}, - PolicyAttributes: { + Marker: {}, + DBEngineVersions: { type: "list", member: { + locationName: "DBEngineVersion", type: "structure", - members: { AttributeName: {}, AttributeValue: {} }, + members: { + Engine: {}, + EngineVersion: {}, + DBParameterGroupFamily: {}, + DBEngineDescription: {}, + DBEngineVersionDescription: {}, + ValidUpgradeTarget: { + type: "list", + member: { + locationName: "UpgradeTarget", + type: "structure", + members: { + Engine: {}, + EngineVersion: {}, + Description: {}, + AutoUpgrade: { type: "boolean" }, + IsMajorVersionUpgrade: { type: "boolean" }, + }, + }, + }, + ExportableLogTypes: { shape: "So" }, + SupportsLogExportsToCloudwatchLogs: { type: "boolean" }, + }, }, }, }, }, - output: { - resultWrapper: "CreateLoadBalancerPolicyResult", - type: "structure", - members: {}, - }, }, - DeleteLoadBalancer: { + DescribeDBInstances: { input: { type: "structure", - required: ["LoadBalancerName"], - members: { LoadBalancerName: {} }, + members: { + DBInstanceIdentifier: {}, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { - resultWrapper: "DeleteLoadBalancerResult", - type: "structure", - members: {}, - }, - }, - DeleteLoadBalancerListeners: { - input: { + resultWrapper: "DescribeDBInstancesResult", type: "structure", - required: ["LoadBalancerName", "LoadBalancerPorts"], members: { - LoadBalancerName: {}, - LoadBalancerPorts: { + Marker: {}, + DBInstances: { type: "list", - member: { type: "integer" }, + member: { shape: "S13", locationName: "DBInstance" }, }, }, }, - output: { - resultWrapper: "DeleteLoadBalancerListenersResult", - type: "structure", - members: {}, - }, - }, - DeleteLoadBalancerPolicy: { - input: { - type: "structure", - required: ["LoadBalancerName", "PolicyName"], - members: { LoadBalancerName: {}, PolicyName: {} }, - }, - output: { - resultWrapper: "DeleteLoadBalancerPolicyResult", - type: "structure", - members: {}, - }, - }, - DeregisterInstancesFromLoadBalancer: { - input: { - type: "structure", - required: ["LoadBalancerName", "Instances"], - members: { LoadBalancerName: {}, Instances: { shape: "S1p" } }, - }, - output: { - resultWrapper: "DeregisterInstancesFromLoadBalancerResult", - type: "structure", - members: { Instances: { shape: "S1p" } }, - }, }, - DescribeAccountLimits: { + DescribeDBSubnetGroups: { input: { type: "structure", - members: { Marker: {}, PageSize: { type: "integer" } }, + members: { + DBSubnetGroupName: {}, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { - resultWrapper: "DescribeAccountLimitsResult", + resultWrapper: "DescribeDBSubnetGroupsResult", type: "structure", members: { - Limits: { + Marker: {}, + DBSubnetGroups: { type: "list", - member: { type: "structure", members: { Name: {}, Max: {} } }, + member: { shape: "S15", locationName: "DBSubnetGroup" }, }, - NextMarker: {}, }, }, }, - DescribeInstanceHealth: { + DescribeEngineDefaultClusterParameters: { input: { type: "structure", - required: ["LoadBalancerName"], - members: { LoadBalancerName: {}, Instances: { shape: "S1p" } }, + required: ["DBParameterGroupFamily"], + members: { + DBParameterGroupFamily: {}, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { - resultWrapper: "DescribeInstanceHealthResult", + resultWrapper: "DescribeEngineDefaultClusterParametersResult", type: "structure", members: { - InstanceStates: { - type: "list", - member: { - type: "structure", - members: { - InstanceId: {}, - State: {}, - ReasonCode: {}, - Description: {}, - }, + EngineDefaults: { + type: "structure", + members: { + DBParameterGroupFamily: {}, + Marker: {}, + Parameters: { shape: "S20" }, }, + wrapper: true, }, }, }, }, - DescribeLoadBalancerAttributes: { - input: { - type: "structure", - required: ["LoadBalancerName"], - members: { LoadBalancerName: {} }, - }, - output: { - resultWrapper: "DescribeLoadBalancerAttributesResult", - type: "structure", - members: { LoadBalancerAttributes: { shape: "S2a" } }, - }, - }, - DescribeLoadBalancerPolicies: { + DescribeEventCategories: { input: { type: "structure", - members: { LoadBalancerName: {}, PolicyNames: { shape: "S2s" } }, + members: { SourceType: {}, Filters: { shape: "S1p" } }, }, output: { - resultWrapper: "DescribeLoadBalancerPoliciesResult", + resultWrapper: "DescribeEventCategoriesResult", type: "structure", members: { - PolicyDescriptions: { + EventCategoriesMapList: { type: "list", member: { + locationName: "EventCategoriesMap", type: "structure", members: { - PolicyName: {}, - PolicyTypeName: {}, - PolicyAttributeDescriptions: { - type: "list", - member: { - type: "structure", - members: { AttributeName: {}, AttributeValue: {} }, - }, - }, + SourceType: {}, + EventCategories: { shape: "S2y" }, }, + wrapper: true, }, }, }, }, }, - DescribeLoadBalancerPolicyTypes: { + DescribeEvents: { input: { type: "structure", - members: { PolicyTypeNames: { type: "list", member: {} } }, + members: { + SourceIdentifier: {}, + SourceType: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + Duration: { type: "integer" }, + EventCategories: { shape: "S2y" }, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { - resultWrapper: "DescribeLoadBalancerPolicyTypesResult", + resultWrapper: "DescribeEventsResult", type: "structure", members: { - PolicyTypeDescriptions: { + Marker: {}, + Events: { type: "list", member: { + locationName: "Event", type: "structure", members: { - PolicyTypeName: {}, - Description: {}, - PolicyAttributeTypeDescriptions: { - type: "list", - member: { - type: "structure", - members: { - AttributeName: {}, - AttributeType: {}, - Description: {}, - DefaultValue: {}, - Cardinality: {}, - }, - }, - }, + SourceIdentifier: {}, + SourceType: {}, + Message: {}, + EventCategories: { shape: "S2y" }, + Date: { type: "timestamp" }, + SourceArn: {}, }, }, }, }, }, }, - DescribeLoadBalancers: { + DescribeOrderableDBInstanceOptions: { input: { type: "structure", + required: ["Engine"], members: { - LoadBalancerNames: { shape: "S2" }, + Engine: {}, + EngineVersion: {}, + DBInstanceClass: {}, + LicenseModel: {}, + Vpc: { type: "boolean" }, + Filters: { shape: "S1p" }, + MaxRecords: { type: "integer" }, Marker: {}, - PageSize: { type: "integer" }, }, }, output: { - resultWrapper: "DescribeLoadBalancersResult", + resultWrapper: "DescribeOrderableDBInstanceOptionsResult", type: "structure", members: { - LoadBalancerDescriptions: { + OrderableDBInstanceOptions: { type: "list", member: { + locationName: "OrderableDBInstanceOption", type: "structure", members: { - LoadBalancerName: {}, - DNSName: {}, - CanonicalHostedZoneName: {}, - CanonicalHostedZoneNameID: {}, - ListenerDescriptions: { - type: "list", - member: { - type: "structure", - members: { - Listener: { shape: "Sy" }, - PolicyNames: { shape: "S2s" }, - }, - }, - }, - Policies: { - type: "structure", - members: { - AppCookieStickinessPolicies: { - type: "list", - member: { - type: "structure", - members: { PolicyName: {}, CookieName: {} }, - }, - }, - LBCookieStickinessPolicies: { - type: "list", - member: { - type: "structure", - members: { - PolicyName: {}, - CookieExpirationPeriod: { type: "long" }, - }, - }, - }, - OtherPolicies: { shape: "S2s" }, - }, - }, - BackendServerDescriptions: { + Engine: {}, + EngineVersion: {}, + DBInstanceClass: {}, + LicenseModel: {}, + AvailabilityZones: { type: "list", member: { - type: "structure", - members: { - InstancePort: { type: "integer" }, - PolicyNames: { shape: "S2s" }, - }, + shape: "S18", + locationName: "AvailabilityZone", }, }, - AvailabilityZones: { shape: "S13" }, - Subnets: { shape: "Se" }, - VPCId: {}, - Instances: { shape: "S1p" }, - HealthCheck: { shape: "Si" }, - SourceSecurityGroup: { - type: "structure", - members: { OwnerAlias: {}, GroupName: {} }, - }, - SecurityGroups: { shape: "Sa" }, - CreatedTime: { type: "timestamp" }, - Scheme: {}, + Vpc: { type: "boolean" }, }, + wrapper: true, }, }, - NextMarker: {}, + Marker: {}, }, }, }, - DescribeTags: { + DescribePendingMaintenanceActions: { input: { type: "structure", - required: ["LoadBalancerNames"], - members: { LoadBalancerNames: { type: "list", member: {} } }, + members: { + ResourceIdentifier: {}, + Filters: { shape: "S1p" }, + Marker: {}, + MaxRecords: { type: "integer" }, + }, }, output: { - resultWrapper: "DescribeTagsResult", + resultWrapper: "DescribePendingMaintenanceActionsResult", type: "structure", members: { - TagDescriptions: { + PendingMaintenanceActions: { type: "list", member: { - type: "structure", - members: { LoadBalancerName: {}, Tags: { shape: "S4" } }, + shape: "S7", + locationName: "ResourcePendingMaintenanceActions", }, }, + Marker: {}, }, }, }, - DetachLoadBalancerFromSubnets: { + FailoverDBCluster: { input: { type: "structure", - required: ["LoadBalancerName", "Subnets"], - members: { LoadBalancerName: {}, Subnets: { shape: "Se" } }, + members: { + DBClusterIdentifier: {}, + TargetDBInstanceIdentifier: {}, + }, }, output: { - resultWrapper: "DetachLoadBalancerFromSubnetsResult", + resultWrapper: "FailoverDBClusterResult", type: "structure", - members: { Subnets: { shape: "Se" } }, + members: { DBCluster: { shape: "Sq" } }, }, }, - DisableAvailabilityZonesForLoadBalancer: { + ListTagsForResource: { input: { type: "structure", - required: ["LoadBalancerName", "AvailabilityZones"], - members: { - LoadBalancerName: {}, - AvailabilityZones: { shape: "S13" }, - }, + required: ["ResourceName"], + members: { ResourceName: {}, Filters: { shape: "S1p" } }, }, output: { - resultWrapper: "DisableAvailabilityZonesForLoadBalancerResult", + resultWrapper: "ListTagsForResourceResult", type: "structure", - members: { AvailabilityZones: { shape: "S13" } }, + members: { TagList: { shape: "S3" } }, }, }, - EnableAvailabilityZonesForLoadBalancer: { + ModifyDBCluster: { input: { type: "structure", - required: ["LoadBalancerName", "AvailabilityZones"], + required: ["DBClusterIdentifier"], members: { - LoadBalancerName: {}, - AvailabilityZones: { shape: "S13" }, + DBClusterIdentifier: {}, + NewDBClusterIdentifier: {}, + ApplyImmediately: { type: "boolean" }, + BackupRetentionPeriod: { type: "integer" }, + DBClusterParameterGroupName: {}, + VpcSecurityGroupIds: { shape: "Sn" }, + Port: { type: "integer" }, + MasterUserPassword: {}, + PreferredBackupWindow: {}, + PreferredMaintenanceWindow: {}, + CloudwatchLogsExportConfiguration: { + type: "structure", + members: { + EnableLogTypes: { shape: "So" }, + DisableLogTypes: { shape: "So" }, + }, + }, + EngineVersion: {}, + DeletionProtection: { type: "boolean" }, }, }, output: { - resultWrapper: "EnableAvailabilityZonesForLoadBalancerResult", + resultWrapper: "ModifyDBClusterResult", type: "structure", - members: { AvailabilityZones: { shape: "S13" } }, + members: { DBCluster: { shape: "Sq" } }, }, }, - ModifyLoadBalancerAttributes: { + ModifyDBClusterParameterGroup: { input: { type: "structure", - required: ["LoadBalancerName", "LoadBalancerAttributes"], + required: ["DBClusterParameterGroupName", "Parameters"], members: { - LoadBalancerName: {}, - LoadBalancerAttributes: { shape: "S2a" }, + DBClusterParameterGroupName: {}, + Parameters: { shape: "S20" }, }, }, output: { - resultWrapper: "ModifyLoadBalancerAttributesResult", - type: "structure", - members: { - LoadBalancerName: {}, - LoadBalancerAttributes: { shape: "S2a" }, - }, + shape: "S3k", + resultWrapper: "ModifyDBClusterParameterGroupResult", }, }, - RegisterInstancesWithLoadBalancer: { + ModifyDBClusterSnapshotAttribute: { input: { type: "structure", - required: ["LoadBalancerName", "Instances"], - members: { LoadBalancerName: {}, Instances: { shape: "S1p" } }, + required: ["DBClusterSnapshotIdentifier", "AttributeName"], + members: { + DBClusterSnapshotIdentifier: {}, + AttributeName: {}, + ValuesToAdd: { shape: "S28" }, + ValuesToRemove: { shape: "S28" }, + }, }, output: { - resultWrapper: "RegisterInstancesWithLoadBalancerResult", + resultWrapper: "ModifyDBClusterSnapshotAttributeResult", type: "structure", - members: { Instances: { shape: "S1p" } }, + members: { DBClusterSnapshotAttributesResult: { shape: "S25" } }, }, }, - RemoveTags: { + ModifyDBInstance: { input: { type: "structure", - required: ["LoadBalancerNames", "Tags"], + required: ["DBInstanceIdentifier"], members: { - LoadBalancerNames: { shape: "S2" }, - Tags: { - type: "list", - member: { type: "structure", members: { Key: {} } }, - }, + DBInstanceIdentifier: {}, + DBInstanceClass: {}, + ApplyImmediately: { type: "boolean" }, + PreferredMaintenanceWindow: {}, + AutoMinorVersionUpgrade: { type: "boolean" }, + NewDBInstanceIdentifier: {}, + CACertificateIdentifier: {}, + PromotionTier: { type: "integer" }, }, }, output: { - resultWrapper: "RemoveTagsResult", + resultWrapper: "ModifyDBInstanceResult", type: "structure", - members: {}, + members: { DBInstance: { shape: "S13" } }, }, }, - SetLoadBalancerListenerSSLCertificate: { + ModifyDBSubnetGroup: { input: { type: "structure", - required: [ - "LoadBalancerName", - "LoadBalancerPort", - "SSLCertificateId", - ], + required: ["DBSubnetGroupName", "SubnetIds"], members: { - LoadBalancerName: {}, - LoadBalancerPort: { type: "integer" }, - SSLCertificateId: {}, + DBSubnetGroupName: {}, + DBSubnetGroupDescription: {}, + SubnetIds: { shape: "S1e" }, }, }, output: { - resultWrapper: "SetLoadBalancerListenerSSLCertificateResult", + resultWrapper: "ModifyDBSubnetGroupResult", type: "structure", - members: {}, + members: { DBSubnetGroup: { shape: "S15" } }, }, }, - SetLoadBalancerPoliciesForBackendServer: { + RebootDBInstance: { input: { type: "structure", - required: ["LoadBalancerName", "InstancePort", "PolicyNames"], + required: ["DBInstanceIdentifier"], members: { - LoadBalancerName: {}, - InstancePort: { type: "integer" }, - PolicyNames: { shape: "S2s" }, + DBInstanceIdentifier: {}, + ForceFailover: { type: "boolean" }, }, }, output: { - resultWrapper: "SetLoadBalancerPoliciesForBackendServerResult", + resultWrapper: "RebootDBInstanceResult", type: "structure", - members: {}, + members: { DBInstance: { shape: "S13" } }, }, }, - SetLoadBalancerPoliciesOfListener: { + RemoveTagsFromResource: { input: { type: "structure", - required: ["LoadBalancerName", "LoadBalancerPort", "PolicyNames"], + required: ["ResourceName", "TagKeys"], members: { - LoadBalancerName: {}, - LoadBalancerPort: { type: "integer" }, - PolicyNames: { shape: "S2s" }, + ResourceName: {}, + TagKeys: { type: "list", member: {} }, + }, + }, + }, + ResetDBClusterParameterGroup: { + input: { + type: "structure", + required: ["DBClusterParameterGroupName"], + members: { + DBClusterParameterGroupName: {}, + ResetAllParameters: { type: "boolean" }, + Parameters: { shape: "S20" }, }, }, output: { - resultWrapper: "SetLoadBalancerPoliciesOfListenerResult", + shape: "S3k", + resultWrapper: "ResetDBClusterParameterGroupResult", + }, + }, + RestoreDBClusterFromSnapshot: { + input: { type: "structure", - members: {}, + required: ["DBClusterIdentifier", "SnapshotIdentifier", "Engine"], + members: { + AvailabilityZones: { shape: "Si" }, + DBClusterIdentifier: {}, + SnapshotIdentifier: {}, + Engine: {}, + EngineVersion: {}, + Port: { type: "integer" }, + DBSubnetGroupName: {}, + VpcSecurityGroupIds: { shape: "Sn" }, + Tags: { shape: "S3" }, + KmsKeyId: {}, + EnableCloudwatchLogsExports: { shape: "So" }, + DeletionProtection: { type: "boolean" }, + }, + }, + output: { + resultWrapper: "RestoreDBClusterFromSnapshotResult", + type: "structure", + members: { DBCluster: { shape: "Sq" } }, + }, + }, + RestoreDBClusterToPointInTime: { + input: { + type: "structure", + required: ["DBClusterIdentifier", "SourceDBClusterIdentifier"], + members: { + DBClusterIdentifier: {}, + SourceDBClusterIdentifier: {}, + RestoreToTime: { type: "timestamp" }, + UseLatestRestorableTime: { type: "boolean" }, + Port: { type: "integer" }, + DBSubnetGroupName: {}, + VpcSecurityGroupIds: { shape: "Sn" }, + Tags: { shape: "S3" }, + KmsKeyId: {}, + EnableCloudwatchLogsExports: { shape: "So" }, + DeletionProtection: { type: "boolean" }, + }, + }, + output: { + resultWrapper: "RestoreDBClusterToPointInTimeResult", + type: "structure", + members: { DBCluster: { shape: "Sq" } }, + }, + }, + StartDBCluster: { + input: { + type: "structure", + required: ["DBClusterIdentifier"], + members: { DBClusterIdentifier: {} }, + }, + output: { + resultWrapper: "StartDBClusterResult", + type: "structure", + members: { DBCluster: { shape: "Sq" } }, + }, + }, + StopDBCluster: { + input: { + type: "structure", + required: ["DBClusterIdentifier"], + members: { DBClusterIdentifier: {} }, + }, + output: { + resultWrapper: "StopDBClusterResult", + type: "structure", + members: { DBCluster: { shape: "Sq" } }, }, }, }, shapes: { - S2: { type: "list", member: {} }, - S4: { + S3: { type: "list", member: { + locationName: "Tag", type: "structure", - required: ["Key"], members: { Key: {}, Value: {} }, }, }, - Sa: { type: "list", member: {} }, - Se: { type: "list", member: {} }, - Si: { + S7: { type: "structure", - required: [ - "Target", - "Interval", - "Timeout", - "UnhealthyThreshold", - "HealthyThreshold", - ], members: { - Target: {}, - Interval: { type: "integer" }, - Timeout: { type: "integer" }, - UnhealthyThreshold: { type: "integer" }, - HealthyThreshold: { type: "integer" }, + ResourceIdentifier: {}, + PendingMaintenanceActionDetails: { + type: "list", + member: { + locationName: "PendingMaintenanceAction", + type: "structure", + members: { + Action: {}, + AutoAppliedAfterDate: { type: "timestamp" }, + ForcedApplyDate: { type: "timestamp" }, + OptInStatus: {}, + CurrentApplyDate: { type: "timestamp" }, + Description: {}, + }, + }, + }, }, + wrapper: true, }, - Sx: { type: "list", member: { shape: "Sy" } }, - Sy: { + Sd: { type: "structure", - required: ["Protocol", "LoadBalancerPort", "InstancePort"], members: { - Protocol: {}, - LoadBalancerPort: { type: "integer" }, - InstanceProtocol: {}, - InstancePort: { type: "integer" }, - SSLCertificateId: {}, + DBClusterParameterGroupName: {}, + DBParameterGroupFamily: {}, + Description: {}, + DBClusterParameterGroupArn: {}, }, + wrapper: true, }, - S13: { type: "list", member: {} }, - S1p: { - type: "list", - member: { type: "structure", members: { InstanceId: {} } }, + Sh: { + type: "structure", + members: { + AvailabilityZones: { shape: "Si" }, + DBClusterSnapshotIdentifier: {}, + DBClusterIdentifier: {}, + SnapshotCreateTime: { type: "timestamp" }, + Engine: {}, + Status: {}, + Port: { type: "integer" }, + VpcId: {}, + ClusterCreateTime: { type: "timestamp" }, + MasterUsername: {}, + EngineVersion: {}, + SnapshotType: {}, + PercentProgress: { type: "integer" }, + StorageEncrypted: { type: "boolean" }, + KmsKeyId: {}, + DBClusterSnapshotArn: {}, + SourceDBClusterSnapshotArn: {}, + }, + wrapper: true, }, - S2a: { + Si: { type: "list", member: { locationName: "AvailabilityZone" } }, + Sn: { type: "list", member: { locationName: "VpcSecurityGroupId" } }, + So: { type: "list", member: {} }, + Sq: { type: "structure", members: { - CrossZoneLoadBalancing: { - type: "structure", - required: ["Enabled"], - members: { Enabled: { type: "boolean" } }, + AvailabilityZones: { shape: "Si" }, + BackupRetentionPeriod: { type: "integer" }, + DBClusterIdentifier: {}, + DBClusterParameterGroup: {}, + DBSubnetGroup: {}, + Status: {}, + PercentProgress: {}, + EarliestRestorableTime: { type: "timestamp" }, + Endpoint: {}, + ReaderEndpoint: {}, + MultiAZ: { type: "boolean" }, + Engine: {}, + EngineVersion: {}, + LatestRestorableTime: { type: "timestamp" }, + Port: { type: "integer" }, + MasterUsername: {}, + PreferredBackupWindow: {}, + PreferredMaintenanceWindow: {}, + DBClusterMembers: { + type: "list", + member: { + locationName: "DBClusterMember", + type: "structure", + members: { + DBInstanceIdentifier: {}, + IsClusterWriter: { type: "boolean" }, + DBClusterParameterGroupStatus: {}, + PromotionTier: { type: "integer" }, + }, + wrapper: true, + }, }, - AccessLog: { + VpcSecurityGroups: { shape: "St" }, + HostedZoneId: {}, + StorageEncrypted: { type: "boolean" }, + KmsKeyId: {}, + DbClusterResourceId: {}, + DBClusterArn: {}, + AssociatedRoles: { + type: "list", + member: { + locationName: "DBClusterRole", + type: "structure", + members: { RoleArn: {}, Status: {} }, + }, + }, + ClusterCreateTime: { type: "timestamp" }, + EnabledCloudwatchLogsExports: { shape: "So" }, + DeletionProtection: { type: "boolean" }, + }, + wrapper: true, + }, + St: { + type: "list", + member: { + locationName: "VpcSecurityGroupMembership", + type: "structure", + members: { VpcSecurityGroupId: {}, Status: {} }, + }, + }, + S13: { + type: "structure", + members: { + DBInstanceIdentifier: {}, + DBInstanceClass: {}, + Engine: {}, + DBInstanceStatus: {}, + Endpoint: { type: "structure", - required: ["Enabled"], members: { - Enabled: { type: "boolean" }, - S3BucketName: {}, - EmitInterval: { type: "integer" }, - S3BucketPrefix: {}, + Address: {}, + Port: { type: "integer" }, + HostedZoneId: {}, }, }, - ConnectionDraining: { + InstanceCreateTime: { type: "timestamp" }, + PreferredBackupWindow: {}, + BackupRetentionPeriod: { type: "integer" }, + VpcSecurityGroups: { shape: "St" }, + AvailabilityZone: {}, + DBSubnetGroup: { shape: "S15" }, + PreferredMaintenanceWindow: {}, + PendingModifiedValues: { type: "structure", - required: ["Enabled"], members: { - Enabled: { type: "boolean" }, - Timeout: { type: "integer" }, + DBInstanceClass: {}, + AllocatedStorage: { type: "integer" }, + MasterUserPassword: {}, + Port: { type: "integer" }, + BackupRetentionPeriod: { type: "integer" }, + MultiAZ: { type: "boolean" }, + EngineVersion: {}, + LicenseModel: {}, + Iops: { type: "integer" }, + DBInstanceIdentifier: {}, + StorageType: {}, + CACertificateIdentifier: {}, + DBSubnetGroupName: {}, + PendingCloudwatchLogsExports: { + type: "structure", + members: { + LogTypesToEnable: { shape: "So" }, + LogTypesToDisable: { shape: "So" }, + }, + }, }, }, - ConnectionSettings: { - type: "structure", - required: ["IdleTimeout"], - members: { IdleTimeout: { type: "integer" } }, + LatestRestorableTime: { type: "timestamp" }, + EngineVersion: {}, + AutoMinorVersionUpgrade: { type: "boolean" }, + PubliclyAccessible: { type: "boolean" }, + StatusInfos: { + type: "list", + member: { + locationName: "DBInstanceStatusInfo", + type: "structure", + members: { + StatusType: {}, + Normal: { type: "boolean" }, + Status: {}, + Message: {}, + }, + }, }, - AdditionalAttributes: { + DBClusterIdentifier: {}, + StorageEncrypted: { type: "boolean" }, + KmsKeyId: {}, + DbiResourceId: {}, + CACertificateIdentifier: {}, + PromotionTier: { type: "integer" }, + DBInstanceArn: {}, + EnabledCloudwatchLogsExports: { shape: "So" }, + }, + wrapper: true, + }, + S15: { + type: "structure", + members: { + DBSubnetGroupName: {}, + DBSubnetGroupDescription: {}, + VpcId: {}, + SubnetGroupStatus: {}, + Subnets: { type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, + member: { + locationName: "Subnet", + type: "structure", + members: { + SubnetIdentifier: {}, + SubnetAvailabilityZone: { shape: "S18" }, + SubnetStatus: {}, + }, + }, }, + DBSubnetGroupArn: {}, }, + wrapper: true, + }, + S18: { type: "structure", members: { Name: {} }, wrapper: true }, + S1e: { type: "list", member: { locationName: "SubnetIdentifier" } }, + S1p: { + type: "list", + member: { + locationName: "Filter", + type: "structure", + required: ["Name", "Values"], + members: { + Name: {}, + Values: { type: "list", member: { locationName: "Value" } }, + }, + }, + }, + S20: { + type: "list", + member: { + locationName: "Parameter", + type: "structure", + members: { + ParameterName: {}, + ParameterValue: {}, + Description: {}, + Source: {}, + ApplyType: {}, + DataType: {}, + AllowedValues: {}, + IsModifiable: { type: "boolean" }, + MinimumEngineVersion: {}, + ApplyMethod: {}, + }, + }, + }, + S25: { + type: "structure", + members: { + DBClusterSnapshotIdentifier: {}, + DBClusterSnapshotAttributes: { + type: "list", + member: { + locationName: "DBClusterSnapshotAttribute", + type: "structure", + members: { + AttributeName: {}, + AttributeValues: { shape: "S28" }, + }, + }, + }, + }, + wrapper: true, + }, + S28: { type: "list", member: { locationName: "AttributeValue" } }, + S2y: { type: "list", member: { locationName: "EventCategory" } }, + S3k: { + type: "structure", + members: { DBClusterParameterGroupName: {} }, }, - S2s: { type: "list", member: {} }, }, }; /***/ }, - /***/ 2673: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["servicecatalog"] = {}; - AWS.ServiceCatalog = Service.defineService("servicecatalog", [ - "2015-12-10", - ]); - Object.defineProperty( - apiLoader.services["servicecatalog"], - "2015-12-10", - { - get: function get() { - var model = __webpack_require__(4008); - model.paginators = __webpack_require__(1656).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.ServiceCatalog; - - /***/ - }, - - /***/ 2674: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = authenticate; - - const { Deprecation } = __webpack_require__(7692); - const once = __webpack_require__(6049); - - const deprecateAuthenticate = once((log, deprecation) => - log.warn(deprecation) - ); - - function authenticate(state, options) { - deprecateAuthenticate( - state.octokit.log, - new Deprecation( - '[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.' - ) - ); - - if (!options) { - state.auth = false; - return; - } - - switch (options.type) { - case "basic": - if (!options.username || !options.password) { - throw new Error( - "Basic authentication requires both a username and password to be set" - ); - } - break; - - case "oauth": - if (!options.token && !(options.key && options.secret)) { - throw new Error( - "OAuth2 authentication requires a token or key & secret to be set" - ); - } - break; - - case "token": - case "app": - if (!options.token) { - throw new Error( - "Token authentication requires a token to be set" - ); - } - break; - - default: - throw new Error( - "Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'" - ); - } - - state.auth = options; - } - - /***/ - }, - - /***/ 2678: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - AWS.util.hideProperties(AWS, ["SimpleWorkflow"]); - - /** - * @constant - * @readonly - * Backwards compatibility for access to the {AWS.SWF} service class. - */ - AWS.SimpleWorkflow = AWS.SWF; - - /***/ - }, - - /***/ 2681: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, - - /***/ 2696: /***/ function (module) { - "use strict"; - - /*! - * isobject - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ - - function isObject(val) { - return ( - val != null && typeof val === "object" && Array.isArray(val) === false - ); - } - - /*! - * is-plain-object - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ - - function isObjectObject(o) { - return ( - isObject(o) === true && - Object.prototype.toString.call(o) === "[object Object]" - ); - } - - function isPlainObject(o) { - var ctor, prot; - - if (isObjectObject(o) === false) return false; - - // If has modified constructor - ctor = o.constructor; - if (typeof ctor !== "function") return false; - - // If has modified prototype - prot = ctor.prototype; - if (isObjectObject(prot) === false) return false; - - // If constructor does not have an Object-specific method - if (prot.hasOwnProperty("isPrototypeOf") === false) { - return false; - } - - // Most likely a plain Object - return true; - } - - module.exports = isPlainObject; - - /***/ - }, - - /***/ 2699: /***/ function (module) { + /***/ 2463: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2015-04-16", - endpointPrefix: "ds", + apiVersion: "2020-09-18", + endpointPrefix: "api.iotdeviceadvisor", jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "Directory Service", - serviceFullName: "AWS Directory Service", - serviceId: "Directory Service", + protocol: "rest-json", + serviceAbbreviation: "AWSIoTDeviceAdvisor", + serviceFullName: "AWS IoT Core Device Advisor", + serviceId: "IotDeviceAdvisor", signatureVersion: "v4", - targetPrefix: "DirectoryService_20150416", - uid: "ds-2015-04-16", + signingName: "iotdeviceadvisor", + uid: "iotdeviceadvisor-2020-09-18", }, operations: { - AcceptSharedDirectory: { + CreateSuiteDefinition: { + http: { requestUri: "/suiteDefinitions" }, input: { type: "structure", - required: ["SharedDirectoryId"], - members: { SharedDirectoryId: {} }, + members: { + suiteDefinitionConfiguration: { shape: "S2" }, + tags: { shape: "S9" }, + }, }, output: { type: "structure", - members: { SharedDirectory: { shape: "S4" } }, + members: { + suiteDefinitionId: {}, + suiteDefinitionArn: {}, + suiteDefinitionName: {}, + createdAt: { type: "timestamp" }, + }, }, }, - AddIpRoutes: { + DeleteSuiteDefinition: { + http: { + method: "DELETE", + requestUri: "/suiteDefinitions/{suiteDefinitionId}", + }, input: { type: "structure", - required: ["DirectoryId", "IpRoutes"], + required: ["suiteDefinitionId"], members: { - DirectoryId: {}, - IpRoutes: { - type: "list", - member: { - type: "structure", - members: { CidrIp: {}, Description: {} }, - }, + suiteDefinitionId: { + location: "uri", + locationName: "suiteDefinitionId", }, - UpdateSecurityGroupForDirectoryControllers: { type: "boolean" }, }, }, output: { type: "structure", members: {} }, }, - AddTagsToResource: { - input: { - type: "structure", - required: ["ResourceId", "Tags"], - members: { ResourceId: {}, Tags: { shape: "Sk" } }, - }, - output: { type: "structure", members: {} }, - }, - CancelSchemaExtension: { - input: { - type: "structure", - required: ["DirectoryId", "SchemaExtensionId"], - members: { DirectoryId: {}, SchemaExtensionId: {} }, + GetSuiteDefinition: { + http: { + method: "GET", + requestUri: "/suiteDefinitions/{suiteDefinitionId}", }, - output: { type: "structure", members: {} }, - }, - ConnectDirectory: { input: { type: "structure", - required: ["Name", "Password", "Size", "ConnectSettings"], + required: ["suiteDefinitionId"], members: { - Name: {}, - ShortName: {}, - Password: { shape: "Sv" }, - Description: {}, - Size: {}, - ConnectSettings: { - type: "structure", - required: [ - "VpcId", - "SubnetIds", - "CustomerDnsIps", - "CustomerUserName", - ], - members: { - VpcId: {}, - SubnetIds: { shape: "Sz" }, - CustomerDnsIps: { shape: "S11" }, - CustomerUserName: {}, - }, + suiteDefinitionId: { + location: "uri", + locationName: "suiteDefinitionId", + }, + suiteDefinitionVersion: { + location: "querystring", + locationName: "suiteDefinitionVersion", }, - Tags: { shape: "Sk" }, }, }, - output: { type: "structure", members: { DirectoryId: {} } }, - }, - CreateAlias: { - input: { - type: "structure", - required: ["DirectoryId", "Alias"], - members: { DirectoryId: {}, Alias: {} }, - }, output: { type: "structure", - members: { DirectoryId: {}, Alias: {} }, + members: { + suiteDefinitionId: {}, + suiteDefinitionArn: {}, + suiteDefinitionVersion: {}, + latestVersion: {}, + suiteDefinitionConfiguration: { shape: "S2" }, + createdAt: { type: "timestamp" }, + lastModifiedAt: { type: "timestamp" }, + tags: { shape: "S9" }, + }, }, }, - CreateComputer: { + GetSuiteRun: { + http: { + method: "GET", + requestUri: + "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}", + }, input: { type: "structure", - required: ["DirectoryId", "ComputerName", "Password"], + required: ["suiteDefinitionId", "suiteRunId"], members: { - DirectoryId: {}, - ComputerName: {}, - Password: { type: "string", sensitive: true }, - OrganizationalUnitDistinguishedName: {}, - ComputerAttributes: { shape: "S1c" }, + suiteDefinitionId: { + location: "uri", + locationName: "suiteDefinitionId", + }, + suiteRunId: { location: "uri", locationName: "suiteRunId" }, }, }, output: { type: "structure", members: { - Computer: { + suiteDefinitionId: {}, + suiteDefinitionVersion: {}, + suiteRunId: {}, + suiteRunArn: {}, + suiteRunConfiguration: { shape: "Sm" }, + testResult: { type: "structure", members: { - ComputerId: {}, - ComputerName: {}, - ComputerAttributes: { shape: "S1c" }, + groups: { + type: "list", + member: { + type: "structure", + members: { + groupId: {}, + groupName: {}, + tests: { + type: "list", + member: { + type: "structure", + members: { + testCaseRunId: {}, + testCaseDefinitionId: {}, + testCaseDefinitionName: {}, + status: {}, + startTime: { type: "timestamp" }, + endTime: { type: "timestamp" }, + logUrl: {}, + warnings: {}, + failure: {}, + }, + }, + }, + }, + }, + }, }, }, + startTime: { type: "timestamp" }, + endTime: { type: "timestamp" }, + status: {}, + errorReason: {}, + tags: { shape: "S9" }, }, }, }, - CreateConditionalForwarder: { - input: { - type: "structure", - required: ["DirectoryId", "RemoteDomainName", "DnsIpAddrs"], - members: { - DirectoryId: {}, - RemoteDomainName: {}, - DnsIpAddrs: { shape: "S11" }, - }, - }, - output: { type: "structure", members: {} }, - }, - CreateDirectory: { - input: { - type: "structure", - required: ["Name", "Password", "Size"], - members: { - Name: {}, - ShortName: {}, - Password: { shape: "S1n" }, - Description: {}, - Size: {}, - VpcSettings: { shape: "S1o" }, - Tags: { shape: "Sk" }, - }, - }, - output: { type: "structure", members: { DirectoryId: {} } }, - }, - CreateLogSubscription: { - input: { - type: "structure", - required: ["DirectoryId", "LogGroupName"], - members: { DirectoryId: {}, LogGroupName: {} }, - }, - output: { type: "structure", members: {} }, - }, - CreateMicrosoftAD: { - input: { - type: "structure", - required: ["Name", "Password", "VpcSettings"], - members: { - Name: {}, - ShortName: {}, - Password: { shape: "S1n" }, - Description: {}, - VpcSettings: { shape: "S1o" }, - Edition: {}, - Tags: { shape: "Sk" }, - }, - }, - output: { type: "structure", members: { DirectoryId: {} } }, - }, - CreateSnapshot: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { DirectoryId: {}, Name: {} }, + GetSuiteRunReport: { + http: { + method: "GET", + requestUri: + "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/report", }, - output: { type: "structure", members: { SnapshotId: {} } }, - }, - CreateTrust: { input: { type: "structure", - required: [ - "DirectoryId", - "RemoteDomainName", - "TrustPassword", - "TrustDirection", - ], + required: ["suiteDefinitionId", "suiteRunId"], members: { - DirectoryId: {}, - RemoteDomainName: {}, - TrustPassword: { type: "string", sensitive: true }, - TrustDirection: {}, - TrustType: {}, - ConditionalForwarderIpAddrs: { shape: "S11" }, - SelectiveAuth: {}, + suiteDefinitionId: { + location: "uri", + locationName: "suiteDefinitionId", + }, + suiteRunId: { location: "uri", locationName: "suiteRunId" }, }, }, - output: { type: "structure", members: { TrustId: {} } }, - }, - DeleteConditionalForwarder: { - input: { - type: "structure", - required: ["DirectoryId", "RemoteDomainName"], - members: { DirectoryId: {}, RemoteDomainName: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteDirectory: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { DirectoryId: {} }, - }, - output: { type: "structure", members: { DirectoryId: {} } }, - }, - DeleteLogSubscription: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { DirectoryId: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteSnapshot: { - input: { + output: { type: "structure", - required: ["SnapshotId"], - members: { SnapshotId: {} }, + members: { qualificationReportDownloadUrl: {} }, }, - output: { type: "structure", members: { SnapshotId: {} } }, }, - DeleteTrust: { + ListSuiteDefinitions: { + http: { method: "GET", requestUri: "/suiteDefinitions" }, input: { type: "structure", - required: ["TrustId"], members: { - TrustId: {}, - DeleteAssociatedConditionalForwarder: { type: "boolean" }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, }, }, - output: { type: "structure", members: { TrustId: {} } }, - }, - DeregisterCertificate: { - input: { - type: "structure", - required: ["DirectoryId", "CertificateId"], - members: { DirectoryId: {}, CertificateId: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeregisterEventTopic: { - input: { - type: "structure", - required: ["DirectoryId", "TopicName"], - members: { DirectoryId: {}, TopicName: {} }, - }, - output: { type: "structure", members: {} }, - }, - DescribeCertificate: { - input: { - type: "structure", - required: ["DirectoryId", "CertificateId"], - members: { DirectoryId: {}, CertificateId: {} }, - }, output: { type: "structure", members: { - Certificate: { - type: "structure", - members: { - CertificateId: {}, - State: {}, - StateReason: {}, - CommonName: {}, - RegisteredDateTime: { type: "timestamp" }, - ExpiryDateTime: { type: "timestamp" }, + suiteDefinitionInformationList: { + type: "list", + member: { + type: "structure", + members: { + suiteDefinitionId: {}, + suiteDefinitionName: {}, + defaultDevices: { shape: "S4" }, + intendedForQualification: { type: "boolean" }, + createdAt: { type: "timestamp" }, + }, }, }, + nextToken: {}, }, }, }, - DescribeConditionalForwarders: { + ListSuiteRuns: { + http: { method: "GET", requestUri: "/suiteRuns" }, input: { type: "structure", - required: ["DirectoryId"], members: { - DirectoryId: {}, - RemoteDomainNames: { type: "list", member: {} }, + suiteDefinitionId: { + location: "querystring", + locationName: "suiteDefinitionId", + }, + suiteDefinitionVersion: { + location: "querystring", + locationName: "suiteDefinitionVersion", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, }, }, output: { type: "structure", members: { - ConditionalForwarders: { + suiteRunsList: { type: "list", member: { type: "structure", members: { - RemoteDomainName: {}, - DnsIpAddrs: { shape: "S11" }, - ReplicationScope: {}, + suiteDefinitionId: {}, + suiteDefinitionVersion: {}, + suiteDefinitionName: {}, + suiteRunId: {}, + createdAt: { type: "timestamp" }, + startedAt: { type: "timestamp" }, + endAt: { type: "timestamp" }, + status: {}, + passed: { type: "integer" }, + failed: { type: "integer" }, }, }, }, + nextToken: {}, }, }, }, - DescribeDirectories: { + ListTagsForResource: { + http: { method: "GET", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", + required: ["resourceArn"], members: { - DirectoryIds: { shape: "S33" }, - NextToken: {}, - Limit: { type: "integer" }, + resourceArn: { location: "uri", locationName: "resourceArn" }, + }, + }, + output: { type: "structure", members: { tags: { shape: "S9" } } }, + }, + ListTestCases: { + http: { method: "GET", requestUri: "/testCases" }, + input: { + type: "structure", + members: { + intendedForQualification: { + location: "querystring", + locationName: "intendedForQualification", + type: "boolean", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, }, }, output: { type: "structure", members: { - DirectoryDescriptions: { + categories: { type: "list", member: { type: "structure", members: { - DirectoryId: {}, - Name: {}, - ShortName: {}, - Size: {}, - Edition: {}, - Alias: {}, - AccessUrl: {}, - Description: {}, - DnsIpAddrs: { shape: "S11" }, - Stage: {}, - ShareStatus: {}, - ShareMethod: {}, - ShareNotes: { shape: "S8" }, - LaunchTime: { type: "timestamp" }, - StageLastUpdatedDateTime: { type: "timestamp" }, - Type: {}, - VpcSettings: { shape: "S3d" }, - ConnectSettings: { - type: "structure", - members: { - VpcId: {}, - SubnetIds: { shape: "Sz" }, - CustomerUserName: {}, - SecurityGroupId: {}, - AvailabilityZones: { shape: "S3f" }, - ConnectIps: { type: "list", member: {} }, - }, - }, - RadiusSettings: { shape: "S3j" }, - RadiusStatus: {}, - StageReason: {}, - SsoEnabled: { type: "boolean" }, - DesiredNumberOfDomainControllers: { type: "integer" }, - OwnerDirectoryDescription: { - type: "structure", - members: { - DirectoryId: {}, - AccountId: {}, - DnsIpAddrs: { shape: "S11" }, - VpcSettings: { shape: "S3d" }, - RadiusSettings: { shape: "S3j" }, - RadiusStatus: {}, + name: {}, + tests: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + configuration: { shape: "S1p" }, + test: { + type: "structure", + members: { id: {}, testCaseVersion: {} }, + }, + }, }, }, }, }, }, - NextToken: {}, + rootGroupConfiguration: { shape: "S1p" }, + groupConfiguration: { shape: "S1p" }, + nextToken: {}, }, }, }, - DescribeDomainControllers: { + StartSuiteRun: { + http: { + requestUri: "/suiteDefinitions/{suiteDefinitionId}/suiteRuns", + }, input: { type: "structure", - required: ["DirectoryId"], + required: ["suiteDefinitionId"], members: { - DirectoryId: {}, - DomainControllerIds: { type: "list", member: {} }, - NextToken: {}, - Limit: { type: "integer" }, + suiteDefinitionId: { + location: "uri", + locationName: "suiteDefinitionId", + }, + suiteDefinitionVersion: {}, + suiteRunConfiguration: { shape: "Sm" }, + tags: { shape: "S9" }, }, }, output: { type: "structure", members: { - DomainControllers: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - DomainControllerId: {}, - DnsIpAddr: {}, - VpcId: {}, - SubnetId: {}, - AvailabilityZone: {}, - Status: {}, - StatusReason: {}, - LaunchTime: { type: "timestamp" }, - StatusLastUpdatedDateTime: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, + suiteRunId: {}, + suiteRunArn: {}, + createdAt: { type: "timestamp" }, }, }, }, - DescribeEventTopics: { + TagResource: { + http: { requestUri: "/tags/{resourceArn}" }, input: { type: "structure", + required: ["resourceArn", "tags"], members: { - DirectoryId: {}, - TopicNames: { type: "list", member: {} }, - }, - }, - output: { - type: "structure", - members: { - EventTopics: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - TopicName: {}, - TopicArn: {}, - CreatedDateTime: { type: "timestamp" }, - Status: {}, - }, - }, - }, + resourceArn: { location: "uri", locationName: "resourceArn" }, + tags: { shape: "S9" }, }, }, + output: { type: "structure", members: {} }, }, - DescribeLDAPSSettings: { + UntagResource: { + http: { method: "DELETE", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - Type: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", + required: ["resourceArn", "tagKeys"], members: { - LDAPSSettingsInfo: { + resourceArn: { location: "uri", locationName: "resourceArn" }, + tagKeys: { + location: "querystring", + locationName: "tagKeys", type: "list", - member: { - type: "structure", - members: { - LDAPSStatus: {}, - LDAPSStatusReason: {}, - LastUpdatedDateTime: { type: "timestamp" }, - }, - }, + member: {}, }, - NextToken: {}, }, }, + output: { type: "structure", members: {} }, }, - DescribeSharedDirectories: { - input: { - type: "structure", - required: ["OwnerDirectoryId"], - members: { - OwnerDirectoryId: {}, - SharedDirectoryIds: { shape: "S33" }, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - SharedDirectories: { type: "list", member: { shape: "S4" } }, - NextToken: {}, - }, + UpdateSuiteDefinition: { + http: { + method: "PATCH", + requestUri: "/suiteDefinitions/{suiteDefinitionId}", }, - }, - DescribeSnapshots: { input: { type: "structure", + required: ["suiteDefinitionId"], members: { - DirectoryId: {}, - SnapshotIds: { type: "list", member: {} }, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - Snapshots: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - SnapshotId: {}, - Type: {}, - Name: {}, - Status: {}, - StartTime: { type: "timestamp" }, - }, - }, + suiteDefinitionId: { + location: "uri", + locationName: "suiteDefinitionId", }, - NextToken: {}, - }, - }, - }, - DescribeTrusts: { - input: { - type: "structure", - members: { - DirectoryId: {}, - TrustIds: { type: "list", member: {} }, - NextToken: {}, - Limit: { type: "integer" }, + suiteDefinitionConfiguration: { shape: "S2" }, }, }, output: { type: "structure", members: { - Trusts: { - type: "list", - member: { - type: "structure", - members: { - DirectoryId: {}, - TrustId: {}, - RemoteDomainName: {}, - TrustType: {}, - TrustDirection: {}, - TrustState: {}, - CreatedDateTime: { type: "timestamp" }, - LastUpdatedDateTime: { type: "timestamp" }, - StateLastUpdatedDateTime: { type: "timestamp" }, - TrustStateReason: {}, - SelectiveAuth: {}, - }, - }, - }, - NextToken: {}, + suiteDefinitionId: {}, + suiteDefinitionArn: {}, + suiteDefinitionName: {}, + suiteDefinitionVersion: {}, + createdAt: { type: "timestamp" }, + lastUpdatedAt: { type: "timestamp" }, }, }, }, - DisableLDAPS: { - input: { - type: "structure", - required: ["DirectoryId", "Type"], - members: { DirectoryId: {}, Type: {} }, + }, + shapes: { + S2: { + type: "structure", + members: { + suiteDefinitionName: {}, + devices: { shape: "S4" }, + intendedForQualification: { type: "boolean" }, + rootGroup: {}, + devicePermissionRoleArn: {}, }, - output: { type: "structure", members: {} }, }, - DisableRadius: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { DirectoryId: {} }, - }, - output: { type: "structure", members: {} }, + S4: { type: "list", member: { shape: "S5" } }, + S5: { + type: "structure", + members: { thingArn: {}, certificateArn: {} }, }, - DisableSso: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - UserName: {}, - Password: { shape: "Sv" }, - }, + S9: { type: "map", key: {}, value: {} }, + Sm: { + type: "structure", + members: { + primaryDevice: { shape: "S5" }, + secondaryDevice: { shape: "S5" }, + selectedTestList: { type: "list", member: {} }, }, - output: { type: "structure", members: {} }, }, - EnableLDAPS: { - input: { - type: "structure", - required: ["DirectoryId", "Type"], - members: { DirectoryId: {}, Type: {} }, - }, - output: { type: "structure", members: {} }, + S1p: { type: "map", key: {}, value: {} }, + }, + }; + + /***/ + }, + + /***/ 2467: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["accessanalyzer"] = {}; + AWS.AccessAnalyzer = Service.defineService("accessanalyzer", [ + "2019-11-01", + ]); + Object.defineProperty( + apiLoader.services["accessanalyzer"], + "2019-11-01", + { + get: function get() { + var model = __webpack_require__(4575); + model.paginators = __webpack_require__(7291).pagination; + return model; }, - EnableRadius: { - input: { - type: "structure", - required: ["DirectoryId", "RadiusSettings"], - members: { DirectoryId: {}, RadiusSettings: { shape: "S3j" } }, - }, - output: { type: "structure", members: {} }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.AccessAnalyzer; + + /***/ + }, + + /***/ 2469: /***/ function (module) { + module.exports = { + pagination: { + DescribeResourceCollectionHealth: { + input_token: "NextToken", + output_token: "NextToken", + result_key: ["CloudFormation"], }, - EnableSso: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - UserName: {}, - Password: { shape: "Sv" }, - }, - }, - output: { type: "structure", members: {} }, + GetResourceCollection: { + input_token: "NextToken", + non_aggregate_keys: ["ResourceCollection"], + output_token: "NextToken", + result_key: ["ResourceCollection.CloudFormation.StackNames"], }, - GetDirectoryLimits: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - DirectoryLimits: { - type: "structure", - members: { - CloudOnlyDirectoriesLimit: { type: "integer" }, - CloudOnlyDirectoriesCurrentCount: { type: "integer" }, - CloudOnlyDirectoriesLimitReached: { type: "boolean" }, - CloudOnlyMicrosoftADLimit: { type: "integer" }, - CloudOnlyMicrosoftADCurrentCount: { type: "integer" }, - CloudOnlyMicrosoftADLimitReached: { type: "boolean" }, - ConnectedDirectoriesLimit: { type: "integer" }, - ConnectedDirectoriesCurrentCount: { type: "integer" }, - ConnectedDirectoriesLimitReached: { type: "boolean" }, - }, - }, - }, - }, + ListAnomaliesForInsight: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: ["ReactiveAnomalies", "ProactiveAnomalies"], }, - GetSnapshotLimits: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { DirectoryId: {} }, - }, - output: { - type: "structure", - members: { - SnapshotLimits: { - type: "structure", - members: { - ManualSnapshotsLimit: { type: "integer" }, - ManualSnapshotsCurrentCount: { type: "integer" }, - ManualSnapshotsLimitReached: { type: "boolean" }, - }, - }, - }, - }, + ListEvents: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Events", }, - ListCertificates: { + ListInsights: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: ["ProactiveInsights", "ReactiveInsights"], + }, + ListNotificationChannels: { + input_token: "NextToken", + output_token: "NextToken", + result_key: "Channels", + }, + ListRecommendations: { + input_token: "NextToken", + output_token: "NextToken", + result_key: "Recommendations", + }, + SearchInsights: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: ["ProactiveInsights", "ReactiveInsights"], + }, + }, + }; + + /***/ + }, + + /***/ 2474: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 2476: /***/ function (__unusedmodule, exports, __webpack_require__) { + // Generated by CoffeeScript 1.12.7 + (function () { + "use strict"; + var builder, + defaults, + escapeCDATA, + requiresCDATA, + wrapCDATA, + hasProp = {}.hasOwnProperty; + + builder = __webpack_require__(312); + + defaults = __webpack_require__(1514).defaults; + + requiresCDATA = function (entry) { + return ( + typeof entry === "string" && + (entry.indexOf("&") >= 0 || + entry.indexOf(">") >= 0 || + entry.indexOf("<") >= 0) + ); + }; + + wrapCDATA = function (entry) { + return ""; + }; + + escapeCDATA = function (entry) { + return entry.replace("]]>", "]]]]>"); + }; + + exports.Builder = (function () { + function Builder(opts) { + var key, ref, value; + this.options = {}; + ref = defaults["0.2"]; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; + value = ref[key]; + this.options[key] = value; + } + for (key in opts) { + if (!hasProp.call(opts, key)) continue; + value = opts[key]; + this.options[key] = value; + } + } + + Builder.prototype.buildObject = function (rootObj) { + var attrkey, charkey, render, rootElement, rootName; + attrkey = this.options.attrkey; + charkey = this.options.charkey; + if ( + Object.keys(rootObj).length === 1 && + this.options.rootName === defaults["0.2"].rootName + ) { + rootName = Object.keys(rootObj)[0]; + rootObj = rootObj[rootName]; + } else { + rootName = this.options.rootName; + } + render = (function (_this) { + return function (element, obj) { + var attr, child, entry, index, key, value; + if (typeof obj !== "object") { + if (_this.options.cdata && requiresCDATA(obj)) { + element.raw(wrapCDATA(obj)); + } else { + element.txt(obj); + } + } else if (Array.isArray(obj)) { + for (index in obj) { + if (!hasProp.call(obj, index)) continue; + child = obj[index]; + for (key in child) { + entry = child[key]; + element = render(element.ele(key), entry).up(); + } + } + } else { + for (key in obj) { + if (!hasProp.call(obj, key)) continue; + child = obj[key]; + if (key === attrkey) { + if (typeof child === "object") { + for (attr in child) { + value = child[attr]; + element = element.att(attr, value); + } + } + } else if (key === charkey) { + if (_this.options.cdata && requiresCDATA(child)) { + element = element.raw(wrapCDATA(child)); + } else { + element = element.txt(child); + } + } else if (Array.isArray(child)) { + for (index in child) { + if (!hasProp.call(child, index)) continue; + entry = child[index]; + if (typeof entry === "string") { + if (_this.options.cdata && requiresCDATA(entry)) { + element = element + .ele(key) + .raw(wrapCDATA(entry)) + .up(); + } else { + element = element.ele(key, entry).up(); + } + } else { + element = render(element.ele(key), entry).up(); + } + } + } else if (typeof child === "object") { + element = render(element.ele(key), child).up(); + } else { + if ( + typeof child === "string" && + _this.options.cdata && + requiresCDATA(child) + ) { + element = element.ele(key).raw(wrapCDATA(child)).up(); + } else { + if (child == null) { + child = ""; + } + element = element.ele(key, child.toString()).up(); + } + } + } + } + return element; + }; + })(this); + rootElement = builder.create( + rootName, + this.options.xmldec, + this.options.doctype, + { + headless: this.options.headless, + allowSurrogateChars: this.options.allowSurrogateChars, + } + ); + return render(rootElement, rootObj).end(this.options.renderOpts); + }; + + return Builder; + })(); + }.call(this)); + + /***/ + }, + + /***/ 2481: /***/ function (module) { + module.exports = { + pagination: { + GetUsageStatistics: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListDetectors: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "DetectorIds", + }, + ListFilters: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "FilterNames", + }, + ListFindings: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "FindingIds", + }, + ListIPSets: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "IpSetIds", + }, + ListInvitations: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Invitations", + }, + ListMembers: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Members", + }, + ListOrganizationAdminAccounts: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "AdminAccounts", + }, + ListPublishingDestinations: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListThreatIntelSets: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "ThreatIntelSetIds", + }, + }, + }; + + /***/ + }, + + /***/ 2490: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2018-02-27", + endpointPrefix: "pi", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "AWS PI", + serviceFullName: "AWS Performance Insights", + serviceId: "PI", + signatureVersion: "v4", + signingName: "pi", + targetPrefix: "PerformanceInsightsv20180227", + uid: "pi-2018-02-27", + }, + operations: { + DescribeDimensionKeys: { input: { type: "structure", - required: ["DirectoryId"], + required: [ + "ServiceType", + "Identifier", + "StartTime", + "EndTime", + "Metric", + "GroupBy", + ], members: { - DirectoryId: {}, + ServiceType: {}, + Identifier: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + Metric: {}, + PeriodInSeconds: { type: "integer" }, + GroupBy: { shape: "S6" }, + PartitionBy: { shape: "S6" }, + Filter: { shape: "S9" }, + MaxResults: { type: "integer" }, NextToken: {}, - Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - NextToken: {}, - CertificatesInfo: { + AlignedStartTime: { type: "timestamp" }, + AlignedEndTime: { type: "timestamp" }, + PartitionKeys: { type: "list", member: { type: "structure", - members: { - CertificateId: {}, - CommonName: {}, - State: {}, - ExpiryDateTime: { type: "timestamp" }, - }, + required: ["Dimensions"], + members: { Dimensions: { shape: "Se" } }, }, }, - }, - }, - }, - ListIpRoutes: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - IpRoutesInfo: { + Keys: { type: "list", member: { type: "structure", members: { - DirectoryId: {}, - CidrIp: {}, - IpRouteStatusMsg: {}, - AddedDateTime: { type: "timestamp" }, - IpRouteStatusReason: {}, - Description: {}, + Dimensions: { shape: "Se" }, + Total: { type: "double" }, + Partitions: { type: "list", member: { type: "double" } }, }, }, }, @@ -81970,58 +87585,65 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - ListLogSubscriptions: { + GetResourceMetrics: { input: { type: "structure", + required: [ + "ServiceType", + "Identifier", + "MetricQueries", + "StartTime", + "EndTime", + ], members: { - DirectoryId: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - LogSubscriptions: { + ServiceType: {}, + Identifier: {}, + MetricQueries: { type: "list", member: { type: "structure", + required: ["Metric"], members: { - DirectoryId: {}, - LogGroupName: {}, - SubscriptionCreatedDateTime: { type: "timestamp" }, + Metric: {}, + GroupBy: { shape: "S6" }, + Filter: { shape: "S9" }, }, }, }, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + PeriodInSeconds: { type: "integer" }, + MaxResults: { type: "integer" }, NextToken: {}, }, }, - }, - ListSchemaExtensions: { - input: { - type: "structure", - required: ["DirectoryId"], - members: { - DirectoryId: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, output: { type: "structure", members: { - SchemaExtensionsInfo: { + AlignedStartTime: { type: "timestamp" }, + AlignedEndTime: { type: "timestamp" }, + Identifier: {}, + MetricList: { type: "list", member: { type: "structure", members: { - DirectoryId: {}, - SchemaExtensionId: {}, - Description: {}, - SchemaExtensionStatus: {}, - SchemaExtensionStatusReason: {}, - StartDateTime: { type: "timestamp" }, - EndDateTime: { type: "timestamp" }, + Key: { + type: "structure", + required: ["Metric"], + members: { Metric: {}, Dimensions: { shape: "Se" } }, + }, + DataPoints: { + type: "list", + member: { + type: "structure", + required: ["Timestamp", "Value"], + members: { + Timestamp: { type: "timestamp" }, + Value: { type: "double" }, + }, + }, + }, }, }, }, @@ -82029,595 +87651,416 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceId"], - members: { - ResourceId: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { Tags: { shape: "Sk" }, NextToken: {} }, - }, - }, - RegisterCertificate: { - input: { - type: "structure", - required: ["DirectoryId", "CertificateData"], - members: { DirectoryId: {}, CertificateData: {} }, - }, - output: { type: "structure", members: { CertificateId: {} } }, - }, - RegisterEventTopic: { - input: { - type: "structure", - required: ["DirectoryId", "TopicName"], - members: { DirectoryId: {}, TopicName: {} }, - }, - output: { type: "structure", members: {} }, - }, - RejectSharedDirectory: { - input: { - type: "structure", - required: ["SharedDirectoryId"], - members: { SharedDirectoryId: {} }, - }, - output: { type: "structure", members: { SharedDirectoryId: {} } }, - }, - RemoveIpRoutes: { - input: { - type: "structure", - required: ["DirectoryId", "CidrIps"], - members: { - DirectoryId: {}, - CidrIps: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - RemoveTagsFromResource: { - input: { - type: "structure", - required: ["ResourceId", "TagKeys"], - members: { - ResourceId: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - ResetUserPassword: { - input: { - type: "structure", - required: ["DirectoryId", "UserName", "NewPassword"], - members: { - DirectoryId: {}, - UserName: {}, - NewPassword: { type: "string", sensitive: true }, - }, - }, - output: { type: "structure", members: {} }, - }, - RestoreFromSnapshot: { - input: { - type: "structure", - required: ["SnapshotId"], - members: { SnapshotId: {} }, - }, - output: { type: "structure", members: {} }, - }, - ShareDirectory: { - input: { - type: "structure", - required: ["DirectoryId", "ShareTarget", "ShareMethod"], - members: { - DirectoryId: {}, - ShareNotes: { shape: "S8" }, - ShareTarget: { - type: "structure", - required: ["Id", "Type"], - members: { Id: {}, Type: {} }, - }, - ShareMethod: {}, - }, - }, - output: { type: "structure", members: { SharedDirectoryId: {} } }, - }, - StartSchemaExtension: { - input: { - type: "structure", - required: [ - "DirectoryId", - "CreateSnapshotBeforeSchemaExtension", - "LdifContent", - "Description", - ], - members: { - DirectoryId: {}, - CreateSnapshotBeforeSchemaExtension: { type: "boolean" }, - LdifContent: {}, - Description: {}, - }, - }, - output: { type: "structure", members: { SchemaExtensionId: {} } }, - }, - UnshareDirectory: { - input: { - type: "structure", - required: ["DirectoryId", "UnshareTarget"], - members: { - DirectoryId: {}, - UnshareTarget: { - type: "structure", - required: ["Id", "Type"], - members: { Id: {}, Type: {} }, - }, - }, - }, - output: { type: "structure", members: { SharedDirectoryId: {} } }, - }, - UpdateConditionalForwarder: { - input: { - type: "structure", - required: ["DirectoryId", "RemoteDomainName", "DnsIpAddrs"], - members: { - DirectoryId: {}, - RemoteDomainName: {}, - DnsIpAddrs: { shape: "S11" }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateNumberOfDomainControllers: { - input: { - type: "structure", - required: ["DirectoryId", "DesiredNumber"], - members: { DirectoryId: {}, DesiredNumber: { type: "integer" } }, - }, - output: { type: "structure", members: {} }, - }, - UpdateRadius: { - input: { - type: "structure", - required: ["DirectoryId", "RadiusSettings"], - members: { DirectoryId: {}, RadiusSettings: { shape: "S3j" } }, - }, - output: { type: "structure", members: {} }, - }, - UpdateTrust: { - input: { - type: "structure", - required: ["TrustId"], - members: { TrustId: {}, SelectiveAuth: {} }, - }, - output: { - type: "structure", - members: { RequestId: {}, TrustId: {} }, - }, - }, - VerifyTrust: { - input: { - type: "structure", - required: ["TrustId"], - members: { TrustId: {} }, - }, - output: { type: "structure", members: { TrustId: {} } }, - }, }, shapes: { - S4: { - type: "structure", - members: { - OwnerAccountId: {}, - OwnerDirectoryId: {}, - ShareMethod: {}, - SharedAccountId: {}, - SharedDirectoryId: {}, - ShareStatus: {}, - ShareNotes: { shape: "S8" }, - CreatedDateTime: { type: "timestamp" }, - LastUpdatedDateTime: { type: "timestamp" }, - }, - }, - S8: { type: "string", sensitive: true }, - Sk: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - Sv: { type: "string", sensitive: true }, - Sz: { type: "list", member: {} }, - S11: { type: "list", member: {} }, - S1c: { - type: "list", - member: { type: "structure", members: { Name: {}, Value: {} } }, - }, - S1n: { type: "string", sensitive: true }, - S1o: { - type: "structure", - required: ["VpcId", "SubnetIds"], - members: { VpcId: {}, SubnetIds: { shape: "Sz" } }, - }, - S33: { type: "list", member: {} }, - S3d: { - type: "structure", - members: { - VpcId: {}, - SubnetIds: { shape: "Sz" }, - SecurityGroupId: {}, - AvailabilityZones: { shape: "S3f" }, - }, - }, - S3f: { type: "list", member: {} }, - S3j: { + S6: { type: "structure", + required: ["Group"], members: { - RadiusServers: { type: "list", member: {} }, - RadiusPort: { type: "integer" }, - RadiusTimeout: { type: "integer" }, - RadiusRetries: { type: "integer" }, - SharedSecret: { type: "string", sensitive: true }, - AuthenticationProtocol: {}, - DisplayLabel: {}, - UseSameUsername: { type: "boolean" }, + Group: {}, + Dimensions: { type: "list", member: {} }, + Limit: { type: "integer" }, }, }, + S9: { type: "map", key: {}, value: {} }, + Se: { type: "map", key: {}, value: {} }, }, }; /***/ }, - /***/ 2709: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + /***/ 2491: /***/ function (module, __unusedexports, __webpack_require__) { + // Generated by CoffeeScript 1.12.7 + (function () { + var XMLNode, + XMLProcessingInstruction, + extend = function (child, parent) { + for (var key in parent) { + if (hasProp.call(parent, key)) child[key] = parent[key]; + } + function ctor() { + this.constructor = child; + } + ctor.prototype = parent.prototype; + child.prototype = new ctor(); + child.__super__ = parent.prototype; + return child; + }, + hasProp = {}.hasOwnProperty; - apiLoader.services["wafregional"] = {}; - AWS.WAFRegional = Service.defineService("wafregional", ["2016-11-28"]); - Object.defineProperty(apiLoader.services["wafregional"], "2016-11-28", { - get: function get() { - var model = __webpack_require__(8296); - model.paginators = __webpack_require__(3396).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); + XMLNode = __webpack_require__(6855); - module.exports = AWS.WAFRegional; + module.exports = XMLProcessingInstruction = (function (superClass) { + extend(XMLProcessingInstruction, superClass); - /***/ - }, + function XMLProcessingInstruction(parent, target, value) { + XMLProcessingInstruction.__super__.constructor.call(this, parent); + if (target == null) { + throw new Error("Missing instruction target"); + } + this.target = this.stringify.insTarget(target); + if (value) { + this.value = this.stringify.insValue(value); + } + } - /***/ 2719: /***/ function (module) { - module.exports = { pagination: {} }; + XMLProcessingInstruction.prototype.clone = function () { + return Object.create(this); + }; + + XMLProcessingInstruction.prototype.toString = function (options) { + return this.options.writer.set(options).processingInstruction(this); + }; + + return XMLProcessingInstruction; + })(XMLNode); + }.call(this)); /***/ }, - /***/ 2726: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-06-02", - endpointPrefix: "shield", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "AWS Shield", - serviceFullName: "AWS Shield", - serviceId: "Shield", - signatureVersion: "v4", - targetPrefix: "AWSShield_20160616", - uid: "shield-2016-06-02", - }, - operations: { - AssociateDRTLogBucket: { - input: { - type: "structure", - required: ["LogBucket"], - members: { LogBucket: {} }, - }, - output: { type: "structure", members: {} }, - }, - AssociateDRTRole: { - input: { - type: "structure", - required: ["RoleArn"], - members: { RoleArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - AssociateHealthCheck: { - input: { - type: "structure", - required: ["ProtectionId", "HealthCheckArn"], - members: { ProtectionId: {}, HealthCheckArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - CreateProtection: { - input: { - type: "structure", - required: ["Name", "ResourceArn"], - members: { Name: {}, ResourceArn: {} }, - }, - output: { type: "structure", members: { ProtectionId: {} } }, + /***/ 2492: /***/ function (module, __unusedexports, __webpack_require__) { + var util = __webpack_require__(153); + var XmlNode = __webpack_require__(404).XmlNode; + var XmlText = __webpack_require__(4948).XmlText; + + function XmlBuilder() {} + + XmlBuilder.prototype.toXML = function ( + params, + shape, + rootElement, + noEmpty + ) { + var xml = new XmlNode(rootElement); + applyNamespaces(xml, shape, true); + serialize(xml, params, shape); + return xml.children.length > 0 || noEmpty ? xml.toString() : ""; + }; + + function serialize(xml, value, shape) { + switch (shape.type) { + case "structure": + return serializeStructure(xml, value, shape); + case "map": + return serializeMap(xml, value, shape); + case "list": + return serializeList(xml, value, shape); + default: + return serializeScalar(xml, value, shape); + } + } + + function serializeStructure(xml, params, shape) { + util.arrayEach(shape.memberNames, function (memberName) { + var memberShape = shape.members[memberName]; + if (memberShape.location !== "body") return; + + var value = params[memberName]; + var name = memberShape.name; + if (value !== undefined && value !== null) { + if (memberShape.isXmlAttribute) { + xml.addAttribute(name, value); + } else if (memberShape.flattened) { + serialize(xml, value, memberShape); + } else { + var element = new XmlNode(name); + xml.addChildNode(element); + applyNamespaces(element, memberShape); + serialize(element, value, memberShape); + } + } + }); + } + + function serializeMap(xml, map, shape) { + var xmlKey = shape.key.name || "key"; + var xmlValue = shape.value.name || "value"; + + util.each(map, function (key, value) { + var entry = new XmlNode(shape.flattened ? shape.name : "entry"); + xml.addChildNode(entry); + + var entryKey = new XmlNode(xmlKey); + var entryValue = new XmlNode(xmlValue); + entry.addChildNode(entryKey); + entry.addChildNode(entryValue); + + serialize(entryKey, key, shape.key); + serialize(entryValue, value, shape.value); + }); + } + + function serializeList(xml, list, shape) { + if (shape.flattened) { + util.arrayEach(list, function (value) { + var name = shape.member.name || shape.name; + var element = new XmlNode(name); + xml.addChildNode(element); + serialize(element, value, shape.member); + }); + } else { + util.arrayEach(list, function (value) { + var name = shape.member.name || "member"; + var element = new XmlNode(name); + xml.addChildNode(element); + serialize(element, value, shape.member); + }); + } + } + + function serializeScalar(xml, value, shape) { + xml.addChildNode(new XmlText(shape.toWireFormat(value))); + } + + function applyNamespaces(xml, shape, isRoot) { + var uri, + prefix = "xmlns"; + if (shape.xmlNamespaceUri) { + uri = shape.xmlNamespaceUri; + if (shape.xmlNamespacePrefix) + prefix += ":" + shape.xmlNamespacePrefix; + } else if (isRoot && shape.api.xmlNamespaceUri) { + uri = shape.api.xmlNamespaceUri; + } + + if (uri) xml.addAttribute(prefix, uri); + } + + /** + * @api private + */ + module.exports = XmlBuilder; + + /***/ + }, + + /***/ 2510: /***/ function (module) { + module.exports = addHook; + + function addHook(state, kind, name, hook) { + var orig = hook; + if (!state.registry[name]) { + state.registry[name] = []; + } + + if (kind === "before") { + hook = function (method, options) { + return Promise.resolve() + .then(orig.bind(null, options)) + .then(method.bind(null, options)); + }; + } + + if (kind === "after") { + hook = function (method, options) { + var result; + return Promise.resolve() + .then(method.bind(null, options)) + .then(function (result_) { + result = result_; + return orig(result, options); + }) + .then(function () { + return result; + }); + }; + } + + if (kind === "error") { + hook = function (method, options) { + return Promise.resolve() + .then(method.bind(null, options)) + .catch(function (error) { + return orig(error, options); + }); + }; + } + + state.registry[name].push({ + hook: hook, + orig: orig, + }); + } + + /***/ + }, + + /***/ 2522: /***/ function (module) { + module.exports = { + pagination: { + GetOfferingStatus: { + input_token: "nextToken", + output_token: "nextToken", + result_key: ["current", "nextPeriod"], }, - CreateSubscription: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: {} }, + ListArtifacts: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "artifacts", }, - DeleteProtection: { - input: { - type: "structure", - required: ["ProtectionId"], - members: { ProtectionId: {} }, - }, - output: { type: "structure", members: {} }, + ListDevicePools: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "devicePools", }, - DeleteSubscription: { - input: { type: "structure", members: {}, deprecated: true }, - output: { type: "structure", members: {}, deprecated: true }, - deprecated: true, + ListDevices: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "devices", }, - DescribeAttack: { - input: { - type: "structure", - required: ["AttackId"], - members: { AttackId: {} }, - }, - output: { - type: "structure", - members: { - Attack: { - type: "structure", - members: { - AttackId: {}, - ResourceArn: {}, - SubResources: { - type: "list", - member: { - type: "structure", - members: { - Type: {}, - Id: {}, - AttackVectors: { - type: "list", - member: { - type: "structure", - required: ["VectorType"], - members: { - VectorType: {}, - VectorCounters: { shape: "Sv" }, - }, - }, - }, - Counters: { shape: "Sv" }, - }, - }, - }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - AttackCounters: { shape: "Sv" }, - AttackProperties: { - type: "list", - member: { - type: "structure", - members: { - AttackLayer: {}, - AttackPropertyIdentifier: {}, - TopContributors: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Value: { type: "long" } }, - }, - }, - Unit: {}, - Total: { type: "long" }, - }, - }, - }, - Mitigations: { - type: "list", - member: { - type: "structure", - members: { MitigationName: {} }, - }, - }, - }, - }, - }, - }, + ListJobs: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "jobs", }, - DescribeDRTAccess: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - RoleArn: {}, - LogBucketList: { type: "list", member: {} }, - }, - }, + ListOfferingTransactions: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "offeringTransactions", }, - DescribeEmergencyContactSettings: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { EmergencyContactList: { shape: "S1f" } }, - }, + ListOfferings: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "offerings", }, - DescribeProtection: { - input: { - type: "structure", - members: { ProtectionId: {}, ResourceArn: {} }, - }, - output: { - type: "structure", - members: { Protection: { shape: "S1k" } }, - }, + ListProjects: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "projects", }, - DescribeSubscription: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - Subscription: { - type: "structure", - members: { - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - TimeCommitmentInSeconds: { type: "long" }, - AutoRenew: {}, - Limits: { - type: "list", - member: { - type: "structure", - members: { Type: {}, Max: { type: "long" } }, - }, - }, - }, - }, - }, - }, + ListRuns: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "runs", }, - DisassociateDRTLogBucket: { - input: { - type: "structure", - required: ["LogBucket"], - members: { LogBucket: {} }, - }, - output: { type: "structure", members: {} }, + ListSamples: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "samples", }, - DisassociateDRTRole: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: {} }, + ListSuites: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "suites", }, - DisassociateHealthCheck: { - input: { - type: "structure", - required: ["ProtectionId", "HealthCheckArn"], - members: { ProtectionId: {}, HealthCheckArn: {} }, - }, - output: { type: "structure", members: {} }, + ListTestGridProjects: { + input_token: "nextToken", + limit_key: "maxResult", + output_token: "nextToken", }, - GetSubscriptionState: { - input: { type: "structure", members: {} }, - output: { - type: "structure", - required: ["SubscriptionState"], - members: { SubscriptionState: {} }, - }, + ListTestGridSessionActions: { + input_token: "nextToken", + limit_key: "maxResult", + output_token: "nextToken", }, - ListAttacks: { + ListTestGridSessionArtifacts: { + input_token: "nextToken", + limit_key: "maxResult", + output_token: "nextToken", + }, + ListTestGridSessions: { + input_token: "nextToken", + limit_key: "maxResult", + output_token: "nextToken", + }, + ListTests: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "tests", + }, + ListUniqueProblems: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "uniqueProblems", + }, + ListUploads: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "uploads", + }, + }, + }; + + /***/ + }, + + /***/ 2528: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2017-01-06", + endpointPrefix: "cur", + jsonVersion: "1.1", + protocol: "json", + serviceFullName: "AWS Cost and Usage Report Service", + serviceId: "Cost and Usage Report Service", + signatureVersion: "v4", + signingName: "cur", + targetPrefix: "AWSOrigamiServiceGatewayService", + uid: "cur-2017-01-06", + }, + operations: { + DeleteReportDefinition: { + input: { type: "structure", members: { ReportName: {} } }, + output: { type: "structure", members: { ResponseMessage: {} } }, + }, + DescribeReportDefinitions: { input: { type: "structure", - members: { - ResourceArns: { type: "list", member: {} }, - StartTime: { shape: "S26" }, - EndTime: { shape: "S26" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, + members: { MaxResults: { type: "integer" }, NextToken: {} }, }, output: { type: "structure", members: { - AttackSummaries: { - type: "list", - member: { - type: "structure", - members: { - AttackId: {}, - ResourceArn: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - AttackVectors: { - type: "list", - member: { - type: "structure", - required: ["VectorType"], - members: { VectorType: {} }, - }, - }, - }, - }, - }, + ReportDefinitions: { type: "list", member: { shape: "Sa" } }, NextToken: {}, }, }, }, - ListProtections: { + ModifyReportDefinition: { input: { type: "structure", - members: { NextToken: {}, MaxResults: { type: "integer" } }, - }, - output: { - type: "structure", - members: { - Protections: { type: "list", member: { shape: "S1k" } }, - NextToken: {}, - }, + required: ["ReportName", "ReportDefinition"], + members: { ReportName: {}, ReportDefinition: { shape: "Sa" } }, }, + output: { type: "structure", members: {} }, }, - UpdateEmergencyContactSettings: { + PutReportDefinition: { input: { type: "structure", - members: { EmergencyContactList: { shape: "S1f" } }, + required: ["ReportDefinition"], + members: { ReportDefinition: { shape: "Sa" } }, }, output: { type: "structure", members: {} }, }, - UpdateSubscription: { - input: { type: "structure", members: { AutoRenew: {} } }, - output: { type: "structure", members: {} }, - }, }, shapes: { - Sv: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - Max: { type: "double" }, - Average: { type: "double" }, - Sum: { type: "double" }, - N: { type: "integer" }, - Unit: {}, - }, - }, - }, - S1f: { - type: "list", - member: { - type: "structure", - required: ["EmailAddress"], - members: { EmailAddress: {} }, - }, - }, - S1k: { - type: "structure", - members: { - Id: {}, - Name: {}, - ResourceArn: {}, - HealthCheckIds: { type: "list", member: {} }, - }, - }, - S26: { + Sa: { type: "structure", + required: [ + "ReportName", + "TimeUnit", + "Format", + "Compression", + "AdditionalSchemaElements", + "S3Bucket", + "S3Prefix", + "S3Region", + ], members: { - FromInclusive: { type: "timestamp" }, - ToExclusive: { type: "timestamp" }, + ReportName: {}, + TimeUnit: {}, + Format: {}, + Compression: {}, + AdditionalSchemaElements: { type: "list", member: {} }, + S3Bucket: {}, + S3Prefix: {}, + S3Region: {}, + AdditionalArtifacts: { type: "list", member: {} }, + RefreshClosedReports: { type: "boolean" }, + ReportVersioning: {}, }, }, }, @@ -82626,6714 +88069,6026 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 2732: /***/ function (module) { + /***/ 2530: /***/ function (module, __unusedexports, __webpack_require__) { + "use strict"; + + var punycode = __webpack_require__(4213); + var mappingTable = __webpack_require__(6967); + + var PROCESSING_OPTIONS = { + TRANSITIONAL: 0, + NONTRANSITIONAL: 1, + }; + + function normalize(str) { + // fix bug in v8 + return str + .split("\u0000") + .map(function (s) { + return s.normalize("NFC"); + }) + .join("\u0000"); + } + + function findStatus(val) { + var start = 0; + var end = mappingTable.length - 1; + + while (start <= end) { + var mid = Math.floor((start + end) / 2); + + var target = mappingTable[mid]; + if (target[0][0] <= val && target[0][1] >= val) { + return target; + } else if (target[0][0] > val) { + end = mid - 1; + } else { + start = mid + 1; + } + } + + return null; + } + + var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; + + function countSymbols(string) { + return ( + // then get the length + string + // replace every surrogate pair with a BMP symbol + .replace(regexAstralSymbols, "_").length + ); + } + + function mapChars(domain_name, useSTD3, processing_option) { + var hasError = false; + var processed = ""; + + var len = countSymbols(domain_name); + for (var i = 0; i < len; ++i) { + var codePoint = domain_name.codePointAt(i); + var status = findStatus(codePoint); + + switch (status[1]) { + case "disallowed": + hasError = true; + processed += String.fromCodePoint(codePoint); + break; + case "ignored": + break; + case "mapped": + processed += String.fromCodePoint.apply(String, status[2]); + break; + case "deviation": + if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) { + processed += String.fromCodePoint.apply(String, status[2]); + } else { + processed += String.fromCodePoint(codePoint); + } + break; + case "valid": + processed += String.fromCodePoint(codePoint); + break; + case "disallowed_STD3_mapped": + if (useSTD3) { + hasError = true; + processed += String.fromCodePoint(codePoint); + } else { + processed += String.fromCodePoint.apply(String, status[2]); + } + break; + case "disallowed_STD3_valid": + if (useSTD3) { + hasError = true; + } + + processed += String.fromCodePoint(codePoint); + break; + } + } + + return { + string: processed, + error: hasError, + }; + } + + var combiningMarksRegex = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; + + function validateLabel(label, processing_option) { + if (label.substr(0, 4) === "xn--") { + label = punycode.toUnicode(label); + processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL; + } + + var error = false; + + if ( + normalize(label) !== label || + (label[3] === "-" && label[4] === "-") || + label[0] === "-" || + label[label.length - 1] === "-" || + label.indexOf(".") !== -1 || + label.search(combiningMarksRegex) === 0 + ) { + error = true; + } + + var len = countSymbols(label); + for (var i = 0; i < len; ++i) { + var status = findStatus(label.codePointAt(i)); + if ( + (processing === PROCESSING_OPTIONS.TRANSITIONAL && + status[1] !== "valid") || + (processing === PROCESSING_OPTIONS.NONTRANSITIONAL && + status[1] !== "valid" && + status[1] !== "deviation") + ) { + error = true; + break; + } + } + + return { + label: label, + error: error, + }; + } + + function processing(domain_name, useSTD3, processing_option) { + var result = mapChars(domain_name, useSTD3, processing_option); + result.string = normalize(result.string); + + var labels = result.string.split("."); + for (var i = 0; i < labels.length; ++i) { + try { + var validation = validateLabel(labels[i]); + labels[i] = validation.label; + result.error = result.error || validation.error; + } catch (e) { + result.error = true; + } + } + + return { + string: labels.join("."), + error: result.error, + }; + } + + module.exports.toASCII = function ( + domain_name, + useSTD3, + processing_option, + verifyDnsLength + ) { + var result = processing(domain_name, useSTD3, processing_option); + var labels = result.string.split("."); + labels = labels.map(function (l) { + try { + return punycode.toASCII(l); + } catch (e) { + result.error = true; + return l; + } + }); + + if (verifyDnsLength) { + var total = labels.slice(0, labels.length - 1).join(".").length; + if (total.length > 253 || total.length === 0) { + result.error = true; + } + + for (var i = 0; i < labels.length; ++i) { + if (labels.length > 63 || labels.length === 0) { + result.error = true; + break; + } + } + } + + if (result.error) return null; + return labels.join("."); + }; + + module.exports.toUnicode = function (domain_name, useSTD3) { + var result = processing( + domain_name, + useSTD3, + PROCESSING_OPTIONS.NONTRANSITIONAL + ); + + return { + domain: result.string, + error: result.error, + }; + }; + + module.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS; + + /***/ + }, + + /***/ 2533: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2015-10-07", - endpointPrefix: "events", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon CloudWatch Events", - serviceId: "CloudWatch Events", + apiVersion: "2015-07-09", + endpointPrefix: "apigateway", + protocol: "rest-json", + serviceFullName: "Amazon API Gateway", + serviceId: "API Gateway", signatureVersion: "v4", - targetPrefix: "AWSEvents", - uid: "events-2015-10-07", + uid: "apigateway-2015-07-09", }, operations: { - ActivateEventSource: { + CreateApiKey: { + http: { requestUri: "/apikeys", responseCode: 201 }, input: { type: "structure", - required: ["Name"], - members: { Name: {} }, + members: { + name: {}, + description: {}, + enabled: { type: "boolean" }, + generateDistinctId: { type: "boolean" }, + value: {}, + stageKeys: { + type: "list", + member: { + type: "structure", + members: { restApiId: {}, stageName: {} }, + }, + }, + customerId: {}, + tags: { shape: "S6" }, + }, }, + output: { shape: "S7" }, }, - CreateEventBus: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {}, EventSourceName: {}, Tags: { shape: "S5" } }, + CreateAuthorizer: { + http: { + requestUri: "/restapis/{restapi_id}/authorizers", + responseCode: 201, }, - output: { type: "structure", members: { EventBusArn: {} } }, - }, - CreatePartnerEventSource: { input: { type: "structure", - required: ["Name", "Account"], - members: { Name: {}, Account: {} }, + required: ["restApiId", "name", "type"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + name: {}, + type: {}, + providerARNs: { shape: "Sc" }, + authType: {}, + authorizerUri: {}, + authorizerCredentials: {}, + identitySource: {}, + identityValidationExpression: {}, + authorizerResultTtlInSeconds: { type: "integer" }, + }, }, - output: { type: "structure", members: { EventSourceArn: {} } }, + output: { shape: "Sf" }, }, - DeactivateEventSource: { - input: { - type: "structure", - required: ["Name"], - members: { Name: {} }, + CreateBasePathMapping: { + http: { + requestUri: "/domainnames/{domain_name}/basepathmappings", + responseCode: 201, }, - }, - DeleteEventBus: { input: { type: "structure", - required: ["Name"], - members: { Name: {} }, + required: ["domainName", "restApiId"], + members: { + domainName: { location: "uri", locationName: "domain_name" }, + basePath: {}, + restApiId: {}, + stage: {}, + }, }, + output: { shape: "Sh" }, }, - DeletePartnerEventSource: { - input: { - type: "structure", - required: ["Name", "Account"], - members: { Name: {}, Account: {} }, + CreateDeployment: { + http: { + requestUri: "/restapis/{restapi_id}/deployments", + responseCode: 201, }, - }, - DeleteRule: { input: { type: "structure", - required: ["Name"], + required: ["restApiId"], members: { - Name: {}, - EventBusName: {}, - Force: { type: "boolean" }, + restApiId: { location: "uri", locationName: "restapi_id" }, + stageName: {}, + stageDescription: {}, + description: {}, + cacheClusterEnabled: { type: "boolean" }, + cacheClusterSize: {}, + variables: { shape: "S6" }, + canarySettings: { + type: "structure", + members: { + percentTraffic: { type: "double" }, + stageVariableOverrides: { shape: "S6" }, + useStageCache: { type: "boolean" }, + }, + }, + tracingEnabled: { type: "boolean" }, }, }, + output: { shape: "Sn" }, }, - DescribeEventBus: { - input: { type: "structure", members: { Name: {} } }, - output: { - type: "structure", - members: { Name: {}, Arn: {}, Policy: {} }, + CreateDocumentationPart: { + http: { + requestUri: "/restapis/{restapi_id}/documentation/parts", + responseCode: 201, }, - }, - DescribeEventSource: { input: { type: "structure", - required: ["Name"], - members: { Name: {} }, - }, - output: { - type: "structure", + required: ["restApiId", "location", "properties"], members: { - Arn: {}, - CreatedBy: {}, - CreationTime: { type: "timestamp" }, - ExpirationTime: { type: "timestamp" }, - Name: {}, - State: {}, + restApiId: { location: "uri", locationName: "restapi_id" }, + location: { shape: "Ss" }, + properties: {}, }, }, + output: { shape: "Sv" }, }, - DescribePartnerEventSource: { + CreateDocumentationVersion: { + http: { + requestUri: "/restapis/{restapi_id}/documentation/versions", + responseCode: 201, + }, input: { type: "structure", - required: ["Name"], - members: { Name: {} }, + required: ["restApiId", "documentationVersion"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + documentationVersion: {}, + stageName: {}, + description: {}, + }, }, - output: { type: "structure", members: { Arn: {}, Name: {} } }, + output: { shape: "Sx" }, }, - DescribeRule: { + CreateDomainName: { + http: { requestUri: "/domainnames", responseCode: 201 }, input: { type: "structure", - required: ["Name"], - members: { Name: {}, EventBusName: {} }, - }, - output: { - type: "structure", + required: ["domainName"], members: { - Name: {}, - Arn: {}, - EventPattern: {}, - ScheduleExpression: {}, - State: {}, - Description: {}, - RoleArn: {}, - ManagedBy: {}, - EventBusName: {}, + domainName: {}, + certificateName: {}, + certificateBody: {}, + certificatePrivateKey: {}, + certificateChain: {}, + certificateArn: {}, + regionalCertificateName: {}, + regionalCertificateArn: {}, + endpointConfiguration: { shape: "Sz" }, + tags: { shape: "S6" }, + securityPolicy: {}, + mutualTlsAuthentication: { + type: "structure", + members: { truststoreUri: {}, truststoreVersion: {} }, + }, }, }, + output: { shape: "S14" }, }, - DisableRule: { + CreateModel: { + http: { + requestUri: "/restapis/{restapi_id}/models", + responseCode: 201, + }, input: { type: "structure", - required: ["Name"], - members: { Name: {}, EventBusName: {} }, + required: ["restApiId", "name", "contentType"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + name: {}, + description: {}, + schema: {}, + contentType: {}, + }, }, + output: { shape: "S18" }, }, - EnableRule: { + CreateRequestValidator: { + http: { + requestUri: "/restapis/{restapi_id}/requestvalidators", + responseCode: 201, + }, input: { type: "structure", - required: ["Name"], - members: { Name: {}, EventBusName: {} }, + required: ["restApiId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + name: {}, + validateRequestBody: { type: "boolean" }, + validateRequestParameters: { type: "boolean" }, + }, }, + output: { shape: "S1a" }, }, - ListEventBuses: { + CreateResource: { + http: { + requestUri: "/restapis/{restapi_id}/resources/{parent_id}", + responseCode: 201, + }, input: { type: "structure", + required: ["restApiId", "parentId", "pathPart"], members: { - NamePrefix: {}, - NextToken: {}, - Limit: { type: "integer" }, + restApiId: { location: "uri", locationName: "restapi_id" }, + parentId: { location: "uri", locationName: "parent_id" }, + pathPart: {}, }, }, - output: { + output: { shape: "S1c" }, + }, + CreateRestApi: { + http: { requestUri: "/restapis", responseCode: 201 }, + input: { type: "structure", + required: ["name"], members: { - EventBuses: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Arn: {}, Policy: {} }, - }, - }, - NextToken: {}, + name: {}, + description: {}, + version: {}, + cloneFrom: {}, + binaryMediaTypes: { shape: "S9" }, + minimumCompressionSize: { type: "integer" }, + apiKeySource: {}, + endpointConfiguration: { shape: "Sz" }, + policy: {}, + tags: { shape: "S6" }, + disableExecuteApiEndpoint: { type: "boolean" }, }, }, + output: { shape: "S1t" }, }, - ListEventSources: { + CreateStage: { + http: { + requestUri: "/restapis/{restapi_id}/stages", + responseCode: 201, + }, input: { type: "structure", + required: ["restApiId", "stageName", "deploymentId"], members: { - NamePrefix: {}, - NextToken: {}, - Limit: { type: "integer" }, + restApiId: { location: "uri", locationName: "restapi_id" }, + stageName: {}, + deploymentId: {}, + description: {}, + cacheClusterEnabled: { type: "boolean" }, + cacheClusterSize: {}, + variables: { shape: "S6" }, + documentationVersion: {}, + canarySettings: { shape: "S1v" }, + tracingEnabled: { type: "boolean" }, + tags: { shape: "S6" }, }, }, - output: { + output: { shape: "S1w" }, + }, + CreateUsagePlan: { + http: { requestUri: "/usageplans", responseCode: 201 }, + input: { type: "structure", + required: ["name"], members: { - EventSources: { - type: "list", - member: { - type: "structure", - members: { - Arn: {}, - CreatedBy: {}, - CreationTime: { type: "timestamp" }, - ExpirationTime: { type: "timestamp" }, - Name: {}, - State: {}, - }, - }, - }, - NextToken: {}, + name: {}, + description: {}, + apiStages: { shape: "S23" }, + throttle: { shape: "S26" }, + quota: { shape: "S27" }, + tags: { shape: "S6" }, }, }, + output: { shape: "S29" }, }, - ListPartnerEventSourceAccounts: { + CreateUsagePlanKey: { + http: { + requestUri: "/usageplans/{usageplanId}/keys", + responseCode: 201, + }, input: { type: "structure", - required: ["EventSourceName"], + required: ["usagePlanId", "keyId", "keyType"], members: { - EventSourceName: {}, - NextToken: {}, - Limit: { type: "integer" }, + usagePlanId: { location: "uri", locationName: "usageplanId" }, + keyId: {}, + keyType: {}, }, }, - output: { + output: { shape: "S2b" }, + }, + CreateVpcLink: { + http: { requestUri: "/vpclinks", responseCode: 202 }, + input: { type: "structure", + required: ["name", "targetArns"], members: { - PartnerEventSourceAccounts: { - type: "list", - member: { - type: "structure", - members: { - Account: {}, - CreationTime: { type: "timestamp" }, - ExpirationTime: { type: "timestamp" }, - State: {}, - }, - }, - }, - NextToken: {}, + name: {}, + description: {}, + targetArns: { shape: "S9" }, + tags: { shape: "S6" }, }, }, + output: { shape: "S2d" }, }, - ListPartnerEventSources: { + DeleteApiKey: { + http: { + method: "DELETE", + requestUri: "/apikeys/{api_Key}", + responseCode: 202, + }, input: { type: "structure", - required: ["NamePrefix"], - members: { - NamePrefix: {}, - NextToken: {}, - Limit: { type: "integer" }, - }, + required: ["apiKey"], + members: { apiKey: { location: "uri", locationName: "api_Key" } }, }, - output: { + }, + DeleteAuthorizer: { + http: { + method: "DELETE", + requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", + responseCode: 202, + }, + input: { type: "structure", + required: ["restApiId", "authorizerId"], members: { - PartnerEventSources: { - type: "list", - member: { type: "structure", members: { Arn: {}, Name: {} } }, + restApiId: { location: "uri", locationName: "restapi_id" }, + authorizerId: { + location: "uri", + locationName: "authorizer_id", }, - NextToken: {}, }, }, }, - ListRuleNamesByTarget: { + DeleteBasePathMapping: { + http: { + method: "DELETE", + requestUri: + "/domainnames/{domain_name}/basepathmappings/{base_path}", + responseCode: 202, + }, input: { type: "structure", - required: ["TargetArn"], + required: ["domainName", "basePath"], members: { - TargetArn: {}, - EventBusName: {}, - NextToken: {}, - Limit: { type: "integer" }, + domainName: { location: "uri", locationName: "domain_name" }, + basePath: { location: "uri", locationName: "base_path" }, }, }, - output: { + }, + DeleteClientCertificate: { + http: { + method: "DELETE", + requestUri: "/clientcertificates/{clientcertificate_id}", + responseCode: 202, + }, + input: { type: "structure", + required: ["clientCertificateId"], members: { - RuleNames: { type: "list", member: {} }, - NextToken: {}, + clientCertificateId: { + location: "uri", + locationName: "clientcertificate_id", + }, }, }, }, - ListRules: { + DeleteDeployment: { + http: { + method: "DELETE", + requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}", + responseCode: 202, + }, input: { type: "structure", + required: ["restApiId", "deploymentId"], members: { - NamePrefix: {}, - EventBusName: {}, - NextToken: {}, - Limit: { type: "integer" }, + restApiId: { location: "uri", locationName: "restapi_id" }, + deploymentId: { + location: "uri", + locationName: "deployment_id", + }, }, }, - output: { + }, + DeleteDocumentationPart: { + http: { + method: "DELETE", + requestUri: + "/restapis/{restapi_id}/documentation/parts/{part_id}", + responseCode: 202, + }, + input: { type: "structure", + required: ["restApiId", "documentationPartId"], members: { - Rules: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - Arn: {}, - EventPattern: {}, - State: {}, - Description: {}, - ScheduleExpression: {}, - RoleArn: {}, - ManagedBy: {}, - EventBusName: {}, - }, - }, + restApiId: { location: "uri", locationName: "restapi_id" }, + documentationPartId: { + location: "uri", + locationName: "part_id", }, - NextToken: {}, }, }, }, - ListTagsForResource: { + DeleteDocumentationVersion: { + http: { + method: "DELETE", + requestUri: + "/restapis/{restapi_id}/documentation/versions/{doc_version}", + responseCode: 202, + }, input: { type: "structure", - required: ["ResourceARN"], - members: { ResourceARN: {} }, + required: ["restApiId", "documentationVersion"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + documentationVersion: { + location: "uri", + locationName: "doc_version", + }, + }, }, - output: { type: "structure", members: { Tags: { shape: "S5" } } }, }, - ListTargetsByRule: { + DeleteDomainName: { + http: { + method: "DELETE", + requestUri: "/domainnames/{domain_name}", + responseCode: 202, + }, input: { type: "structure", - required: ["Rule"], + required: ["domainName"], members: { - Rule: {}, - EventBusName: {}, - NextToken: {}, - Limit: { type: "integer" }, + domainName: { location: "uri", locationName: "domain_name" }, }, }, - output: { + }, + DeleteGatewayResponse: { + http: { + method: "DELETE", + requestUri: + "/restapis/{restapi_id}/gatewayresponses/{response_type}", + responseCode: 202, + }, + input: { type: "structure", - members: { Targets: { shape: "S20" }, NextToken: {} }, + required: ["restApiId", "responseType"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + responseType: { + location: "uri", + locationName: "response_type", + }, + }, }, }, - PutEvents: { + DeleteIntegration: { + http: { + method: "DELETE", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", + responseCode: 204, + }, input: { type: "structure", - required: ["Entries"], + required: ["restApiId", "resourceId", "httpMethod"], members: { - Entries: { - type: "list", - member: { - type: "structure", - members: { - Time: { type: "timestamp" }, - Source: {}, - Resources: { shape: "S2y" }, - DetailType: {}, - Detail: {}, - EventBusName: {}, - }, - }, + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + }, + }, + }, + DeleteIntegrationResponse: { + http: { + method: "DELETE", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", + responseCode: 204, + }, + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod", "statusCode"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + statusCode: { location: "uri", locationName: "status_code" }, + }, + }, + }, + DeleteMethod: { + http: { + method: "DELETE", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", + responseCode: 204, + }, + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + }, + }, + }, + DeleteMethodResponse: { + http: { + method: "DELETE", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", + responseCode: 204, + }, + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod", "statusCode"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + statusCode: { location: "uri", locationName: "status_code" }, + }, + }, + }, + DeleteModel: { + http: { + method: "DELETE", + requestUri: "/restapis/{restapi_id}/models/{model_name}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["restApiId", "modelName"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + modelName: { location: "uri", locationName: "model_name" }, + }, + }, + }, + DeleteRequestValidator: { + http: { + method: "DELETE", + requestUri: + "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["restApiId", "requestValidatorId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + requestValidatorId: { + location: "uri", + locationName: "requestvalidator_id", + }, + }, + }, + }, + DeleteResource: { + http: { + method: "DELETE", + requestUri: "/restapis/{restapi_id}/resources/{resource_id}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["restApiId", "resourceId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + }, + }, + }, + DeleteRestApi: { + http: { + method: "DELETE", + requestUri: "/restapis/{restapi_id}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["restApiId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + }, + }, + }, + DeleteStage: { + http: { + method: "DELETE", + requestUri: "/restapis/{restapi_id}/stages/{stage_name}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["restApiId", "stageName"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + stageName: { location: "uri", locationName: "stage_name" }, + }, + }, + }, + DeleteUsagePlan: { + http: { + method: "DELETE", + requestUri: "/usageplans/{usageplanId}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["usagePlanId"], + members: { + usagePlanId: { location: "uri", locationName: "usageplanId" }, + }, + }, + }, + DeleteUsagePlanKey: { + http: { + method: "DELETE", + requestUri: "/usageplans/{usageplanId}/keys/{keyId}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["usagePlanId", "keyId"], + members: { + usagePlanId: { location: "uri", locationName: "usageplanId" }, + keyId: { location: "uri", locationName: "keyId" }, + }, + }, + }, + DeleteVpcLink: { + http: { + method: "DELETE", + requestUri: "/vpclinks/{vpclink_id}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["vpcLinkId"], + members: { + vpcLinkId: { location: "uri", locationName: "vpclink_id" }, + }, + }, + }, + FlushStageAuthorizersCache: { + http: { + method: "DELETE", + requestUri: + "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers", + responseCode: 202, + }, + input: { + type: "structure", + required: ["restApiId", "stageName"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + stageName: { location: "uri", locationName: "stage_name" }, + }, + }, + }, + FlushStageCache: { + http: { + method: "DELETE", + requestUri: + "/restapis/{restapi_id}/stages/{stage_name}/cache/data", + responseCode: 202, + }, + input: { + type: "structure", + required: ["restApiId", "stageName"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + stageName: { location: "uri", locationName: "stage_name" }, + }, + }, + }, + GenerateClientCertificate: { + http: { requestUri: "/clientcertificates", responseCode: 201 }, + input: { + type: "structure", + members: { description: {}, tags: { shape: "S6" } }, + }, + output: { shape: "S34" }, + }, + GetAccount: { + http: { method: "GET", requestUri: "/account" }, + input: { type: "structure", members: {} }, + output: { shape: "S36" }, + }, + GetApiKey: { + http: { method: "GET", requestUri: "/apikeys/{api_Key}" }, + input: { + type: "structure", + required: ["apiKey"], + members: { + apiKey: { location: "uri", locationName: "api_Key" }, + includeValue: { + location: "querystring", + locationName: "includeValue", + type: "boolean", + }, + }, + }, + output: { shape: "S7" }, + }, + GetApiKeys: { + http: { method: "GET", requestUri: "/apikeys" }, + input: { + type: "structure", + members: { + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + nameQuery: { location: "querystring", locationName: "name" }, + customerId: { + location: "querystring", + locationName: "customerId", + }, + includeValues: { + location: "querystring", + locationName: "includeValues", + type: "boolean", }, }, }, output: { type: "structure", members: { - FailedEntryCount: { type: "integer" }, - Entries: { + warnings: { shape: "S9" }, + position: {}, + items: { + locationName: "item", type: "list", - member: { - type: "structure", - members: { EventId: {}, ErrorCode: {}, ErrorMessage: {} }, - }, + member: { shape: "S7" }, }, }, }, }, - PutPartnerEvents: { + GetAuthorizer: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", + }, input: { type: "structure", - required: ["Entries"], + required: ["restApiId", "authorizerId"], members: { - Entries: { - type: "list", - member: { - type: "structure", - members: { - Time: { type: "timestamp" }, - Source: {}, - Resources: { shape: "S2y" }, - DetailType: {}, - Detail: {}, - }, - }, + restApiId: { location: "uri", locationName: "restapi_id" }, + authorizerId: { + location: "uri", + locationName: "authorizer_id", + }, + }, + }, + output: { shape: "Sf" }, + }, + GetAuthorizers: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/authorizers", + }, + input: { + type: "structure", + required: ["restApiId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", }, }, }, output: { type: "structure", members: { - FailedEntryCount: { type: "integer" }, - Entries: { + position: {}, + items: { + locationName: "item", type: "list", - member: { - type: "structure", - members: { EventId: {}, ErrorCode: {}, ErrorMessage: {} }, - }, + member: { shape: "Sf" }, }, }, }, }, - PutPermission: { + GetBasePathMapping: { + http: { + method: "GET", + requestUri: + "/domainnames/{domain_name}/basepathmappings/{base_path}", + }, input: { type: "structure", - required: ["Action", "Principal", "StatementId"], + required: ["domainName", "basePath"], members: { - EventBusName: {}, - Action: {}, - Principal: {}, - StatementId: {}, - Condition: { - type: "structure", - required: ["Type", "Key", "Value"], - members: { Type: {}, Key: {}, Value: {} }, + domainName: { location: "uri", locationName: "domain_name" }, + basePath: { location: "uri", locationName: "base_path" }, + }, + }, + output: { shape: "Sh" }, + }, + GetBasePathMappings: { + http: { + method: "GET", + requestUri: "/domainnames/{domain_name}/basepathmappings", + }, + input: { + type: "structure", + required: ["domainName"], + members: { + domainName: { location: "uri", locationName: "domain_name" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "Sh" }, }, }, }, }, - PutRule: { + GetClientCertificate: { + http: { + method: "GET", + requestUri: "/clientcertificates/{clientcertificate_id}", + }, input: { type: "structure", - required: ["Name"], + required: ["clientCertificateId"], members: { - Name: {}, - ScheduleExpression: {}, - EventPattern: {}, - State: {}, - Description: {}, - RoleArn: {}, - Tags: { shape: "S5" }, - EventBusName: {}, + clientCertificateId: { + location: "uri", + locationName: "clientcertificate_id", + }, }, }, - output: { type: "structure", members: { RuleArn: {} } }, + output: { shape: "S34" }, }, - PutTargets: { + GetClientCertificates: { + http: { method: "GET", requestUri: "/clientcertificates" }, input: { type: "structure", - required: ["Rule", "Targets"], members: { - Rule: {}, - EventBusName: {}, - Targets: { shape: "S20" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, }, }, output: { type: "structure", members: { - FailedEntryCount: { type: "integer" }, - FailedEntries: { + position: {}, + items: { + locationName: "item", type: "list", - member: { - type: "structure", - members: { TargetId: {}, ErrorCode: {}, ErrorMessage: {} }, - }, + member: { shape: "S34" }, }, }, }, }, - RemovePermission: { + GetDeployment: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}", + }, input: { type: "structure", - required: ["StatementId"], - members: { StatementId: {}, EventBusName: {} }, + required: ["restApiId", "deploymentId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + deploymentId: { + location: "uri", + locationName: "deployment_id", + }, + embed: { + shape: "S9", + location: "querystring", + locationName: "embed", + }, + }, }, + output: { shape: "Sn" }, }, - RemoveTargets: { + GetDeployments: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/deployments", + }, input: { type: "structure", - required: ["Rule", "Ids"], + required: ["restApiId"], members: { - Rule: {}, - EventBusName: {}, - Ids: { type: "list", member: {} }, - Force: { type: "boolean" }, + restApiId: { location: "uri", locationName: "restapi_id" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, }, }, output: { type: "structure", members: { - FailedEntryCount: { type: "integer" }, - FailedEntries: { + position: {}, + items: { + locationName: "item", type: "list", - member: { - type: "structure", - members: { TargetId: {}, ErrorCode: {}, ErrorMessage: {} }, - }, + member: { shape: "Sn" }, }, }, }, }, - TagResource: { + GetDocumentationPart: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/documentation/parts/{part_id}", + }, input: { type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S5" } }, + required: ["restApiId", "documentationPartId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + documentationPartId: { + location: "uri", + locationName: "part_id", + }, + }, }, - output: { type: "structure", members: {} }, + output: { shape: "Sv" }, }, - TestEventPattern: { + GetDocumentationParts: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/documentation/parts", + }, input: { type: "structure", - required: ["EventPattern", "Event"], - members: { EventPattern: {}, Event: {} }, + required: ["restApiId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + type: { location: "querystring", locationName: "type" }, + nameQuery: { location: "querystring", locationName: "name" }, + path: { location: "querystring", locationName: "path" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + locationStatus: { + location: "querystring", + locationName: "locationStatus", + }, + }, }, output: { type: "structure", - members: { Result: { type: "boolean" } }, + members: { + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "Sv" }, + }, + }, }, }, - UntagResource: { + GetDocumentationVersion: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/documentation/versions/{doc_version}", + }, input: { type: "structure", - required: ["ResourceARN", "TagKeys"], + required: ["restApiId", "documentationVersion"], members: { - ResourceARN: {}, - TagKeys: { type: "list", member: {} }, + restApiId: { location: "uri", locationName: "restapi_id" }, + documentationVersion: { + location: "uri", + locationName: "doc_version", + }, }, }, - output: { type: "structure", members: {} }, + output: { shape: "Sx" }, }, - }, - shapes: { - S5: { - type: "list", - member: { + GetDocumentationVersions: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/documentation/versions", + }, + input: { type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, + required: ["restApiId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "Sx" }, + }, + }, }, }, - S20: { - type: "list", - member: { + GetDomainName: { + http: { method: "GET", requestUri: "/domainnames/{domain_name}" }, + input: { type: "structure", - required: ["Id", "Arn"], + required: ["domainName"], members: { - Id: {}, - Arn: {}, - RoleArn: {}, - Input: {}, - InputPath: {}, - InputTransformer: { - type: "structure", - required: ["InputTemplate"], - members: { - InputPathsMap: { type: "map", key: {}, value: {} }, - InputTemplate: {}, - }, + domainName: { location: "uri", locationName: "domain_name" }, + }, + }, + output: { shape: "S14" }, + }, + GetDomainNames: { + http: { method: "GET", requestUri: "/domainnames" }, + input: { + type: "structure", + members: { + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", }, - KinesisParameters: { - type: "structure", - required: ["PartitionKeyPath"], - members: { PartitionKeyPath: {} }, + }, + }, + output: { + type: "structure", + members: { + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "S14" }, }, - RunCommandParameters: { - type: "structure", - required: ["RunCommandTargets"], - members: { - RunCommandTargets: { - type: "list", - member: { - type: "structure", - required: ["Key", "Values"], - members: { - Key: {}, - Values: { type: "list", member: {} }, - }, - }, - }, - }, + }, + }, + }, + GetExport: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}", + responseCode: 200, + }, + input: { + type: "structure", + required: ["restApiId", "stageName", "exportType"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + stageName: { location: "uri", locationName: "stage_name" }, + exportType: { location: "uri", locationName: "export_type" }, + parameters: { shape: "S6", location: "querystring" }, + accepts: { location: "header", locationName: "Accept" }, + }, + }, + output: { + type: "structure", + members: { + contentType: { + location: "header", + locationName: "Content-Type", }, - EcsParameters: { - type: "structure", - required: ["TaskDefinitionArn"], - members: { - TaskDefinitionArn: {}, - TaskCount: { type: "integer" }, - LaunchType: {}, - NetworkConfiguration: { - type: "structure", - members: { - awsvpcConfiguration: { - type: "structure", - required: ["Subnets"], - members: { - Subnets: { shape: "S2m" }, - SecurityGroups: { shape: "S2m" }, - AssignPublicIp: {}, - }, - }, - }, - }, - PlatformVersion: {}, - Group: {}, - }, + contentDisposition: { + location: "header", + locationName: "Content-Disposition", }, - BatchParameters: { - type: "structure", - required: ["JobDefinition", "JobName"], - members: { - JobDefinition: {}, - JobName: {}, - ArrayProperties: { - type: "structure", - members: { Size: { type: "integer" } }, - }, - RetryStrategy: { - type: "structure", - members: { Attempts: { type: "integer" } }, - }, - }, + body: { type: "blob" }, + }, + payload: "body", + }, + }, + GetGatewayResponse: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/gatewayresponses/{response_type}", + }, + input: { + type: "structure", + required: ["restApiId", "responseType"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + responseType: { + location: "uri", + locationName: "response_type", }, - SqsParameters: { - type: "structure", - members: { MessageGroupId: {} }, + }, + }, + output: { shape: "S48" }, + }, + GetGatewayResponses: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/gatewayresponses", + }, + input: { + type: "structure", + required: ["restApiId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "S48" }, }, }, }, }, - S2m: { type: "list", member: {} }, - S2y: { type: "list", member: {} }, - }, - }; - - /***/ - }, - - /***/ 2747: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["sagemakerruntime"] = {}; - AWS.SageMakerRuntime = Service.defineService("sagemakerruntime", [ - "2017-05-13", - ]); - Object.defineProperty( - apiLoader.services["sagemakerruntime"], - "2017-05-13", - { - get: function get() { - var model = __webpack_require__(3387); - model.paginators = __webpack_require__(9239).pagination; - return model; + GetIntegration: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", + }, + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + }, + }, + output: { shape: "S1j" }, }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.SageMakerRuntime; - - /***/ - }, - - /***/ 2750: /***/ function (module, __unusedexports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLCData, - XMLComment, - XMLDTDAttList, - XMLDTDElement, - XMLDTDEntity, - XMLDTDNotation, - XMLDeclaration, - XMLDocType, - XMLElement, - XMLProcessingInstruction, - XMLRaw, - XMLStringWriter, - XMLText, - XMLWriterBase, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; + GetIntegrationResponse: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", + }, + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod", "statusCode"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + statusCode: { location: "uri", locationName: "status_code" }, + }, + }, + output: { shape: "S1p" }, }, - hasProp = {}.hasOwnProperty; - - XMLDeclaration = __webpack_require__(7738); - - XMLDocType = __webpack_require__(5735); - - XMLCData = __webpack_require__(9657); - - XMLComment = __webpack_require__(7919); - - XMLElement = __webpack_require__(5796); - - XMLRaw = __webpack_require__(7660); - - XMLText = __webpack_require__(9708); - - XMLProcessingInstruction = __webpack_require__(2491); - - XMLDTDAttList = __webpack_require__(3801); - - XMLDTDElement = __webpack_require__(9463); - - XMLDTDEntity = __webpack_require__(7661); - - XMLDTDNotation = __webpack_require__(9019); - - XMLWriterBase = __webpack_require__(9423); - - module.exports = XMLStringWriter = (function (superClass) { - extend(XMLStringWriter, superClass); - - function XMLStringWriter(options) { - XMLStringWriter.__super__.constructor.call(this, options); - } - - XMLStringWriter.prototype.document = function (doc) { - var child, i, len, r, ref; - this.textispresent = false; - r = ""; - ref = doc.children; - for (i = 0, len = ref.length; i < len; i++) { - child = ref[i]; - r += function () { - switch (false) { - case !(child instanceof XMLDeclaration): - return this.declaration(child); - case !(child instanceof XMLDocType): - return this.docType(child); - case !(child instanceof XMLComment): - return this.comment(child); - case !(child instanceof XMLProcessingInstruction): - return this.processingInstruction(child); - default: - return this.element(child, 0); - } - }.call(this); - } - if (this.pretty && r.slice(-this.newline.length) === this.newline) { - r = r.slice(0, -this.newline.length); - } - return r; - }; - - XMLStringWriter.prototype.attribute = function (att) { - return " " + att.name + '="' + att.value + '"'; - }; - - XMLStringWriter.prototype.cdata = function (node, level) { - return ( - this.space(level) + "" + this.newline - ); - }; - - XMLStringWriter.prototype.comment = function (node, level) { - return ( - this.space(level) + "" + this.newline - ); - }; - - XMLStringWriter.prototype.declaration = function (node, level) { - var r; - r = this.space(level); - r += '"; - r += this.newline; - return r; - }; - - XMLStringWriter.prototype.docType = function (node, level) { - var child, i, len, r, ref; - level || (level = 0); - r = this.space(level); - r += " 0) { - r += " ["; - r += this.newline; - ref = node.children; - for (i = 0, len = ref.length; i < len; i++) { - child = ref[i]; - r += function () { - switch (false) { - case !(child instanceof XMLDTDAttList): - return this.dtdAttList(child, level + 1); - case !(child instanceof XMLDTDElement): - return this.dtdElement(child, level + 1); - case !(child instanceof XMLDTDEntity): - return this.dtdEntity(child, level + 1); - case !(child instanceof XMLDTDNotation): - return this.dtdNotation(child, level + 1); - case !(child instanceof XMLCData): - return this.cdata(child, level + 1); - case !(child instanceof XMLComment): - return this.comment(child, level + 1); - case !(child instanceof XMLProcessingInstruction): - return this.processingInstruction(child, level + 1); - default: - throw new Error( - "Unknown DTD node type: " + child.constructor.name - ); - } - }.call(this); - } - r += "]"; - } - r += this.spacebeforeslash + ">"; - r += this.newline; - return r; - }; - - XMLStringWriter.prototype.element = function (node, level) { - var att, - child, - i, - j, - len, - len1, - name, - r, - ref, - ref1, - ref2, - space, - textispresentwasset; - level || (level = 0); - textispresentwasset = false; - if (this.textispresent) { - this.newline = ""; - this.pretty = false; - } else { - this.newline = this.newlinedefault; - this.pretty = this.prettydefault; - } - space = this.space(level); - r = ""; - r += space + "<" + node.name; - ref = node.attributes; - for (name in ref) { - if (!hasProp.call(ref, name)) continue; - att = ref[name]; - r += this.attribute(att); - } - if ( - node.children.length === 0 || - node.children.every(function (e) { - return e.value === ""; - }) - ) { - if (this.allowEmpty) { - r += ">" + this.newline; - } else { - r += this.spacebeforeslash + "/>" + this.newline; - } - } else if ( - this.pretty && - node.children.length === 1 && - node.children[0].value != null - ) { - r += ">"; - r += node.children[0].value; - r += "" + this.newline; - } else { - if (this.dontprettytextnodes) { - ref1 = node.children; - for (i = 0, len = ref1.length; i < len; i++) { - child = ref1[i]; - if (child.value != null) { - this.textispresent++; - textispresentwasset = true; - break; - } - } - } - if (this.textispresent) { - this.newline = ""; - this.pretty = false; - space = this.space(level); - } - r += ">" + this.newline; - ref2 = node.children; - for (j = 0, len1 = ref2.length; j < len1; j++) { - child = ref2[j]; - r += function () { - switch (false) { - case !(child instanceof XMLCData): - return this.cdata(child, level + 1); - case !(child instanceof XMLComment): - return this.comment(child, level + 1); - case !(child instanceof XMLElement): - return this.element(child, level + 1); - case !(child instanceof XMLRaw): - return this.raw(child, level + 1); - case !(child instanceof XMLText): - return this.text(child, level + 1); - case !(child instanceof XMLProcessingInstruction): - return this.processingInstruction(child, level + 1); - default: - throw new Error( - "Unknown XML node type: " + child.constructor.name - ); - } - }.call(this); - } - if (textispresentwasset) { - this.textispresent--; - } - if (!this.textispresent) { - this.newline = this.newlinedefault; - this.pretty = this.prettydefault; - } - r += space + "" + this.newline; - } - return r; - }; - - XMLStringWriter.prototype.processingInstruction = function ( - node, - level - ) { - var r; - r = this.space(level) + "" + this.newline; - return r; - }; - - XMLStringWriter.prototype.raw = function (node, level) { - return this.space(level) + node.value + this.newline; - }; - - XMLStringWriter.prototype.text = function (node, level) { - return this.space(level) + node.value + this.newline; - }; - - XMLStringWriter.prototype.dtdAttList = function (node, level) { - var r; - r = - this.space(level) + - "" + this.newline; - return r; - }; - - XMLStringWriter.prototype.dtdElement = function (node, level) { - return ( - this.space(level) + - "" + - this.newline - ); - }; - - XMLStringWriter.prototype.dtdEntity = function (node, level) { - var r; - r = this.space(level) + "" + this.newline; - return r; - }; - - XMLStringWriter.prototype.dtdNotation = function (node, level) { - var r; - r = this.space(level) + "" + this.newline; - return r; - }; - - XMLStringWriter.prototype.openNode = function (node, level) { - var att, name, r, ref; - level || (level = 0); - if (node instanceof XMLElement) { - r = this.space(level) + "<" + node.name; - ref = node.attributes; - for (name in ref) { - if (!hasProp.call(ref, name)) continue; - att = ref[name]; - r += this.attribute(att); - } - r += (node.children ? ">" : "/>") + this.newline; - return r; - } else { - r = this.space(level) + "") + this.newline; - return r; - } - }; - - XMLStringWriter.prototype.closeNode = function (node, level) { - level || (level = 0); - switch (false) { - case !(node instanceof XMLElement): - return ( - this.space(level) + "" + this.newline - ); - case !(node instanceof XMLDocType): - return this.space(level) + "]>" + this.newline; - } - }; - - return XMLStringWriter; - })(XMLWriterBase); - }.call(this)); - - /***/ - }, - - /***/ 2751: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - __webpack_require__(3711); - var inherit = AWS.util.inherit; - - /** - * Represents a metadata service available on EC2 instances. Using the - * {request} method, you can receieve metadata about any available resource - * on the metadata service. - * - * You can disable the use of the IMDS by setting the AWS_EC2_METADATA_DISABLED - * environment variable to a truthy value. - * - * @!attribute [r] httpOptions - * @return [map] a map of options to pass to the underlying HTTP request: - * - * * **timeout** (Number) — a timeout value in milliseconds to wait - * before aborting the connection. Set to 0 for no timeout. - * - * @!macro nobrowser - */ - AWS.MetadataService = inherit({ - /** - * @return [String] the hostname of the instance metadata service - */ - host: "169.254.169.254", - - /** - * @!ignore - */ - - /** - * Default HTTP options. By default, the metadata service is set to not - * timeout on long requests. This means that on non-EC2 machines, this - * request will never return. If you are calling this operation from an - * environment that may not always run on EC2, set a `timeout` value so - * the SDK will abort the request after a given number of milliseconds. - */ - httpOptions: { timeout: 0 }, - - /** - * when enabled, metadata service will not fetch token - */ - disableFetchToken: false, - - /** - * Creates a new MetadataService object with a given set of options. - * - * @option options host [String] the hostname of the instance metadata - * service - * @option options httpOptions [map] a map of options to pass to the - * underlying HTTP request: - * - * * **timeout** (Number) — a timeout value in milliseconds to wait - * before aborting the connection. Set to 0 for no timeout. - * @option options maxRetries [Integer] the maximum number of retries to - * perform for timeout errors - * @option options retryDelayOptions [map] A set of options to configure the - * retry delay on retryable errors. See AWS.Config for details. - */ - constructor: function MetadataService(options) { - AWS.util.update(this, options); - }, - - /** - * Sends a request to the instance metadata service for a given resource. - * - * @param path [String] the path of the resource to get - * - * @param options [map] an optional map used to make request - * - * * **method** (String) — HTTP request method - * - * * **headers** (map) — a map of response header keys and their respective values - * - * @callback callback function(err, data) - * Called when a response is available from the service. - * @param err [Error, null] if an error occurred, this value will be set - * @param data [String, null] if the request was successful, the body of - * the response - */ - request: function request(path, options, callback) { - if (arguments.length === 2) { - callback = options; - options = {}; - } - - if (process.env[AWS.util.imdsDisabledEnv]) { - callback( - new Error("EC2 Instance Metadata Service access disabled") - ); - return; - } - - path = path || "/"; - var httpRequest = new AWS.HttpRequest("http://" + this.host + path); - httpRequest.method = options.method || "GET"; - if (options.headers) { - httpRequest.headers = options.headers; - } - AWS.util.handleRequestWithRetries(httpRequest, this, callback); - }, - - /** - * @api private - */ - loadCredentialsCallbacks: [], - - /** - * Fetches metadata token used for getting credentials - * - * @api private - * @callback callback function(err, token) - * Called when token is loaded from the resource - */ - fetchMetadataToken: function fetchMetadataToken(callback) { - var self = this; - var tokenFetchPath = "/latest/api/token"; - self.request( - tokenFetchPath, - { - method: "PUT", - headers: { - "x-aws-ec2-metadata-token-ttl-seconds": "21600", - }, + GetMethod: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", }, - callback - ); - }, - - /** - * Fetches credentials - * - * @api private - * @callback cb function(err, creds) - * Called when credentials are loaded from the resource - */ - fetchCredentials: function fetchCredentials(options, cb) { - var self = this; - var basePath = "/latest/meta-data/iam/security-credentials/"; - - self.request(basePath, options, function (err, roleName) { - if (err) { - self.disableFetchToken = !(err.statusCode === 401); - cb( - AWS.util.error(err, { - message: "EC2 Metadata roleName request returned error", - }) - ); - return; - } - roleName = roleName.split("\n")[0]; // grab first (and only) role - self.request(basePath + roleName, options, function ( - credErr, - credData - ) { - if (credErr) { - self.disableFetchToken = !(credErr.statusCode === 401); - cb( - AWS.util.error(credErr, { - message: "EC2 Metadata creds request returned error", - }) - ); - return; - } - try { - var credentials = JSON.parse(credData); - cb(null, credentials); - } catch (parseError) { - cb(parseError); - } - }); - }); - }, - - /** - * Loads a set of credentials stored in the instance metadata service - * - * @api private - * @callback callback function(err, credentials) - * Called when credentials are loaded from the resource - * @param err [Error] if an error occurred, this value will be set - * @param credentials [Object] the raw JSON object containing all - * metadata from the credentials resource - */ - loadCredentials: function loadCredentials(callback) { - var self = this; - self.loadCredentialsCallbacks.push(callback); - if (self.loadCredentialsCallbacks.length > 1) { - return; - } - - function callbacks(err, creds) { - var cb; - while ((cb = self.loadCredentialsCallbacks.shift()) !== undefined) { - cb(err, creds); - } - } - - if (self.disableFetchToken) { - self.fetchCredentials({}, callbacks); - } else { - self.fetchMetadataToken(function (tokenError, token) { - if (tokenError) { - if (tokenError.code === "TimeoutError") { - self.disableFetchToken = true; - } else if (tokenError.retryable === true) { - callbacks( - AWS.util.error(tokenError, { - message: "EC2 Metadata token request returned error", - }) - ); - return; - } else if (tokenError.statusCode === 400) { - callbacks( - AWS.util.error(tokenError, { - message: "EC2 Metadata token request returned 400", - }) - ); - return; - } - } - var options = {}; - if (token) { - options.headers = { - "x-aws-ec2-metadata-token": token, - }; - } - self.fetchCredentials(options, callbacks); - }); - } - }, - }); - - /** - * @api private - */ - module.exports = AWS.MetadataService; - - /***/ - }, - - /***/ 2760: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-10-15", - endpointPrefix: "api.pricing", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "AWS Pricing", - serviceFullName: "AWS Price List Service", - serviceId: "Pricing", - signatureVersion: "v4", - signingName: "pricing", - targetPrefix: "AWSPriceListService", - uid: "pricing-2017-10-15", - }, - operations: { - DescribeServices: { input: { type: "structure", + required: ["restApiId", "resourceId", "httpMethod"], members: { - ServiceCode: {}, - FormatVersion: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, }, }, - output: { + output: { shape: "S1e" }, + }, + GetMethodResponse: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", + }, + input: { type: "structure", + required: ["restApiId", "resourceId", "httpMethod", "statusCode"], members: { - Services: { - type: "list", - member: { - type: "structure", - members: { - ServiceCode: {}, - AttributeNames: { type: "list", member: {} }, - }, - }, - }, - FormatVersion: {}, - NextToken: {}, + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + statusCode: { location: "uri", locationName: "status_code" }, }, }, + output: { shape: "S1h" }, }, - GetAttributeValues: { + GetModel: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/models/{model_name}", + }, input: { type: "structure", - required: ["ServiceCode", "AttributeName"], + required: ["restApiId", "modelName"], members: { - ServiceCode: {}, - AttributeName: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + restApiId: { location: "uri", locationName: "restapi_id" }, + modelName: { location: "uri", locationName: "model_name" }, + flatten: { + location: "querystring", + locationName: "flatten", + type: "boolean", + }, }, }, - output: { + output: { shape: "S18" }, + }, + GetModelTemplate: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/models/{model_name}/default_template", + }, + input: { type: "structure", + required: ["restApiId", "modelName"], members: { - AttributeValues: { - type: "list", - member: { type: "structure", members: { Value: {} } }, - }, - NextToken: {}, + restApiId: { location: "uri", locationName: "restapi_id" }, + modelName: { location: "uri", locationName: "model_name" }, }, }, + output: { type: "structure", members: { value: {} } }, }, - GetProducts: { + GetModels: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/models", + }, input: { type: "structure", + required: ["restApiId"], members: { - ServiceCode: {}, - Filters: { - type: "list", - member: { - type: "structure", - required: ["Type", "Field", "Value"], - members: { Type: {}, Field: {}, Value: {} }, - }, + restApiId: { location: "uri", locationName: "restapi_id" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", }, - FormatVersion: {}, - NextToken: {}, - MaxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - FormatVersion: {}, - PriceList: { type: "list", member: { jsonvalue: true } }, - NextToken: {}, + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "S18" }, + }, }, }, }, - }, - shapes: {}, - }; - - /***/ - }, - - /***/ 2766: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-09-30", - endpointPrefix: "kinesisvideo", - protocol: "rest-json", - serviceAbbreviation: "Kinesis Video", - serviceFullName: "Amazon Kinesis Video Streams", - serviceId: "Kinesis Video", - signatureVersion: "v4", - uid: "kinesisvideo-2017-09-30", - }, - operations: { - CreateSignalingChannel: { - http: { requestUri: "/createSignalingChannel" }, + GetRequestValidator: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", + }, input: { type: "structure", - required: ["ChannelName"], + required: ["restApiId", "requestValidatorId"], members: { - ChannelName: {}, - ChannelType: {}, - SingleMasterConfiguration: { shape: "S4" }, - Tags: { type: "list", member: { shape: "S7" } }, + restApiId: { location: "uri", locationName: "restapi_id" }, + requestValidatorId: { + location: "uri", + locationName: "requestvalidator_id", + }, }, }, - output: { type: "structure", members: { ChannelARN: {} } }, + output: { shape: "S1a" }, }, - CreateStream: { - http: { requestUri: "/createStream" }, + GetRequestValidators: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/requestvalidators", + }, input: { type: "structure", - required: ["StreamName"], + required: ["restApiId"], members: { - DeviceName: {}, - StreamName: {}, - MediaType: {}, - KmsKeyId: {}, - DataRetentionInHours: { type: "integer" }, - Tags: { shape: "Si" }, + restApiId: { location: "uri", locationName: "restapi_id" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, }, }, - output: { type: "structure", members: { StreamARN: {} } }, - }, - DeleteSignalingChannel: { - http: { requestUri: "/deleteSignalingChannel" }, - input: { + output: { type: "structure", - required: ["ChannelARN"], - members: { ChannelARN: {}, CurrentVersion: {} }, + members: { + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "S1a" }, + }, + }, }, - output: { type: "structure", members: {} }, }, - DeleteStream: { - http: { requestUri: "/deleteStream" }, - input: { - type: "structure", - required: ["StreamARN"], - members: { StreamARN: {}, CurrentVersion: {} }, + GetResource: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/resources/{resource_id}", }, - output: { type: "structure", members: {} }, - }, - DescribeSignalingChannel: { - http: { requestUri: "/describeSignalingChannel" }, input: { type: "structure", - members: { ChannelName: {}, ChannelARN: {} }, - }, - output: { - type: "structure", - members: { ChannelInfo: { shape: "Sr" } }, + required: ["restApiId", "resourceId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + embed: { + shape: "S9", + location: "querystring", + locationName: "embed", + }, + }, }, + output: { shape: "S1c" }, }, - DescribeStream: { - http: { requestUri: "/describeStream" }, + GetResources: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/resources", + }, input: { type: "structure", - members: { StreamName: {}, StreamARN: {} }, + required: ["restApiId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + embed: { + shape: "S9", + location: "querystring", + locationName: "embed", + }, + }, }, output: { type: "structure", - members: { StreamInfo: { shape: "Sw" } }, + members: { + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "S1c" }, + }, + }, }, }, - GetDataEndpoint: { - http: { requestUri: "/getDataEndpoint" }, + GetRestApi: { + http: { method: "GET", requestUri: "/restapis/{restapi_id}" }, input: { type: "structure", - required: ["APIName"], - members: { StreamName: {}, StreamARN: {}, APIName: {} }, + required: ["restApiId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + }, }, - output: { type: "structure", members: { DataEndpoint: {} } }, + output: { shape: "S1t" }, }, - GetSignalingChannelEndpoint: { - http: { requestUri: "/getSignalingChannelEndpoint" }, + GetRestApis: { + http: { method: "GET", requestUri: "/restapis" }, input: { type: "structure", - required: ["ChannelARN"], members: { - ChannelARN: {}, - SingleMasterChannelEndpointConfiguration: { - type: "structure", - members: { - Protocols: { type: "list", member: {} }, - Role: {}, - }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", }, }, }, output: { type: "structure", members: { - ResourceEndpointList: { + position: {}, + items: { + locationName: "item", type: "list", - member: { - type: "structure", - members: { Protocol: {}, ResourceEndpoint: {} }, - }, + member: { shape: "S1t" }, }, }, }, }, - ListSignalingChannels: { - http: { requestUri: "/listSignalingChannels" }, + GetSdk: { + http: { + method: "GET", + requestUri: + "/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}", + responseCode: 200, + }, input: { type: "structure", + required: ["restApiId", "stageName", "sdkType"], members: { - MaxResults: { type: "integer" }, - NextToken: {}, - ChannelNameCondition: { - type: "structure", - members: { ComparisonOperator: {}, ComparisonValue: {} }, - }, + restApiId: { location: "uri", locationName: "restapi_id" }, + stageName: { location: "uri", locationName: "stage_name" }, + sdkType: { location: "uri", locationName: "sdk_type" }, + parameters: { shape: "S6", location: "querystring" }, }, }, output: { type: "structure", members: { - ChannelInfoList: { type: "list", member: { shape: "Sr" } }, - NextToken: {}, + contentType: { + location: "header", + locationName: "Content-Type", + }, + contentDisposition: { + location: "header", + locationName: "Content-Disposition", + }, + body: { type: "blob" }, }, + payload: "body", }, }, - ListStreams: { - http: { requestUri: "/listStreams" }, + GetSdkType: { + http: { method: "GET", requestUri: "/sdktypes/{sdktype_id}" }, + input: { + type: "structure", + required: ["id"], + members: { id: { location: "uri", locationName: "sdktype_id" } }, + }, + output: { shape: "S51" }, + }, + GetSdkTypes: { + http: { method: "GET", requestUri: "/sdktypes" }, input: { type: "structure", members: { - MaxResults: { type: "integer" }, - NextToken: {}, - StreamNameCondition: { - type: "structure", - members: { ComparisonOperator: {}, ComparisonValue: {} }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", }, }, }, output: { type: "structure", members: { - StreamInfoList: { type: "list", member: { shape: "Sw" } }, - NextToken: {}, + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "S51" }, + }, }, }, }, - ListTagsForResource: { - http: { requestUri: "/ListTagsForResource" }, - input: { - type: "structure", - required: ["ResourceARN"], - members: { NextToken: {}, ResourceARN: {} }, + GetStage: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/stages/{stage_name}", }, - output: { + input: { type: "structure", - members: { NextToken: {}, Tags: { shape: "Si" } }, + required: ["restApiId", "stageName"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + stageName: { location: "uri", locationName: "stage_name" }, + }, }, + output: { shape: "S1w" }, }, - ListTagsForStream: { - http: { requestUri: "/listTagsForStream" }, + GetStages: { + http: { + method: "GET", + requestUri: "/restapis/{restapi_id}/stages", + }, input: { type: "structure", - members: { NextToken: {}, StreamARN: {}, StreamName: {} }, + required: ["restApiId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + deploymentId: { + location: "querystring", + locationName: "deploymentId", + }, + }, }, output: { type: "structure", - members: { NextToken: {}, Tags: { shape: "Si" } }, + members: { item: { type: "list", member: { shape: "S1w" } } }, }, }, - TagResource: { - http: { requestUri: "/TagResource" }, + GetTags: { + http: { method: "GET", requestUri: "/tags/{resource_arn}" }, input: { type: "structure", - required: ["ResourceARN", "Tags"], + required: ["resourceArn"], members: { - ResourceARN: {}, - Tags: { type: "list", member: { shape: "S7" } }, + resourceArn: { location: "uri", locationName: "resource_arn" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, }, }, - output: { type: "structure", members: {} }, + output: { type: "structure", members: { tags: { shape: "S6" } } }, }, - TagStream: { - http: { requestUri: "/tagStream" }, - input: { - type: "structure", - required: ["Tags"], - members: { StreamARN: {}, StreamName: {}, Tags: { shape: "Si" } }, + GetUsage: { + http: { + method: "GET", + requestUri: "/usageplans/{usageplanId}/usage", }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - http: { requestUri: "/UntagResource" }, input: { type: "structure", - required: ["ResourceARN", "TagKeyList"], - members: { ResourceARN: {}, TagKeyList: { shape: "S1v" } }, - }, - output: { type: "structure", members: {} }, + required: ["usagePlanId", "startDate", "endDate"], + members: { + usagePlanId: { location: "uri", locationName: "usageplanId" }, + keyId: { location: "querystring", locationName: "keyId" }, + startDate: { + location: "querystring", + locationName: "startDate", + }, + endDate: { location: "querystring", locationName: "endDate" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + }, + }, + output: { shape: "S5e" }, }, - UntagStream: { - http: { requestUri: "/untagStream" }, + GetUsagePlan: { + http: { method: "GET", requestUri: "/usageplans/{usageplanId}" }, input: { type: "structure", - required: ["TagKeyList"], + required: ["usagePlanId"], members: { - StreamARN: {}, - StreamName: {}, - TagKeyList: { shape: "S1v" }, + usagePlanId: { location: "uri", locationName: "usageplanId" }, }, }, - output: { type: "structure", members: {} }, + output: { shape: "S29" }, }, - UpdateDataRetention: { - http: { requestUri: "/updateDataRetention" }, + GetUsagePlanKey: { + http: { + method: "GET", + requestUri: "/usageplans/{usageplanId}/keys/{keyId}", + responseCode: 200, + }, input: { type: "structure", - required: [ - "CurrentVersion", - "Operation", - "DataRetentionChangeInHours", - ], + required: ["usagePlanId", "keyId"], members: { - StreamName: {}, - StreamARN: {}, - CurrentVersion: {}, - Operation: {}, - DataRetentionChangeInHours: { type: "integer" }, + usagePlanId: { location: "uri", locationName: "usageplanId" }, + keyId: { location: "uri", locationName: "keyId" }, }, }, - output: { type: "structure", members: {} }, + output: { shape: "S2b" }, }, - UpdateSignalingChannel: { - http: { requestUri: "/updateSignalingChannel" }, + GetUsagePlanKeys: { + http: { + method: "GET", + requestUri: "/usageplans/{usageplanId}/keys", + }, input: { type: "structure", - required: ["ChannelARN", "CurrentVersion"], + required: ["usagePlanId"], members: { - ChannelARN: {}, - CurrentVersion: {}, - SingleMasterConfiguration: { shape: "S4" }, + usagePlanId: { location: "uri", locationName: "usageplanId" }, + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + nameQuery: { location: "querystring", locationName: "name" }, + }, + }, + output: { + type: "structure", + members: { + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "S2b" }, + }, }, }, - output: { type: "structure", members: {} }, }, - UpdateStream: { - http: { requestUri: "/updateStream" }, + GetUsagePlans: { + http: { method: "GET", requestUri: "/usageplans" }, input: { type: "structure", - required: ["CurrentVersion"], members: { - StreamName: {}, - StreamARN: {}, - CurrentVersion: {}, - DeviceName: {}, - MediaType: {}, + position: { location: "querystring", locationName: "position" }, + keyId: { location: "querystring", locationName: "keyId" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "S29" }, + }, }, }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S4: { - type: "structure", - members: { MessageTtlSeconds: { type: "integer" } }, - }, - S7: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, }, - Si: { type: "map", key: {}, value: {} }, - Sr: { - type: "structure", - members: { - ChannelName: {}, - ChannelARN: {}, - ChannelType: {}, - ChannelStatus: {}, - CreationTime: { type: "timestamp" }, - SingleMasterConfiguration: { shape: "S4" }, - Version: {}, + GetVpcLink: { + http: { method: "GET", requestUri: "/vpclinks/{vpclink_id}" }, + input: { + type: "structure", + required: ["vpcLinkId"], + members: { + vpcLinkId: { location: "uri", locationName: "vpclink_id" }, + }, }, + output: { shape: "S2d" }, }, - Sw: { - type: "structure", - members: { - DeviceName: {}, - StreamName: {}, - StreamARN: {}, - MediaType: {}, - KmsKeyId: {}, - Version: {}, - Status: {}, - CreationTime: { type: "timestamp" }, - DataRetentionInHours: { type: "integer" }, + GetVpcLinks: { + http: { method: "GET", requestUri: "/vpclinks" }, + input: { + type: "structure", + members: { + position: { location: "querystring", locationName: "position" }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + position: {}, + items: { + locationName: "item", + type: "list", + member: { shape: "S2d" }, + }, + }, }, }, - S1v: { type: "list", member: {} }, - }, - }; - - /***/ - }, - - /***/ 2802: /***/ function (__unusedmodule, exports) { - (function (exports) { - "use strict"; - - function isArray(obj) { - if (obj !== null) { - return Object.prototype.toString.call(obj) === "[object Array]"; - } else { - return false; - } - } - - function isObject(obj) { - if (obj !== null) { - return Object.prototype.toString.call(obj) === "[object Object]"; - } else { - return false; - } - } - - function strictDeepEqual(first, second) { - // Check the scalar case first. - if (first === second) { - return true; - } - - // Check if they are the same type. - var firstType = Object.prototype.toString.call(first); - if (firstType !== Object.prototype.toString.call(second)) { - return false; - } - // We know that first and second have the same type so we can just check the - // first type from now on. - if (isArray(first) === true) { - // Short circuit if they're not the same length; - if (first.length !== second.length) { - return false; - } - for (var i = 0; i < first.length; i++) { - if (strictDeepEqual(first[i], second[i]) === false) { - return false; - } - } - return true; - } - if (isObject(first) === true) { - // An object is equal if it has the same key/value pairs. - var keysSeen = {}; - for (var key in first) { - if (hasOwnProperty.call(first, key)) { - if (strictDeepEqual(first[key], second[key]) === false) { - return false; - } - keysSeen[key] = true; - } - } - // Now check that there aren't any keys in second that weren't - // in first. - for (var key2 in second) { - if (hasOwnProperty.call(second, key2)) { - if (keysSeen[key2] !== true) { - return false; - } - } - } - return true; - } - return false; - } - - function isFalse(obj) { - // From the spec: - // A false value corresponds to the following values: - // Empty list - // Empty object - // Empty string - // False boolean - // null value - - // First check the scalar values. - if (obj === "" || obj === false || obj === null) { - return true; - } else if (isArray(obj) && obj.length === 0) { - // Check for an empty array. - return true; - } else if (isObject(obj)) { - // Check for an empty object. - for (var key in obj) { - // If there are any keys, then - // the object is not empty so the object - // is not false. - if (obj.hasOwnProperty(key)) { - return false; - } - } - return true; - } else { - return false; - } - } - - function objValues(obj) { - var keys = Object.keys(obj); - var values = []; - for (var i = 0; i < keys.length; i++) { - values.push(obj[keys[i]]); - } - return values; - } - - function merge(a, b) { - var merged = {}; - for (var key in a) { - merged[key] = a[key]; - } - for (var key2 in b) { - merged[key2] = b[key2]; - } - return merged; - } - - var trimLeft; - if (typeof String.prototype.trimLeft === "function") { - trimLeft = function (str) { - return str.trimLeft(); - }; - } else { - trimLeft = function (str) { - return str.match(/^\s*(.*)/)[1]; - }; - } - - // Type constants used to define functions. - var TYPE_NUMBER = 0; - var TYPE_ANY = 1; - var TYPE_STRING = 2; - var TYPE_ARRAY = 3; - var TYPE_OBJECT = 4; - var TYPE_BOOLEAN = 5; - var TYPE_EXPREF = 6; - var TYPE_NULL = 7; - var TYPE_ARRAY_NUMBER = 8; - var TYPE_ARRAY_STRING = 9; - - var TOK_EOF = "EOF"; - var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; - var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier"; - var TOK_RBRACKET = "Rbracket"; - var TOK_RPAREN = "Rparen"; - var TOK_COMMA = "Comma"; - var TOK_COLON = "Colon"; - var TOK_RBRACE = "Rbrace"; - var TOK_NUMBER = "Number"; - var TOK_CURRENT = "Current"; - var TOK_EXPREF = "Expref"; - var TOK_PIPE = "Pipe"; - var TOK_OR = "Or"; - var TOK_AND = "And"; - var TOK_EQ = "EQ"; - var TOK_GT = "GT"; - var TOK_LT = "LT"; - var TOK_GTE = "GTE"; - var TOK_LTE = "LTE"; - var TOK_NE = "NE"; - var TOK_FLATTEN = "Flatten"; - var TOK_STAR = "Star"; - var TOK_FILTER = "Filter"; - var TOK_DOT = "Dot"; - var TOK_NOT = "Not"; - var TOK_LBRACE = "Lbrace"; - var TOK_LBRACKET = "Lbracket"; - var TOK_LPAREN = "Lparen"; - var TOK_LITERAL = "Literal"; - - // The "&", "[", "<", ">" tokens - // are not in basicToken because - // there are two token variants - // ("&&", "[?", "<=", ">="). This is specially handled - // below. - - var basicTokens = { - ".": TOK_DOT, - "*": TOK_STAR, - ",": TOK_COMMA, - ":": TOK_COLON, - "{": TOK_LBRACE, - "}": TOK_RBRACE, - "]": TOK_RBRACKET, - "(": TOK_LPAREN, - ")": TOK_RPAREN, - "@": TOK_CURRENT, - }; - - var operatorStartToken = { - "<": true, - ">": true, - "=": true, - "!": true, - }; - - var skipChars = { - " ": true, - "\t": true, - "\n": true, - }; - - function isAlpha(ch) { - return ( - (ch >= "a" && ch <= "z") || (ch >= "A" && ch <= "Z") || ch === "_" - ); - } - - function isNum(ch) { - return (ch >= "0" && ch <= "9") || ch === "-"; - } - function isAlphaNum(ch) { - return ( - (ch >= "a" && ch <= "z") || - (ch >= "A" && ch <= "Z") || - (ch >= "0" && ch <= "9") || - ch === "_" - ); - } - - function Lexer() {} - Lexer.prototype = { - tokenize: function (stream) { - var tokens = []; - this._current = 0; - var start; - var identifier; - var token; - while (this._current < stream.length) { - if (isAlpha(stream[this._current])) { - start = this._current; - identifier = this._consumeUnquotedIdentifier(stream); - tokens.push({ - type: TOK_UNQUOTEDIDENTIFIER, - value: identifier, - start: start, - }); - } else if (basicTokens[stream[this._current]] !== undefined) { - tokens.push({ - type: basicTokens[stream[this._current]], - value: stream[this._current], - start: this._current, - }); - this._current++; - } else if (isNum(stream[this._current])) { - token = this._consumeNumber(stream); - tokens.push(token); - } else if (stream[this._current] === "[") { - // No need to increment this._current. This happens - // in _consumeLBracket - token = this._consumeLBracket(stream); - tokens.push(token); - } else if (stream[this._current] === '"') { - start = this._current; - identifier = this._consumeQuotedIdentifier(stream); - tokens.push({ - type: TOK_QUOTEDIDENTIFIER, - value: identifier, - start: start, - }); - } else if (stream[this._current] === "'") { - start = this._current; - identifier = this._consumeRawStringLiteral(stream); - tokens.push({ - type: TOK_LITERAL, - value: identifier, - start: start, - }); - } else if (stream[this._current] === "`") { - start = this._current; - var literal = this._consumeLiteral(stream); - tokens.push({ - type: TOK_LITERAL, - value: literal, - start: start, - }); - } else if ( - operatorStartToken[stream[this._current]] !== undefined - ) { - tokens.push(this._consumeOperator(stream)); - } else if (skipChars[stream[this._current]] !== undefined) { - // Ignore whitespace. - this._current++; - } else if (stream[this._current] === "&") { - start = this._current; - this._current++; - if (stream[this._current] === "&") { - this._current++; - tokens.push({ type: TOK_AND, value: "&&", start: start }); - } else { - tokens.push({ type: TOK_EXPREF, value: "&", start: start }); - } - } else if (stream[this._current] === "|") { - start = this._current; - this._current++; - if (stream[this._current] === "|") { - this._current++; - tokens.push({ type: TOK_OR, value: "||", start: start }); - } else { - tokens.push({ type: TOK_PIPE, value: "|", start: start }); - } - } else { - var error = new Error( - "Unknown character:" + stream[this._current] - ); - error.name = "LexerError"; - throw error; - } - } - return tokens; + ImportApiKeys: { + http: { requestUri: "/apikeys?mode=import", responseCode: 201 }, + input: { + type: "structure", + required: ["body", "format"], + members: { + body: { type: "blob" }, + format: { location: "querystring", locationName: "format" }, + failOnWarnings: { + location: "querystring", + locationName: "failonwarnings", + type: "boolean", + }, + }, + payload: "body", + }, + output: { + type: "structure", + members: { ids: { shape: "S9" }, warnings: { shape: "S9" } }, + }, }, - - _consumeUnquotedIdentifier: function (stream) { - var start = this._current; - this._current++; - while ( - this._current < stream.length && - isAlphaNum(stream[this._current]) - ) { - this._current++; - } - return stream.slice(start, this._current); + ImportDocumentationParts: { + http: { + method: "PUT", + requestUri: "/restapis/{restapi_id}/documentation/parts", + }, + input: { + type: "structure", + required: ["restApiId", "body"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + mode: { location: "querystring", locationName: "mode" }, + failOnWarnings: { + location: "querystring", + locationName: "failonwarnings", + type: "boolean", + }, + body: { type: "blob" }, + }, + payload: "body", + }, + output: { + type: "structure", + members: { ids: { shape: "S9" }, warnings: { shape: "S9" } }, + }, }, - - _consumeQuotedIdentifier: function (stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (stream[this._current] !== '"' && this._current < maxLength) { - // You can escape a double quote and you can escape an escape. - var current = this._current; - if ( - stream[current] === "\\" && - (stream[current + 1] === "\\" || stream[current + 1] === '"') - ) { - current += 2; - } else { - current++; - } - this._current = current; - } - this._current++; - return JSON.parse(stream.slice(start, this._current)); + ImportRestApi: { + http: { requestUri: "/restapis?mode=import", responseCode: 201 }, + input: { + type: "structure", + required: ["body"], + members: { + failOnWarnings: { + location: "querystring", + locationName: "failonwarnings", + type: "boolean", + }, + parameters: { shape: "S6", location: "querystring" }, + body: { type: "blob" }, + }, + payload: "body", + }, + output: { shape: "S1t" }, }, - - _consumeRawStringLiteral: function (stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (stream[this._current] !== "'" && this._current < maxLength) { - // You can escape a single quote and you can escape an escape. - var current = this._current; - if ( - stream[current] === "\\" && - (stream[current + 1] === "\\" || stream[current + 1] === "'") - ) { - current += 2; - } else { - current++; - } - this._current = current; - } - this._current++; - var literal = stream.slice(start + 1, this._current - 1); - return literal.replace("\\'", "'"); + PutGatewayResponse: { + http: { + method: "PUT", + requestUri: + "/restapis/{restapi_id}/gatewayresponses/{response_type}", + responseCode: 201, + }, + input: { + type: "structure", + required: ["restApiId", "responseType"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + responseType: { + location: "uri", + locationName: "response_type", + }, + statusCode: {}, + responseParameters: { shape: "S6" }, + responseTemplates: { shape: "S6" }, + }, + }, + output: { shape: "S48" }, }, - - _consumeNumber: function (stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (isNum(stream[this._current]) && this._current < maxLength) { - this._current++; - } - var value = parseInt(stream.slice(start, this._current)); - return { type: TOK_NUMBER, value: value, start: start }; + PutIntegration: { + http: { + method: "PUT", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", + responseCode: 201, + }, + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod", "type"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + type: {}, + integrationHttpMethod: { locationName: "httpMethod" }, + uri: {}, + connectionType: {}, + connectionId: {}, + credentials: {}, + requestParameters: { shape: "S6" }, + requestTemplates: { shape: "S6" }, + passthroughBehavior: {}, + cacheNamespace: {}, + cacheKeyParameters: { shape: "S9" }, + contentHandling: {}, + timeoutInMillis: { type: "integer" }, + tlsConfig: { shape: "S1q" }, + }, + }, + output: { shape: "S1j" }, }, - - _consumeLBracket: function (stream) { - var start = this._current; - this._current++; - if (stream[this._current] === "?") { - this._current++; - return { type: TOK_FILTER, value: "[?", start: start }; - } else if (stream[this._current] === "]") { - this._current++; - return { type: TOK_FLATTEN, value: "[]", start: start }; - } else { - return { type: TOK_LBRACKET, value: "[", start: start }; - } + PutIntegrationResponse: { + http: { + method: "PUT", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", + responseCode: 201, + }, + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod", "statusCode"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + statusCode: { location: "uri", locationName: "status_code" }, + selectionPattern: {}, + responseParameters: { shape: "S6" }, + responseTemplates: { shape: "S6" }, + contentHandling: {}, + }, + }, + output: { shape: "S1p" }, }, - - _consumeOperator: function (stream) { - var start = this._current; - var startingChar = stream[start]; - this._current++; - if (startingChar === "!") { - if (stream[this._current] === "=") { - this._current++; - return { type: TOK_NE, value: "!=", start: start }; - } else { - return { type: TOK_NOT, value: "!", start: start }; - } - } else if (startingChar === "<") { - if (stream[this._current] === "=") { - this._current++; - return { type: TOK_LTE, value: "<=", start: start }; - } else { - return { type: TOK_LT, value: "<", start: start }; - } - } else if (startingChar === ">") { - if (stream[this._current] === "=") { - this._current++; - return { type: TOK_GTE, value: ">=", start: start }; - } else { - return { type: TOK_GT, value: ">", start: start }; - } - } else if (startingChar === "=") { - if (stream[this._current] === "=") { - this._current++; - return { type: TOK_EQ, value: "==", start: start }; - } - } + PutMethod: { + http: { + method: "PUT", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", + responseCode: 201, + }, + input: { + type: "structure", + required: [ + "restApiId", + "resourceId", + "httpMethod", + "authorizationType", + ], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + authorizationType: {}, + authorizerId: {}, + apiKeyRequired: { type: "boolean" }, + operationName: {}, + requestParameters: { shape: "S1f" }, + requestModels: { shape: "S6" }, + requestValidatorId: {}, + authorizationScopes: { shape: "S9" }, + }, + }, + output: { shape: "S1e" }, }, - - _consumeLiteral: function (stream) { - this._current++; - var start = this._current; - var maxLength = stream.length; - var literal; - while (stream[this._current] !== "`" && this._current < maxLength) { - // You can escape a literal char or you can escape the escape. - var current = this._current; - if ( - stream[current] === "\\" && - (stream[current + 1] === "\\" || stream[current + 1] === "`") - ) { - current += 2; - } else { - current++; - } - this._current = current; - } - var literalString = trimLeft(stream.slice(start, this._current)); - literalString = literalString.replace("\\`", "`"); - if (this._looksLikeJSON(literalString)) { - literal = JSON.parse(literalString); - } else { - // Try to JSON parse it as "" - literal = JSON.parse('"' + literalString + '"'); - } - // +1 gets us to the ending "`", +1 to move on to the next char. - this._current++; - return literal; + PutMethodResponse: { + http: { + method: "PUT", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", + responseCode: 201, + }, + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod", "statusCode"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + statusCode: { location: "uri", locationName: "status_code" }, + responseParameters: { shape: "S1f" }, + responseModels: { shape: "S6" }, + }, + }, + output: { shape: "S1h" }, }, - - _looksLikeJSON: function (literalString) { - var startingChars = '[{"'; - var jsonLiterals = ["true", "false", "null"]; - var numberLooking = "-0123456789"; - - if (literalString === "") { - return false; - } else if (startingChars.indexOf(literalString[0]) >= 0) { - return true; - } else if (jsonLiterals.indexOf(literalString) >= 0) { - return true; - } else if (numberLooking.indexOf(literalString[0]) >= 0) { - try { - JSON.parse(literalString); - return true; - } catch (ex) { - return false; - } - } else { - return false; - } + PutRestApi: { + http: { method: "PUT", requestUri: "/restapis/{restapi_id}" }, + input: { + type: "structure", + required: ["restApiId", "body"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + mode: { location: "querystring", locationName: "mode" }, + failOnWarnings: { + location: "querystring", + locationName: "failonwarnings", + type: "boolean", + }, + parameters: { shape: "S6", location: "querystring" }, + body: { type: "blob" }, + }, + payload: "body", + }, + output: { shape: "S1t" }, }, - }; - - var bindingPower = {}; - bindingPower[TOK_EOF] = 0; - bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0; - bindingPower[TOK_QUOTEDIDENTIFIER] = 0; - bindingPower[TOK_RBRACKET] = 0; - bindingPower[TOK_RPAREN] = 0; - bindingPower[TOK_COMMA] = 0; - bindingPower[TOK_RBRACE] = 0; - bindingPower[TOK_NUMBER] = 0; - bindingPower[TOK_CURRENT] = 0; - bindingPower[TOK_EXPREF] = 0; - bindingPower[TOK_PIPE] = 1; - bindingPower[TOK_OR] = 2; - bindingPower[TOK_AND] = 3; - bindingPower[TOK_EQ] = 5; - bindingPower[TOK_GT] = 5; - bindingPower[TOK_LT] = 5; - bindingPower[TOK_GTE] = 5; - bindingPower[TOK_LTE] = 5; - bindingPower[TOK_NE] = 5; - bindingPower[TOK_FLATTEN] = 9; - bindingPower[TOK_STAR] = 20; - bindingPower[TOK_FILTER] = 21; - bindingPower[TOK_DOT] = 40; - bindingPower[TOK_NOT] = 45; - bindingPower[TOK_LBRACE] = 50; - bindingPower[TOK_LBRACKET] = 55; - bindingPower[TOK_LPAREN] = 60; - - function Parser() {} - - Parser.prototype = { - parse: function (expression) { - this._loadTokens(expression); - this.index = 0; - var ast = this.expression(0); - if (this._lookahead(0) !== TOK_EOF) { - var t = this._lookaheadToken(0); - var error = new Error( - "Unexpected token type: " + t.type + ", value: " + t.value - ); - error.name = "ParserError"; - throw error; - } - return ast; + TagResource: { + http: { + method: "PUT", + requestUri: "/tags/{resource_arn}", + responseCode: 204, + }, + input: { + type: "structure", + required: ["resourceArn", "tags"], + members: { + resourceArn: { location: "uri", locationName: "resource_arn" }, + tags: { shape: "S6" }, + }, + }, }, - - _loadTokens: function (expression) { - var lexer = new Lexer(); - var tokens = lexer.tokenize(expression); - tokens.push({ type: TOK_EOF, value: "", start: expression.length }); - this.tokens = tokens; + TestInvokeAuthorizer: { + http: { + requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", + }, + input: { + type: "structure", + required: ["restApiId", "authorizerId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + authorizerId: { + location: "uri", + locationName: "authorizer_id", + }, + headers: { shape: "S6" }, + multiValueHeaders: { shape: "S6a" }, + pathWithQueryString: {}, + body: {}, + stageVariables: { shape: "S6" }, + additionalContext: { shape: "S6" }, + }, + }, + output: { + type: "structure", + members: { + clientStatus: { type: "integer" }, + log: {}, + latency: { type: "long" }, + principalId: {}, + policy: {}, + authorization: { shape: "S6a" }, + claims: { shape: "S6" }, + }, + }, }, - - expression: function (rbp) { - var leftToken = this._lookaheadToken(0); - this._advance(); - var left = this.nud(leftToken); - var currentToken = this._lookahead(0); - while (rbp < bindingPower[currentToken]) { - this._advance(); - left = this.led(currentToken, left); - currentToken = this._lookahead(0); - } - return left; + TestInvokeMethod: { + http: { + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", + }, + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + pathWithQueryString: {}, + body: {}, + headers: { shape: "S6" }, + multiValueHeaders: { shape: "S6a" }, + clientCertificateId: {}, + stageVariables: { shape: "S6" }, + }, + }, + output: { + type: "structure", + members: { + status: { type: "integer" }, + body: {}, + headers: { shape: "S6" }, + multiValueHeaders: { shape: "S6a" }, + log: {}, + latency: { type: "long" }, + }, + }, }, - - _lookahead: function (number) { - return this.tokens[this.index + number].type; + UntagResource: { + http: { + method: "DELETE", + requestUri: "/tags/{resource_arn}", + responseCode: 204, + }, + input: { + type: "structure", + required: ["resourceArn", "tagKeys"], + members: { + resourceArn: { location: "uri", locationName: "resource_arn" }, + tagKeys: { + shape: "S9", + location: "querystring", + locationName: "tagKeys", + }, + }, + }, }, - - _lookaheadToken: function (number) { - return this.tokens[this.index + number]; + UpdateAccount: { + http: { method: "PATCH", requestUri: "/account" }, + input: { + type: "structure", + members: { patchOperations: { shape: "S6g" } }, + }, + output: { shape: "S36" }, }, - - _advance: function () { - this.index++; - }, - - nud: function (token) { - var left; - var right; - var expression; - switch (token.type) { - case TOK_LITERAL: - return { type: "Literal", value: token.value }; - case TOK_UNQUOTEDIDENTIFIER: - return { type: "Field", name: token.value }; - case TOK_QUOTEDIDENTIFIER: - var node = { type: "Field", name: token.value }; - if (this._lookahead(0) === TOK_LPAREN) { - throw new Error( - "Quoted identifier not allowed for function names." - ); - } else { - return node; - } - break; - case TOK_NOT: - right = this.expression(bindingPower.Not); - return { type: "NotExpression", children: [right] }; - case TOK_STAR: - left = { type: "Identity" }; - right = null; - if (this._lookahead(0) === TOK_RBRACKET) { - // This can happen in a multiselect, - // [a, b, *] - right = { type: "Identity" }; - } else { - right = this._parseProjectionRHS(bindingPower.Star); - } - return { type: "ValueProjection", children: [left, right] }; - case TOK_FILTER: - return this.led(token.type, { type: "Identity" }); - case TOK_LBRACE: - return this._parseMultiselectHash(); - case TOK_FLATTEN: - left = { type: TOK_FLATTEN, children: [{ type: "Identity" }] }; - right = this._parseProjectionRHS(bindingPower.Flatten); - return { type: "Projection", children: [left, right] }; - case TOK_LBRACKET: - if ( - this._lookahead(0) === TOK_NUMBER || - this._lookahead(0) === TOK_COLON - ) { - right = this._parseIndexExpression(); - return this._projectIfSlice({ type: "Identity" }, right); - } else if ( - this._lookahead(0) === TOK_STAR && - this._lookahead(1) === TOK_RBRACKET - ) { - this._advance(); - this._advance(); - right = this._parseProjectionRHS(bindingPower.Star); - return { - type: "Projection", - children: [{ type: "Identity" }, right], - }; - } else { - return this._parseMultiselectList(); - } - break; - case TOK_CURRENT: - return { type: TOK_CURRENT }; - case TOK_EXPREF: - expression = this.expression(bindingPower.Expref); - return { type: "ExpressionReference", children: [expression] }; - case TOK_LPAREN: - var args = []; - while (this._lookahead(0) !== TOK_RPAREN) { - if (this._lookahead(0) === TOK_CURRENT) { - expression = { type: TOK_CURRENT }; - this._advance(); - } else { - expression = this.expression(0); - } - args.push(expression); - } - this._match(TOK_RPAREN); - return args[0]; - default: - this._errorToken(token); - } - }, - - led: function (tokenName, left) { - var right; - switch (tokenName) { - case TOK_DOT: - var rbp = bindingPower.Dot; - if (this._lookahead(0) !== TOK_STAR) { - right = this._parseDotRHS(rbp); - return { type: "Subexpression", children: [left, right] }; - } else { - // Creating a projection. - this._advance(); - right = this._parseProjectionRHS(rbp); - return { type: "ValueProjection", children: [left, right] }; - } - break; - case TOK_PIPE: - right = this.expression(bindingPower.Pipe); - return { type: TOK_PIPE, children: [left, right] }; - case TOK_OR: - right = this.expression(bindingPower.Or); - return { type: "OrExpression", children: [left, right] }; - case TOK_AND: - right = this.expression(bindingPower.And); - return { type: "AndExpression", children: [left, right] }; - case TOK_LPAREN: - var name = left.name; - var args = []; - var expression, node; - while (this._lookahead(0) !== TOK_RPAREN) { - if (this._lookahead(0) === TOK_CURRENT) { - expression = { type: TOK_CURRENT }; - this._advance(); - } else { - expression = this.expression(0); - } - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - } - args.push(expression); - } - this._match(TOK_RPAREN); - node = { type: "Function", name: name, children: args }; - return node; - case TOK_FILTER: - var condition = this.expression(0); - this._match(TOK_RBRACKET); - if (this._lookahead(0) === TOK_FLATTEN) { - right = { type: "Identity" }; - } else { - right = this._parseProjectionRHS(bindingPower.Filter); - } - return { - type: "FilterProjection", - children: [left, right, condition], - }; - case TOK_FLATTEN: - var leftNode = { type: TOK_FLATTEN, children: [left] }; - var rightNode = this._parseProjectionRHS(bindingPower.Flatten); - return { type: "Projection", children: [leftNode, rightNode] }; - case TOK_EQ: - case TOK_NE: - case TOK_GT: - case TOK_GTE: - case TOK_LT: - case TOK_LTE: - return this._parseComparator(left, tokenName); - case TOK_LBRACKET: - var token = this._lookaheadToken(0); - if (token.type === TOK_NUMBER || token.type === TOK_COLON) { - right = this._parseIndexExpression(); - return this._projectIfSlice(left, right); - } else { - this._match(TOK_STAR); - this._match(TOK_RBRACKET); - right = this._parseProjectionRHS(bindingPower.Star); - return { type: "Projection", children: [left, right] }; - } - break; - default: - this._errorToken(this._lookaheadToken(0)); - } - }, - - _match: function (tokenType) { - if (this._lookahead(0) === tokenType) { - this._advance(); - } else { - var t = this._lookaheadToken(0); - var error = new Error( - "Expected " + tokenType + ", got: " + t.type - ); - error.name = "ParserError"; - throw error; - } - }, - - _errorToken: function (token) { - var error = new Error( - "Invalid token (" + token.type + '): "' + token.value + '"' - ); - error.name = "ParserError"; - throw error; - }, - - _parseIndexExpression: function () { - if ( - this._lookahead(0) === TOK_COLON || - this._lookahead(1) === TOK_COLON - ) { - return this._parseSliceExpression(); - } else { - var node = { - type: "Index", - value: this._lookaheadToken(0).value, - }; - this._advance(); - this._match(TOK_RBRACKET); - return node; - } - }, - - _projectIfSlice: function (left, right) { - var indexExpr = { - type: "IndexExpression", - children: [left, right], - }; - if (right.type === "Slice") { - return { - type: "Projection", - children: [ - indexExpr, - this._parseProjectionRHS(bindingPower.Star), - ], - }; - } else { - return indexExpr; - } - }, - - _parseSliceExpression: function () { - // [start:end:step] where each part is optional, as well as the last - // colon. - var parts = [null, null, null]; - var index = 0; - var currentToken = this._lookahead(0); - while (currentToken !== TOK_RBRACKET && index < 3) { - if (currentToken === TOK_COLON) { - index++; - this._advance(); - } else if (currentToken === TOK_NUMBER) { - parts[index] = this._lookaheadToken(0).value; - this._advance(); - } else { - var t = this._lookahead(0); - var error = new Error( - "Syntax error, unexpected token: " + - t.value + - "(" + - t.type + - ")" - ); - error.name = "Parsererror"; - throw error; - } - currentToken = this._lookahead(0); - } - this._match(TOK_RBRACKET); - return { - type: "Slice", - children: parts, - }; - }, - - _parseComparator: function (left, comparator) { - var right = this.expression(bindingPower[comparator]); - return { - type: "Comparator", - name: comparator, - children: [left, right], - }; - }, - - _parseDotRHS: function (rbp) { - var lookahead = this._lookahead(0); - var exprTokens = [ - TOK_UNQUOTEDIDENTIFIER, - TOK_QUOTEDIDENTIFIER, - TOK_STAR, - ]; - if (exprTokens.indexOf(lookahead) >= 0) { - return this.expression(rbp); - } else if (lookahead === TOK_LBRACKET) { - this._match(TOK_LBRACKET); - return this._parseMultiselectList(); - } else if (lookahead === TOK_LBRACE) { - this._match(TOK_LBRACE); - return this._parseMultiselectHash(); - } - }, - - _parseProjectionRHS: function (rbp) { - var right; - if (bindingPower[this._lookahead(0)] < 10) { - right = { type: "Identity" }; - } else if (this._lookahead(0) === TOK_LBRACKET) { - right = this.expression(rbp); - } else if (this._lookahead(0) === TOK_FILTER) { - right = this.expression(rbp); - } else if (this._lookahead(0) === TOK_DOT) { - this._match(TOK_DOT); - right = this._parseDotRHS(rbp); - } else { - var t = this._lookaheadToken(0); - var error = new Error( - "Sytanx error, unexpected token: " + - t.value + - "(" + - t.type + - ")" - ); - error.name = "ParserError"; - throw error; - } - return right; - }, - - _parseMultiselectList: function () { - var expressions = []; - while (this._lookahead(0) !== TOK_RBRACKET) { - var expression = this.expression(0); - expressions.push(expression); - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - if (this._lookahead(0) === TOK_RBRACKET) { - throw new Error("Unexpected token Rbracket"); - } - } - } - this._match(TOK_RBRACKET); - return { type: "MultiSelectList", children: expressions }; - }, - - _parseMultiselectHash: function () { - var pairs = []; - var identifierTypes = [ - TOK_UNQUOTEDIDENTIFIER, - TOK_QUOTEDIDENTIFIER, - ]; - var keyToken, keyName, value, node; - for (;;) { - keyToken = this._lookaheadToken(0); - if (identifierTypes.indexOf(keyToken.type) < 0) { - throw new Error( - "Expecting an identifier token, got: " + keyToken.type - ); - } - keyName = keyToken.value; - this._advance(); - this._match(TOK_COLON); - value = this.expression(0); - node = { type: "KeyValuePair", name: keyName, value: value }; - pairs.push(node); - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - } else if (this._lookahead(0) === TOK_RBRACE) { - this._match(TOK_RBRACE); - break; - } - } - return { type: "MultiSelectHash", children: pairs }; + UpdateApiKey: { + http: { method: "PATCH", requestUri: "/apikeys/{api_Key}" }, + input: { + type: "structure", + required: ["apiKey"], + members: { + apiKey: { location: "uri", locationName: "api_Key" }, + patchOperations: { shape: "S6g" }, + }, + }, + output: { shape: "S7" }, }, - }; - - function TreeInterpreter(runtime) { - this.runtime = runtime; - } - - TreeInterpreter.prototype = { - search: function (node, value) { - return this.visit(node, value); + UpdateAuthorizer: { + http: { + method: "PATCH", + requestUri: "/restapis/{restapi_id}/authorizers/{authorizer_id}", + }, + input: { + type: "structure", + required: ["restApiId", "authorizerId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + authorizerId: { + location: "uri", + locationName: "authorizer_id", + }, + patchOperations: { shape: "S6g" }, + }, + }, + output: { shape: "Sf" }, }, - - visit: function (node, value) { - var matched, - current, - result, - first, - second, - field, - left, - right, - collected, - i; - switch (node.type) { - case "Field": - if (value === null) { - return null; - } else if (isObject(value)) { - field = value[node.name]; - if (field === undefined) { - return null; - } else { - return field; - } - } else { - return null; - } - break; - case "Subexpression": - result = this.visit(node.children[0], value); - for (i = 1; i < node.children.length; i++) { - result = this.visit(node.children[1], result); - if (result === null) { - return null; - } - } - return result; - case "IndexExpression": - left = this.visit(node.children[0], value); - right = this.visit(node.children[1], left); - return right; - case "Index": - if (!isArray(value)) { - return null; - } - var index = node.value; - if (index < 0) { - index = value.length + index; - } - result = value[index]; - if (result === undefined) { - result = null; - } - return result; - case "Slice": - if (!isArray(value)) { - return null; - } - var sliceParams = node.children.slice(0); - var computed = this.computeSliceParams( - value.length, - sliceParams - ); - var start = computed[0]; - var stop = computed[1]; - var step = computed[2]; - result = []; - if (step > 0) { - for (i = start; i < stop; i += step) { - result.push(value[i]); - } - } else { - for (i = start; i > stop; i += step) { - result.push(value[i]); - } - } - return result; - case "Projection": - // Evaluate left child. - var base = this.visit(node.children[0], value); - if (!isArray(base)) { - return null; - } - collected = []; - for (i = 0; i < base.length; i++) { - current = this.visit(node.children[1], base[i]); - if (current !== null) { - collected.push(current); - } - } - return collected; - case "ValueProjection": - // Evaluate left child. - base = this.visit(node.children[0], value); - if (!isObject(base)) { - return null; - } - collected = []; - var values = objValues(base); - for (i = 0; i < values.length; i++) { - current = this.visit(node.children[1], values[i]); - if (current !== null) { - collected.push(current); - } - } - return collected; - case "FilterProjection": - base = this.visit(node.children[0], value); - if (!isArray(base)) { - return null; - } - var filtered = []; - var finalResults = []; - for (i = 0; i < base.length; i++) { - matched = this.visit(node.children[2], base[i]); - if (!isFalse(matched)) { - filtered.push(base[i]); - } - } - for (var j = 0; j < filtered.length; j++) { - current = this.visit(node.children[1], filtered[j]); - if (current !== null) { - finalResults.push(current); - } - } - return finalResults; - case "Comparator": - first = this.visit(node.children[0], value); - second = this.visit(node.children[1], value); - switch (node.name) { - case TOK_EQ: - result = strictDeepEqual(first, second); - break; - case TOK_NE: - result = !strictDeepEqual(first, second); - break; - case TOK_GT: - result = first > second; - break; - case TOK_GTE: - result = first >= second; - break; - case TOK_LT: - result = first < second; - break; - case TOK_LTE: - result = first <= second; - break; - default: - throw new Error("Unknown comparator: " + node.name); - } - return result; - case TOK_FLATTEN: - var original = this.visit(node.children[0], value); - if (!isArray(original)) { - return null; - } - var merged = []; - for (i = 0; i < original.length; i++) { - current = original[i]; - if (isArray(current)) { - merged.push.apply(merged, current); - } else { - merged.push(current); - } - } - return merged; - case "Identity": - return value; - case "MultiSelectList": - if (value === null) { - return null; - } - collected = []; - for (i = 0; i < node.children.length; i++) { - collected.push(this.visit(node.children[i], value)); - } - return collected; - case "MultiSelectHash": - if (value === null) { - return null; - } - collected = {}; - var child; - for (i = 0; i < node.children.length; i++) { - child = node.children[i]; - collected[child.name] = this.visit(child.value, value); - } - return collected; - case "OrExpression": - matched = this.visit(node.children[0], value); - if (isFalse(matched)) { - matched = this.visit(node.children[1], value); - } - return matched; - case "AndExpression": - first = this.visit(node.children[0], value); - - if (isFalse(first) === true) { - return first; - } - return this.visit(node.children[1], value); - case "NotExpression": - first = this.visit(node.children[0], value); - return isFalse(first); - case "Literal": - return node.value; - case TOK_PIPE: - left = this.visit(node.children[0], value); - return this.visit(node.children[1], left); - case TOK_CURRENT: - return value; - case "Function": - var resolvedArgs = []; - for (i = 0; i < node.children.length; i++) { - resolvedArgs.push(this.visit(node.children[i], value)); - } - return this.runtime.callFunction(node.name, resolvedArgs); - case "ExpressionReference": - var refNode = node.children[0]; - // Tag the node with a specific attribute so the type - // checker verify the type. - refNode.jmespathType = TOK_EXPREF; - return refNode; - default: - throw new Error("Unknown node type: " + node.type); - } + UpdateBasePathMapping: { + http: { + method: "PATCH", + requestUri: + "/domainnames/{domain_name}/basepathmappings/{base_path}", + }, + input: { + type: "structure", + required: ["domainName", "basePath"], + members: { + domainName: { location: "uri", locationName: "domain_name" }, + basePath: { location: "uri", locationName: "base_path" }, + patchOperations: { shape: "S6g" }, + }, + }, + output: { shape: "Sh" }, }, - - computeSliceParams: function (arrayLength, sliceParams) { - var start = sliceParams[0]; - var stop = sliceParams[1]; - var step = sliceParams[2]; - var computed = [null, null, null]; - if (step === null) { - step = 1; - } else if (step === 0) { - var error = new Error("Invalid slice, step cannot be 0"); - error.name = "RuntimeError"; - throw error; - } - var stepValueNegative = step < 0 ? true : false; - - if (start === null) { - start = stepValueNegative ? arrayLength - 1 : 0; - } else { - start = this.capSliceRange(arrayLength, start, step); - } - - if (stop === null) { - stop = stepValueNegative ? -1 : arrayLength; - } else { - stop = this.capSliceRange(arrayLength, stop, step); - } - computed[0] = start; - computed[1] = stop; - computed[2] = step; - return computed; + UpdateClientCertificate: { + http: { + method: "PATCH", + requestUri: "/clientcertificates/{clientcertificate_id}", + }, + input: { + type: "structure", + required: ["clientCertificateId"], + members: { + clientCertificateId: { + location: "uri", + locationName: "clientcertificate_id", + }, + patchOperations: { shape: "S6g" }, + }, + }, + output: { shape: "S34" }, }, - - capSliceRange: function (arrayLength, actualValue, step) { - if (actualValue < 0) { - actualValue += arrayLength; - if (actualValue < 0) { - actualValue = step < 0 ? -1 : 0; - } - } else if (actualValue >= arrayLength) { - actualValue = step < 0 ? arrayLength - 1 : arrayLength; - } - return actualValue; + UpdateDeployment: { + http: { + method: "PATCH", + requestUri: "/restapis/{restapi_id}/deployments/{deployment_id}", + }, + input: { + type: "structure", + required: ["restApiId", "deploymentId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + deploymentId: { + location: "uri", + locationName: "deployment_id", + }, + patchOperations: { shape: "S6g" }, + }, + }, + output: { shape: "Sn" }, }, - }; - - function Runtime(interpreter) { - this._interpreter = interpreter; - this.functionTable = { - // name: [function, ] - // The can be: - // - // { - // args: [[type1, type2], [type1, type2]], - // variadic: true|false - // } - // - // Each arg in the arg list is a list of valid types - // (if the function is overloaded and supports multiple - // types. If the type is "any" then no type checking - // occurs on the argument. Variadic is optional - // and if not provided is assumed to be false. - abs: { - _func: this._functionAbs, - _signature: [{ types: [TYPE_NUMBER] }], + UpdateDocumentationPart: { + http: { + method: "PATCH", + requestUri: + "/restapis/{restapi_id}/documentation/parts/{part_id}", }, - avg: { - _func: this._functionAvg, - _signature: [{ types: [TYPE_ARRAY_NUMBER] }], + input: { + type: "structure", + required: ["restApiId", "documentationPartId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + documentationPartId: { + location: "uri", + locationName: "part_id", + }, + patchOperations: { shape: "S6g" }, + }, }, - ceil: { - _func: this._functionCeil, - _signature: [{ types: [TYPE_NUMBER] }], + output: { shape: "Sv" }, + }, + UpdateDocumentationVersion: { + http: { + method: "PATCH", + requestUri: + "/restapis/{restapi_id}/documentation/versions/{doc_version}", }, - contains: { - _func: this._functionContains, - _signature: [ - { types: [TYPE_STRING, TYPE_ARRAY] }, - { types: [TYPE_ANY] }, - ], + input: { + type: "structure", + required: ["restApiId", "documentationVersion"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + documentationVersion: { + location: "uri", + locationName: "doc_version", + }, + patchOperations: { shape: "S6g" }, + }, }, - ends_with: { - _func: this._functionEndsWith, - _signature: [{ types: [TYPE_STRING] }, { types: [TYPE_STRING] }], + output: { shape: "Sx" }, + }, + UpdateDomainName: { + http: { method: "PATCH", requestUri: "/domainnames/{domain_name}" }, + input: { + type: "structure", + required: ["domainName"], + members: { + domainName: { location: "uri", locationName: "domain_name" }, + patchOperations: { shape: "S6g" }, + }, }, - floor: { - _func: this._functionFloor, - _signature: [{ types: [TYPE_NUMBER] }], + output: { shape: "S14" }, + }, + UpdateGatewayResponse: { + http: { + method: "PATCH", + requestUri: + "/restapis/{restapi_id}/gatewayresponses/{response_type}", }, - length: { - _func: this._functionLength, - _signature: [{ types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT] }], + input: { + type: "structure", + required: ["restApiId", "responseType"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + responseType: { + location: "uri", + locationName: "response_type", + }, + patchOperations: { shape: "S6g" }, + }, }, - map: { - _func: this._functionMap, - _signature: [{ types: [TYPE_EXPREF] }, { types: [TYPE_ARRAY] }], + output: { shape: "S48" }, + }, + UpdateIntegration: { + http: { + method: "PATCH", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration", }, - max: { - _func: this._functionMax, - _signature: [{ types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING] }], + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + patchOperations: { shape: "S6g" }, + }, }, - merge: { - _func: this._functionMerge, - _signature: [{ types: [TYPE_OBJECT], variadic: true }], + output: { shape: "S1j" }, + }, + UpdateIntegrationResponse: { + http: { + method: "PATCH", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}", }, - max_by: { - _func: this._functionMaxBy, - _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }], + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod", "statusCode"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + statusCode: { location: "uri", locationName: "status_code" }, + patchOperations: { shape: "S6g" }, + }, }, - sum: { - _func: this._functionSum, - _signature: [{ types: [TYPE_ARRAY_NUMBER] }], + output: { shape: "S1p" }, + }, + UpdateMethod: { + http: { + method: "PATCH", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}", }, - starts_with: { - _func: this._functionStartsWith, - _signature: [{ types: [TYPE_STRING] }, { types: [TYPE_STRING] }], + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + patchOperations: { shape: "S6g" }, + }, }, - min: { - _func: this._functionMin, - _signature: [{ types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING] }], + output: { shape: "S1e" }, + }, + UpdateMethodResponse: { + http: { + method: "PATCH", + requestUri: + "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}", + responseCode: 201, }, - min_by: { - _func: this._functionMinBy, - _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }], + input: { + type: "structure", + required: ["restApiId", "resourceId", "httpMethod", "statusCode"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + httpMethod: { location: "uri", locationName: "http_method" }, + statusCode: { location: "uri", locationName: "status_code" }, + patchOperations: { shape: "S6g" }, + }, }, - type: { - _func: this._functionType, - _signature: [{ types: [TYPE_ANY] }], + output: { shape: "S1h" }, + }, + UpdateModel: { + http: { + method: "PATCH", + requestUri: "/restapis/{restapi_id}/models/{model_name}", }, - keys: { - _func: this._functionKeys, - _signature: [{ types: [TYPE_OBJECT] }], + input: { + type: "structure", + required: ["restApiId", "modelName"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + modelName: { location: "uri", locationName: "model_name" }, + patchOperations: { shape: "S6g" }, + }, }, - values: { - _func: this._functionValues, - _signature: [{ types: [TYPE_OBJECT] }], + output: { shape: "S18" }, + }, + UpdateRequestValidator: { + http: { + method: "PATCH", + requestUri: + "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}", }, - sort: { - _func: this._functionSort, - _signature: [{ types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER] }], + input: { + type: "structure", + required: ["restApiId", "requestValidatorId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + requestValidatorId: { + location: "uri", + locationName: "requestvalidator_id", + }, + patchOperations: { shape: "S6g" }, + }, }, - sort_by: { - _func: this._functionSortBy, - _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }], + output: { shape: "S1a" }, + }, + UpdateResource: { + http: { + method: "PATCH", + requestUri: "/restapis/{restapi_id}/resources/{resource_id}", }, - join: { - _func: this._functionJoin, - _signature: [ - { types: [TYPE_STRING] }, - { types: [TYPE_ARRAY_STRING] }, - ], + input: { + type: "structure", + required: ["restApiId", "resourceId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + resourceId: { location: "uri", locationName: "resource_id" }, + patchOperations: { shape: "S6g" }, + }, }, - reverse: { - _func: this._functionReverse, - _signature: [{ types: [TYPE_STRING, TYPE_ARRAY] }], + output: { shape: "S1c" }, + }, + UpdateRestApi: { + http: { method: "PATCH", requestUri: "/restapis/{restapi_id}" }, + input: { + type: "structure", + required: ["restApiId"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + patchOperations: { shape: "S6g" }, + }, }, - to_array: { - _func: this._functionToArray, - _signature: [{ types: [TYPE_ANY] }], + output: { shape: "S1t" }, + }, + UpdateStage: { + http: { + method: "PATCH", + requestUri: "/restapis/{restapi_id}/stages/{stage_name}", }, - to_string: { - _func: this._functionToString, - _signature: [{ types: [TYPE_ANY] }], + input: { + type: "structure", + required: ["restApiId", "stageName"], + members: { + restApiId: { location: "uri", locationName: "restapi_id" }, + stageName: { location: "uri", locationName: "stage_name" }, + patchOperations: { shape: "S6g" }, + }, }, - to_number: { - _func: this._functionToNumber, - _signature: [{ types: [TYPE_ANY] }], + output: { shape: "S1w" }, + }, + UpdateUsage: { + http: { + method: "PATCH", + requestUri: "/usageplans/{usageplanId}/keys/{keyId}/usage", }, - not_null: { - _func: this._functionNotNull, - _signature: [{ types: [TYPE_ANY], variadic: true }], + input: { + type: "structure", + required: ["usagePlanId", "keyId"], + members: { + usagePlanId: { location: "uri", locationName: "usageplanId" }, + keyId: { location: "uri", locationName: "keyId" }, + patchOperations: { shape: "S6g" }, + }, }, - }; - } - - Runtime.prototype = { - callFunction: function (name, resolvedArgs) { - var functionEntry = this.functionTable[name]; - if (functionEntry === undefined) { - throw new Error("Unknown function: " + name + "()"); - } - this._validateArgs(name, resolvedArgs, functionEntry._signature); - return functionEntry._func.call(this, resolvedArgs); + output: { shape: "S5e" }, }, - - _validateArgs: function (name, args, signature) { - // Validating the args requires validating - // the correct arity and the correct type of each arg. - // If the last argument is declared as variadic, then we need - // a minimum number of args to be required. Otherwise it has to - // be an exact amount. - var pluralized; - if (signature[signature.length - 1].variadic) { - if (args.length < signature.length) { - pluralized = - signature.length === 1 ? " argument" : " arguments"; - throw new Error( - "ArgumentError: " + - name + - "() " + - "takes at least" + - signature.length + - pluralized + - " but received " + - args.length - ); - } - } else if (args.length !== signature.length) { - pluralized = signature.length === 1 ? " argument" : " arguments"; - throw new Error( - "ArgumentError: " + - name + - "() " + - "takes " + - signature.length + - pluralized + - " but received " + - args.length - ); - } - var currentSpec; - var actualType; - var typeMatched; - for (var i = 0; i < signature.length; i++) { - typeMatched = false; - currentSpec = signature[i].types; - actualType = this._getTypeName(args[i]); - for (var j = 0; j < currentSpec.length; j++) { - if (this._typeMatches(actualType, currentSpec[j], args[i])) { - typeMatched = true; - break; - } - } - if (!typeMatched) { - throw new Error( - "TypeError: " + - name + - "() " + - "expected argument " + - (i + 1) + - " to be type " + - currentSpec + - " but received type " + - actualType + - " instead." - ); - } - } - }, - - _typeMatches: function (actual, expected, argValue) { - if (expected === TYPE_ANY) { - return true; - } - if ( - expected === TYPE_ARRAY_STRING || - expected === TYPE_ARRAY_NUMBER || - expected === TYPE_ARRAY - ) { - // The expected type can either just be array, - // or it can require a specific subtype (array of numbers). - // - // The simplest case is if "array" with no subtype is specified. - if (expected === TYPE_ARRAY) { - return actual === TYPE_ARRAY; - } else if (actual === TYPE_ARRAY) { - // Otherwise we need to check subtypes. - // I think this has potential to be improved. - var subtype; - if (expected === TYPE_ARRAY_NUMBER) { - subtype = TYPE_NUMBER; - } else if (expected === TYPE_ARRAY_STRING) { - subtype = TYPE_STRING; - } - for (var i = 0; i < argValue.length; i++) { - if ( - !this._typeMatches( - this._getTypeName(argValue[i]), - subtype, - argValue[i] - ) - ) { - return false; - } - } - return true; - } - } else { - return actual === expected; - } - }, - _getTypeName: function (obj) { - switch (Object.prototype.toString.call(obj)) { - case "[object String]": - return TYPE_STRING; - case "[object Number]": - return TYPE_NUMBER; - case "[object Array]": - return TYPE_ARRAY; - case "[object Boolean]": - return TYPE_BOOLEAN; - case "[object Null]": - return TYPE_NULL; - case "[object Object]": - // Check if it's an expref. If it has, it's been - // tagged with a jmespathType attr of 'Expref'; - if (obj.jmespathType === TOK_EXPREF) { - return TYPE_EXPREF; - } else { - return TYPE_OBJECT; - } - } - }, - - _functionStartsWith: function (resolvedArgs) { - return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0; - }, - - _functionEndsWith: function (resolvedArgs) { - var searchStr = resolvedArgs[0]; - var suffix = resolvedArgs[1]; - return ( - searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1 - ); - }, - - _functionReverse: function (resolvedArgs) { - var typeName = this._getTypeName(resolvedArgs[0]); - if (typeName === TYPE_STRING) { - var originalStr = resolvedArgs[0]; - var reversedStr = ""; - for (var i = originalStr.length - 1; i >= 0; i--) { - reversedStr += originalStr[i]; - } - return reversedStr; - } else { - var reversedArray = resolvedArgs[0].slice(0); - reversedArray.reverse(); - return reversedArray; - } - }, - - _functionAbs: function (resolvedArgs) { - return Math.abs(resolvedArgs[0]); - }, - - _functionCeil: function (resolvedArgs) { - return Math.ceil(resolvedArgs[0]); - }, - - _functionAvg: function (resolvedArgs) { - var sum = 0; - var inputArray = resolvedArgs[0]; - for (var i = 0; i < inputArray.length; i++) { - sum += inputArray[i]; - } - return sum / inputArray.length; - }, - - _functionContains: function (resolvedArgs) { - return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0; - }, - - _functionFloor: function (resolvedArgs) { - return Math.floor(resolvedArgs[0]); - }, - - _functionLength: function (resolvedArgs) { - if (!isObject(resolvedArgs[0])) { - return resolvedArgs[0].length; - } else { - // As far as I can tell, there's no way to get the length - // of an object without O(n) iteration through the object. - return Object.keys(resolvedArgs[0]).length; - } - }, - - _functionMap: function (resolvedArgs) { - var mapped = []; - var interpreter = this._interpreter; - var exprefNode = resolvedArgs[0]; - var elements = resolvedArgs[1]; - for (var i = 0; i < elements.length; i++) { - mapped.push(interpreter.visit(exprefNode, elements[i])); - } - return mapped; - }, - - _functionMerge: function (resolvedArgs) { - var merged = {}; - for (var i = 0; i < resolvedArgs.length; i++) { - var current = resolvedArgs[i]; - for (var key in current) { - merged[key] = current[key]; - } - } - return merged; - }, - - _functionMax: function (resolvedArgs) { - if (resolvedArgs[0].length > 0) { - var typeName = this._getTypeName(resolvedArgs[0][0]); - if (typeName === TYPE_NUMBER) { - return Math.max.apply(Math, resolvedArgs[0]); - } else { - var elements = resolvedArgs[0]; - var maxElement = elements[0]; - for (var i = 1; i < elements.length; i++) { - if (maxElement.localeCompare(elements[i]) < 0) { - maxElement = elements[i]; - } - } - return maxElement; - } - } else { - return null; - } - }, - - _functionMin: function (resolvedArgs) { - if (resolvedArgs[0].length > 0) { - var typeName = this._getTypeName(resolvedArgs[0][0]); - if (typeName === TYPE_NUMBER) { - return Math.min.apply(Math, resolvedArgs[0]); - } else { - var elements = resolvedArgs[0]; - var minElement = elements[0]; - for (var i = 1; i < elements.length; i++) { - if (elements[i].localeCompare(minElement) < 0) { - minElement = elements[i]; - } - } - return minElement; - } - } else { - return null; - } - }, - - _functionSum: function (resolvedArgs) { - var sum = 0; - var listToSum = resolvedArgs[0]; - for (var i = 0; i < listToSum.length; i++) { - sum += listToSum[i]; - } - return sum; - }, - - _functionType: function (resolvedArgs) { - switch (this._getTypeName(resolvedArgs[0])) { - case TYPE_NUMBER: - return "number"; - case TYPE_STRING: - return "string"; - case TYPE_ARRAY: - return "array"; - case TYPE_OBJECT: - return "object"; - case TYPE_BOOLEAN: - return "boolean"; - case TYPE_EXPREF: - return "expref"; - case TYPE_NULL: - return "null"; - } - }, - - _functionKeys: function (resolvedArgs) { - return Object.keys(resolvedArgs[0]); - }, - - _functionValues: function (resolvedArgs) { - var obj = resolvedArgs[0]; - var keys = Object.keys(obj); - var values = []; - for (var i = 0; i < keys.length; i++) { - values.push(obj[keys[i]]); - } - return values; - }, - - _functionJoin: function (resolvedArgs) { - var joinChar = resolvedArgs[0]; - var listJoin = resolvedArgs[1]; - return listJoin.join(joinChar); - }, - - _functionToArray: function (resolvedArgs) { - if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) { - return resolvedArgs[0]; - } else { - return [resolvedArgs[0]]; - } - }, - - _functionToString: function (resolvedArgs) { - if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) { - return resolvedArgs[0]; - } else { - return JSON.stringify(resolvedArgs[0]); - } - }, - - _functionToNumber: function (resolvedArgs) { - var typeName = this._getTypeName(resolvedArgs[0]); - var convertedValue; - if (typeName === TYPE_NUMBER) { - return resolvedArgs[0]; - } else if (typeName === TYPE_STRING) { - convertedValue = +resolvedArgs[0]; - if (!isNaN(convertedValue)) { - return convertedValue; - } - } - return null; - }, - - _functionNotNull: function (resolvedArgs) { - for (var i = 0; i < resolvedArgs.length; i++) { - if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) { - return resolvedArgs[i]; - } - } - return null; - }, - - _functionSort: function (resolvedArgs) { - var sortedArray = resolvedArgs[0].slice(0); - sortedArray.sort(); - return sortedArray; - }, - - _functionSortBy: function (resolvedArgs) { - var sortedArray = resolvedArgs[0].slice(0); - if (sortedArray.length === 0) { - return sortedArray; - } - var interpreter = this._interpreter; - var exprefNode = resolvedArgs[1]; - var requiredType = this._getTypeName( - interpreter.visit(exprefNode, sortedArray[0]) - ); - if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) { - throw new Error("TypeError"); - } - var that = this; - // In order to get a stable sort out of an unstable - // sort algorithm, we decorate/sort/undecorate (DSU) - // by creating a new list of [index, element] pairs. - // In the cmp function, if the evaluated elements are - // equal, then the index will be used as the tiebreaker. - // After the decorated list has been sorted, it will be - // undecorated to extract the original elements. - var decorated = []; - for (var i = 0; i < sortedArray.length; i++) { - decorated.push([i, sortedArray[i]]); - } - decorated.sort(function (a, b) { - var exprA = interpreter.visit(exprefNode, a[1]); - var exprB = interpreter.visit(exprefNode, b[1]); - if (that._getTypeName(exprA) !== requiredType) { - throw new Error( - "TypeError: expected " + - requiredType + - ", received " + - that._getTypeName(exprA) - ); - } else if (that._getTypeName(exprB) !== requiredType) { - throw new Error( - "TypeError: expected " + - requiredType + - ", received " + - that._getTypeName(exprB) - ); - } - if (exprA > exprB) { - return 1; - } else if (exprA < exprB) { - return -1; - } else { - // If they're equal compare the items by their - // order to maintain relative order of equal keys - // (i.e. to get a stable sort). - return a[0] - b[0]; - } - }); - // Undecorate: extract out the original list elements. - for (var j = 0; j < decorated.length; j++) { - sortedArray[j] = decorated[j][1]; - } - return sortedArray; - }, - - _functionMaxBy: function (resolvedArgs) { - var exprefNode = resolvedArgs[1]; - var resolvedArray = resolvedArgs[0]; - var keyFunction = this.createKeyFunction(exprefNode, [ - TYPE_NUMBER, - TYPE_STRING, - ]); - var maxNumber = -Infinity; - var maxRecord; - var current; - for (var i = 0; i < resolvedArray.length; i++) { - current = keyFunction(resolvedArray[i]); - if (current > maxNumber) { - maxNumber = current; - maxRecord = resolvedArray[i]; - } - } - return maxRecord; - }, - - _functionMinBy: function (resolvedArgs) { - var exprefNode = resolvedArgs[1]; - var resolvedArray = resolvedArgs[0]; - var keyFunction = this.createKeyFunction(exprefNode, [ - TYPE_NUMBER, - TYPE_STRING, - ]); - var minNumber = Infinity; - var minRecord; - var current; - for (var i = 0; i < resolvedArray.length; i++) { - current = keyFunction(resolvedArray[i]); - if (current < minNumber) { - minNumber = current; - minRecord = resolvedArray[i]; - } - } - return minRecord; - }, - - createKeyFunction: function (exprefNode, allowedTypes) { - var that = this; - var interpreter = this._interpreter; - var keyFunc = function (x) { - var current = interpreter.visit(exprefNode, x); - if (allowedTypes.indexOf(that._getTypeName(current)) < 0) { - var msg = - "TypeError: expected one of " + - allowedTypes + - ", received " + - that._getTypeName(current); - throw new Error(msg); - } - return current; - }; - return keyFunc; - }, - }; - - function compile(stream) { - var parser = new Parser(); - var ast = parser.parse(stream); - return ast; - } - - function tokenize(stream) { - var lexer = new Lexer(); - return lexer.tokenize(stream); - } - - function search(data, expression) { - var parser = new Parser(); - // This needs to be improved. Both the interpreter and runtime depend on - // each other. The runtime needs the interpreter to support exprefs. - // There's likely a clean way to avoid the cyclic dependency. - var runtime = new Runtime(); - var interpreter = new TreeInterpreter(runtime); - runtime._interpreter = interpreter; - var node = parser.parse(expression); - return interpreter.search(node, data); - } - - exports.tokenize = tokenize; - exports.compile = compile; - exports.search = search; - exports.strictDeepEqual = strictDeepEqual; - })(false ? undefined : exports); - - /***/ - }, - - /***/ 2816: /***/ function (module) { - module.exports = { - pagination: { - ListInvitations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListMembers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListNetworks: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListNodes: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListProposalVotes: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListProposals: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; - - /***/ - }, - - /***/ 2857: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2012-06-01", - checksumFormat: "sha256", - endpointPrefix: "glacier", - protocol: "rest-json", - serviceFullName: "Amazon Glacier", - serviceId: "Glacier", - signatureVersion: "v4", - uid: "glacier-2012-06-01", - }, - operations: { - AbortMultipartUpload: { - http: { - method: "DELETE", - requestUri: - "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - responseCode: 204, - }, + UpdateUsagePlan: { + http: { method: "PATCH", requestUri: "/usageplans/{usageplanId}" }, input: { type: "structure", - required: ["accountId", "vaultName", "uploadId"], + required: ["usagePlanId"], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - uploadId: { location: "uri", locationName: "uploadId" }, + usagePlanId: { location: "uri", locationName: "usageplanId" }, + patchOperations: { shape: "S6g" }, }, }, + output: { shape: "S29" }, }, - AbortVaultLock: { - http: { - method: "DELETE", - requestUri: "/{accountId}/vaults/{vaultName}/lock-policy", - responseCode: 204, - }, + UpdateVpcLink: { + http: { method: "PATCH", requestUri: "/vpclinks/{vpclink_id}" }, input: { type: "structure", - required: ["accountId", "vaultName"], + required: ["vpcLinkId"], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, + vpcLinkId: { location: "uri", locationName: "vpclink_id" }, + patchOperations: { shape: "S6g" }, }, }, + output: { shape: "S2d" }, }, - AddTagsToVault: { - http: { - requestUri: "/{accountId}/vaults/{vaultName}/tags?operation=add", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - Tags: { shape: "S5" }, - }, + }, + shapes: { + S6: { type: "map", key: {}, value: {} }, + S7: { + type: "structure", + members: { + id: {}, + value: {}, + name: {}, + customerId: {}, + description: {}, + enabled: { type: "boolean" }, + createdDate: { type: "timestamp" }, + lastUpdatedDate: { type: "timestamp" }, + stageKeys: { shape: "S9" }, + tags: { shape: "S6" }, }, }, - CompleteMultipartUpload: { - http: { - requestUri: - "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - responseCode: 201, + S9: { type: "list", member: {} }, + Sc: { type: "list", member: {} }, + Sf: { + type: "structure", + members: { + id: {}, + name: {}, + type: {}, + providerARNs: { shape: "Sc" }, + authType: {}, + authorizerUri: {}, + authorizerCredentials: {}, + identitySource: {}, + identityValidationExpression: {}, + authorizerResultTtlInSeconds: { type: "integer" }, }, - input: { - type: "structure", - required: ["accountId", "vaultName", "uploadId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - uploadId: { location: "uri", locationName: "uploadId" }, - archiveSize: { - location: "header", - locationName: "x-amz-archive-size", - }, - checksum: { - location: "header", - locationName: "x-amz-sha256-tree-hash", + }, + Sh: { + type: "structure", + members: { basePath: {}, restApiId: {}, stage: {} }, + }, + Sn: { + type: "structure", + members: { + id: {}, + description: {}, + createdDate: { type: "timestamp" }, + apiSummary: { + type: "map", + key: {}, + value: { + type: "map", + key: {}, + value: { + type: "structure", + members: { + authorizationType: {}, + apiKeyRequired: { type: "boolean" }, + }, + }, }, }, }, - output: { shape: "S9" }, }, - CompleteVaultLock: { - http: { - requestUri: - "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}", - responseCode: 204, + Ss: { + type: "structure", + required: ["type"], + members: { + type: {}, + path: {}, + method: {}, + statusCode: {}, + name: {}, }, - input: { - type: "structure", - required: ["accountId", "vaultName", "lockId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - lockId: { location: "uri", locationName: "lockId" }, - }, + }, + Sv: { + type: "structure", + members: { id: {}, location: { shape: "Ss" }, properties: {} }, + }, + Sx: { + type: "structure", + members: { + version: {}, + createdDate: { type: "timestamp" }, + description: {}, }, }, - CreateVault: { - http: { - method: "PUT", - requestUri: "/{accountId}/vaults/{vaultName}", - responseCode: 201, + Sz: { + type: "structure", + members: { + types: { type: "list", member: {} }, + vpcEndpointIds: { shape: "S9" }, }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, + }, + S14: { + type: "structure", + members: { + domainName: {}, + certificateName: {}, + certificateArn: {}, + certificateUploadDate: { type: "timestamp" }, + regionalDomainName: {}, + regionalHostedZoneId: {}, + regionalCertificateName: {}, + regionalCertificateArn: {}, + distributionDomainName: {}, + distributionHostedZoneId: {}, + endpointConfiguration: { shape: "Sz" }, + domainNameStatus: {}, + domainNameStatusMessage: {}, + securityPolicy: {}, + tags: { shape: "S6" }, + mutualTlsAuthentication: { + type: "structure", + members: { + truststoreUri: {}, + truststoreVersion: {}, + truststoreWarnings: { shape: "S9" }, + }, }, }, - output: { - type: "structure", - members: { - location: { location: "header", locationName: "Location" }, - }, + }, + S18: { + type: "structure", + members: { + id: {}, + name: {}, + description: {}, + schema: {}, + contentType: {}, }, }, - DeleteArchive: { - http: { - method: "DELETE", - requestUri: - "/{accountId}/vaults/{vaultName}/archives/{archiveId}", - responseCode: 204, + S1a: { + type: "structure", + members: { + id: {}, + name: {}, + validateRequestBody: { type: "boolean" }, + validateRequestParameters: { type: "boolean" }, }, - input: { - type: "structure", - required: ["accountId", "vaultName", "archiveId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - archiveId: { location: "uri", locationName: "archiveId" }, + }, + S1c: { + type: "structure", + members: { + id: {}, + parentId: {}, + pathPart: {}, + path: {}, + resourceMethods: { + type: "map", + key: {}, + value: { shape: "S1e" }, }, }, }, - DeleteVault: { - http: { - method: "DELETE", - requestUri: "/{accountId}/vaults/{vaultName}", - responseCode: 204, - }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, + S1e: { + type: "structure", + members: { + httpMethod: {}, + authorizationType: {}, + authorizerId: {}, + apiKeyRequired: { type: "boolean" }, + requestValidatorId: {}, + operationName: {}, + requestParameters: { shape: "S1f" }, + requestModels: { shape: "S6" }, + methodResponses: { + type: "map", + key: {}, + value: { shape: "S1h" }, }, + methodIntegration: { shape: "S1j" }, + authorizationScopes: { shape: "S9" }, }, }, - DeleteVaultAccessPolicy: { - http: { - method: "DELETE", - requestUri: "/{accountId}/vaults/{vaultName}/access-policy", - responseCode: 204, + S1f: { type: "map", key: {}, value: { type: "boolean" } }, + S1h: { + type: "structure", + members: { + statusCode: {}, + responseParameters: { shape: "S1f" }, + responseModels: { shape: "S6" }, }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, + }, + S1j: { + type: "structure", + members: { + type: {}, + httpMethod: {}, + uri: {}, + connectionType: {}, + connectionId: {}, + credentials: {}, + requestParameters: { shape: "S6" }, + requestTemplates: { shape: "S6" }, + passthroughBehavior: {}, + contentHandling: {}, + timeoutInMillis: { type: "integer" }, + cacheNamespace: {}, + cacheKeyParameters: { shape: "S9" }, + integrationResponses: { + type: "map", + key: {}, + value: { shape: "S1p" }, }, + tlsConfig: { shape: "S1q" }, }, }, - DeleteVaultNotifications: { - http: { - method: "DELETE", - requestUri: - "/{accountId}/vaults/{vaultName}/notification-configuration", - responseCode: 204, + S1p: { + type: "structure", + members: { + statusCode: {}, + selectionPattern: {}, + responseParameters: { shape: "S6" }, + responseTemplates: { shape: "S6" }, + contentHandling: {}, }, - input: { - type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, + }, + S1q: { + type: "structure", + members: { insecureSkipVerification: { type: "boolean" } }, + }, + S1t: { + type: "structure", + members: { + id: {}, + name: {}, + description: {}, + createdDate: { type: "timestamp" }, + version: {}, + warnings: { shape: "S9" }, + binaryMediaTypes: { shape: "S9" }, + minimumCompressionSize: { type: "integer" }, + apiKeySource: {}, + endpointConfiguration: { shape: "Sz" }, + policy: {}, + tags: { shape: "S6" }, + disableExecuteApiEndpoint: { type: "boolean" }, }, }, - DescribeJob: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/jobs/{jobId}", + S1v: { + type: "structure", + members: { + percentTraffic: { type: "double" }, + deploymentId: {}, + stageVariableOverrides: { shape: "S6" }, + useStageCache: { type: "boolean" }, }, - input: { - type: "structure", - required: ["accountId", "vaultName", "jobId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - jobId: { location: "uri", locationName: "jobId" }, + }, + S1w: { + type: "structure", + members: { + deploymentId: {}, + clientCertificateId: {}, + stageName: {}, + description: {}, + cacheClusterEnabled: { type: "boolean" }, + cacheClusterSize: {}, + cacheClusterStatus: {}, + methodSettings: { + type: "map", + key: {}, + value: { + type: "structure", + members: { + metricsEnabled: { type: "boolean" }, + loggingLevel: {}, + dataTraceEnabled: { type: "boolean" }, + throttlingBurstLimit: { type: "integer" }, + throttlingRateLimit: { type: "double" }, + cachingEnabled: { type: "boolean" }, + cacheTtlInSeconds: { type: "integer" }, + cacheDataEncrypted: { type: "boolean" }, + requireAuthorizationForCacheControl: { type: "boolean" }, + unauthorizedCacheControlHeaderStrategy: {}, + }, + }, + }, + variables: { shape: "S6" }, + documentationVersion: {}, + accessLogSettings: { + type: "structure", + members: { format: {}, destinationArn: {} }, }, + canarySettings: { shape: "S1v" }, + tracingEnabled: { type: "boolean" }, + webAclArn: {}, + tags: { shape: "S6" }, + createdDate: { type: "timestamp" }, + lastUpdatedDate: { type: "timestamp" }, }, - output: { shape: "Si" }, }, - DescribeVault: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}", - }, - input: { + S23: { + type: "list", + member: { type: "structure", - required: ["accountId", "vaultName"], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, + apiId: {}, + stage: {}, + throttle: { type: "map", key: {}, value: { shape: "S26" } }, }, }, - output: { shape: "S1a" }, }, - GetDataRetrievalPolicy: { - http: { - method: "GET", - requestUri: "/{accountId}/policies/data-retrieval", - }, - input: { - type: "structure", - required: ["accountId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - }, + S26: { + type: "structure", + members: { + burstLimit: { type: "integer" }, + rateLimit: { type: "double" }, }, - output: { - type: "structure", - members: { Policy: { shape: "S1e" } }, + }, + S27: { + type: "structure", + members: { + limit: { type: "integer" }, + offset: { type: "integer" }, + period: {}, }, }, - GetJobOutput: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output", + S29: { + type: "structure", + members: { + id: {}, + name: {}, + description: {}, + apiStages: { shape: "S23" }, + throttle: { shape: "S26" }, + quota: { shape: "S27" }, + productCode: {}, + tags: { shape: "S6" }, }, - input: { - type: "structure", - required: ["accountId", "vaultName", "jobId"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - jobId: { location: "uri", locationName: "jobId" }, - range: { location: "header", locationName: "Range" }, - }, + }, + S2b: { + type: "structure", + members: { id: {}, type: {}, value: {}, name: {} }, + }, + S2d: { + type: "structure", + members: { + id: {}, + name: {}, + description: {}, + targetArns: { shape: "S9" }, + status: {}, + statusMessage: {}, + tags: { shape: "S6" }, }, - output: { - type: "structure", - members: { - body: { shape: "S1k" }, - checksum: { - location: "header", - locationName: "x-amz-sha256-tree-hash", - }, - status: { location: "statusCode", type: "integer" }, - contentRange: { - location: "header", - locationName: "Content-Range", - }, - acceptRanges: { - location: "header", - locationName: "Accept-Ranges", - }, - contentType: { - location: "header", - locationName: "Content-Type", + }, + S34: { + type: "structure", + members: { + clientCertificateId: {}, + description: {}, + pemEncodedCertificate: {}, + createdDate: { type: "timestamp" }, + expirationDate: { type: "timestamp" }, + tags: { shape: "S6" }, + }, + }, + S36: { + type: "structure", + members: { + cloudwatchRoleArn: {}, + throttleSettings: { shape: "S26" }, + features: { shape: "S9" }, + apiKeyVersion: {}, + }, + }, + S48: { + type: "structure", + members: { + responseType: {}, + statusCode: {}, + responseParameters: { shape: "S6" }, + responseTemplates: { shape: "S6" }, + defaultResponse: { type: "boolean" }, + }, + }, + S51: { + type: "structure", + members: { + id: {}, + friendlyName: {}, + description: {}, + configurationProperties: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + friendlyName: {}, + description: {}, + required: { type: "boolean" }, + defaultValue: {}, + }, }, - archiveDescription: { - location: "header", - locationName: "x-amz-archive-description", + }, + }, + }, + S5e: { + type: "structure", + members: { + usagePlanId: {}, + startDate: {}, + endDate: {}, + position: {}, + items: { + locationName: "values", + type: "map", + key: {}, + value: { + type: "list", + member: { type: "list", member: { type: "long" } }, }, }, - payload: "body", }, }, - GetVaultAccessPolicy: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/access-policy", + S6a: { type: "map", key: {}, value: { shape: "S9" } }, + S6g: { + type: "list", + member: { + type: "structure", + members: { op: {}, path: {}, value: {}, from: {} }, }, + }, + }, + }; + + /***/ + }, + + /***/ 2541: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + module.exports = { + ACM: __webpack_require__(9427), + APIGateway: __webpack_require__(7126), + ApplicationAutoScaling: __webpack_require__(170), + AppStream: __webpack_require__(7624), + AutoScaling: __webpack_require__(9595), + Batch: __webpack_require__(6605), + Budgets: __webpack_require__(1836), + CloudDirectory: __webpack_require__(469), + CloudFormation: __webpack_require__(8021), + CloudFront: __webpack_require__(4779), + CloudHSM: __webpack_require__(5701), + CloudSearch: __webpack_require__(9890), + CloudSearchDomain: __webpack_require__(8395), + CloudTrail: __webpack_require__(768), + CloudWatch: __webpack_require__(5967), + CloudWatchEvents: __webpack_require__(5114), + CloudWatchLogs: __webpack_require__(4227), + CodeBuild: __webpack_require__(665), + CodeCommit: __webpack_require__(4086), + CodeDeploy: __webpack_require__(2317), + CodePipeline: __webpack_require__(8773), + CognitoIdentity: __webpack_require__(2214), + CognitoIdentityServiceProvider: __webpack_require__(9291), + CognitoSync: __webpack_require__(1186), + ConfigService: __webpack_require__(6458), + CUR: __webpack_require__(4671), + DataPipeline: __webpack_require__(5109), + DeviceFarm: __webpack_require__(1372), + DirectConnect: __webpack_require__(8331), + DirectoryService: __webpack_require__(7194), + Discovery: __webpack_require__(4341), + DMS: __webpack_require__(6261), + DynamoDB: __webpack_require__(7502), + DynamoDBStreams: __webpack_require__(9822), + EC2: __webpack_require__(3877), + ECR: __webpack_require__(5773), + ECS: __webpack_require__(6211), + EFS: __webpack_require__(6887), + ElastiCache: __webpack_require__(9236), + ElasticBeanstalk: __webpack_require__(9452), + ELB: __webpack_require__(600), + ELBv2: __webpack_require__(1420), + EMR: __webpack_require__(1928), + ES: __webpack_require__(1920), + ElasticTranscoder: __webpack_require__(8930), + Firehose: __webpack_require__(9405), + GameLift: __webpack_require__(8307), + Glacier: __webpack_require__(9096), + Health: __webpack_require__(7715), + IAM: __webpack_require__(7845), + ImportExport: __webpack_require__(6384), + Inspector: __webpack_require__(4343), + Iot: __webpack_require__(6255), + IotData: __webpack_require__(1291), + Kinesis: __webpack_require__(7221), + KinesisAnalytics: __webpack_require__(3506), + KMS: __webpack_require__(9374), + Lambda: __webpack_require__(6382), + LexRuntime: __webpack_require__(1879), + Lightsail: __webpack_require__(7350), + MachineLearning: __webpack_require__(5889), + MarketplaceCommerceAnalytics: __webpack_require__(8458), + MarketplaceMetering: __webpack_require__(9225), + MTurk: __webpack_require__(6427), + MobileAnalytics: __webpack_require__(6117), + OpsWorks: __webpack_require__(5542), + OpsWorksCM: __webpack_require__(6738), + Organizations: __webpack_require__(7106), + Pinpoint: __webpack_require__(5381), + Polly: __webpack_require__(4211), + RDS: __webpack_require__(1071), + Redshift: __webpack_require__(5609), + Rekognition: __webpack_require__(8991), + ResourceGroupsTaggingAPI: __webpack_require__(6205), + Route53: __webpack_require__(5707), + Route53Domains: __webpack_require__(3206), + S3: __webpack_require__(1777), + S3Control: __webpack_require__(2617), + ServiceCatalog: __webpack_require__(2673), + SES: __webpack_require__(5311), + Shield: __webpack_require__(8057), + SimpleDB: __webpack_require__(7645), + SMS: __webpack_require__(5103), + Snowball: __webpack_require__(2259), + SNS: __webpack_require__(6735), + SQS: __webpack_require__(8779), + SSM: __webpack_require__(2883), + StorageGateway: __webpack_require__(910), + StepFunctions: __webpack_require__(5835), + STS: __webpack_require__(1733), + Support: __webpack_require__(3042), + SWF: __webpack_require__(8866), + XRay: __webpack_require__(1015), + WAF: __webpack_require__(4258), + WAFRegional: __webpack_require__(2709), + WorkDocs: __webpack_require__(4469), + WorkSpaces: __webpack_require__(4400), + CodeStar: __webpack_require__(7205), + LexModelBuildingService: __webpack_require__(4888), + MarketplaceEntitlementService: __webpack_require__(8265), + Athena: __webpack_require__(7207), + Greengrass: __webpack_require__(4290), + DAX: __webpack_require__(7258), + MigrationHub: __webpack_require__(2106), + CloudHSMV2: __webpack_require__(6900), + Glue: __webpack_require__(1711), + Mobile: __webpack_require__(758), + Pricing: __webpack_require__(3989), + CostExplorer: __webpack_require__(332), + MediaConvert: __webpack_require__(9568), + MediaLive: __webpack_require__(99), + MediaPackage: __webpack_require__(6515), + MediaStore: __webpack_require__(1401), + MediaStoreData: __webpack_require__(2271), + AppSync: __webpack_require__(8847), + GuardDuty: __webpack_require__(5939), + MQ: __webpack_require__(3346), + Comprehend: __webpack_require__(9627), + IoTJobsDataPlane: __webpack_require__(6394), + KinesisVideoArchivedMedia: __webpack_require__(6454), + KinesisVideoMedia: __webpack_require__(4487), + KinesisVideo: __webpack_require__(3707), + SageMakerRuntime: __webpack_require__(2747), + SageMaker: __webpack_require__(7151), + Translate: __webpack_require__(1602), + ResourceGroups: __webpack_require__(215), + AlexaForBusiness: __webpack_require__(8679), + Cloud9: __webpack_require__(877), + ServerlessApplicationRepository: __webpack_require__(1592), + ServiceDiscovery: __webpack_require__(6688), + WorkMail: __webpack_require__(7404), + AutoScalingPlans: __webpack_require__(3099), + TranscribeService: __webpack_require__(8577), + Connect: __webpack_require__(697), + ACMPCA: __webpack_require__(2386), + FMS: __webpack_require__(7923), + SecretsManager: __webpack_require__(585), + IoTAnalytics: __webpack_require__(7010), + IoT1ClickDevicesService: __webpack_require__(8859), + IoT1ClickProjects: __webpack_require__(9523), + PI: __webpack_require__(1032), + Neptune: __webpack_require__(8660), + MediaTailor: __webpack_require__(466), + EKS: __webpack_require__(1429), + Macie: __webpack_require__(7899), + DLM: __webpack_require__(160), + Signer: __webpack_require__(4795), + Chime: __webpack_require__(7409), + PinpointEmail: __webpack_require__(8843), + RAM: __webpack_require__(8421), + Route53Resolver: __webpack_require__(4915), + PinpointSMSVoice: __webpack_require__(1187), + QuickSight: __webpack_require__(9475), + RDSDataService: __webpack_require__(408), + Amplify: __webpack_require__(8375), + DataSync: __webpack_require__(9980), + RoboMaker: __webpack_require__(4802), + Transfer: __webpack_require__(7830), + GlobalAccelerator: __webpack_require__(7443), + ComprehendMedical: __webpack_require__(9457), + KinesisAnalyticsV2: __webpack_require__(7043), + MediaConnect: __webpack_require__(9526), + FSx: __webpack_require__(8937), + SecurityHub: __webpack_require__(1353), + AppMesh: __webpack_require__(7555), + LicenseManager: __webpack_require__(3110), + Kafka: __webpack_require__(1275), + ApiGatewayManagementApi: __webpack_require__(5319), + ApiGatewayV2: __webpack_require__(2020), + DocDB: __webpack_require__(7223), + Backup: __webpack_require__(4604), + WorkLink: __webpack_require__(1250), + Textract: __webpack_require__(3223), + ManagedBlockchain: __webpack_require__(3220), + MediaPackageVod: __webpack_require__(2339), + GroundStation: __webpack_require__(9976), + IoTThingsGraph: __webpack_require__(2327), + IoTEvents: __webpack_require__(3222), + IoTEventsData: __webpack_require__(7581), + Personalize: __webpack_require__(8478), + PersonalizeEvents: __webpack_require__(8280), + PersonalizeRuntime: __webpack_require__(1349), + ApplicationInsights: __webpack_require__(9512), + ServiceQuotas: __webpack_require__(6723), + EC2InstanceConnect: __webpack_require__(5107), + EventBridge: __webpack_require__(4105), + LakeFormation: __webpack_require__(7026), + ForecastService: __webpack_require__(1798), + ForecastQueryService: __webpack_require__(4068), + QLDB: __webpack_require__(9086), + QLDBSession: __webpack_require__(2447), + WorkMailMessageFlow: __webpack_require__(2145), + CodeStarNotifications: __webpack_require__(3853), + SavingsPlans: __webpack_require__(686), + SSO: __webpack_require__(4612), + SSOOIDC: __webpack_require__(1786), + MarketplaceCatalog: __webpack_require__(6773), + DataExchange: __webpack_require__(8433), + SESV2: __webpack_require__(837), + MigrationHubConfig: __webpack_require__(5924), + ConnectParticipant: __webpack_require__(4122), + AppConfig: __webpack_require__(5821), + IoTSecureTunneling: __webpack_require__(6992), + WAFV2: __webpack_require__(42), + ElasticInference: __webpack_require__(5252), + Imagebuilder: __webpack_require__(6244), + Schemas: __webpack_require__(3694), + AccessAnalyzer: __webpack_require__(2467), + CodeGuruReviewer: __webpack_require__(1917), + CodeGuruProfiler: __webpack_require__(623), + ComputeOptimizer: __webpack_require__(1530), + FraudDetector: __webpack_require__(9196), + Kendra: __webpack_require__(6906), + NetworkManager: __webpack_require__(4128), + Outposts: __webpack_require__(8119), + AugmentedAIRuntime: __webpack_require__(7508), + EBS: __webpack_require__(7646), + KinesisVideoSignalingChannels: __webpack_require__(2641), + Detective: __webpack_require__(1068), + CodeStarconnections: __webpack_require__(1096), + Synthetics: __webpack_require__(2110), + IoTSiteWise: __webpack_require__(2221), + Macie2: __webpack_require__(9489), + CodeArtifact: __webpack_require__(4035), + Honeycode: __webpack_require__(4388), + IVS: __webpack_require__(4291), + Braket: __webpack_require__(2220), + IdentityStore: __webpack_require__(5998), + Appflow: __webpack_require__(3870), + RedshiftData: __webpack_require__(5040), + SSOAdmin: __webpack_require__(3631), + TimestreamQuery: __webpack_require__(8940), + TimestreamWrite: __webpack_require__(7538), + S3Outposts: __webpack_require__(1487), + DataBrew: __webpack_require__(3576), + ServiceCatalogAppRegistry: __webpack_require__(8889), + NetworkFirewall: __webpack_require__(7310), + MWAA: __webpack_require__(89), + AmplifyBackend: __webpack_require__(5328), + AppIntegrations: __webpack_require__(2838), + ConnectContactLens: __webpack_require__(3288), + DevOpsGuru: __webpack_require__(6699), + ECRPUBLIC: __webpack_require__(1794), + LookoutVision: __webpack_require__(3536), + SageMakerFeatureStoreRuntime: __webpack_require__(8806), + CustomerProfiles: __webpack_require__(5774), + AuditManager: __webpack_require__(212), + EMRcontainers: __webpack_require__(7544), + HealthLake: __webpack_require__(254), + SagemakerEdge: __webpack_require__(3825), + Amp: __webpack_require__(1607), + GreengrassV2: __webpack_require__(1926), + IotDeviceAdvisor: __webpack_require__(3109), + IoTFleetHub: __webpack_require__(6465), + IoTWireless: __webpack_require__(7528), + Location: __webpack_require__(779), + WellArchitected: __webpack_require__(7462), + }; + + /***/ + }, + + /***/ 2572: /***/ function (module) { + module.exports = { + rules: { + "*/*": { endpoint: "{service}.{region}.amazonaws.com" }, + "cn-*/*": { endpoint: "{service}.{region}.amazonaws.com.cn" }, + "us-iso-*/*": { endpoint: "{service}.{region}.c2s.ic.gov" }, + "us-isob-*/*": { endpoint: "{service}.{region}.sc2s.sgov.gov" }, + "*/budgets": "globalSSL", + "*/cloudfront": "globalSSL", + "*/sts": "globalSSL", + "*/importexport": { + endpoint: "{service}.amazonaws.com", + signatureVersion: "v2", + globalEndpoint: true, + }, + "*/route53": "globalSSL", + "cn-*/route53": { + endpoint: "{service}.amazonaws.com.cn", + globalEndpoint: true, + signingRegion: "cn-northwest-1", + }, + "us-gov-*/route53": "globalGovCloud", + "*/waf": "globalSSL", + "*/iam": "globalSSL", + "cn-*/iam": { + endpoint: "{service}.cn-north-1.amazonaws.com.cn", + globalEndpoint: true, + signingRegion: "cn-north-1", + }, + "us-gov-*/iam": "globalGovCloud", + "us-gov-*/sts": { endpoint: "{service}.{region}.amazonaws.com" }, + "us-gov-west-1/s3": "s3signature", + "us-west-1/s3": "s3signature", + "us-west-2/s3": "s3signature", + "eu-west-1/s3": "s3signature", + "ap-southeast-1/s3": "s3signature", + "ap-southeast-2/s3": "s3signature", + "ap-northeast-1/s3": "s3signature", + "sa-east-1/s3": "s3signature", + "us-east-1/s3": { + endpoint: "{service}.amazonaws.com", + signatureVersion: "s3", + }, + "us-east-1/sdb": { + endpoint: "{service}.amazonaws.com", + signatureVersion: "v2", + }, + "*/sdb": { + endpoint: "{service}.{region}.amazonaws.com", + signatureVersion: "v2", + }, + }, + patterns: { + globalSSL: { + endpoint: "https://{service}.amazonaws.com", + globalEndpoint: true, + signingRegion: "us-east-1", + }, + globalGovCloud: { + endpoint: "{service}.us-gov.amazonaws.com", + globalEndpoint: true, + signingRegion: "us-gov-west-1", + }, + s3signature: { + endpoint: "{service}.{region}.amazonaws.com", + signatureVersion: "s3", + }, + }, + }; + + /***/ + }, + + /***/ 2592: /***/ function (module) { + module.exports = { + pagination: { + ListAccessPoints: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListJobs: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListRegionalBuckets: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + }, + }; + + /***/ + }, + + /***/ 2599: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2018-11-05", + endpointPrefix: "transfer", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "AWS Transfer", + serviceFullName: "AWS Transfer Family", + serviceId: "Transfer", + signatureVersion: "v4", + signingName: "transfer", + targetPrefix: "TransferService", + uid: "transfer-2018-11-05", + }, + operations: { + CreateServer: { input: { type: "structure", - required: ["accountId", "vaultName"], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, + Certificate: {}, + EndpointDetails: { shape: "S3" }, + EndpointType: {}, + HostKey: { shape: "Sd" }, + IdentityProviderDetails: { shape: "Se" }, + IdentityProviderType: {}, + LoggingRole: {}, + Protocols: { shape: "Si" }, + SecurityPolicyName: {}, + Tags: { shape: "Sl" }, }, }, output: { type: "structure", - members: { policy: { shape: "S1o" } }, - payload: "policy", + required: ["ServerId"], + members: { ServerId: {} }, }, }, - GetVaultLock: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/lock-policy", - }, + CreateUser: { input: { type: "structure", - required: ["accountId", "vaultName"], + required: ["Role", "ServerId", "UserName"], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, + HomeDirectory: {}, + HomeDirectoryType: {}, + HomeDirectoryMappings: { shape: "Su" }, + Policy: {}, + Role: {}, + ServerId: {}, + SshPublicKeyBody: {}, + Tags: { shape: "Sl" }, + UserName: {}, }, }, output: { type: "structure", - members: { - Policy: {}, - State: {}, - ExpirationDate: {}, - CreationDate: {}, - }, + required: ["ServerId", "UserName"], + members: { ServerId: {}, UserName: {} }, }, }, - GetVaultNotifications: { - http: { - method: "GET", - requestUri: - "/{accountId}/vaults/{vaultName}/notification-configuration", - }, + DeleteServer: { input: { type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, + required: ["ServerId"], + members: { ServerId: {} }, }, - output: { + }, + DeleteSshPublicKey: { + input: { type: "structure", - members: { vaultNotificationConfig: { shape: "S1t" } }, - payload: "vaultNotificationConfig", + required: ["ServerId", "SshPublicKeyId", "UserName"], + members: { ServerId: {}, SshPublicKeyId: {}, UserName: {} }, }, }, - InitiateJob: { - http: { - requestUri: "/{accountId}/vaults/{vaultName}/jobs", - responseCode: 202, + DeleteUser: { + input: { + type: "structure", + required: ["ServerId", "UserName"], + members: { ServerId: {}, UserName: {} }, }, + }, + DescribeSecurityPolicy: { input: { type: "structure", - required: ["accountId", "vaultName"], + required: ["SecurityPolicyName"], + members: { SecurityPolicyName: {} }, + }, + output: { + type: "structure", + required: ["SecurityPolicy"], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - jobParameters: { + SecurityPolicy: { type: "structure", + required: ["SecurityPolicyName"], members: { - Format: {}, - Type: {}, - ArchiveId: {}, - Description: {}, - SNSTopic: {}, - RetrievalByteRange: {}, - Tier: {}, - InventoryRetrievalParameters: { - type: "structure", - members: { - StartDate: {}, - EndDate: {}, - Limit: {}, - Marker: {}, - }, - }, - SelectParameters: { shape: "Sp" }, - OutputLocation: { shape: "Sx" }, + Fips: { type: "boolean" }, + SecurityPolicyName: {}, + SshCiphers: { shape: "S1a" }, + SshKexs: { shape: "S1a" }, + SshMacs: { shape: "S1a" }, + TlsCiphers: { shape: "S1a" }, }, }, }, - payload: "jobParameters", + }, + }, + DescribeServer: { + input: { + type: "structure", + required: ["ServerId"], + members: { ServerId: {} }, }, output: { type: "structure", + required: ["Server"], members: { - location: { location: "header", locationName: "Location" }, - jobId: { location: "header", locationName: "x-amz-job-id" }, - jobOutputPath: { - location: "header", - locationName: "x-amz-job-output-path", + Server: { + type: "structure", + required: ["Arn"], + members: { + Arn: {}, + Certificate: {}, + EndpointDetails: { shape: "S3" }, + EndpointType: {}, + HostKeyFingerprint: {}, + IdentityProviderDetails: { shape: "Se" }, + IdentityProviderType: {}, + LoggingRole: {}, + Protocols: { shape: "Si" }, + SecurityPolicyName: {}, + ServerId: {}, + State: {}, + Tags: { shape: "Sl" }, + UserCount: { type: "integer" }, + }, }, }, }, }, - InitiateMultipartUpload: { - http: { - requestUri: "/{accountId}/vaults/{vaultName}/multipart-uploads", - responseCode: 201, - }, + DescribeUser: { input: { type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - archiveDescription: { - location: "header", - locationName: "x-amz-archive-description", - }, - partSize: { - location: "header", - locationName: "x-amz-part-size", - }, - }, + required: ["ServerId", "UserName"], + members: { ServerId: {}, UserName: {} }, }, output: { type: "structure", + required: ["ServerId", "User"], members: { - location: { location: "header", locationName: "Location" }, - uploadId: { - location: "header", - locationName: "x-amz-multipart-upload-id", + ServerId: {}, + User: { + type: "structure", + required: ["Arn"], + members: { + Arn: {}, + HomeDirectory: {}, + HomeDirectoryMappings: { shape: "Su" }, + HomeDirectoryType: {}, + Policy: {}, + Role: {}, + SshPublicKeys: { + type: "list", + member: { + type: "structure", + required: [ + "DateImported", + "SshPublicKeyBody", + "SshPublicKeyId", + ], + members: { + DateImported: { type: "timestamp" }, + SshPublicKeyBody: {}, + SshPublicKeyId: {}, + }, + }, + }, + Tags: { shape: "Sl" }, + UserName: {}, + }, }, }, }, }, - InitiateVaultLock: { - http: { - requestUri: "/{accountId}/vaults/{vaultName}/lock-policy", - responseCode: 201, - }, + ImportSshPublicKey: { input: { type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - policy: { type: "structure", members: { Policy: {} } }, - }, - payload: "policy", + required: ["ServerId", "SshPublicKeyBody", "UserName"], + members: { ServerId: {}, SshPublicKeyBody: {}, UserName: {} }, }, output: { type: "structure", - members: { - lockId: { location: "header", locationName: "x-amz-lock-id" }, - }, + required: ["ServerId", "SshPublicKeyId", "UserName"], + members: { ServerId: {}, SshPublicKeyId: {}, UserName: {} }, }, }, - ListJobs: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/jobs", - }, + ListSecurityPolicies: { input: { type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - limit: { location: "querystring", locationName: "limit" }, - marker: { location: "querystring", locationName: "marker" }, - statuscode: { - location: "querystring", - locationName: "statuscode", - }, - completed: { - location: "querystring", - locationName: "completed", - }, - }, + members: { MaxResults: { type: "integer" }, NextToken: {} }, }, output: { type: "structure", + required: ["SecurityPolicyNames"], members: { - JobList: { type: "list", member: { shape: "Si" } }, - Marker: {}, + NextToken: {}, + SecurityPolicyNames: { type: "list", member: {} }, }, }, }, - ListMultipartUploads: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/multipart-uploads", - }, + ListServers: { input: { type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - marker: { location: "querystring", locationName: "marker" }, - limit: { location: "querystring", locationName: "limit" }, - }, + members: { MaxResults: { type: "integer" }, NextToken: {} }, }, output: { type: "structure", + required: ["Servers"], members: { - UploadsList: { + NextToken: {}, + Servers: { type: "list", member: { type: "structure", + required: ["Arn"], members: { - MultipartUploadId: {}, - VaultARN: {}, - ArchiveDescription: {}, - PartSizeInBytes: { type: "long" }, - CreationDate: {}, + Arn: {}, + IdentityProviderType: {}, + EndpointType: {}, + LoggingRole: {}, + ServerId: {}, + State: {}, + UserCount: { type: "integer" }, }, }, }, - Marker: {}, }, }, }, - ListParts: { - http: { - method: "GET", - requestUri: - "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - }, + ListTagsForResource: { input: { type: "structure", - required: ["accountId", "vaultName", "uploadId"], + required: ["Arn"], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - uploadId: { location: "uri", locationName: "uploadId" }, - marker: { location: "querystring", locationName: "marker" }, - limit: { location: "querystring", locationName: "limit" }, + Arn: {}, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, output: { type: "structure", - members: { - MultipartUploadId: {}, - VaultARN: {}, - ArchiveDescription: {}, - PartSizeInBytes: { type: "long" }, - CreationDate: {}, - Parts: { - type: "list", - member: { - type: "structure", - members: { RangeInBytes: {}, SHA256TreeHash: {} }, - }, - }, - Marker: {}, - }, + members: { Arn: {}, NextToken: {}, Tags: { shape: "Sl" } }, }, }, - ListProvisionedCapacity: { - http: { - method: "GET", - requestUri: "/{accountId}/provisioned-capacity", - }, + ListUsers: { input: { type: "structure", - required: ["accountId"], + required: ["ServerId"], members: { - accountId: { location: "uri", locationName: "accountId" }, + MaxResults: { type: "integer" }, + NextToken: {}, + ServerId: {}, }, }, output: { type: "structure", + required: ["ServerId", "Users"], members: { - ProvisionedCapacityList: { + NextToken: {}, + ServerId: {}, + Users: { type: "list", member: { type: "structure", + required: ["Arn"], members: { - CapacityId: {}, - StartDate: {}, - ExpirationDate: {}, + Arn: {}, + HomeDirectory: {}, + HomeDirectoryType: {}, + Role: {}, + SshPublicKeyCount: { type: "integer" }, + UserName: {}, }, }, }, }, }, }, - ListTagsForVault: { - http: { - method: "GET", - requestUri: "/{accountId}/vaults/{vaultName}/tags", + StartServer: { + input: { + type: "structure", + required: ["ServerId"], + members: { ServerId: {} }, }, + }, + StopServer: { input: { type: "structure", - required: ["accountId", "vaultName"], - members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - }, + required: ["ServerId"], + members: { ServerId: {} }, }, - output: { type: "structure", members: { Tags: { shape: "S5" } } }, }, - ListVaults: { - http: { method: "GET", requestUri: "/{accountId}/vaults" }, + TagResource: { input: { type: "structure", - required: ["accountId"], + required: ["Arn", "Tags"], + members: { Arn: {}, Tags: { shape: "Sl" } }, + }, + }, + TestIdentityProvider: { + input: { + type: "structure", + required: ["ServerId", "UserName"], members: { - accountId: { location: "uri", locationName: "accountId" }, - marker: { location: "querystring", locationName: "marker" }, - limit: { location: "querystring", locationName: "limit" }, + ServerId: {}, + ServerProtocol: {}, + SourceIp: {}, + UserName: {}, + UserPassword: { type: "string", sensitive: true }, }, }, output: { type: "structure", + required: ["StatusCode", "Url"], members: { - VaultList: { type: "list", member: { shape: "S1a" } }, - Marker: {}, + Response: {}, + StatusCode: { type: "integer" }, + Message: {}, + Url: {}, }, }, }, - PurchaseProvisionedCapacity: { - http: { - requestUri: "/{accountId}/provisioned-capacity", - responseCode: 201, + UntagResource: { + input: { + type: "structure", + required: ["Arn", "TagKeys"], + members: { Arn: {}, TagKeys: { type: "list", member: {} } }, }, + }, + UpdateServer: { input: { type: "structure", - required: ["accountId"], + required: ["ServerId"], members: { - accountId: { location: "uri", locationName: "accountId" }, + Certificate: {}, + EndpointDetails: { shape: "S3" }, + EndpointType: {}, + HostKey: { shape: "Sd" }, + IdentityProviderDetails: { shape: "Se" }, + LoggingRole: {}, + Protocols: { shape: "Si" }, + SecurityPolicyName: {}, + ServerId: {}, }, }, output: { type: "structure", - members: { - capacityId: { - location: "header", - locationName: "x-amz-capacity-id", - }, - }, + required: ["ServerId"], + members: { ServerId: {} }, }, }, - RemoveTagsFromVault: { - http: { - requestUri: - "/{accountId}/vaults/{vaultName}/tags?operation=remove", - responseCode: 204, - }, + UpdateUser: { input: { type: "structure", - required: ["accountId", "vaultName"], + required: ["ServerId", "UserName"], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - TagKeys: { type: "list", member: {} }, + HomeDirectory: {}, + HomeDirectoryType: {}, + HomeDirectoryMappings: { shape: "Su" }, + Policy: {}, + Role: {}, + ServerId: {}, + UserName: {}, }, }, + output: { + type: "structure", + required: ["ServerId", "UserName"], + members: { ServerId: {}, UserName: {} }, + }, }, - SetDataRetrievalPolicy: { + }, + shapes: { + S3: { + type: "structure", + members: { + AddressAllocationIds: { type: "list", member: {} }, + SubnetIds: { type: "list", member: {} }, + VpcEndpointId: {}, + VpcId: {}, + SecurityGroupIds: { type: "list", member: {} }, + }, + }, + Sd: { type: "string", sensitive: true }, + Se: { type: "structure", members: { Url: {}, InvocationRole: {} } }, + Si: { type: "list", member: {} }, + Sl: { + type: "list", + member: { + type: "structure", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, + }, + }, + Su: { + type: "list", + member: { + type: "structure", + required: ["Entry", "Target"], + members: { Entry: {}, Target: {} }, + }, + }, + S1a: { type: "list", member: {} }, + }, + }; + + /***/ + }, + + /***/ 2617: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["s3control"] = {}; + AWS.S3Control = Service.defineService("s3control", ["2018-08-20"]); + __webpack_require__(1489); + Object.defineProperty(apiLoader.services["s3control"], "2018-08-20", { + get: function get() { + var model = __webpack_require__(2091); + model.paginators = __webpack_require__(2592).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.S3Control; + + /***/ + }, + + /***/ 2638: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2017-01-11", + endpointPrefix: "clouddirectory", + protocol: "rest-json", + serviceFullName: "Amazon CloudDirectory", + serviceId: "CloudDirectory", + signatureVersion: "v4", + signingName: "clouddirectory", + uid: "clouddirectory-2017-01-11", + }, + operations: { + AddFacetToObject: { http: { method: "PUT", - requestUri: "/{accountId}/policies/data-retrieval", - responseCode: 204, + requestUri: "/amazonclouddirectory/2017-01-11/object/facets", + responseCode: 200, }, input: { type: "structure", - required: ["accountId"], + required: ["DirectoryArn", "SchemaFacet", "ObjectReference"], members: { - accountId: { location: "uri", locationName: "accountId" }, - Policy: { shape: "S1e" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + SchemaFacet: { shape: "S3" }, + ObjectAttributeList: { shape: "S5" }, + ObjectReference: { shape: "Sf" }, }, }, + output: { type: "structure", members: {} }, }, - SetVaultAccessPolicy: { + ApplySchema: { http: { method: "PUT", - requestUri: "/{accountId}/vaults/{vaultName}/access-policy", - responseCode: 204, + requestUri: "/amazonclouddirectory/2017-01-11/schema/apply", + responseCode: 200, }, input: { type: "structure", - required: ["accountId", "vaultName"], + required: ["PublishedSchemaArn", "DirectoryArn"], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - policy: { shape: "S1o" }, + PublishedSchemaArn: {}, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, }, - payload: "policy", + }, + output: { + type: "structure", + members: { AppliedSchemaArn: {}, DirectoryArn: {} }, }, }, - SetVaultNotifications: { + AttachObject: { http: { method: "PUT", - requestUri: - "/{accountId}/vaults/{vaultName}/notification-configuration", - responseCode: 204, + requestUri: "/amazonclouddirectory/2017-01-11/object/attach", + responseCode: 200, }, input: { type: "structure", - required: ["accountId", "vaultName"], + required: [ + "DirectoryArn", + "ParentReference", + "ChildReference", + "LinkName", + ], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - vaultNotificationConfig: { shape: "S1t" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + ParentReference: { shape: "Sf" }, + ChildReference: { shape: "Sf" }, + LinkName: {}, }, - payload: "vaultNotificationConfig", + }, + output: { + type: "structure", + members: { AttachedObjectIdentifier: {} }, }, }, - UploadArchive: { + AttachPolicy: { http: { - requestUri: "/{accountId}/vaults/{vaultName}/archives", - responseCode: 201, + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/policy/attach", + responseCode: 200, }, input: { type: "structure", - required: ["vaultName", "accountId"], + required: ["DirectoryArn", "PolicyReference", "ObjectReference"], members: { - vaultName: { location: "uri", locationName: "vaultName" }, - accountId: { location: "uri", locationName: "accountId" }, - archiveDescription: { - location: "header", - locationName: "x-amz-archive-description", - }, - checksum: { + DirectoryArn: { location: "header", - locationName: "x-amz-sha256-tree-hash", + locationName: "x-amz-data-partition", }, - body: { shape: "S1k" }, + PolicyReference: { shape: "Sf" }, + ObjectReference: { shape: "Sf" }, }, - payload: "body", }, - output: { shape: "S9" }, + output: { type: "structure", members: {} }, }, - UploadMultipartPart: { + AttachToIndex: { http: { method: "PUT", - requestUri: - "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - responseCode: 204, + requestUri: "/amazonclouddirectory/2017-01-11/index/attach", + responseCode: 200, }, input: { type: "structure", - required: ["accountId", "vaultName", "uploadId"], + required: ["DirectoryArn", "IndexReference", "TargetReference"], members: { - accountId: { location: "uri", locationName: "accountId" }, - vaultName: { location: "uri", locationName: "vaultName" }, - uploadId: { location: "uri", locationName: "uploadId" }, - checksum: { + DirectoryArn: { location: "header", - locationName: "x-amz-sha256-tree-hash", + locationName: "x-amz-data-partition", }, - range: { location: "header", locationName: "Content-Range" }, - body: { shape: "S1k" }, + IndexReference: { shape: "Sf" }, + TargetReference: { shape: "Sf" }, }, - payload: "body", }, output: { type: "structure", - members: { - checksum: { - location: "header", - locationName: "x-amz-sha256-tree-hash", - }, - }, + members: { AttachedObjectIdentifier: {} }, }, }, - }, - shapes: { - S5: { type: "map", key: {}, value: {} }, - S9: { - type: "structure", - members: { - location: { location: "header", locationName: "Location" }, - checksum: { - location: "header", - locationName: "x-amz-sha256-tree-hash", - }, - archiveId: { - location: "header", - locationName: "x-amz-archive-id", - }, + AttachTypedLink: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/typedlink/attach", + responseCode: 200, }, - }, - Si: { - type: "structure", - members: { - JobId: {}, - JobDescription: {}, - Action: {}, - ArchiveId: {}, - VaultARN: {}, - CreationDate: {}, - Completed: { type: "boolean" }, - StatusCode: {}, - StatusMessage: {}, - ArchiveSizeInBytes: { type: "long" }, - InventorySizeInBytes: { type: "long" }, - SNSTopic: {}, - CompletionDate: {}, - SHA256TreeHash: {}, - ArchiveSHA256TreeHash: {}, - RetrievalByteRange: {}, - Tier: {}, - InventoryRetrievalParameters: { - type: "structure", - members: { - Format: {}, - StartDate: {}, - EndDate: {}, - Limit: {}, - Marker: {}, + input: { + type: "structure", + required: [ + "DirectoryArn", + "SourceObjectReference", + "TargetObjectReference", + "TypedLinkFacet", + "Attributes", + ], + members: { + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", }, + SourceObjectReference: { shape: "Sf" }, + TargetObjectReference: { shape: "Sf" }, + TypedLinkFacet: { shape: "St" }, + Attributes: { shape: "Sv" }, }, - JobOutputPath: {}, - SelectParameters: { shape: "Sp" }, - OutputLocation: { shape: "Sx" }, + }, + output: { + type: "structure", + members: { TypedLinkSpecifier: { shape: "Sy" } }, }, }, - Sp: { - type: "structure", - members: { - InputSerialization: { - type: "structure", - members: { - csv: { + BatchRead: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/batchread", + responseCode: 200, + }, + input: { + type: "structure", + required: ["DirectoryArn", "Operations"], + members: { + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Operations: { + type: "list", + member: { type: "structure", members: { - FileHeaderInfo: {}, - Comments: {}, - QuoteEscapeCharacter: {}, - RecordDelimiter: {}, - FieldDelimiter: {}, - QuoteCharacter: {}, + ListObjectAttributes: { + type: "structure", + required: ["ObjectReference"], + members: { + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + FacetFilter: { shape: "S3" }, + }, + }, + ListObjectChildren: { + type: "structure", + required: ["ObjectReference"], + members: { + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + ListAttachedIndices: { + type: "structure", + required: ["TargetReference"], + members: { + TargetReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + ListObjectParentPaths: { + type: "structure", + required: ["ObjectReference"], + members: { + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + GetObjectInformation: { + type: "structure", + required: ["ObjectReference"], + members: { ObjectReference: { shape: "Sf" } }, + }, + GetObjectAttributes: { + type: "structure", + required: [ + "ObjectReference", + "SchemaFacet", + "AttributeNames", + ], + members: { + ObjectReference: { shape: "Sf" }, + SchemaFacet: { shape: "S3" }, + AttributeNames: { shape: "S1a" }, + }, + }, + ListObjectParents: { + type: "structure", + required: ["ObjectReference"], + members: { + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + ListObjectPolicies: { + type: "structure", + required: ["ObjectReference"], + members: { + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + ListPolicyAttachments: { + type: "structure", + required: ["PolicyReference"], + members: { + PolicyReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + LookupPolicy: { + type: "structure", + required: ["ObjectReference"], + members: { + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + ListIndex: { + type: "structure", + required: ["IndexReference"], + members: { + RangesOnIndexedValues: { shape: "S1g" }, + IndexReference: { shape: "Sf" }, + MaxResults: { type: "integer" }, + NextToken: {}, + }, + }, + ListOutgoingTypedLinks: { + type: "structure", + required: ["ObjectReference"], + members: { + ObjectReference: { shape: "Sf" }, + FilterAttributeRanges: { shape: "S1l" }, + FilterTypedLink: { shape: "St" }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + ListIncomingTypedLinks: { + type: "structure", + required: ["ObjectReference"], + members: { + ObjectReference: { shape: "Sf" }, + FilterAttributeRanges: { shape: "S1l" }, + FilterTypedLink: { shape: "St" }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + GetLinkAttributes: { + type: "structure", + required: ["TypedLinkSpecifier", "AttributeNames"], + members: { + TypedLinkSpecifier: { shape: "Sy" }, + AttributeNames: { shape: "S1a" }, + }, + }, }, }, }, + ConsistencyLevel: { + location: "header", + locationName: "x-amz-consistency-level", + }, }, - ExpressionType: {}, - Expression: {}, - OutputSerialization: { - type: "structure", - members: { - csv: { + }, + output: { + type: "structure", + members: { + Responses: { + type: "list", + member: { type: "structure", members: { - QuoteFields: {}, - QuoteEscapeCharacter: {}, - RecordDelimiter: {}, - FieldDelimiter: {}, - QuoteCharacter: {}, + SuccessfulResponse: { + type: "structure", + members: { + ListObjectAttributes: { + type: "structure", + members: { + Attributes: { shape: "S5" }, + NextToken: {}, + }, + }, + ListObjectChildren: { + type: "structure", + members: { + Children: { shape: "S1w" }, + NextToken: {}, + }, + }, + GetObjectInformation: { + type: "structure", + members: { + SchemaFacets: { shape: "S1y" }, + ObjectIdentifier: {}, + }, + }, + GetObjectAttributes: { + type: "structure", + members: { Attributes: { shape: "S5" } }, + }, + ListAttachedIndices: { + type: "structure", + members: { + IndexAttachments: { shape: "S21" }, + NextToken: {}, + }, + }, + ListObjectParentPaths: { + type: "structure", + members: { + PathToObjectIdentifiersList: { shape: "S24" }, + NextToken: {}, + }, + }, + ListObjectPolicies: { + type: "structure", + members: { + AttachedPolicyIds: { shape: "S27" }, + NextToken: {}, + }, + }, + ListPolicyAttachments: { + type: "structure", + members: { + ObjectIdentifiers: { shape: "S27" }, + NextToken: {}, + }, + }, + LookupPolicy: { + type: "structure", + members: { + PolicyToPathList: { shape: "S2b" }, + NextToken: {}, + }, + }, + ListIndex: { + type: "structure", + members: { + IndexAttachments: { shape: "S21" }, + NextToken: {}, + }, + }, + ListOutgoingTypedLinks: { + type: "structure", + members: { + TypedLinkSpecifiers: { shape: "S2i" }, + NextToken: {}, + }, + }, + ListIncomingTypedLinks: { + type: "structure", + members: { + LinkSpecifiers: { shape: "S2i" }, + NextToken: {}, + }, + }, + GetLinkAttributes: { + type: "structure", + members: { Attributes: { shape: "S5" } }, + }, + ListObjectParents: { + type: "structure", + members: { + ParentLinks: { shape: "S2m" }, + NextToken: {}, + }, + }, + }, + }, + ExceptionResponse: { + type: "structure", + members: { Type: {}, Message: {} }, + }, }, }, }, }, }, }, - Sx: { - type: "structure", - members: { - S3: { - type: "structure", - members: { - BucketName: {}, - Prefix: {}, - Encryption: { + BatchWrite: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/batchwrite", + responseCode: 200, + }, + input: { + type: "structure", + required: ["DirectoryArn", "Operations"], + members: { + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Operations: { + type: "list", + member: { type: "structure", members: { - EncryptionType: {}, - KMSKeyId: {}, - KMSContext: {}, + CreateObject: { + type: "structure", + required: ["SchemaFacet", "ObjectAttributeList"], + members: { + SchemaFacet: { shape: "S1y" }, + ObjectAttributeList: { shape: "S5" }, + ParentReference: { shape: "Sf" }, + LinkName: {}, + BatchReferenceName: {}, + }, + }, + AttachObject: { + type: "structure", + required: [ + "ParentReference", + "ChildReference", + "LinkName", + ], + members: { + ParentReference: { shape: "Sf" }, + ChildReference: { shape: "Sf" }, + LinkName: {}, + }, + }, + DetachObject: { + type: "structure", + required: ["ParentReference", "LinkName"], + members: { + ParentReference: { shape: "Sf" }, + LinkName: {}, + BatchReferenceName: {}, + }, + }, + UpdateObjectAttributes: { + type: "structure", + required: ["ObjectReference", "AttributeUpdates"], + members: { + ObjectReference: { shape: "Sf" }, + AttributeUpdates: { shape: "S2z" }, + }, + }, + DeleteObject: { + type: "structure", + required: ["ObjectReference"], + members: { ObjectReference: { shape: "Sf" } }, + }, + AddFacetToObject: { + type: "structure", + required: [ + "SchemaFacet", + "ObjectAttributeList", + "ObjectReference", + ], + members: { + SchemaFacet: { shape: "S3" }, + ObjectAttributeList: { shape: "S5" }, + ObjectReference: { shape: "Sf" }, + }, + }, + RemoveFacetFromObject: { + type: "structure", + required: ["SchemaFacet", "ObjectReference"], + members: { + SchemaFacet: { shape: "S3" }, + ObjectReference: { shape: "Sf" }, + }, + }, + AttachPolicy: { + type: "structure", + required: ["PolicyReference", "ObjectReference"], + members: { + PolicyReference: { shape: "Sf" }, + ObjectReference: { shape: "Sf" }, + }, + }, + DetachPolicy: { + type: "structure", + required: ["PolicyReference", "ObjectReference"], + members: { + PolicyReference: { shape: "Sf" }, + ObjectReference: { shape: "Sf" }, + }, + }, + CreateIndex: { + type: "structure", + required: ["OrderedIndexedAttributeList", "IsUnique"], + members: { + OrderedIndexedAttributeList: { shape: "S39" }, + IsUnique: { type: "boolean" }, + ParentReference: { shape: "Sf" }, + LinkName: {}, + BatchReferenceName: {}, + }, + }, + AttachToIndex: { + type: "structure", + required: ["IndexReference", "TargetReference"], + members: { + IndexReference: { shape: "Sf" }, + TargetReference: { shape: "Sf" }, + }, + }, + DetachFromIndex: { + type: "structure", + required: ["IndexReference", "TargetReference"], + members: { + IndexReference: { shape: "Sf" }, + TargetReference: { shape: "Sf" }, + }, + }, + AttachTypedLink: { + type: "structure", + required: [ + "SourceObjectReference", + "TargetObjectReference", + "TypedLinkFacet", + "Attributes", + ], + members: { + SourceObjectReference: { shape: "Sf" }, + TargetObjectReference: { shape: "Sf" }, + TypedLinkFacet: { shape: "St" }, + Attributes: { shape: "Sv" }, + }, + }, + DetachTypedLink: { + type: "structure", + required: ["TypedLinkSpecifier"], + members: { TypedLinkSpecifier: { shape: "Sy" } }, + }, + UpdateLinkAttributes: { + type: "structure", + required: ["TypedLinkSpecifier", "AttributeUpdates"], + members: { + TypedLinkSpecifier: { shape: "Sy" }, + AttributeUpdates: { shape: "S3g" }, + }, + }, }, }, - CannedACL: {}, - AccessControlList: { - type: "list", - member: { - type: "structure", - members: { - Grantee: { - type: "structure", - required: ["Type"], - members: { - Type: {}, - DisplayName: {}, - URI: {}, - ID: {}, - EmailAddress: {}, - }, - }, - Permission: {}, + }, + }, + }, + output: { + type: "structure", + members: { + Responses: { + type: "list", + member: { + type: "structure", + members: { + CreateObject: { + type: "structure", + members: { ObjectIdentifier: {} }, + }, + AttachObject: { + type: "structure", + members: { attachedObjectIdentifier: {} }, + }, + DetachObject: { + type: "structure", + members: { detachedObjectIdentifier: {} }, + }, + UpdateObjectAttributes: { + type: "structure", + members: { ObjectIdentifier: {} }, + }, + DeleteObject: { type: "structure", members: {} }, + AddFacetToObject: { type: "structure", members: {} }, + RemoveFacetFromObject: { type: "structure", members: {} }, + AttachPolicy: { type: "structure", members: {} }, + DetachPolicy: { type: "structure", members: {} }, + CreateIndex: { + type: "structure", + members: { ObjectIdentifier: {} }, + }, + AttachToIndex: { + type: "structure", + members: { AttachedObjectIdentifier: {} }, + }, + DetachFromIndex: { + type: "structure", + members: { DetachedObjectIdentifier: {} }, + }, + AttachTypedLink: { + type: "structure", + members: { TypedLinkSpecifier: { shape: "Sy" } }, }, + DetachTypedLink: { type: "structure", members: {} }, + UpdateLinkAttributes: { type: "structure", members: {} }, }, }, - Tagging: { shape: "S17" }, - UserMetadata: { shape: "S17" }, - StorageClass: {}, }, }, }, }, - S17: { type: "map", key: {}, value: {} }, - S1a: { - type: "structure", - members: { - VaultARN: {}, - VaultName: {}, - CreationDate: {}, - LastInventoryDate: {}, - NumberOfArchives: { type: "long" }, - SizeInBytes: { type: "long" }, + CreateDirectory: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/directory/create", + responseCode: 200, + }, + input: { + type: "structure", + required: ["Name", "SchemaArn"], + members: { + Name: {}, + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + }, + }, + output: { + type: "structure", + required: [ + "DirectoryArn", + "Name", + "ObjectIdentifier", + "AppliedSchemaArn", + ], + members: { + DirectoryArn: {}, + Name: {}, + ObjectIdentifier: {}, + AppliedSchemaArn: {}, + }, }, }, - S1e: { - type: "structure", - members: { - Rules: { - type: "list", - member: { + CreateFacet: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/facet/create", + responseCode: 200, + }, + input: { + type: "structure", + required: ["SchemaArn", "Name"], + members: { + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Name: {}, + Attributes: { shape: "S46" }, + ObjectType: {}, + FacetStyle: {}, + }, + }, + output: { type: "structure", members: {} }, + }, + CreateIndex: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/index", + responseCode: 200, + }, + input: { + type: "structure", + required: [ + "DirectoryArn", + "OrderedIndexedAttributeList", + "IsUnique", + ], + members: { + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + OrderedIndexedAttributeList: { shape: "S39" }, + IsUnique: { type: "boolean" }, + ParentReference: { shape: "Sf" }, + LinkName: {}, + }, + }, + output: { type: "structure", members: { ObjectIdentifier: {} } }, + }, + CreateObject: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/object", + responseCode: 200, + }, + input: { + type: "structure", + required: ["DirectoryArn", "SchemaFacets"], + members: { + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + SchemaFacets: { shape: "S1y" }, + ObjectAttributeList: { shape: "S5" }, + ParentReference: { shape: "Sf" }, + LinkName: {}, + }, + }, + output: { type: "structure", members: { ObjectIdentifier: {} } }, + }, + CreateSchema: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/schema/create", + responseCode: 200, + }, + input: { + type: "structure", + required: ["Name"], + members: { Name: {} }, + }, + output: { type: "structure", members: { SchemaArn: {} } }, + }, + CreateTypedLinkFacet: { + http: { + method: "PUT", + requestUri: + "/amazonclouddirectory/2017-01-11/typedlink/facet/create", + responseCode: 200, + }, + input: { + type: "structure", + required: ["SchemaArn", "Facet"], + members: { + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Facet: { type: "structure", - members: { Strategy: {}, BytesPerHour: { type: "long" } }, + required: ["Name", "Attributes", "IdentityAttributeOrder"], + members: { + Name: {}, + Attributes: { shape: "S4v" }, + IdentityAttributeOrder: { shape: "S1a" }, + }, }, }, }, + output: { type: "structure", members: {} }, }, - S1k: { type: "blob", streaming: true }, - S1o: { type: "structure", members: { Policy: {} } }, - S1t: { - type: "structure", - members: { SNSTopic: {}, Events: { type: "list", member: {} } }, + DeleteDirectory: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/directory", + responseCode: 200, + }, + input: { + type: "structure", + required: ["DirectoryArn"], + members: { + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + }, + }, + output: { + type: "structure", + required: ["DirectoryArn"], + members: { DirectoryArn: {} }, + }, }, - }, - }; - - /***/ - }, - - /***/ 2862: /***/ function (module) { - module.exports = { - pagination: { - ListEventSources: { - input_token: "Marker", - output_token: "NextMarker", - limit_key: "MaxItems", - result_key: "EventSources", + DeleteFacet: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/facet/delete", + responseCode: 200, + }, + input: { + type: "structure", + required: ["SchemaArn", "Name"], + members: { + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Name: {}, + }, + }, + output: { type: "structure", members: {} }, }, - ListFunctions: { - input_token: "Marker", - output_token: "NextMarker", - limit_key: "MaxItems", - result_key: "Functions", + DeleteObject: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/object/delete", + responseCode: 200, + }, + input: { + type: "structure", + required: ["DirectoryArn", "ObjectReference"], + members: { + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + ObjectReference: { shape: "Sf" }, + }, + }, + output: { type: "structure", members: {} }, }, - }, - }; - - /***/ - }, - - /***/ 2866: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; - - var shebangRegex = __webpack_require__(4816); - - module.exports = function (str) { - var match = str.match(shebangRegex); - - if (!match) { - return null; - } - - var arr = match[0].replace(/#! ?/, "").split(" "); - var bin = arr[0].split("/").pop(); - var arg = arr[1]; - - return bin === "env" ? arg : bin + (arg ? " " + arg : ""); - }; - - /***/ - }, - - /***/ 2873: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - /** - * @api private - */ - var blobPayloadOutputOps = [ - "deleteThingShadow", - "getThingShadow", - "updateThingShadow", - ]; - - /** - * Constructs a service interface object. Each API operation is exposed as a - * function on service. - * - * ### Sending a Request Using IotData - * - * ```javascript - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * iotdata.getThingShadow(params, function (err, data) { - * if (err) console.log(err, err.stack); // an error occurred - * else console.log(data); // successful response - * }); - * ``` - * - * ### Locking the API Version - * - * In order to ensure that the IotData object uses this specific API, - * you can construct the object by passing the `apiVersion` option to the - * constructor: - * - * ```javascript - * var iotdata = new AWS.IotData({ - * endpoint: 'my.host.tld', - * apiVersion: '2015-05-28' - * }); - * ``` - * - * You can also set the API version globally in `AWS.config.apiVersions` using - * the **iotdata** service identifier: - * - * ```javascript - * AWS.config.apiVersions = { - * iotdata: '2015-05-28', - * // other service API versions - * }; - * - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * ``` - * - * @note You *must* provide an `endpoint` configuration parameter when - * constructing this service. See {constructor} for more information. - * - * @!method constructor(options = {}) - * Constructs a service object. This object has one method for each - * API operation. - * - * @example Constructing a IotData object - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * @note You *must* provide an `endpoint` when constructing this service. - * @option (see AWS.Config.constructor) - * - * @service iotdata - * @version 2015-05-28 - */ - AWS.util.update(AWS.IotData.prototype, { - /** - * @api private - */ - validateService: function validateService() { - if (!this.config.endpoint || this.config.endpoint.indexOf("{") >= 0) { - var msg = - "AWS.IotData requires an explicit " + - "`endpoint' configuration option."; - throw AWS.util.error(new Error(), { - name: "InvalidEndpoint", - message: msg, - }); - } - }, - - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener("validateResponse", this.validateResponseBody); - if (blobPayloadOutputOps.indexOf(request.operation) > -1) { - request.addListener("extractData", AWS.util.convertPayloadToString); - } - }, - - /** - * @api private - */ - validateResponseBody: function validateResponseBody(resp) { - var body = resp.httpResponse.body.toString() || "{}"; - var bodyCheck = body.trim(); - if (!bodyCheck || bodyCheck.charAt(0) !== "{") { - resp.httpResponse.body = ""; - } - }, - }); - - /***/ - }, - - /***/ 2881: /***/ function (module) { - "use strict"; - - const isWin = process.platform === "win32"; - - function notFoundError(original, syscall) { - return Object.assign( - new Error(`${syscall} ${original.command} ENOENT`), - { - code: "ENOENT", - errno: "ENOENT", - syscall: `${syscall} ${original.command}`, - path: original.command, - spawnargs: original.args, - } - ); - } - - function hookChildProcess(cp, parsed) { - if (!isWin) { - return; - } - - const originalEmit = cp.emit; - - cp.emit = function (name, arg1) { - // If emitting "exit" event and exit code is 1, we need to check if - // the command exists and emit an "error" instead - // See https://github.com/IndigoUnited/node-cross-spawn/issues/16 - if (name === "exit") { - const err = verifyENOENT(arg1, parsed, "spawn"); - - if (err) { - return originalEmit.call(cp, "error", err); - } - } - - return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params - }; - } - - function verifyENOENT(status, parsed) { - if (isWin && status === 1 && !parsed.file) { - return notFoundError(parsed.original, "spawn"); - } - - return null; - } - - function verifyENOENTSync(status, parsed) { - if (isWin && status === 1 && !parsed.file) { - return notFoundError(parsed.original, "spawnSync"); - } - - return null; - } - - module.exports = { - hookChildProcess, - verifyENOENT, - verifyENOENTSync, - notFoundError, - }; - - /***/ - }, - - /***/ 2883: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["ssm"] = {}; - AWS.SSM = Service.defineService("ssm", ["2014-11-06"]); - Object.defineProperty(apiLoader.services["ssm"], "2014-11-06", { - get: function get() { - var model = __webpack_require__(5948); - model.paginators = __webpack_require__(9836).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.SSM; - - /***/ - }, - - /***/ 2884: /***/ function (module) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLAttribute; - - module.exports = XMLAttribute = (function () { - function XMLAttribute(parent, name, value) { - this.options = parent.options; - this.stringify = parent.stringify; - if (name == null) { - throw new Error( - "Missing attribute name of element " + parent.name - ); - } - if (value == null) { - throw new Error( - "Missing attribute value for attribute " + - name + - " of element " + - parent.name - ); - } - this.name = this.stringify.attName(name); - this.value = this.stringify.attValue(value); - } - - XMLAttribute.prototype.clone = function () { - return Object.create(this); - }; - - XMLAttribute.prototype.toString = function (options) { - return this.options.writer.set(options).attribute(this); - }; - - return XMLAttribute; - })(); - }.call(this)); - - /***/ - }, - - /***/ 2904: /***/ function (module) { - module.exports = { - pagination: { - DescribeDBEngineVersions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBEngineVersions", - }, - DescribeDBInstances: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBInstances", - }, - DescribeDBParameterGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBParameterGroups", - }, - DescribeDBParameters: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "Parameters", - }, - DescribeDBSecurityGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBSecurityGroups", - }, - DescribeDBSnapshots: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBSnapshots", - }, - DescribeDBSubnetGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBSubnetGroups", - }, - DescribeEngineDefaultParameters: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "EngineDefaults.Marker", - result_key: "EngineDefaults.Parameters", - }, - DescribeEventSubscriptions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "EventSubscriptionsList", - }, - DescribeEvents: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "Events", - }, - DescribeOptionGroupOptions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "OptionGroupOptions", - }, - DescribeOptionGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "OptionGroupsList", - }, - DescribeOrderableDBInstanceOptions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "OrderableDBInstanceOptions", - }, - DescribeReservedDBInstances: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "ReservedDBInstances", - }, - DescribeReservedDBInstancesOfferings: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "ReservedDBInstancesOfferings", - }, - ListTagsForResource: { result_key: "TagList" }, - }, - }; - - /***/ - }, - - /***/ 2906: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - var inherit = AWS.util.inherit; - - /** - * @api private - */ - AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - if (!date) date = AWS.util.date.getDate(); - - var r = this.request; - - r.params.Timestamp = AWS.util.date.iso8601(date); - r.params.SignatureVersion = "2"; - r.params.SignatureMethod = "HmacSHA256"; - r.params.AWSAccessKeyId = credentials.accessKeyId; - - if (credentials.sessionToken) { - r.params.SecurityToken = credentials.sessionToken; - } - - delete r.params.Signature; // delete old Signature for re-signing - r.params.Signature = this.signature(credentials); - - r.body = AWS.util.queryParamsToString(r.params); - r.headers["Content-Length"] = r.body.length; - }, - - signature: function signature(credentials) { - return AWS.util.crypto.hmac( - credentials.secretAccessKey, - this.stringToSign(), - "base64" - ); - }, - - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push(this.request.endpoint.host.toLowerCase()); - parts.push(this.request.pathname()); - parts.push(AWS.util.queryParamsToString(this.request.params)); - return parts.join("\n"); - }, - }); - - /** - * @api private - */ - module.exports = AWS.Signers.V2; - - /***/ - }, - - /***/ 2907: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-07-25", - endpointPrefix: "amplify", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "Amplify", - serviceFullName: "AWS Amplify", - serviceId: "Amplify", - signatureVersion: "v4", - signingName: "amplify", - uid: "amplify-2017-07-25", - }, - operations: { - CreateApp: { - http: { requestUri: "/apps" }, + DeleteSchema: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/schema", + responseCode: 200, + }, input: { type: "structure", - required: ["name"], + required: ["SchemaArn"], members: { - name: {}, - description: {}, - repository: {}, - platform: {}, - iamServiceRoleArn: {}, - oauthToken: {}, - accessToken: {}, - environmentVariables: { shape: "S9" }, - enableBranchAutoBuild: { type: "boolean" }, - enableBasicAuth: { type: "boolean" }, - basicAuthCredentials: {}, - customRules: { shape: "Sf" }, - tags: { shape: "Sl" }, - buildSpec: {}, - enableAutoBranchCreation: { type: "boolean" }, - autoBranchCreationPatterns: { shape: "Sq" }, - autoBranchCreationConfig: { shape: "Ss" }, + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, }, }, - output: { + output: { type: "structure", members: { SchemaArn: {} } }, + }, + DeleteTypedLinkFacet: { + http: { + method: "PUT", + requestUri: + "/amazonclouddirectory/2017-01-11/typedlink/facet/delete", + responseCode: 200, + }, + input: { type: "structure", - required: ["app"], - members: { app: { shape: "Sz" } }, + required: ["SchemaArn", "Name"], + members: { + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Name: {}, + }, }, + output: { type: "structure", members: {} }, }, - CreateBackendEnvironment: { - http: { requestUri: "/apps/{appId}/backendenvironments" }, + DetachFromIndex: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/index/detach", + responseCode: 200, + }, input: { type: "structure", - required: ["appId", "environmentName"], + required: ["DirectoryArn", "IndexReference", "TargetReference"], members: { - appId: { location: "uri", locationName: "appId" }, - environmentName: {}, - stackName: {}, - deploymentArtifacts: {}, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + IndexReference: { shape: "Sf" }, + TargetReference: { shape: "Sf" }, }, }, output: { type: "structure", - required: ["backendEnvironment"], - members: { backendEnvironment: { shape: "S1e" } }, + members: { DetachedObjectIdentifier: {} }, }, }, - CreateBranch: { - http: { requestUri: "/apps/{appId}/branches" }, + DetachObject: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/object/detach", + responseCode: 200, + }, input: { type: "structure", - required: ["appId", "branchName"], + required: ["DirectoryArn", "ParentReference", "LinkName"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: {}, - description: {}, - stage: {}, - framework: {}, - enableNotification: { type: "boolean" }, - enableAutoBuild: { type: "boolean" }, - environmentVariables: { shape: "S9" }, - basicAuthCredentials: {}, - enableBasicAuth: { type: "boolean" }, - tags: { shape: "Sl" }, - buildSpec: {}, - ttl: {}, - displayName: {}, - enablePullRequestPreview: { type: "boolean" }, - pullRequestEnvironmentName: {}, - backendEnvironmentArn: {}, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + ParentReference: { shape: "Sf" }, + LinkName: {}, }, }, output: { type: "structure", - required: ["branch"], - members: { branch: { shape: "S1l" } }, + members: { DetachedObjectIdentifier: {} }, }, }, - CreateDeployment: { + DetachPolicy: { http: { - requestUri: "/apps/{appId}/branches/{branchName}/deployments", + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/policy/detach", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "branchName"], + required: ["DirectoryArn", "PolicyReference", "ObjectReference"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - fileMap: { type: "map", key: {}, value: {} }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + PolicyReference: { shape: "Sf" }, + ObjectReference: { shape: "Sf" }, }, }, - output: { + output: { type: "structure", members: {} }, + }, + DetachTypedLink: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/typedlink/detach", + responseCode: 200, + }, + input: { type: "structure", - required: ["fileUploadUrls", "zipUploadUrl"], + required: ["DirectoryArn", "TypedLinkSpecifier"], members: { - jobId: {}, - fileUploadUrls: { type: "map", key: {}, value: {} }, - zipUploadUrl: {}, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + TypedLinkSpecifier: { shape: "Sy" }, }, }, }, - CreateDomainAssociation: { - http: { requestUri: "/apps/{appId}/domains" }, + DisableDirectory: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/directory/disable", + responseCode: 200, + }, input: { type: "structure", - required: ["appId", "domainName", "subDomainSettings"], + required: ["DirectoryArn"], members: { - appId: { location: "uri", locationName: "appId" }, - domainName: {}, - enableAutoSubDomain: { type: "boolean" }, - subDomainSettings: { shape: "S24" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, }, }, output: { type: "structure", - required: ["domainAssociation"], - members: { domainAssociation: { shape: "S28" } }, + required: ["DirectoryArn"], + members: { DirectoryArn: {} }, }, }, - CreateWebhook: { - http: { requestUri: "/apps/{appId}/webhooks" }, + EnableDirectory: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/directory/enable", + responseCode: 200, + }, input: { type: "structure", - required: ["appId", "branchName"], + required: ["DirectoryArn"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: {}, - description: {}, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, }, }, output: { type: "structure", - required: ["webhook"], - members: { webhook: { shape: "S2j" } }, + required: ["DirectoryArn"], + members: { DirectoryArn: {} }, }, }, - DeleteApp: { - http: { method: "DELETE", requestUri: "/apps/{appId}" }, - input: { - type: "structure", - required: ["appId"], - members: { appId: { location: "uri", locationName: "appId" } }, + GetAppliedSchemaVersion: { + http: { + requestUri: + "/amazonclouddirectory/2017-01-11/schema/getappliedschema", + responseCode: 200, }, - output: { + input: { type: "structure", - required: ["app"], - members: { app: { shape: "Sz" } }, + required: ["SchemaArn"], + members: { SchemaArn: {} }, }, + output: { type: "structure", members: { AppliedSchemaArn: {} } }, }, - DeleteBackendEnvironment: { + GetDirectory: { http: { - method: "DELETE", - requestUri: "/apps/{appId}/backendenvironments/{environmentName}", + requestUri: "/amazonclouddirectory/2017-01-11/directory/get", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "environmentName"], + required: ["DirectoryArn"], members: { - appId: { location: "uri", locationName: "appId" }, - environmentName: { - location: "uri", - locationName: "environmentName", + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", }, }, }, output: { type: "structure", - required: ["backendEnvironment"], - members: { backendEnvironment: { shape: "S1e" } }, + required: ["Directory"], + members: { Directory: { shape: "S5n" } }, }, }, - DeleteBranch: { + GetFacet: { http: { - method: "DELETE", - requestUri: "/apps/{appId}/branches/{branchName}", + requestUri: "/amazonclouddirectory/2017-01-11/facet", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "branchName"], + required: ["SchemaArn", "Name"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Name: {}, }, }, output: { type: "structure", - required: ["branch"], - members: { branch: { shape: "S1l" } }, + members: { + Facet: { + type: "structure", + members: { Name: {}, ObjectType: {}, FacetStyle: {} }, + }, + }, }, }, - DeleteDomainAssociation: { + GetLinkAttributes: { http: { - method: "DELETE", - requestUri: "/apps/{appId}/domains/{domainName}", + requestUri: + "/amazonclouddirectory/2017-01-11/typedlink/attributes/get", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "domainName"], + required: [ + "DirectoryArn", + "TypedLinkSpecifier", + "AttributeNames", + ], members: { - appId: { location: "uri", locationName: "appId" }, - domainName: { location: "uri", locationName: "domainName" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + TypedLinkSpecifier: { shape: "Sy" }, + AttributeNames: { shape: "S1a" }, + ConsistencyLevel: {}, }, }, output: { type: "structure", - required: ["domainAssociation"], - members: { domainAssociation: { shape: "S28" } }, + members: { Attributes: { shape: "S5" } }, }, }, - DeleteJob: { + GetObjectAttributes: { http: { - method: "DELETE", - requestUri: "/apps/{appId}/branches/{branchName}/jobs/{jobId}", + requestUri: + "/amazonclouddirectory/2017-01-11/object/attributes/get", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "branchName", "jobId"], + required: [ + "DirectoryArn", + "ObjectReference", + "SchemaFacet", + "AttributeNames", + ], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: { location: "uri", locationName: "jobId" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + ObjectReference: { shape: "Sf" }, + ConsistencyLevel: { + location: "header", + locationName: "x-amz-consistency-level", + }, + SchemaFacet: { shape: "S3" }, + AttributeNames: { shape: "S1a" }, }, }, output: { type: "structure", - required: ["jobSummary"], - members: { jobSummary: { shape: "S2x" } }, + members: { Attributes: { shape: "S5" } }, }, }, - DeleteWebhook: { - http: { method: "DELETE", requestUri: "/webhooks/{webhookId}" }, + GetObjectInformation: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/object/information", + responseCode: 200, + }, input: { type: "structure", - required: ["webhookId"], + required: ["DirectoryArn", "ObjectReference"], members: { - webhookId: { location: "uri", locationName: "webhookId" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + ObjectReference: { shape: "Sf" }, + ConsistencyLevel: { + location: "header", + locationName: "x-amz-consistency-level", + }, }, }, output: { type: "structure", - required: ["webhook"], - members: { webhook: { shape: "S2j" } }, + members: { SchemaFacets: { shape: "S1y" }, ObjectIdentifier: {} }, }, }, - GenerateAccessLogs: { - http: { requestUri: "/apps/{appId}/accesslogs" }, + GetSchemaAsJson: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/schema/json", + responseCode: 200, + }, input: { type: "structure", - required: ["domainName", "appId"], + required: ["SchemaArn"], members: { - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, - domainName: {}, - appId: { location: "uri", locationName: "appId" }, + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, }, }, - output: { type: "structure", members: { logUrl: {} } }, + output: { type: "structure", members: { Name: {}, Document: {} } }, }, - GetApp: { - http: { method: "GET", requestUri: "/apps/{appId}" }, - input: { - type: "structure", - required: ["appId"], - members: { appId: { location: "uri", locationName: "appId" } }, - }, - output: { - type: "structure", - required: ["app"], - members: { app: { shape: "Sz" } }, + GetTypedLinkFacetInformation: { + http: { + requestUri: + "/amazonclouddirectory/2017-01-11/typedlink/facet/get", + responseCode: 200, }, - }, - GetArtifactUrl: { - http: { method: "GET", requestUri: "/artifacts/{artifactId}" }, input: { type: "structure", - required: ["artifactId"], + required: ["SchemaArn", "Name"], members: { - artifactId: { location: "uri", locationName: "artifactId" }, + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Name: {}, }, }, output: { type: "structure", - required: ["artifactId", "artifactUrl"], - members: { artifactId: {}, artifactUrl: {} }, + members: { IdentityAttributeOrder: { shape: "S1a" } }, }, }, - GetBackendEnvironment: { + ListAppliedSchemaArns: { http: { - method: "GET", - requestUri: "/apps/{appId}/backendenvironments/{environmentName}", + requestUri: "/amazonclouddirectory/2017-01-11/schema/applied", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "environmentName"], + required: ["DirectoryArn"], members: { - appId: { location: "uri", locationName: "appId" }, - environmentName: { - location: "uri", - locationName: "environmentName", - }, + DirectoryArn: {}, + SchemaArn: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - required: ["backendEnvironment"], - members: { backendEnvironment: { shape: "S1e" } }, + members: { SchemaArns: { shape: "S66" }, NextToken: {} }, }, }, - GetBranch: { + ListAttachedIndices: { http: { - method: "GET", - requestUri: "/apps/{appId}/branches/{branchName}", + requestUri: "/amazonclouddirectory/2017-01-11/object/indices", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "branchName"], + required: ["DirectoryArn", "TargetReference"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + TargetReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + ConsistencyLevel: { + location: "header", + locationName: "x-amz-consistency-level", + }, }, }, output: { type: "structure", - required: ["branch"], - members: { branch: { shape: "S1l" } }, + members: { IndexAttachments: { shape: "S21" }, NextToken: {} }, }, }, - GetDomainAssociation: { + ListDevelopmentSchemaArns: { http: { - method: "GET", - requestUri: "/apps/{appId}/domains/{domainName}", + requestUri: "/amazonclouddirectory/2017-01-11/schema/development", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "domainName"], - members: { - appId: { location: "uri", locationName: "appId" }, - domainName: { location: "uri", locationName: "domainName" }, - }, + members: { NextToken: {}, MaxResults: { type: "integer" } }, }, output: { type: "structure", - required: ["domainAssociation"], - members: { domainAssociation: { shape: "S28" } }, + members: { SchemaArns: { shape: "S66" }, NextToken: {} }, }, }, - GetJob: { + ListDirectories: { http: { - method: "GET", - requestUri: "/apps/{appId}/branches/{branchName}/jobs/{jobId}", + requestUri: "/amazonclouddirectory/2017-01-11/directory/list", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "branchName", "jobId"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: { location: "uri", locationName: "jobId" }, + NextToken: {}, + MaxResults: { type: "integer" }, + state: {}, }, }, output: { type: "structure", - required: ["job"], + required: ["Directories"], members: { - job: { - type: "structure", - required: ["summary", "steps"], - members: { - summary: { shape: "S2x" }, - steps: { - type: "list", - member: { - type: "structure", - required: [ - "stepName", - "startTime", - "status", - "endTime", - ], - members: { - stepName: {}, - startTime: { type: "timestamp" }, - status: {}, - endTime: { type: "timestamp" }, - logUrl: {}, - artifactsUrl: {}, - testArtifactsUrl: {}, - testConfigUrl: {}, - screenshots: { type: "map", key: {}, value: {} }, - statusReason: {}, - context: {}, - }, - }, - }, - }, - }, + Directories: { type: "list", member: { shape: "S5n" } }, + NextToken: {}, }, }, }, - GetWebhook: { - http: { method: "GET", requestUri: "/webhooks/{webhookId}" }, + ListFacetAttributes: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/facet/attributes", + responseCode: 200, + }, input: { type: "structure", - required: ["webhookId"], + required: ["SchemaArn", "Name"], members: { - webhookId: { location: "uri", locationName: "webhookId" }, + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Name: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - required: ["webhook"], - members: { webhook: { shape: "S2j" } }, + members: { Attributes: { shape: "S46" }, NextToken: {} }, }, }, - ListApps: { - http: { method: "GET", requestUri: "/apps" }, + ListFacetNames: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/facet/list", + responseCode: 200, + }, input: { type: "structure", + required: ["SchemaArn"], members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", }, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - required: ["apps"], members: { - apps: { type: "list", member: { shape: "Sz" } }, - nextToken: {}, + FacetNames: { type: "list", member: {} }, + NextToken: {}, }, }, }, - ListArtifacts: { + ListIncomingTypedLinks: { http: { - method: "GET", - requestUri: - "/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts", + requestUri: "/amazonclouddirectory/2017-01-11/typedlink/incoming", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "branchName", "jobId"], + required: ["DirectoryArn", "ObjectReference"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: { location: "uri", locationName: "jobId" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", }, + ObjectReference: { shape: "Sf" }, + FilterAttributeRanges: { shape: "S1l" }, + FilterTypedLink: { shape: "St" }, + NextToken: {}, + MaxResults: { type: "integer" }, + ConsistencyLevel: {}, }, }, output: { type: "structure", - required: ["artifacts"], - members: { - artifacts: { - type: "list", - member: { - type: "structure", - required: ["artifactFileName", "artifactId"], - members: { artifactFileName: {}, artifactId: {} }, - }, - }, - nextToken: {}, - }, + members: { LinkSpecifiers: { shape: "S2i" }, NextToken: {} }, }, }, - ListBackendEnvironments: { + ListIndex: { http: { - method: "GET", - requestUri: "/apps/{appId}/backendenvironments", + requestUri: "/amazonclouddirectory/2017-01-11/index/targets", + responseCode: 200, }, input: { type: "structure", - required: ["appId"], + required: ["DirectoryArn", "IndexReference"], members: { - appId: { location: "uri", locationName: "appId" }, - environmentName: {}, - nextToken: { - location: "querystring", - locationName: "nextToken", + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + RangesOnIndexedValues: { shape: "S1g" }, + IndexReference: { shape: "Sf" }, + MaxResults: { type: "integer" }, + NextToken: {}, + ConsistencyLevel: { + location: "header", + locationName: "x-amz-consistency-level", }, }, }, output: { type: "structure", - required: ["backendEnvironments"], - members: { - backendEnvironments: { type: "list", member: { shape: "S1e" } }, - nextToken: {}, - }, + members: { IndexAttachments: { shape: "S21" }, NextToken: {} }, }, }, - ListBranches: { - http: { method: "GET", requestUri: "/apps/{appId}/branches" }, + ListManagedSchemaArns: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/schema/managed", + responseCode: 200, + }, input: { type: "structure", - required: ["appId"], members: { - appId: { location: "uri", locationName: "appId" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + SchemaArn: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - required: ["branches"], - members: { - branches: { type: "list", member: { shape: "S1l" } }, - nextToken: {}, - }, + members: { SchemaArns: { shape: "S66" }, NextToken: {} }, }, }, - ListDomainAssociations: { - http: { method: "GET", requestUri: "/apps/{appId}/domains" }, + ListObjectAttributes: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/object/attributes", + responseCode: 200, + }, input: { type: "structure", - required: ["appId"], + required: ["DirectoryArn", "ObjectReference"], members: { - appId: { location: "uri", locationName: "appId" }, - nextToken: { - location: "querystring", - locationName: "nextToken", + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + ConsistencyLevel: { + location: "header", + locationName: "x-amz-consistency-level", }, + FacetFilter: { shape: "S3" }, }, }, output: { type: "structure", - required: ["domainAssociations"], - members: { - domainAssociations: { type: "list", member: { shape: "S28" } }, - nextToken: {}, - }, + members: { Attributes: { shape: "S5" }, NextToken: {} }, }, }, - ListJobs: { + ListObjectChildren: { http: { - method: "GET", - requestUri: "/apps/{appId}/branches/{branchName}/jobs", + requestUri: "/amazonclouddirectory/2017-01-11/object/children", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "branchName"], + required: ["DirectoryArn", "ObjectReference"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - nextToken: { - location: "querystring", - locationName: "nextToken", + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + ConsistencyLevel: { + location: "header", + locationName: "x-amz-consistency-level", }, }, }, output: { type: "structure", - required: ["jobSummaries"], - members: { - jobSummaries: { type: "list", member: { shape: "S2x" } }, - nextToken: {}, - }, + members: { Children: { shape: "S1w" }, NextToken: {} }, }, }, - ListTagsForResource: { - http: { method: "GET", requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["resourceArn"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - }, + ListObjectParentPaths: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/object/parentpaths", + responseCode: 200, }, - output: { type: "structure", members: { tags: { shape: "Sl" } } }, - }, - ListWebhooks: { - http: { method: "GET", requestUri: "/apps/{appId}/webhooks" }, input: { type: "structure", - required: ["appId"], + required: ["DirectoryArn", "ObjectReference"], members: { - appId: { location: "uri", locationName: "appId" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", }, + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - required: ["webhooks"], members: { - webhooks: { type: "list", member: { shape: "S2j" } }, - nextToken: {}, + PathToObjectIdentifiersList: { shape: "S24" }, + NextToken: {}, }, }, }, - StartDeployment: { + ListObjectParents: { http: { - requestUri: - "/apps/{appId}/branches/{branchName}/deployments/start", + requestUri: "/amazonclouddirectory/2017-01-11/object/parent", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "branchName"], + required: ["DirectoryArn", "ObjectReference"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: {}, - sourceUrl: {}, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + ConsistencyLevel: { + location: "header", + locationName: "x-amz-consistency-level", + }, + IncludeAllLinksToEachParent: { type: "boolean" }, }, }, output: { type: "structure", - required: ["jobSummary"], - members: { jobSummary: { shape: "S2x" } }, + members: { + Parents: { type: "map", key: {}, value: {} }, + NextToken: {}, + ParentLinks: { shape: "S2m" }, + }, }, }, - StartJob: { - http: { requestUri: "/apps/{appId}/branches/{branchName}/jobs" }, + ListObjectPolicies: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/object/policy", + responseCode: 200, + }, input: { type: "structure", - required: ["appId", "branchName", "jobType"], + required: ["DirectoryArn", "ObjectReference"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: {}, - jobType: {}, - jobReason: {}, - commitId: {}, - commitMessage: {}, - commitTime: { type: "timestamp" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + ConsistencyLevel: { + location: "header", + locationName: "x-amz-consistency-level", + }, }, }, output: { type: "structure", - required: ["jobSummary"], - members: { jobSummary: { shape: "S2x" } }, + members: { AttachedPolicyIds: { shape: "S27" }, NextToken: {} }, }, }, - StopJob: { + ListOutgoingTypedLinks: { http: { - method: "DELETE", - requestUri: - "/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop", + requestUri: "/amazonclouddirectory/2017-01-11/typedlink/outgoing", + responseCode: 200, }, input: { type: "structure", - required: ["appId", "branchName", "jobId"], + required: ["DirectoryArn", "ObjectReference"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - jobId: { location: "uri", locationName: "jobId" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + ObjectReference: { shape: "Sf" }, + FilterAttributeRanges: { shape: "S1l" }, + FilterTypedLink: { shape: "St" }, + NextToken: {}, + MaxResults: { type: "integer" }, + ConsistencyLevel: {}, }, }, output: { type: "structure", - required: ["jobSummary"], - members: { jobSummary: { shape: "S2x" } }, + members: { TypedLinkSpecifiers: { shape: "S2i" }, NextToken: {} }, }, }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "Sl" }, - }, + ListPolicyAttachments: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/policy/attachment", + responseCode: 200, }, - output: { type: "structure", members: {} }, - }, - UntagResource: { - http: { method: "DELETE", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", - required: ["resourceArn", "tagKeys"], + required: ["DirectoryArn", "PolicyReference"], members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tagKeys: { - location: "querystring", - locationName: "tagKeys", - type: "list", - member: {}, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + PolicyReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, + ConsistencyLevel: { + location: "header", + locationName: "x-amz-consistency-level", }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateApp: { - http: { requestUri: "/apps/{appId}" }, - input: { - type: "structure", - required: ["appId"], - members: { - appId: { location: "uri", locationName: "appId" }, - name: {}, - description: {}, - platform: {}, - iamServiceRoleArn: {}, - environmentVariables: { shape: "S9" }, - enableBranchAutoBuild: { type: "boolean" }, - enableBasicAuth: { type: "boolean" }, - basicAuthCredentials: {}, - customRules: { shape: "Sf" }, - buildSpec: {}, - enableAutoBranchCreation: { type: "boolean" }, - autoBranchCreationPatterns: { shape: "Sq" }, - autoBranchCreationConfig: { shape: "Ss" }, - repository: {}, - oauthToken: {}, - accessToken: {}, }, }, output: { type: "structure", - required: ["app"], - members: { app: { shape: "Sz" } }, + members: { ObjectIdentifiers: { shape: "S27" }, NextToken: {} }, }, }, - UpdateBranch: { - http: { requestUri: "/apps/{appId}/branches/{branchName}" }, + ListPublishedSchemaArns: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/schema/published", + responseCode: 200, + }, input: { type: "structure", - required: ["appId", "branchName"], members: { - appId: { location: "uri", locationName: "appId" }, - branchName: { location: "uri", locationName: "branchName" }, - description: {}, - framework: {}, - stage: {}, - enableNotification: { type: "boolean" }, - enableAutoBuild: { type: "boolean" }, - environmentVariables: { shape: "S9" }, - basicAuthCredentials: {}, - enableBasicAuth: { type: "boolean" }, - buildSpec: {}, - ttl: {}, - displayName: {}, - enablePullRequestPreview: { type: "boolean" }, - pullRequestEnvironmentName: {}, - backendEnvironmentArn: {}, + SchemaArn: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - required: ["branch"], - members: { branch: { shape: "S1l" } }, + members: { SchemaArns: { shape: "S66" }, NextToken: {} }, }, }, - UpdateDomainAssociation: { - http: { requestUri: "/apps/{appId}/domains/{domainName}" }, + ListTagsForResource: { + http: { + requestUri: "/amazonclouddirectory/2017-01-11/tags", + responseCode: 200, + }, input: { type: "structure", - required: ["appId", "domainName", "subDomainSettings"], + required: ["ResourceArn"], members: { - appId: { location: "uri", locationName: "appId" }, - domainName: { location: "uri", locationName: "domainName" }, - enableAutoSubDomain: { type: "boolean" }, - subDomainSettings: { shape: "S24" }, + ResourceArn: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - required: ["domainAssociation"], - members: { domainAssociation: { shape: "S28" } }, + members: { Tags: { shape: "S79" }, NextToken: {} }, }, }, - UpdateWebhook: { - http: { requestUri: "/webhooks/{webhookId}" }, + ListTypedLinkFacetAttributes: { + http: { + requestUri: + "/amazonclouddirectory/2017-01-11/typedlink/facet/attributes", + responseCode: 200, + }, input: { type: "structure", - required: ["webhookId"], + required: ["SchemaArn", "Name"], members: { - webhookId: { location: "uri", locationName: "webhookId" }, - branchName: {}, - description: {}, + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Name: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - required: ["webhook"], - members: { webhook: { shape: "S2j" } }, - }, - }, - }, - shapes: { - S9: { type: "map", key: {}, value: {} }, - Sf: { - type: "list", - member: { - type: "structure", - required: ["source", "target"], - members: { source: {}, target: {}, status: {}, condition: {} }, + members: { Attributes: { shape: "S4v" }, NextToken: {} }, }, }, - Sl: { type: "map", key: {}, value: {} }, - Sq: { type: "list", member: {} }, - Ss: { - type: "structure", - members: { - stage: {}, - framework: {}, - enableAutoBuild: { type: "boolean" }, - environmentVariables: { shape: "S9" }, - basicAuthCredentials: {}, - enableBasicAuth: { type: "boolean" }, - buildSpec: {}, - enablePullRequestPreview: { type: "boolean" }, - pullRequestEnvironmentName: {}, + ListTypedLinkFacetNames: { + http: { + requestUri: + "/amazonclouddirectory/2017-01-11/typedlink/facet/list", + responseCode: 200, }, - }, - Sz: { - type: "structure", - required: [ - "appId", - "appArn", - "name", - "description", - "repository", - "platform", - "createTime", - "updateTime", - "environmentVariables", - "defaultDomain", - "enableBranchAutoBuild", - "enableBasicAuth", - ], - members: { - appId: {}, - appArn: {}, - name: {}, - tags: { shape: "Sl" }, - description: {}, - repository: {}, - platform: {}, - createTime: { type: "timestamp" }, - updateTime: { type: "timestamp" }, - iamServiceRoleArn: {}, - environmentVariables: { shape: "S9" }, - defaultDomain: {}, - enableBranchAutoBuild: { type: "boolean" }, - enableBasicAuth: { type: "boolean" }, - basicAuthCredentials: {}, - customRules: { shape: "Sf" }, - productionBranch: { - type: "structure", - members: { - lastDeployTime: { type: "timestamp" }, - status: {}, - thumbnailUrl: {}, - branchName: {}, + input: { + type: "structure", + required: ["SchemaArn"], + members: { + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", }, + NextToken: {}, + MaxResults: { type: "integer" }, }, - buildSpec: {}, - enableAutoBranchCreation: { type: "boolean" }, - autoBranchCreationPatterns: { shape: "Sq" }, - autoBranchCreationConfig: { shape: "Ss" }, - }, - }, - S1e: { - type: "structure", - required: [ - "backendEnvironmentArn", - "environmentName", - "createTime", - "updateTime", - ], - members: { - backendEnvironmentArn: {}, - environmentName: {}, - stackName: {}, - deploymentArtifacts: {}, - createTime: { type: "timestamp" }, - updateTime: { type: "timestamp" }, - }, - }, - S1l: { - type: "structure", - required: [ - "branchArn", - "branchName", - "description", - "stage", - "displayName", - "enableNotification", - "createTime", - "updateTime", - "environmentVariables", - "enableAutoBuild", - "customDomains", - "framework", - "activeJobId", - "totalNumberOfJobs", - "enableBasicAuth", - "ttl", - "enablePullRequestPreview", - ], - members: { - branchArn: {}, - branchName: {}, - description: {}, - tags: { shape: "Sl" }, - stage: {}, - displayName: {}, - enableNotification: { type: "boolean" }, - createTime: { type: "timestamp" }, - updateTime: { type: "timestamp" }, - environmentVariables: { shape: "S9" }, - enableAutoBuild: { type: "boolean" }, - customDomains: { type: "list", member: {} }, - framework: {}, - activeJobId: {}, - totalNumberOfJobs: {}, - enableBasicAuth: { type: "boolean" }, - thumbnailUrl: {}, - basicAuthCredentials: {}, - buildSpec: {}, - ttl: {}, - associatedResources: { type: "list", member: {} }, - enablePullRequestPreview: { type: "boolean" }, - pullRequestEnvironmentName: {}, - destinationBranch: {}, - sourceBranch: {}, - backendEnvironmentArn: {}, }, - }, - S24: { type: "list", member: { shape: "S25" } }, - S25: { - type: "structure", - required: ["prefix", "branchName"], - members: { prefix: {}, branchName: {} }, - }, - S28: { - type: "structure", - required: [ - "domainAssociationArn", - "domainName", - "enableAutoSubDomain", - "domainStatus", - "statusReason", - "subDomains", - ], - members: { - domainAssociationArn: {}, - domainName: {}, - enableAutoSubDomain: { type: "boolean" }, - domainStatus: {}, - statusReason: {}, - certificateVerificationDNSRecord: {}, - subDomains: { - type: "list", - member: { - type: "structure", - required: ["subDomainSetting", "verified", "dnsRecord"], - members: { - subDomainSetting: { shape: "S25" }, - verified: { type: "boolean" }, - dnsRecord: {}, - }, - }, + output: { + type: "structure", + members: { + FacetNames: { type: "list", member: {} }, + NextToken: {}, }, }, }, - S2j: { - type: "structure", - required: [ - "webhookArn", - "webhookId", - "webhookUrl", - "branchName", - "description", - "createTime", - "updateTime", - ], - members: { - webhookArn: {}, - webhookId: {}, - webhookUrl: {}, - branchName: {}, - description: {}, - createTime: { type: "timestamp" }, - updateTime: { type: "timestamp" }, - }, - }, - S2x: { - type: "structure", - required: [ - "jobArn", - "jobId", - "commitId", - "commitMessage", - "commitTime", - "startTime", - "status", - "jobType", - ], - members: { - jobArn: {}, - jobId: {}, - commitId: {}, - commitMessage: {}, - commitTime: { type: "timestamp" }, - startTime: { type: "timestamp" }, - status: {}, - endTime: { type: "timestamp" }, - jobType: {}, - }, - }, - }, - }; - - /***/ - }, - - /***/ 2911: /***/ function (module) { - module.exports = { - pagination: { - GetClassifiers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetConnections: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetCrawlerMetrics: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetCrawlers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetDatabases: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetDevEndpoints: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetJobRuns: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetJobs: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetMLTaskRuns: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetMLTransforms: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetPartitions: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetSecurityConfigurations: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "SecurityConfigurations", - }, - GetTableVersions: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetTables: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetTriggers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetUserDefinedFunctions: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - GetWorkflowRuns: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListCrawlers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListDevEndpoints: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListJobs: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListMLTransforms: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListTriggers: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - ListWorkflows: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - SearchTables: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - }, - }; - - /***/ - }, - - /***/ 2922: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2018-05-14", - endpointPrefix: "devices.iot1click", - signingName: "iot1click", - serviceFullName: "AWS IoT 1-Click Devices Service", - serviceId: "IoT 1Click Devices Service", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "devices-2018-05-14", - signatureVersion: "v4", - }, - operations: { - ClaimDevicesByClaimCode: { + LookupPolicy: { http: { - method: "PUT", - requestUri: "/claims/{claimCode}", + requestUri: "/amazonclouddirectory/2017-01-11/policy/lookup", responseCode: 200, }, input: { type: "structure", + required: ["DirectoryArn", "ObjectReference"], members: { - ClaimCode: { location: "uri", locationName: "claimCode" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + ObjectReference: { shape: "Sf" }, + NextToken: {}, + MaxResults: { type: "integer" }, }, - required: ["ClaimCode"], }, output: { type: "structure", - members: { - ClaimCode: { locationName: "claimCode" }, - Total: { locationName: "total", type: "integer" }, - }, + members: { PolicyToPathList: { shape: "S2b" }, NextToken: {} }, }, }, - DescribeDevice: { + PublishSchema: { http: { - method: "GET", - requestUri: "/devices/{deviceId}", + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/schema/publish", responseCode: 200, }, input: { type: "structure", + required: ["DevelopmentSchemaArn", "Version"], members: { - DeviceId: { location: "uri", locationName: "deviceId" }, + DevelopmentSchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Version: {}, + MinorVersion: {}, + Name: {}, }, - required: ["DeviceId"], }, - output: { + output: { type: "structure", members: { PublishedSchemaArn: {} } }, + }, + PutSchemaFromJson: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/schema/json", + responseCode: 200, + }, + input: { type: "structure", + required: ["SchemaArn", "Document"], members: { - DeviceDescription: { - shape: "S8", - locationName: "deviceDescription", + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", }, + Document: {}, }, }, + output: { type: "structure", members: { Arn: {} } }, }, - FinalizeDeviceClaim: { + RemoveFacetFromObject: { http: { method: "PUT", - requestUri: "/devices/{deviceId}/finalize-claim", + requestUri: + "/amazonclouddirectory/2017-01-11/object/facets/delete", responseCode: 200, }, input: { type: "structure", + required: ["DirectoryArn", "SchemaFacet", "ObjectReference"], members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - Tags: { shape: "Sc", locationName: "tags" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + SchemaFacet: { shape: "S3" }, + ObjectReference: { shape: "Sf" }, }, - required: ["DeviceId"], }, - output: { + output: { type: "structure", members: {} }, + }, + TagResource: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/tags/add", + responseCode: 200, + }, + input: { type: "structure", - members: { State: { locationName: "state" } }, + required: ["ResourceArn", "Tags"], + members: { ResourceArn: {}, Tags: { shape: "S79" } }, }, + output: { type: "structure", members: {} }, }, - GetDeviceMethods: { + UntagResource: { http: { - method: "GET", - requestUri: "/devices/{deviceId}/methods", + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/tags/remove", responseCode: 200, }, input: { type: "structure", + required: ["ResourceArn", "TagKeys"], members: { - DeviceId: { location: "uri", locationName: "deviceId" }, + ResourceArn: {}, + TagKeys: { type: "list", member: {} }, }, - required: ["DeviceId"], }, - output: { + output: { type: "structure", members: {} }, + }, + UpdateFacet: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/facet", + responseCode: 200, + }, + input: { type: "structure", + required: ["SchemaArn", "Name"], members: { - DeviceMethods: { - locationName: "deviceMethods", + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Name: {}, + AttributeUpdates: { type: "list", - member: { shape: "Si" }, + member: { + type: "structure", + members: { Attribute: { shape: "S47" }, Action: {} }, + }, }, + ObjectType: {}, }, }, + output: { type: "structure", members: {} }, }, - InitiateDeviceClaim: { + UpdateLinkAttributes: { http: { - method: "PUT", - requestUri: "/devices/{deviceId}/initiate-claim", + requestUri: + "/amazonclouddirectory/2017-01-11/typedlink/attributes/update", responseCode: 200, }, input: { type: "structure", + required: [ + "DirectoryArn", + "TypedLinkSpecifier", + "AttributeUpdates", + ], members: { - DeviceId: { location: "uri", locationName: "deviceId" }, + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + TypedLinkSpecifier: { shape: "Sy" }, + AttributeUpdates: { shape: "S3g" }, }, - required: ["DeviceId"], - }, - output: { - type: "structure", - members: { State: { locationName: "state" } }, }, + output: { type: "structure", members: {} }, }, - InvokeDeviceMethod: { + UpdateObjectAttributes: { http: { - requestUri: "/devices/{deviceId}/methods", + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/object/update", responseCode: 200, }, input: { type: "structure", + required: ["DirectoryArn", "ObjectReference", "AttributeUpdates"], members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - DeviceMethod: { shape: "Si", locationName: "deviceMethod" }, - DeviceMethodParameters: { - locationName: "deviceMethodParameters", + DirectoryArn: { + location: "header", + locationName: "x-amz-data-partition", }, - }, - required: ["DeviceId"], - }, - output: { - type: "structure", - members: { - DeviceMethodResponse: { locationName: "deviceMethodResponse" }, + ObjectReference: { shape: "Sf" }, + AttributeUpdates: { shape: "S2z" }, }, }, + output: { type: "structure", members: { ObjectIdentifier: {} } }, }, - ListDeviceEvents: { + UpdateSchema: { http: { - method: "GET", - requestUri: "/devices/{deviceId}/events", + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/schema/update", responseCode: 200, }, input: { type: "structure", + required: ["SchemaArn", "Name"], members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - FromTimeStamp: { - shape: "So", - location: "querystring", - locationName: "fromTimeStamp", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - ToTimeStamp: { - shape: "So", - location: "querystring", - locationName: "toTimeStamp", + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", }, + Name: {}, }, - required: ["DeviceId", "FromTimeStamp", "ToTimeStamp"], }, - output: { + output: { type: "structure", members: { SchemaArn: {} } }, + }, + UpdateTypedLinkFacet: { + http: { + method: "PUT", + requestUri: "/amazonclouddirectory/2017-01-11/typedlink/facet", + responseCode: 200, + }, + input: { type: "structure", + required: [ + "SchemaArn", + "Name", + "AttributeUpdates", + "IdentityAttributeOrder", + ], members: { - Events: { - locationName: "events", + SchemaArn: { + location: "header", + locationName: "x-amz-data-partition", + }, + Name: {}, + AttributeUpdates: { type: "list", member: { type: "structure", - members: { - Device: { - locationName: "device", - type: "structure", - members: { - Attributes: { - locationName: "attributes", - type: "structure", - members: {}, - }, - DeviceId: { locationName: "deviceId" }, - Type: { locationName: "type" }, - }, - }, - StdEvent: { locationName: "stdEvent" }, - }, + required: ["Attribute", "Action"], + members: { Attribute: { shape: "S4w" }, Action: {} }, }, }, - NextToken: { locationName: "nextToken" }, + IdentityAttributeOrder: { shape: "S1a" }, }, }, + output: { type: "structure", members: {} }, }, - ListDevices: { - http: { method: "GET", requestUri: "/devices", responseCode: 200 }, + UpgradeAppliedSchema: { + http: { + method: "PUT", + requestUri: + "/amazonclouddirectory/2017-01-11/schema/upgradeapplied", + responseCode: 200, + }, input: { type: "structure", + required: ["PublishedSchemaArn", "DirectoryArn"], members: { - DeviceType: { - location: "querystring", - locationName: "deviceType", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, + PublishedSchemaArn: {}, + DirectoryArn: {}, + DryRun: { type: "boolean" }, }, }, output: { type: "structure", - members: { - Devices: { - locationName: "devices", - type: "list", - member: { shape: "S8" }, - }, - NextToken: { locationName: "nextToken" }, - }, + members: { UpgradedSchemaArn: {}, DirectoryArn: {} }, }, }, - ListTagsForResource: { + UpgradePublishedSchema: { http: { - method: "GET", - requestUri: "/tags/{resource-arn}", + method: "PUT", + requestUri: + "/amazonclouddirectory/2017-01-11/schema/upgradepublished", responseCode: 200, }, input: { type: "structure", + required: [ + "DevelopmentSchemaArn", + "PublishedSchemaArn", + "MinorVersion", + ], members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, + DevelopmentSchemaArn: {}, + PublishedSchemaArn: {}, + MinorVersion: {}, + DryRun: { type: "boolean" }, }, - required: ["ResourceArn"], }, - output: { + output: { type: "structure", members: { UpgradedSchemaArn: {} } }, + }, + }, + shapes: { + S3: { type: "structure", members: { SchemaArn: {}, FacetName: {} } }, + S5: { + type: "list", + member: { type: "structure", - members: { Tags: { shape: "Sc", locationName: "tags" } }, + required: ["Key", "Value"], + members: { Key: { shape: "S7" }, Value: { shape: "S9" } }, }, }, - TagResource: { - http: { requestUri: "/tags/{resource-arn}", responseCode: 204 }, - input: { + S7: { + type: "structure", + required: ["SchemaArn", "FacetName", "Name"], + members: { SchemaArn: {}, FacetName: {}, Name: {} }, + }, + S9: { + type: "structure", + members: { + StringValue: {}, + BinaryValue: { type: "blob" }, + BooleanValue: { type: "boolean" }, + NumberValue: {}, + DatetimeValue: { type: "timestamp" }, + }, + }, + Sf: { type: "structure", members: { Selector: {} } }, + St: { + type: "structure", + required: ["SchemaArn", "TypedLinkName"], + members: { SchemaArn: {}, TypedLinkName: {} }, + }, + Sv: { + type: "list", + member: { + type: "structure", + required: ["AttributeName", "Value"], + members: { AttributeName: {}, Value: { shape: "S9" } }, + }, + }, + Sy: { + type: "structure", + required: [ + "TypedLinkFacet", + "SourceObjectReference", + "TargetObjectReference", + "IdentityAttributeValues", + ], + members: { + TypedLinkFacet: { shape: "St" }, + SourceObjectReference: { shape: "Sf" }, + TargetObjectReference: { shape: "Sf" }, + IdentityAttributeValues: { shape: "Sv" }, + }, + }, + S1a: { type: "list", member: {} }, + S1g: { + type: "list", + member: { type: "structure", members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - Tags: { shape: "Sc", locationName: "tags" }, + AttributeKey: { shape: "S7" }, + Range: { shape: "S1i" }, }, - required: ["ResourceArn", "Tags"], }, }, - UnclaimDevice: { - http: { - method: "PUT", - requestUri: "/devices/{deviceId}/unclaim", - responseCode: 200, + S1i: { + type: "structure", + required: ["StartMode", "EndMode"], + members: { + StartMode: {}, + StartValue: { shape: "S9" }, + EndMode: {}, + EndValue: { shape: "S9" }, }, - input: { + }, + S1l: { + type: "list", + member: { + type: "structure", + required: ["Range"], + members: { AttributeName: {}, Range: { shape: "S1i" } }, + }, + }, + S1w: { type: "map", key: {}, value: {} }, + S1y: { type: "list", member: { shape: "S3" } }, + S21: { + type: "list", + member: { type: "structure", members: { - DeviceId: { location: "uri", locationName: "deviceId" }, + IndexedAttributes: { shape: "S5" }, + ObjectIdentifier: {}, }, - required: ["DeviceId"], }, - output: { + }, + S24: { + type: "list", + member: { type: "structure", - members: { State: { locationName: "state" } }, + members: { Path: {}, ObjectIdentifiers: { shape: "S27" } }, }, }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/tags/{resource-arn}", - responseCode: 204, - }, - input: { + S27: { type: "list", member: {} }, + S2b: { + type: "list", + member: { type: "structure", members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - TagKeys: { - location: "querystring", - locationName: "tagKeys", + Path: {}, + Policies: { type: "list", - member: {}, + member: { + type: "structure", + members: { + PolicyId: {}, + ObjectIdentifier: {}, + PolicyType: {}, + }, + }, }, }, - required: ["TagKeys", "ResourceArn"], }, }, - UpdateDeviceState: { - http: { - method: "PUT", - requestUri: "/devices/{deviceId}/state", - responseCode: 200, + S2i: { type: "list", member: { shape: "Sy" } }, + S2m: { + type: "list", + member: { + type: "structure", + members: { ObjectIdentifier: {}, LinkName: {} }, }, - input: { + }, + S2z: { + type: "list", + member: { type: "structure", members: { - DeviceId: { location: "uri", locationName: "deviceId" }, - Enabled: { locationName: "enabled", type: "boolean" }, + ObjectAttributeKey: { shape: "S7" }, + ObjectAttributeAction: { + type: "structure", + members: { + ObjectAttributeActionType: {}, + ObjectAttributeUpdateValue: { shape: "S9" }, + }, + }, }, - required: ["DeviceId"], }, - output: { type: "structure", members: {} }, }, - }, - shapes: { - S8: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Attributes: { - locationName: "attributes", - type: "map", - key: {}, - value: {}, + S39: { type: "list", member: { shape: "S7" } }, + S3g: { + type: "list", + member: { + type: "structure", + members: { + AttributeKey: { shape: "S7" }, + AttributeAction: { + type: "structure", + members: { + AttributeActionType: {}, + AttributeUpdateValue: { shape: "S9" }, + }, + }, }, - DeviceId: { locationName: "deviceId" }, - Enabled: { locationName: "enabled", type: "boolean" }, - RemainingLife: { locationName: "remainingLife", type: "double" }, - Type: { locationName: "type" }, - Tags: { shape: "Sc", locationName: "tags" }, }, }, - Sc: { type: "map", key: {}, value: {} }, - Si: { + S46: { type: "list", member: { shape: "S47" } }, + S47: { type: "structure", + required: ["Name"], members: { - DeviceType: { locationName: "deviceType" }, - MethodName: { locationName: "methodName" }, - }, - }, - So: { type: "timestamp", timestampFormat: "iso8601" }, - }, - }; - - /***/ - }, - - /***/ 2950: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); - const url = __webpack_require__(8835); - function getProxyUrl(reqUrl) { - let usingSsl = reqUrl.protocol === "https:"; - let proxyUrl; - if (checkBypass(reqUrl)) { - return proxyUrl; - } - let proxyVar; - if (usingSsl) { - proxyVar = process.env["https_proxy"] || process.env["HTTPS_PROXY"]; - } else { - proxyVar = process.env["http_proxy"] || process.env["HTTP_PROXY"]; - } - if (proxyVar) { - proxyUrl = url.parse(proxyVar); - } - return proxyUrl; - } - exports.getProxyUrl = getProxyUrl; - function checkBypass(reqUrl) { - if (!reqUrl.hostname) { - return false; - } - let noProxy = process.env["no_proxy"] || process.env["NO_PROXY"] || ""; - if (!noProxy) { - return false; - } - // Determine the request port - let reqPort; - if (reqUrl.port) { - reqPort = Number(reqUrl.port); - } else if (reqUrl.protocol === "http:") { - reqPort = 80; - } else if (reqUrl.protocol === "https:") { - reqPort = 443; - } - // Format the request hostname and hostname with port - let upperReqHosts = [reqUrl.hostname.toUpperCase()]; - if (typeof reqPort === "number") { - upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); - } - // Compare request host against noproxy - for (let upperNoProxyItem of noProxy - .split(",") - .map((x) => x.trim().toUpperCase()) - .filter((x) => x)) { - if (upperReqHosts.some((x) => x === upperNoProxyItem)) { - return true; - } - } - return false; - } - exports.checkBypass = checkBypass; - - /***/ - }, - - /***/ 2966: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var STS = __webpack_require__(1733); - - /** - * Represents credentials retrieved from STS SAML support. - * - * By default this provider gets credentials using the - * {AWS.STS.assumeRoleWithSAML} service operation. This operation - * requires a `RoleArn` containing the ARN of the IAM trust policy for the - * application for which credentials will be given, as well as a `PrincipalArn` - * representing the ARN for the SAML identity provider. In addition, the - * `SAMLAssertion` must be set to the token provided by the identity - * provider. See {constructor} for an example on creating a credentials - * object with proper `RoleArn`, `PrincipalArn`, and `SAMLAssertion` values. - * - * ## Refreshing Credentials from Identity Service - * - * In addition to AWS credentials expiring after a given amount of time, the - * login token from the identity provider will also expire. Once this token - * expires, it will not be usable to refresh AWS credentials, and another - * token will be needed. The SDK does not manage refreshing of the token value, - * but this can be done through a "refresh token" supported by most identity - * providers. Consult the documentation for the identity provider for refreshing - * tokens. Once the refreshed token is acquired, you should make sure to update - * this new token in the credentials object's {params} property. The following - * code will update the SAMLAssertion, assuming you have retrieved an updated - * token from the identity provider: - * - * ```javascript - * AWS.config.credentials.params.SAMLAssertion = updatedToken; - * ``` - * - * Future calls to `credentials.refresh()` will now use the new token. - * - * @!attribute params - * @return [map] the map of params passed to - * {AWS.STS.assumeRoleWithSAML}. To update the token, set the - * `params.SAMLAssertion` property. - */ - AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new credentials object. - * @param (see AWS.STS.assumeRoleWithSAML) - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.SAMLCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/SAMLRole', - * PrincipalArn: 'arn:aws:iam::1234567890:role/SAMLPrincipal', - * SAMLAssertion: 'base64-token', // base64-encoded token from IdP - * }); - * @see AWS.STS.assumeRoleWithSAML - */ - constructor: function SAMLCredentials(params) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRoleWithSAML} - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - self.createClients(); - self.service.assumeRoleWithSAML(function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }, - - /** - * @api private - */ - createClients: function () { - this.service = this.service || new STS({ params: this.params }); - }, - }); - - /***/ - }, - - /***/ 2971: /***/ function (module) { - module.exports = { - pagination: { - ListApplicationRevisions: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "revisions", - }, - ListApplications: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "applications", + Name: {}, + AttributeDefinition: { + type: "structure", + required: ["Type"], + members: { + Type: {}, + DefaultValue: { shape: "S9" }, + IsImmutable: { type: "boolean" }, + Rules: { shape: "S4a" }, + }, + }, + AttributeReference: { + type: "structure", + required: ["TargetFacetName", "TargetAttributeName"], + members: { TargetFacetName: {}, TargetAttributeName: {} }, + }, + RequiredBehavior: {}, + }, }, - ListDeploymentConfigs: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "deploymentConfigsList", + S4a: { + type: "map", + key: {}, + value: { + type: "structure", + members: { + Type: {}, + Parameters: { type: "map", key: {}, value: {} }, + }, + }, }, - ListDeploymentGroups: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "deploymentGroups", + S4v: { type: "list", member: { shape: "S4w" } }, + S4w: { + type: "structure", + required: ["Name", "Type", "RequiredBehavior"], + members: { + Name: {}, + Type: {}, + DefaultValue: { shape: "S9" }, + IsImmutable: { type: "boolean" }, + Rules: { shape: "S4a" }, + RequiredBehavior: {}, + }, }, - ListDeploymentInstances: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "instancesList", + S5n: { + type: "structure", + members: { + Name: {}, + DirectoryArn: {}, + State: {}, + CreationDateTime: { type: "timestamp" }, + }, }, - ListDeployments: { - input_token: "nextToken", - output_token: "nextToken", - result_key: "deployments", + S66: { type: "list", member: {} }, + S79: { + type: "list", + member: { type: "structure", members: { Key: {}, Value: {} } }, }, }, }; @@ -89341,1441 +94096,943 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 2982: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { + /***/ 2641: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); var AWS = __webpack_require__(395); - var proc = __webpack_require__(3129); - var iniLoader = AWS.util.iniLoader; - - /** - * Represents credentials loaded from shared credentials file - * (defaulting to ~/.aws/credentials or defined by the - * `AWS_SHARED_CREDENTIALS_FILE` environment variable). - * - * ## Using process credentials - * - * The credentials file can specify a credential provider that executes - * a given process and attempts to read its stdout to recieve a JSON payload - * containing the credentials: - * - * [default] - * credential_process = /usr/bin/credential_proc - * - * Automatically handles refreshing credentials if an Expiration time is - * provided in the credentials payload. Credentials supplied in the same profile - * will take precedence over the credential_process. - * - * Sourcing credentials from an external process can potentially be dangerous, - * so proceed with caution. Other credential providers should be preferred if - * at all possible. If using this option, you should make sure that the shared - * credentials file is as locked down as possible using security best practices - * for your operating system. - * - * ## Using custom profiles - * - * The SDK supports loading credentials for separate profiles. This can be done - * in two ways: - * - * 1. Set the `AWS_PROFILE` environment variable in your process prior to - * loading the SDK. - * 2. Directly load the AWS.ProcessCredentials provider: - * - * ```javascript - * var creds = new AWS.ProcessCredentials({profile: 'myprofile'}); - * AWS.config.credentials = creds; - * ``` - * - * @!macro nobrowser - */ - AWS.ProcessCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new ProcessCredentials object. - * - * @param options [map] a set of options - * @option options profile [String] (AWS_PROFILE env var or 'default') - * the name of the profile to load. - * @option options filename [String] ('~/.aws/credentials' or defined by - * AWS_SHARED_CREDENTIALS_FILE process env var) - * the filename to use when loading credentials. - * @option options callback [Function] (err) Credentials are eagerly loaded - * by the constructor. When the callback is called with no error, the - * credentials have been loaded successfully. - */ - constructor: function ProcessCredentials(options) { - AWS.Credentials.call(this); - - options = options || {}; - - this.filename = options.filename; - this.profile = - options.profile || - process.env.AWS_PROFILE || - AWS.util.defaultProfile; - this.get(options.callback || AWS.util.fn.noop); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - try { - var profiles = AWS.util.getProfilesFromSharedConfig( - iniLoader, - this.filename - ); - var profile = profiles[this.profile] || {}; - - if (Object.keys(profile).length === 0) { - throw AWS.util.error( - new Error("Profile " + this.profile + " not found"), - { code: "ProcessCredentialsProviderFailure" } - ); - } - - if (profile["credential_process"]) { - this.loadViaCredentialProcess(profile, function (err, data) { - if (err) { - callback(err, null); - } else { - self.expired = false; - self.accessKeyId = data.AccessKeyId; - self.secretAccessKey = data.SecretAccessKey; - self.sessionToken = data.SessionToken; - if (data.Expiration) { - self.expireTime = new Date(data.Expiration); - } - callback(null); - } - }); - } else { - throw AWS.util.error( - new Error( - "Profile " + - this.profile + - " did not include credential process" - ), - { code: "ProcessCredentialsProviderFailure" } - ); - } - } catch (err) { - callback(err); - } - }, - - /** - * Executes the credential_process and retrieves - * credentials from the output - * @api private - * @param profile [map] credentials profile - * @throws ProcessCredentialsProviderFailure - */ - loadViaCredentialProcess: function loadViaCredentialProcess( - profile, - callback - ) { - proc.exec(profile["credential_process"], function ( - err, - stdOut, - stdErr - ) { - if (err) { - callback( - AWS.util.error(new Error("credential_process returned error"), { - code: "ProcessCredentialsProviderFailure", - }), - null - ); - } else { - try { - var credData = JSON.parse(stdOut); - if (credData.Expiration) { - var currentTime = AWS.util.date.getDate(); - var expireTime = new Date(credData.Expiration); - if (expireTime < currentTime) { - throw Error( - "credential_process returned expired credentials" - ); - } - } - - if (credData.Version !== 1) { - throw Error( - "credential_process does not return Version == 1" - ); - } - callback(null, credData); - } catch (err) { - callback( - AWS.util.error(new Error(err.message), { - code: "ProcessCredentialsProviderFailure", - }), - null - ); - } - } - }); - }, - - /** - * Loads the credentials from the credential process - * - * @callback callback function(err) - * Called after the credential process has been executed. When this - * callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - iniLoader.clearCachedFiles(); - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - }); - - /***/ - }, - - /***/ 3009: /***/ function (module, __unusedexports, __webpack_require__) { - var once = __webpack_require__(6049); - - var noop = function () {}; - - var isRequest = function (stream) { - return stream.setHeader && typeof stream.abort === "function"; - }; - - var isChildProcess = function (stream) { - return ( - stream.stdio && - Array.isArray(stream.stdio) && - stream.stdio.length === 3 - ); - }; - - var eos = function (stream, opts, callback) { - if (typeof opts === "function") return eos(stream, null, opts); - if (!opts) opts = {}; - - callback = once(callback || noop); - - var ws = stream._writableState; - var rs = stream._readableState; - var readable = - opts.readable || (opts.readable !== false && stream.readable); - var writable = - opts.writable || (opts.writable !== false && stream.writable); - var cancelled = false; - - var onlegacyfinish = function () { - if (!stream.writable) onfinish(); - }; - - var onfinish = function () { - writable = false; - if (!readable) callback.call(stream); - }; - - var onend = function () { - readable = false; - if (!writable) callback.call(stream); - }; - - var onexit = function (exitCode) { - callback.call( - stream, - exitCode ? new Error("exited with error code: " + exitCode) : null - ); - }; - - var onerror = function (err) { - callback.call(stream, err); - }; - - var onclose = function () { - process.nextTick(onclosenexttick); - }; - - var onclosenexttick = function () { - if (cancelled) return; - if (readable && !(rs && rs.ended && !rs.destroyed)) - return callback.call(stream, new Error("premature close")); - if (writable && !(ws && ws.ended && !ws.destroyed)) - return callback.call(stream, new Error("premature close")); - }; - - var onrequest = function () { - stream.req.on("finish", onfinish); - }; + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - if (isRequest(stream)) { - stream.on("complete", onfinish); - stream.on("abort", onclose); - if (stream.req) onrequest(); - else stream.on("request", onrequest); - } else if (writable && !ws) { - // legacy streams - stream.on("end", onlegacyfinish); - stream.on("close", onlegacyfinish); + apiLoader.services["kinesisvideosignalingchannels"] = {}; + AWS.KinesisVideoSignalingChannels = Service.defineService( + "kinesisvideosignalingchannels", + ["2019-12-04"] + ); + Object.defineProperty( + apiLoader.services["kinesisvideosignalingchannels"], + "2019-12-04", + { + get: function get() { + var model = __webpack_require__(1713); + model.paginators = __webpack_require__(1529).pagination; + return model; + }, + enumerable: true, + configurable: true, } + ); - if (isChildProcess(stream)) stream.on("exit", onexit); - - stream.on("end", onend); - stream.on("finish", onfinish); - if (opts.error !== false) stream.on("error", onerror); - stream.on("close", onclose); - - return function () { - cancelled = true; - stream.removeListener("complete", onfinish); - stream.removeListener("abort", onclose); - stream.removeListener("request", onrequest); - if (stream.req) stream.req.removeListener("finish", onfinish); - stream.removeListener("end", onlegacyfinish); - stream.removeListener("close", onlegacyfinish); - stream.removeListener("finish", onfinish); - stream.removeListener("exit", onexit); - stream.removeListener("end", onend); - stream.removeListener("error", onerror); - stream.removeListener("close", onclose); - }; - }; - - module.exports = eos; + module.exports = AWS.KinesisVideoSignalingChannels; /***/ }, - /***/ 3034: /***/ function (module) { + /***/ 2655: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2017-04-28", - endpointPrefix: "cloudhsmv2", + apiVersion: "2018-05-22", + endpointPrefix: "personalize", jsonVersion: "1.1", protocol: "json", - serviceAbbreviation: "CloudHSM V2", - serviceFullName: "AWS CloudHSM V2", - serviceId: "CloudHSM V2", + serviceFullName: "Amazon Personalize", + serviceId: "Personalize", signatureVersion: "v4", - signingName: "cloudhsm", - targetPrefix: "BaldrApiService", - uid: "cloudhsmv2-2017-04-28", + signingName: "personalize", + targetPrefix: "AmazonPersonalize", + uid: "personalize-2018-05-22", }, operations: { - CopyBackupToRegion: { + CreateBatchInferenceJob: { input: { type: "structure", - required: ["DestinationRegion", "BackupId"], + required: [ + "jobName", + "solutionVersionArn", + "jobInput", + "jobOutput", + "roleArn", + ], members: { - DestinationRegion: {}, - BackupId: {}, - TagList: { shape: "S4" }, + jobName: {}, + solutionVersionArn: {}, + filterArn: {}, + numResults: { type: "integer" }, + jobInput: { shape: "S5" }, + jobOutput: { shape: "S9" }, + roleArn: {}, + batchInferenceJobConfig: { shape: "Sb" }, }, }, output: { type: "structure", + members: { batchInferenceJobArn: {} }, + }, + }, + CreateCampaign: { + input: { + type: "structure", + required: ["name", "solutionVersionArn", "minProvisionedTPS"], members: { - DestinationBackup: { - type: "structure", - members: { - CreateTimestamp: { type: "timestamp" }, - SourceRegion: {}, - SourceBackup: {}, - SourceCluster: {}, - }, - }, + name: {}, + solutionVersionArn: {}, + minProvisionedTPS: { type: "integer" }, + campaignConfig: { shape: "Si" }, }, }, + output: { type: "structure", members: { campaignArn: {} } }, + idempotent: true, }, - CreateCluster: { + CreateDataset: { input: { type: "structure", - required: ["SubnetIds", "HsmType"], + required: ["name", "schemaArn", "datasetGroupArn", "datasetType"], members: { - SubnetIds: { type: "list", member: {} }, - HsmType: {}, - SourceBackupId: {}, - TagList: { shape: "S4" }, + name: {}, + schemaArn: {}, + datasetGroupArn: {}, + datasetType: {}, }, }, - output: { + output: { type: "structure", members: { datasetArn: {} } }, + idempotent: true, + }, + CreateDatasetGroup: { + input: { type: "structure", - members: { Cluster: { shape: "Sh" } }, + required: ["name"], + members: { name: {}, roleArn: {}, kmsKeyArn: {} }, }, + output: { type: "structure", members: { datasetGroupArn: {} } }, }, - CreateHsm: { + CreateDatasetImportJob: { input: { type: "structure", - required: ["ClusterId", "AvailabilityZone"], - members: { ClusterId: {}, AvailabilityZone: {}, IpAddress: {} }, + required: ["jobName", "datasetArn", "dataSource", "roleArn"], + members: { + jobName: {}, + datasetArn: {}, + dataSource: { shape: "Sq" }, + roleArn: {}, + }, }, - output: { type: "structure", members: { Hsm: { shape: "Sk" } } }, + output: { type: "structure", members: { datasetImportJobArn: {} } }, }, - DeleteBackup: { + CreateEventTracker: { input: { type: "structure", - required: ["BackupId"], - members: { BackupId: {} }, + required: ["name", "datasetGroupArn"], + members: { name: {}, datasetGroupArn: {} }, }, output: { type: "structure", - members: { Backup: { shape: "S13" } }, + members: { eventTrackerArn: {}, trackingId: {} }, }, + idempotent: true, }, - DeleteCluster: { + CreateFilter: { input: { type: "structure", - required: ["ClusterId"], - members: { ClusterId: {} }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sh" } }, + required: ["name", "datasetGroupArn", "filterExpression"], + members: { + name: {}, + datasetGroupArn: {}, + filterExpression: { shape: "Sw" }, + }, }, + output: { type: "structure", members: { filterArn: {} } }, }, - DeleteHsm: { + CreateSchema: { input: { type: "structure", - required: ["ClusterId"], - members: { ClusterId: {}, HsmId: {}, EniId: {}, EniIp: {} }, + required: ["name", "schema"], + members: { name: {}, schema: {} }, }, - output: { type: "structure", members: { HsmId: {} } }, + output: { type: "structure", members: { schemaArn: {} } }, + idempotent: true, }, - DescribeBackups: { + CreateSolution: { input: { type: "structure", + required: ["name", "datasetGroupArn"], members: { - NextToken: {}, - MaxResults: { type: "integer" }, - Filters: { shape: "S1c" }, - SortAscending: { type: "boolean" }, + name: {}, + performHPO: { type: "boolean" }, + performAutoML: { type: "boolean" }, + recipeArn: {}, + datasetGroupArn: {}, + eventType: {}, + solutionConfig: { shape: "S15" }, }, }, + output: { type: "structure", members: { solutionArn: {} } }, + }, + CreateSolutionVersion: { + input: { + type: "structure", + required: ["solutionArn"], + members: { solutionArn: {}, trainingMode: {} }, + }, + output: { type: "structure", members: { solutionVersionArn: {} } }, + }, + DeleteCampaign: { + input: { + type: "structure", + required: ["campaignArn"], + members: { campaignArn: {} }, + }, + idempotent: true, + }, + DeleteDataset: { + input: { + type: "structure", + required: ["datasetArn"], + members: { datasetArn: {} }, + }, + idempotent: true, + }, + DeleteDatasetGroup: { + input: { + type: "structure", + required: ["datasetGroupArn"], + members: { datasetGroupArn: {} }, + }, + idempotent: true, + }, + DeleteEventTracker: { + input: { + type: "structure", + required: ["eventTrackerArn"], + members: { eventTrackerArn: {} }, + }, + idempotent: true, + }, + DeleteFilter: { + input: { + type: "structure", + required: ["filterArn"], + members: { filterArn: {} }, + }, + }, + DeleteSchema: { + input: { + type: "structure", + required: ["schemaArn"], + members: { schemaArn: {} }, + }, + idempotent: true, + }, + DeleteSolution: { + input: { + type: "structure", + required: ["solutionArn"], + members: { solutionArn: {} }, + }, + idempotent: true, + }, + DescribeAlgorithm: { + input: { + type: "structure", + required: ["algorithmArn"], + members: { algorithmArn: {} }, + }, output: { type: "structure", members: { - Backups: { type: "list", member: { shape: "S13" } }, - NextToken: {}, + algorithm: { + type: "structure", + members: { + name: {}, + algorithmArn: {}, + algorithmImage: { + type: "structure", + required: ["dockerURI"], + members: { name: {}, dockerURI: {} }, + }, + defaultHyperParameters: { shape: "Sc" }, + defaultHyperParameterRanges: { + type: "structure", + members: { + integerHyperParameterRanges: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + minValue: { type: "integer" }, + maxValue: { type: "integer" }, + isTunable: { type: "boolean" }, + }, + }, + }, + continuousHyperParameterRanges: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + minValue: { type: "double" }, + maxValue: { type: "double" }, + isTunable: { type: "boolean" }, + }, + }, + }, + categoricalHyperParameterRanges: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + values: { shape: "S1p" }, + isTunable: { type: "boolean" }, + }, + }, + }, + }, + }, + defaultResourceConfig: { type: "map", key: {}, value: {} }, + trainingInputMode: {}, + roleArn: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + }, + }, }, }, + idempotent: true, }, - DescribeClusters: { + DescribeBatchInferenceJob: { input: { type: "structure", - members: { - Filters: { shape: "S1c" }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, + required: ["batchInferenceJobArn"], + members: { batchInferenceJobArn: {} }, }, output: { type: "structure", members: { - Clusters: { type: "list", member: { shape: "Sh" } }, - NextToken: {}, + batchInferenceJob: { + type: "structure", + members: { + jobName: {}, + batchInferenceJobArn: {}, + filterArn: {}, + failureReason: {}, + solutionVersionArn: {}, + numResults: { type: "integer" }, + jobInput: { shape: "S5" }, + jobOutput: { shape: "S9" }, + batchInferenceJobConfig: { shape: "Sb" }, + roleArn: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + }, + }, }, }, + idempotent: true, }, - InitializeCluster: { + DescribeCampaign: { input: { type: "structure", - required: ["ClusterId", "SignedCert", "TrustAnchor"], - members: { ClusterId: {}, SignedCert: {}, TrustAnchor: {} }, + required: ["campaignArn"], + members: { campaignArn: {} }, }, output: { type: "structure", - members: { State: {}, StateMessage: {} }, + members: { + campaign: { + type: "structure", + members: { + name: {}, + campaignArn: {}, + solutionVersionArn: {}, + minProvisionedTPS: { type: "integer" }, + campaignConfig: { shape: "Si" }, + status: {}, + failureReason: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + latestCampaignUpdate: { + type: "structure", + members: { + solutionVersionArn: {}, + minProvisionedTPS: { type: "integer" }, + campaignConfig: { shape: "Si" }, + status: {}, + failureReason: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + }, + }, + }, + }, + }, }, + idempotent: true, }, - ListTags: { + DescribeDataset: { input: { type: "structure", - required: ["ResourceId"], + required: ["datasetArn"], + members: { datasetArn: {} }, + }, + output: { + type: "structure", members: { - ResourceId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + dataset: { + type: "structure", + members: { + name: {}, + datasetArn: {}, + datasetGroupArn: {}, + datasetType: {}, + schemaArn: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + }, + }, }, }, + idempotent: true, + }, + DescribeDatasetGroup: { + input: { + type: "structure", + required: ["datasetGroupArn"], + members: { datasetGroupArn: {} }, + }, output: { type: "structure", - required: ["TagList"], - members: { TagList: { shape: "S4" }, NextToken: {} }, + members: { + datasetGroup: { + type: "structure", + members: { + name: {}, + datasetGroupArn: {}, + status: {}, + roleArn: {}, + kmsKeyArn: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + failureReason: {}, + }, + }, + }, }, + idempotent: true, }, - RestoreBackup: { + DescribeDatasetImportJob: { input: { type: "structure", - required: ["BackupId"], - members: { BackupId: {} }, + required: ["datasetImportJobArn"], + members: { datasetImportJobArn: {} }, }, output: { type: "structure", - members: { Backup: { shape: "S13" } }, + members: { + datasetImportJob: { + type: "structure", + members: { + jobName: {}, + datasetImportJobArn: {}, + datasetArn: {}, + dataSource: { shape: "Sq" }, + roleArn: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + failureReason: {}, + }, + }, + }, }, + idempotent: true, }, - TagResource: { + DescribeEventTracker: { input: { type: "structure", - required: ["ResourceId", "TagList"], - members: { ResourceId: {}, TagList: { shape: "S4" } }, + required: ["eventTrackerArn"], + members: { eventTrackerArn: {} }, }, - output: { type: "structure", members: {} }, + output: { + type: "structure", + members: { + eventTracker: { + type: "structure", + members: { + name: {}, + eventTrackerArn: {}, + accountId: {}, + trackingId: {}, + datasetGroupArn: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + }, + }, + }, + }, + idempotent: true, }, - UntagResource: { + DescribeFeatureTransformation: { input: { type: "structure", - required: ["ResourceId", "TagKeyList"], + required: ["featureTransformationArn"], + members: { featureTransformationArn: {} }, + }, + output: { + type: "structure", members: { - ResourceId: {}, - TagKeyList: { type: "list", member: {} }, + featureTransformation: { + type: "structure", + members: { + name: {}, + featureTransformationArn: {}, + defaultParameters: { type: "map", key: {}, value: {} }, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + status: {}, + }, + }, }, }, - output: { type: "structure", members: {} }, + idempotent: true, }, - }, - shapes: { - S4: { - type: "list", - member: { + DescribeFilter: { + input: { type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, + required: ["filterArn"], + members: { filterArn: {} }, + }, + output: { + type: "structure", + members: { + filter: { + type: "structure", + members: { + name: {}, + filterArn: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + datasetGroupArn: {}, + failureReason: {}, + filterExpression: { shape: "Sw" }, + status: {}, + }, + }, + }, }, + idempotent: true, }, - Sh: { - type: "structure", - members: { - BackupPolicy: {}, - ClusterId: {}, - CreateTimestamp: { type: "timestamp" }, - Hsms: { type: "list", member: { shape: "Sk" } }, - HsmType: {}, - PreCoPassword: {}, - SecurityGroup: {}, - SourceBackupId: {}, - State: {}, - StateMessage: {}, - SubnetMapping: { type: "map", key: {}, value: {} }, - VpcId: {}, - Certificates: { - type: "structure", - members: { - ClusterCsr: {}, - HsmCertificate: {}, - AwsHardwareCertificate: {}, - ManufacturerHardwareCertificate: {}, - ClusterCertificate: {}, + DescribeRecipe: { + input: { + type: "structure", + required: ["recipeArn"], + members: { recipeArn: {} }, + }, + output: { + type: "structure", + members: { + recipe: { + type: "structure", + members: { + name: {}, + recipeArn: {}, + algorithmArn: {}, + featureTransformationArn: {}, + status: {}, + description: {}, + creationDateTime: { type: "timestamp" }, + recipeType: {}, + lastUpdatedDateTime: { type: "timestamp" }, + }, }, }, - TagList: { shape: "S4" }, - }, - }, - Sk: { - type: "structure", - required: ["HsmId"], - members: { - AvailabilityZone: {}, - ClusterId: {}, - SubnetId: {}, - EniId: {}, - EniIp: {}, - HsmId: {}, - State: {}, - StateMessage: {}, - }, - }, - S13: { - type: "structure", - required: ["BackupId"], - members: { - BackupId: {}, - BackupState: {}, - ClusterId: {}, - CreateTimestamp: { type: "timestamp" }, - CopyTimestamp: { type: "timestamp" }, - SourceRegion: {}, - SourceBackup: {}, - SourceCluster: {}, - DeleteTimestamp: { type: "timestamp" }, - TagList: { shape: "S4" }, }, + idempotent: true, }, - S1c: { type: "map", key: {}, value: { type: "list", member: {} } }, - }, - }; - - /***/ - }, - - /***/ 3042: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["support"] = {}; - AWS.Support = Service.defineService("support", ["2013-04-15"]); - Object.defineProperty(apiLoader.services["support"], "2013-04-15", { - get: function get() { - var model = __webpack_require__(1010); - model.paginators = __webpack_require__(32).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Support; - - /***/ - }, - - /***/ 3043: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var STS = __webpack_require__(1733); - - /** - * Represents temporary credentials retrieved from {AWS.STS}. Without any - * extra parameters, credentials will be fetched from the - * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the - * {AWS.STS.assumeRole} operation will be used to fetch credentials for the - * role instead. - * - * @note AWS.TemporaryCredentials is deprecated, but remains available for - * backwards compatibility. {AWS.ChainableTemporaryCredentials} is the - * preferred class for temporary credentials. - * - * To setup temporary credentials, configure a set of master credentials - * using the standard credentials providers (environment, EC2 instance metadata, - * or from the filesystem), then set the global credentials to a new - * temporary credentials object: - * - * ```javascript - * // Note that environment credentials are loaded by default, - * // the following line is shown for clarity: - * AWS.config.credentials = new AWS.EnvironmentCredentials('AWS'); - * - * // Now set temporary credentials seeded from the master credentials - * AWS.config.credentials = new AWS.TemporaryCredentials(); - * - * // subsequent requests will now use temporary credentials from AWS STS. - * new AWS.S3().listBucket(function(err, data) { ... }); - * ``` - * - * @!attribute masterCredentials - * @return [AWS.Credentials] the master (non-temporary) credentials used to - * get and refresh temporary credentials from AWS STS. - * @note (see constructor) - */ - AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new temporary credentials object. - * - * @note In order to create temporary credentials, you first need to have - * "master" credentials configured in {AWS.Config.credentials}. These - * master credentials are necessary to retrieve the temporary credentials, - * as well as refresh the credentials when they expire. - * @param params [map] a map of options that are passed to the - * {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations. - * If a `RoleArn` parameter is passed in, credentials will be based on the - * IAM role. - * @param masterCredentials [AWS.Credentials] the master (non-temporary) credentials - * used to get and refresh temporary credentials from AWS STS. - * @example Creating a new credentials object for generic temporary credentials - * AWS.config.credentials = new AWS.TemporaryCredentials(); - * @example Creating a new credentials object for an IAM role - * AWS.config.credentials = new AWS.TemporaryCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials', - * }); - * @see AWS.STS.assumeRole - * @see AWS.STS.getSessionToken - */ - constructor: function TemporaryCredentials(params, masterCredentials) { - AWS.Credentials.call(this); - this.loadMasterCredentials(masterCredentials); - this.expired = true; - - this.params = params || {}; - if (this.params.RoleArn) { - this.params.RoleSessionName = - this.params.RoleSessionName || "temporary-credentials"; - } - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRole} or - * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed - * to the credentials {constructor}. - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - self.createClients(); - self.masterCredentials.get(function () { - self.service.config.credentials = self.masterCredentials; - var operation = self.params.RoleArn - ? self.service.assumeRole - : self.service.getSessionToken; - operation.call(self.service, function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }); - }, - - /** - * @api private - */ - loadMasterCredentials: function loadMasterCredentials( - masterCredentials - ) { - this.masterCredentials = masterCredentials || AWS.config.credentials; - while (this.masterCredentials.masterCredentials) { - this.masterCredentials = this.masterCredentials.masterCredentials; - } - - if (typeof this.masterCredentials.get !== "function") { - this.masterCredentials = new AWS.Credentials( - this.masterCredentials - ); - } - }, - - /** - * @api private - */ - createClients: function () { - this.service = this.service || new STS({ params: this.params }); - }, - }); - - /***/ - }, - - /***/ 3080: /***/ function (module) { - module.exports = { - pagination: { - ListApplicationVersions: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxItems", - }, - ListApplications: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxItems", - }, - ListApplicationDependencies: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxItems", - }, - }, - }; - - /***/ - }, - - /***/ 3091: /***/ function (module) { - module.exports = { - pagination: { - ListComplianceStatus: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "PolicyComplianceStatusList", - }, - ListMemberAccounts: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "MemberAccounts", - }, - ListPolicies: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - result_key: "PolicyList", - }, - }, - }; - - /***/ - }, - - /***/ 3099: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["autoscalingplans"] = {}; - AWS.AutoScalingPlans = Service.defineService("autoscalingplans", [ - "2018-01-06", - ]); - Object.defineProperty( - apiLoader.services["autoscalingplans"], - "2018-01-06", - { - get: function get() { - var model = __webpack_require__(6631); - model.paginators = __webpack_require__(4344).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.AutoScalingPlans; - - /***/ - }, - - /***/ 3110: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["licensemanager"] = {}; - AWS.LicenseManager = Service.defineService("licensemanager", [ - "2018-08-01", - ]); - Object.defineProperty( - apiLoader.services["licensemanager"], - "2018-08-01", - { - get: function get() { - var model = __webpack_require__(3605); - model.paginators = __webpack_require__(3209).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.LicenseManager; - - /***/ - }, - - /***/ 3129: /***/ function (module) { - module.exports = require("child_process"); - - /***/ - }, - - /***/ 3132: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2016-06-10", - endpointPrefix: "polly", - protocol: "rest-json", - serviceFullName: "Amazon Polly", - serviceId: "Polly", - signatureVersion: "v4", - uid: "polly-2016-06-10", - }, - operations: { - DeleteLexicon: { - http: { - method: "DELETE", - requestUri: "/v1/lexicons/{LexiconName}", - responseCode: 200, - }, + DescribeSchema: { input: { type: "structure", - required: ["Name"], + required: ["schemaArn"], + members: { schemaArn: {} }, + }, + output: { + type: "structure", members: { - Name: { - shape: "S2", - location: "uri", - locationName: "LexiconName", + schema: { + type: "structure", + members: { + name: {}, + schemaArn: {}, + schema: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + }, }, }, }, - output: { type: "structure", members: {} }, + idempotent: true, }, - DescribeVoices: { - http: { - method: "GET", - requestUri: "/v1/voices", - responseCode: 200, - }, + DescribeSolution: { input: { type: "structure", - members: { - Engine: { location: "querystring", locationName: "Engine" }, - LanguageCode: { - location: "querystring", - locationName: "LanguageCode", - }, - IncludeAdditionalLanguageCodes: { - location: "querystring", - locationName: "IncludeAdditionalLanguageCodes", - type: "boolean", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - }, + required: ["solutionArn"], + members: { solutionArn: {} }, }, output: { type: "structure", members: { - Voices: { - type: "list", - member: { - type: "structure", - members: { - Gender: {}, - Id: {}, - LanguageCode: {}, - LanguageName: {}, - Name: {}, - AdditionalLanguageCodes: { type: "list", member: {} }, - SupportedEngines: { type: "list", member: {} }, + solution: { + type: "structure", + members: { + name: {}, + solutionArn: {}, + performHPO: { type: "boolean" }, + performAutoML: { type: "boolean" }, + recipeArn: {}, + datasetGroupArn: {}, + eventType: {}, + solutionConfig: { shape: "S15" }, + autoMLResult: { + type: "structure", + members: { bestRecipeArn: {} }, }, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + latestSolutionVersion: { shape: "S3r" }, }, }, - NextToken: {}, }, }, + idempotent: true, }, - GetLexicon: { - http: { - method: "GET", - requestUri: "/v1/lexicons/{LexiconName}", - responseCode: 200, - }, + DescribeSolutionVersion: { input: { type: "structure", - required: ["Name"], - members: { - Name: { - shape: "S2", - location: "uri", - locationName: "LexiconName", - }, - }, + required: ["solutionVersionArn"], + members: { solutionVersionArn: {} }, }, output: { type: "structure", members: { - Lexicon: { + solutionVersion: { type: "structure", - members: { Content: {}, Name: { shape: "S2" } }, + members: { + solutionVersionArn: {}, + solutionArn: {}, + performHPO: { type: "boolean" }, + performAutoML: { type: "boolean" }, + recipeArn: {}, + eventType: {}, + datasetGroupArn: {}, + solutionConfig: { shape: "S15" }, + trainingHours: { type: "double" }, + trainingMode: {}, + tunedHPOParams: { + type: "structure", + members: { algorithmHyperParameters: { shape: "Sc" } }, + }, + status: {}, + failureReason: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + }, }, - LexiconAttributes: { shape: "Sm" }, }, }, + idempotent: true, }, - GetSpeechSynthesisTask: { - http: { - method: "GET", - requestUri: "/v1/synthesisTasks/{TaskId}", - responseCode: 200, - }, + GetSolutionMetrics: { input: { type: "structure", - required: ["TaskId"], - members: { TaskId: { location: "uri", locationName: "TaskId" } }, + required: ["solutionVersionArn"], + members: { solutionVersionArn: {} }, }, output: { type: "structure", - members: { SynthesisTask: { shape: "Sv" } }, + members: { + solutionVersionArn: {}, + metrics: { type: "map", key: {}, value: { type: "double" } }, + }, }, }, - ListLexicons: { - http: { - method: "GET", - requestUri: "/v1/lexicons", - responseCode: 200, - }, + ListBatchInferenceJobs: { input: { type: "structure", members: { - NextToken: { - location: "querystring", - locationName: "NextToken", - }, + solutionVersionArn: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - Lexicons: { + batchInferenceJobs: { type: "list", member: { type: "structure", members: { - Name: { shape: "S2" }, - Attributes: { shape: "Sm" }, + batchInferenceJobArn: {}, + jobName: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + failureReason: {}, + solutionVersionArn: {}, }, }, }, - NextToken: {}, + nextToken: {}, }, }, + idempotent: true, }, - ListSpeechSynthesisTasks: { - http: { - method: "GET", - requestUri: "/v1/synthesisTasks", - responseCode: 200, - }, + ListCampaigns: { input: { type: "structure", members: { - MaxResults: { - location: "querystring", - locationName: "MaxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "NextToken", - }, - Status: { location: "querystring", locationName: "Status" }, + solutionArn: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - NextToken: {}, - SynthesisTasks: { type: "list", member: { shape: "Sv" } }, + campaigns: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + campaignArn: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + failureReason: {}, + }, + }, + }, + nextToken: {}, }, }, + idempotent: true, }, - PutLexicon: { - http: { - method: "PUT", - requestUri: "/v1/lexicons/{LexiconName}", - responseCode: 200, - }, + ListDatasetGroups: { input: { type: "structure", - required: ["Name", "Content"], + members: { nextToken: {}, maxResults: { type: "integer" } }, + }, + output: { + type: "structure", members: { - Name: { - shape: "S2", - location: "uri", - locationName: "LexiconName", + datasetGroups: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + datasetGroupArn: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + failureReason: {}, + }, + }, }, - Content: {}, + nextToken: {}, }, }, - output: { type: "structure", members: {} }, + idempotent: true, }, - StartSpeechSynthesisTask: { - http: { requestUri: "/v1/synthesisTasks", responseCode: 200 }, + ListDatasetImportJobs: { input: { type: "structure", - required: [ - "OutputFormat", - "OutputS3BucketName", - "Text", - "VoiceId", - ], members: { - Engine: {}, - LanguageCode: {}, - LexiconNames: { shape: "S12" }, - OutputFormat: {}, - OutputS3BucketName: {}, - OutputS3KeyPrefix: {}, - SampleRate: {}, - SnsTopicArn: {}, - SpeechMarkTypes: { shape: "S15" }, - Text: {}, - TextType: {}, - VoiceId: {}, + datasetArn: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { type: "structure", - members: { SynthesisTask: { shape: "Sv" } }, + members: { + datasetImportJobs: { + type: "list", + member: { + type: "structure", + members: { + datasetImportJobArn: {}, + jobName: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + failureReason: {}, + }, + }, + }, + nextToken: {}, + }, }, + idempotent: true, }, - SynthesizeSpeech: { - http: { requestUri: "/v1/speech", responseCode: 200 }, + ListDatasets: { input: { type: "structure", - required: ["OutputFormat", "Text", "VoiceId"], members: { - Engine: {}, - LanguageCode: {}, - LexiconNames: { shape: "S12" }, - OutputFormat: {}, - SampleRate: {}, - SpeechMarkTypes: { shape: "S15" }, - Text: {}, - TextType: {}, - VoiceId: {}, + datasetGroupArn: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - AudioStream: { type: "blob", streaming: true }, - ContentType: { - location: "header", - locationName: "Content-Type", - }, - RequestCharacters: { - location: "header", - locationName: "x-amzn-RequestCharacters", - type: "integer", + datasets: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + datasetArn: {}, + datasetType: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + }, + }, }, + nextToken: {}, }, - payload: "AudioStream", - }, - }, - }, - shapes: { - S2: { type: "string", sensitive: true }, - Sm: { - type: "structure", - members: { - Alphabet: {}, - LanguageCode: {}, - LastModified: { type: "timestamp" }, - LexiconArn: {}, - LexemesCount: { type: "integer" }, - Size: { type: "integer" }, - }, - }, - Sv: { - type: "structure", - members: { - Engine: {}, - TaskId: {}, - TaskStatus: {}, - TaskStatusReason: {}, - OutputUri: {}, - CreationTime: { type: "timestamp" }, - RequestCharacters: { type: "integer" }, - SnsTopicArn: {}, - LexiconNames: { shape: "S12" }, - OutputFormat: {}, - SampleRate: {}, - SpeechMarkTypes: { shape: "S15" }, - TextType: {}, - VoiceId: {}, - LanguageCode: {}, }, + idempotent: true, }, - S12: { type: "list", member: { shape: "S2" } }, - S15: { type: "list", member: {} }, - }, - }; - - /***/ - }, - - /***/ 3137: /***/ function (module) { - module.exports = { - pagination: { - DescribeModelVersions: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetDetectors: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetExternalModels: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetModels: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetOutcomes: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetRules: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - GetVariables: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - }, - }; - - /***/ - }, - - /***/ 3143: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = withAuthorizationPrefix; - - const atob = __webpack_require__(1368); - - const REGEX_IS_BASIC_AUTH = /^[\w-]+:/; - - function withAuthorizationPrefix(authorization) { - if (/^(basic|bearer|token) /i.test(authorization)) { - return authorization; - } - - try { - if (REGEX_IS_BASIC_AUTH.test(atob(authorization))) { - return `basic ${authorization}`; - } - } catch (error) {} - - if (authorization.split(/\./).length === 3) { - return `bearer ${authorization}`; - } - - return `token ${authorization}`; - } - - /***/ - }, - - /***/ 3158: /***/ function (module, __unusedexports, __webpack_require__) { - var v1 = __webpack_require__(3773); - var v4 = __webpack_require__(1740); - - var uuid = v4; - uuid.v1 = v1; - uuid.v4 = v4; - - module.exports = uuid; - - /***/ - }, - - /***/ 3165: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-11-01", - endpointPrefix: "compute-optimizer", - jsonVersion: "1.0", - protocol: "json", - serviceFullName: "AWS Compute Optimizer", - serviceId: "Compute Optimizer", - signatureVersion: "v4", - signingName: "compute-optimizer", - targetPrefix: "ComputeOptimizerService", - uid: "compute-optimizer-2019-11-01", - }, - operations: { - GetAutoScalingGroupRecommendations: { + ListEventTrackers: { input: { type: "structure", members: { - accountIds: { shape: "S2" }, - autoScalingGroupArns: { type: "list", member: {} }, + datasetGroupArn: {}, nextToken: {}, maxResults: { type: "integer" }, - filters: { shape: "S8" }, }, }, output: { type: "structure", members: { - nextToken: {}, - autoScalingGroupRecommendations: { + eventTrackers: { type: "list", member: { type: "structure", members: { - accountId: {}, - autoScalingGroupArn: {}, - autoScalingGroupName: {}, - finding: {}, - utilizationMetrics: { shape: "Si" }, - lookBackPeriodInDays: { type: "double" }, - currentConfiguration: { shape: "So" }, - recommendationOptions: { - type: "list", - member: { - type: "structure", - members: { - configuration: { shape: "So" }, - projectedUtilizationMetrics: { shape: "Sv" }, - performanceRisk: { type: "double" }, - rank: { type: "integer" }, - }, - }, - }, - lastRefreshTimestamp: { type: "timestamp" }, + name: {}, + eventTrackerArn: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, }, }, }, - errors: { shape: "Sz" }, + nextToken: {}, }, }, + idempotent: true, }, - GetEC2InstanceRecommendations: { + ListFilters: { input: { type: "structure", members: { - instanceArns: { type: "list", member: {} }, + datasetGroupArn: {}, nextToken: {}, maxResults: { type: "integer" }, - filters: { shape: "S8" }, - accountIds: { shape: "S2" }, }, }, output: { type: "structure", members: { - nextToken: {}, - instanceRecommendations: { + Filters: { type: "list", member: { type: "structure", members: { - instanceArn: {}, - accountId: {}, - instanceName: {}, - currentInstanceType: {}, - finding: {}, - utilizationMetrics: { shape: "Si" }, - lookBackPeriodInDays: { type: "double" }, - recommendationOptions: { - type: "list", - member: { - type: "structure", - members: { - instanceType: {}, - projectedUtilizationMetrics: { shape: "Sv" }, - performanceRisk: { type: "double" }, - rank: { type: "integer" }, - }, - }, - }, - recommendationSources: { - type: "list", - member: { - type: "structure", - members: { - recommendationSourceArn: {}, - recommendationSourceType: {}, - }, - }, - }, - lastRefreshTimestamp: { type: "timestamp" }, + name: {}, + filterArn: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + datasetGroupArn: {}, + failureReason: {}, + status: {}, }, }, }, - errors: { shape: "Sz" }, + nextToken: {}, }, }, + idempotent: true, }, - GetEC2RecommendationProjectedMetrics: { + ListRecipes: { input: { type: "structure", - required: [ - "instanceArn", - "stat", - "period", - "startTime", - "endTime", - ], members: { - instanceArn: {}, - stat: {}, - period: { type: "integer" }, - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, + recipeProvider: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - recommendedOptionProjectedMetrics: { + recipes: { type: "list", member: { type: "structure", members: { - recommendedInstanceType: {}, - rank: { type: "integer" }, - projectedMetrics: { - type: "list", - member: { - type: "structure", - members: { - name: {}, - timestamps: { - type: "list", - member: { type: "timestamp" }, - }, - values: { - type: "list", - member: { type: "double" }, - }, - }, - }, - }, + name: {}, + recipeArn: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, }, }, }, + nextToken: {}, }, }, + idempotent: true, }, - GetEnrollmentStatus: { - input: { type: "structure", members: {} }, + ListSchemas: { + input: { + type: "structure", + members: { nextToken: {}, maxResults: { type: "integer" } }, + }, output: { type: "structure", members: { - status: {}, - statusReason: {}, - memberAccountsEnrolled: { type: "boolean" }, + schemas: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + schemaArn: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + }, + }, + }, + nextToken: {}, }, }, + idempotent: true, }, - GetRecommendationSummaries: { + ListSolutionVersions: { input: { type: "structure", members: { - accountIds: { shape: "S2" }, + solutionArn: {}, nextToken: {}, maxResults: { type: "integer" }, }, @@ -90783,71 +95040,162 @@ module.exports = /******/ (function (modules, runtime) { output: { type: "structure", members: { + solutionVersions: { type: "list", member: { shape: "S3r" } }, nextToken: {}, - recommendationSummaries: { + }, + }, + idempotent: true, + }, + ListSolutions: { + input: { + type: "structure", + members: { + datasetGroupArn: {}, + nextToken: {}, + maxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + solutions: { type: "list", member: { type: "structure", members: { - summaries: { - type: "list", - member: { - type: "structure", - members: { name: {}, value: { type: "double" } }, - }, - }, - recommendationResourceType: {}, - accountId: {}, + name: {}, + solutionArn: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, }, }, }, + nextToken: {}, }, }, + idempotent: true, }, - UpdateEnrollmentStatus: { + UpdateCampaign: { input: { type: "structure", - required: ["status"], + required: ["campaignArn"], members: { - status: {}, - includeMemberAccounts: { type: "boolean" }, + campaignArn: {}, + solutionVersionArn: {}, + minProvisionedTPS: { type: "integer" }, + campaignConfig: { shape: "Si" }, }, }, - output: { - type: "structure", - members: { status: {}, statusReason: {} }, - }, - }, + output: { type: "structure", members: { campaignArn: {} } }, + idempotent: true, + }, }, shapes: { - S2: { type: "list", member: {} }, - S8: { - type: "list", - member: { - type: "structure", - members: { name: {}, values: { type: "list", member: {} } }, - }, + S5: { + type: "structure", + required: ["s3DataSource"], + members: { s3DataSource: { shape: "S6" } }, }, - Si: { type: "list", member: { shape: "Sj" } }, - Sj: { + S6: { type: "structure", - members: { name: {}, statistic: {}, value: { type: "double" } }, + required: ["path"], + members: { path: {}, kmsKeyArn: {} }, }, - So: { + S9: { + type: "structure", + required: ["s3DataDestination"], + members: { s3DataDestination: { shape: "S6" } }, + }, + Sb: { + type: "structure", + members: { itemExplorationConfig: { shape: "Sc" } }, + }, + Sc: { type: "map", key: {}, value: {} }, + Si: { + type: "structure", + members: { itemExplorationConfig: { shape: "Sc" } }, + }, + Sq: { type: "structure", members: { dataLocation: {} } }, + Sw: { type: "string", sensitive: true }, + S15: { type: "structure", members: { - desiredCapacity: { type: "integer" }, - minSize: { type: "integer" }, - maxSize: { type: "integer" }, - instanceType: {}, + eventValueThreshold: {}, + hpoConfig: { + type: "structure", + members: { + hpoObjective: { + type: "structure", + members: { type: {}, metricName: {}, metricRegex: {} }, + }, + hpoResourceConfig: { + type: "structure", + members: { + maxNumberOfTrainingJobs: {}, + maxParallelTrainingJobs: {}, + }, + }, + algorithmHyperParameterRanges: { + type: "structure", + members: { + integerHyperParameterRanges: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + minValue: { type: "integer" }, + maxValue: { type: "integer" }, + }, + }, + }, + continuousHyperParameterRanges: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + minValue: { type: "double" }, + maxValue: { type: "double" }, + }, + }, + }, + categoricalHyperParameterRanges: { + type: "list", + member: { + type: "structure", + members: { name: {}, values: { shape: "S1p" } }, + }, + }, + }, + }, + }, + }, + algorithmHyperParameters: { shape: "Sc" }, + featureTransformationParameters: { + type: "map", + key: {}, + value: {}, + }, + autoMLConfig: { + type: "structure", + members: { + metricName: {}, + recipeList: { type: "list", member: {} }, + }, + }, }, }, - Sv: { type: "list", member: { shape: "Sj" } }, - Sz: { - type: "list", - member: { - type: "structure", - members: { identifier: {}, code: {}, message: {} }, + S1p: { type: "list", member: {} }, + S3r: { + type: "structure", + members: { + solutionVersionArn: {}, + status: {}, + creationDateTime: { type: "timestamp" }, + lastUpdatedDateTime: { type: "timestamp" }, + failureReason: {}, }, }, }, @@ -90856,7871 +95204,6156 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 3173: /***/ function (module) { + /***/ 2659: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2017-11-27", - endpointPrefix: "comprehend", + apiVersion: "2018-10-01", + endpointPrefix: "appmesh", jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon Comprehend", - serviceId: "Comprehend", + protocol: "rest-json", + serviceFullName: "AWS App Mesh", + serviceId: "App Mesh", signatureVersion: "v4", - signingName: "comprehend", - targetPrefix: "Comprehend_20171127", - uid: "comprehend-2017-11-27", + signingName: "appmesh", + uid: "appmesh-2018-10-01", }, operations: { - BatchDetectDominantLanguage: { + CreateMesh: { + http: { method: "PUT", requestUri: "/meshes", responseCode: 200 }, input: { type: "structure", - required: ["TextList"], - members: { TextList: { shape: "S2" } }, - }, - output: { - type: "structure", - required: ["ResultList", "ErrorList"], + required: ["meshName"], members: { - ResultList: { - type: "list", - member: { - type: "structure", - members: { - Index: { type: "integer" }, - Languages: { shape: "S8" }, - }, - }, - }, - ErrorList: { shape: "Sb" }, + clientToken: { idempotencyToken: true }, + meshName: {}, }, }, - }, - BatchDetectEntities: { - input: { - type: "structure", - required: ["TextList", "LanguageCode"], - members: { TextList: { shape: "S2" }, LanguageCode: {} }, - }, output: { type: "structure", - required: ["ResultList", "ErrorList"], - members: { - ResultList: { - type: "list", - member: { - type: "structure", - members: { - Index: { type: "integer" }, - Entities: { shape: "Si" }, - }, - }, - }, - ErrorList: { shape: "Sb" }, - }, + members: { mesh: { shape: "S5" } }, + payload: "mesh", }, + idempotent: true, }, - BatchDetectKeyPhrases: { - input: { - type: "structure", - required: ["TextList", "LanguageCode"], - members: { TextList: { shape: "S2" }, LanguageCode: {} }, + CreateRoute: { + http: { + method: "PUT", + requestUri: + "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", + responseCode: 200, }, - output: { + input: { type: "structure", - required: ["ResultList", "ErrorList"], + required: ["meshName", "routeName", "spec", "virtualRouterName"], members: { - ResultList: { - type: "list", - member: { - type: "structure", - members: { - Index: { type: "integer" }, - KeyPhrases: { shape: "Sp" }, - }, - }, + clientToken: { idempotencyToken: true }, + meshName: { location: "uri", locationName: "meshName" }, + routeName: {}, + spec: { shape: "Sd" }, + virtualRouterName: { + location: "uri", + locationName: "virtualRouterName", }, - ErrorList: { shape: "Sb" }, }, }, - }, - BatchDetectSentiment: { - input: { - type: "structure", - required: ["TextList", "LanguageCode"], - members: { TextList: { shape: "S2" }, LanguageCode: {} }, - }, output: { type: "structure", - required: ["ResultList", "ErrorList"], - members: { - ResultList: { - type: "list", - member: { - type: "structure", - members: { - Index: { type: "integer" }, - Sentiment: {}, - SentimentScore: { shape: "Sw" }, - }, - }, - }, - ErrorList: { shape: "Sb" }, - }, + members: { route: { shape: "Sl" } }, + payload: "route", }, + idempotent: true, }, - BatchDetectSyntax: { - input: { - type: "structure", - required: ["TextList", "LanguageCode"], - members: { TextList: { shape: "S2" }, LanguageCode: {} }, + CreateVirtualNode: { + http: { + method: "PUT", + requestUri: "/meshes/{meshName}/virtualNodes", + responseCode: 200, }, - output: { + input: { type: "structure", - required: ["ResultList", "ErrorList"], + required: ["meshName", "spec", "virtualNodeName"], members: { - ResultList: { - type: "list", - member: { - type: "structure", - members: { - Index: { type: "integer" }, - SyntaxTokens: { shape: "S12" }, - }, - }, - }, - ErrorList: { shape: "Sb" }, + clientToken: { idempotencyToken: true }, + meshName: { location: "uri", locationName: "meshName" }, + spec: { shape: "Sp" }, + virtualNodeName: {}, }, }, - }, - ClassifyDocument: { - input: { - type: "structure", - required: ["Text", "EndpointArn"], - members: { Text: {}, EndpointArn: {} }, - }, output: { type: "structure", - members: { - Classes: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Score: { type: "float" } }, - }, - }, - Labels: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Score: { type: "float" } }, - }, - }, - }, + members: { virtualNode: { shape: "S14" } }, + payload: "virtualNode", }, + idempotent: true, }, - CreateDocumentClassifier: { + CreateVirtualRouter: { + http: { + method: "PUT", + requestUri: "/meshes/{meshName}/virtualRouters", + responseCode: 200, + }, input: { type: "structure", - required: [ - "DocumentClassifierName", - "DataAccessRoleArn", - "InputDataConfig", - "LanguageCode", - ], + required: ["meshName", "spec", "virtualRouterName"], members: { - DocumentClassifierName: {}, - DataAccessRoleArn: {}, - Tags: { shape: "S1g" }, - InputDataConfig: { shape: "S1k" }, - OutputDataConfig: { shape: "S1n" }, - ClientRequestToken: { idempotencyToken: true }, - LanguageCode: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - Mode: {}, + clientToken: { idempotencyToken: true }, + meshName: { location: "uri", locationName: "meshName" }, + spec: { shape: "S18" }, + virtualRouterName: {}, }, }, output: { type: "structure", - members: { DocumentClassifierArn: {} }, + members: { virtualRouter: { shape: "S1b" } }, + payload: "virtualRouter", }, + idempotent: true, }, - CreateEndpoint: { - input: { - type: "structure", - required: ["EndpointName", "ModelArn", "DesiredInferenceUnits"], - members: { - EndpointName: {}, - ModelArn: {}, - DesiredInferenceUnits: { type: "integer" }, - ClientRequestToken: { idempotencyToken: true }, - Tags: { shape: "S1g" }, - }, + DeleteMesh: { + http: { + method: "DELETE", + requestUri: "/meshes/{meshName}", + responseCode: 200, }, - output: { type: "structure", members: { EndpointArn: {} } }, - }, - CreateEntityRecognizer: { input: { type: "structure", - required: [ - "RecognizerName", - "DataAccessRoleArn", - "InputDataConfig", - "LanguageCode", - ], + required: ["meshName"], members: { - RecognizerName: {}, - DataAccessRoleArn: {}, - Tags: { shape: "S1g" }, - InputDataConfig: { shape: "S25" }, - ClientRequestToken: { idempotencyToken: true }, - LanguageCode: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + meshName: { location: "uri", locationName: "meshName" }, }, }, - output: { type: "structure", members: { EntityRecognizerArn: {} } }, - }, - DeleteDocumentClassifier: { - input: { - type: "structure", - required: ["DocumentClassifierArn"], - members: { DocumentClassifierArn: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteEndpoint: { - input: { + output: { type: "structure", - required: ["EndpointArn"], - members: { EndpointArn: {} }, + members: { mesh: { shape: "S5" } }, + payload: "mesh", }, - output: { type: "structure", members: {} }, + idempotent: true, }, - DeleteEntityRecognizer: { - input: { - type: "structure", - required: ["EntityRecognizerArn"], - members: { EntityRecognizerArn: {} }, + DeleteRoute: { + http: { + method: "DELETE", + requestUri: + "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", + responseCode: 200, }, - output: { type: "structure", members: {} }, - }, - DescribeDocumentClassificationJob: { input: { type: "structure", - required: ["JobId"], - members: { JobId: {} }, - }, - output: { - type: "structure", + required: ["meshName", "routeName", "virtualRouterName"], members: { - DocumentClassificationJobProperties: { shape: "S2n" }, + meshName: { location: "uri", locationName: "meshName" }, + routeName: { location: "uri", locationName: "routeName" }, + virtualRouterName: { + location: "uri", + locationName: "virtualRouterName", + }, }, }, - }, - DescribeDocumentClassifier: { - input: { - type: "structure", - required: ["DocumentClassifierArn"], - members: { DocumentClassifierArn: {} }, - }, output: { type: "structure", - members: { DocumentClassifierProperties: { shape: "S2x" } }, + members: { route: { shape: "Sl" } }, + payload: "route", }, + idempotent: true, }, - DescribeDominantLanguageDetectionJob: { - input: { - type: "structure", - required: ["JobId"], - members: { JobId: {} }, + DeleteVirtualNode: { + http: { + method: "DELETE", + requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}", + responseCode: 200, }, - output: { + input: { type: "structure", + required: ["meshName", "virtualNodeName"], members: { - DominantLanguageDetectionJobProperties: { shape: "S34" }, + meshName: { location: "uri", locationName: "meshName" }, + virtualNodeName: { + location: "uri", + locationName: "virtualNodeName", + }, }, }, - }, - DescribeEndpoint: { - input: { - type: "structure", - required: ["EndpointArn"], - members: { EndpointArn: {} }, - }, output: { type: "structure", - members: { EndpointProperties: { shape: "S37" } }, + members: { virtualNode: { shape: "S14" } }, + payload: "virtualNode", }, + idempotent: true, }, - DescribeEntitiesDetectionJob: { - input: { - type: "structure", - required: ["JobId"], - members: { JobId: {} }, - }, - output: { - type: "structure", - members: { EntitiesDetectionJobProperties: { shape: "S3b" } }, + DeleteVirtualRouter: { + http: { + method: "DELETE", + requestUri: + "/meshes/{meshName}/virtualRouters/{virtualRouterName}", + responseCode: 200, }, - }, - DescribeEntityRecognizer: { input: { type: "structure", - required: ["EntityRecognizerArn"], - members: { EntityRecognizerArn: {} }, + required: ["meshName", "virtualRouterName"], + members: { + meshName: { location: "uri", locationName: "meshName" }, + virtualRouterName: { + location: "uri", + locationName: "virtualRouterName", + }, + }, }, output: { type: "structure", - members: { EntityRecognizerProperties: { shape: "S3e" } }, + members: { virtualRouter: { shape: "S1b" } }, + payload: "virtualRouter", }, + idempotent: true, }, - DescribeKeyPhrasesDetectionJob: { - input: { - type: "structure", - required: ["JobId"], - members: { JobId: {} }, - }, - output: { - type: "structure", - members: { KeyPhrasesDetectionJobProperties: { shape: "S3m" } }, + DescribeMesh: { + http: { + method: "GET", + requestUri: "/meshes/{meshName}", + responseCode: 200, }, - }, - DescribeSentimentDetectionJob: { input: { type: "structure", - required: ["JobId"], - members: { JobId: {} }, + required: ["meshName"], + members: { + meshName: { location: "uri", locationName: "meshName" }, + }, }, output: { type: "structure", - members: { SentimentDetectionJobProperties: { shape: "S3p" } }, + members: { mesh: { shape: "S5" } }, + payload: "mesh", }, }, - DescribeTopicsDetectionJob: { - input: { - type: "structure", - required: ["JobId"], - members: { JobId: {} }, - }, - output: { - type: "structure", - members: { TopicsDetectionJobProperties: { shape: "S3s" } }, + DescribeRoute: { + http: { + method: "GET", + requestUri: + "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", + responseCode: 200, }, - }, - DetectDominantLanguage: { input: { type: "structure", - required: ["Text"], - members: { Text: {} }, + required: ["meshName", "routeName", "virtualRouterName"], + members: { + meshName: { location: "uri", locationName: "meshName" }, + routeName: { location: "uri", locationName: "routeName" }, + virtualRouterName: { + location: "uri", + locationName: "virtualRouterName", + }, + }, }, output: { type: "structure", - members: { Languages: { shape: "S8" } }, + members: { route: { shape: "Sl" } }, + payload: "route", }, }, - DetectEntities: { - input: { - type: "structure", - required: ["Text", "LanguageCode"], - members: { Text: {}, LanguageCode: {} }, - }, - output: { - type: "structure", - members: { Entities: { shape: "Si" } }, + DescribeVirtualNode: { + http: { + method: "GET", + requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}", + responseCode: 200, }, - }, - DetectKeyPhrases: { input: { type: "structure", - required: ["Text", "LanguageCode"], - members: { Text: {}, LanguageCode: {} }, + required: ["meshName", "virtualNodeName"], + members: { + meshName: { location: "uri", locationName: "meshName" }, + virtualNodeName: { + location: "uri", + locationName: "virtualNodeName", + }, + }, }, output: { type: "structure", - members: { KeyPhrases: { shape: "Sp" } }, + members: { virtualNode: { shape: "S14" } }, + payload: "virtualNode", }, }, - DetectSentiment: { - input: { - type: "structure", - required: ["Text", "LanguageCode"], - members: { Text: {}, LanguageCode: {} }, - }, - output: { - type: "structure", - members: { Sentiment: {}, SentimentScore: { shape: "Sw" } }, + DescribeVirtualRouter: { + http: { + method: "GET", + requestUri: + "/meshes/{meshName}/virtualRouters/{virtualRouterName}", + responseCode: 200, }, - }, - DetectSyntax: { input: { type: "structure", - required: ["Text", "LanguageCode"], - members: { Text: {}, LanguageCode: {} }, + required: ["meshName", "virtualRouterName"], + members: { + meshName: { location: "uri", locationName: "meshName" }, + virtualRouterName: { + location: "uri", + locationName: "virtualRouterName", + }, + }, }, output: { type: "structure", - members: { SyntaxTokens: { shape: "S12" } }, + members: { virtualRouter: { shape: "S1b" } }, + payload: "virtualRouter", }, }, - ListDocumentClassificationJobs: { + ListMeshes: { + http: { method: "GET", requestUri: "/meshes", responseCode: 200 }, input: { type: "structure", members: { - Filter: { - type: "structure", - members: { - JobName: {}, - JobStatus: {}, - SubmitTimeBefore: { type: "timestamp" }, - SubmitTimeAfter: { type: "timestamp" }, - }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", }, - NextToken: {}, - MaxResults: { type: "integer" }, }, }, output: { type: "structure", + required: ["meshes"], members: { - DocumentClassificationJobPropertiesList: { + meshes: { type: "list", - member: { shape: "S2n" }, + member: { + type: "structure", + members: { arn: {}, meshName: {} }, + }, }, - NextToken: {}, + nextToken: {}, }, }, }, - ListDocumentClassifiers: { + ListRoutes: { + http: { + method: "GET", + requestUri: + "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", + responseCode: 200, + }, input: { type: "structure", + required: ["meshName", "virtualRouterName"], members: { - Filter: { - type: "structure", - members: { - Status: {}, - SubmitTimeBefore: { type: "timestamp" }, - SubmitTimeAfter: { type: "timestamp" }, - }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + meshName: { location: "uri", locationName: "meshName" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + virtualRouterName: { + location: "uri", + locationName: "virtualRouterName", }, - NextToken: {}, - MaxResults: { type: "integer" }, }, }, output: { type: "structure", + required: ["routes"], members: { - DocumentClassifierPropertiesList: { + nextToken: {}, + routes: { type: "list", - member: { shape: "S2x" }, + member: { + type: "structure", + members: { + arn: {}, + meshName: {}, + routeName: {}, + virtualRouterName: {}, + }, + }, }, - NextToken: {}, }, }, }, - ListDominantLanguageDetectionJobs: { + ListVirtualNodes: { + http: { + method: "GET", + requestUri: "/meshes/{meshName}/virtualNodes", + responseCode: 200, + }, input: { type: "structure", + required: ["meshName"], members: { - Filter: { - type: "structure", - members: { - JobName: {}, - JobStatus: {}, - SubmitTimeBefore: { type: "timestamp" }, - SubmitTimeAfter: { type: "timestamp" }, - }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + meshName: { location: "uri", locationName: "meshName" }, + nextToken: { + location: "querystring", + locationName: "nextToken", }, - NextToken: {}, - MaxResults: { type: "integer" }, }, }, output: { type: "structure", + required: ["virtualNodes"], members: { - DominantLanguageDetectionJobPropertiesList: { + nextToken: {}, + virtualNodes: { type: "list", - member: { shape: "S34" }, + member: { + type: "structure", + members: { arn: {}, meshName: {}, virtualNodeName: {} }, + }, }, - NextToken: {}, }, }, }, - ListEndpoints: { + ListVirtualRouters: { + http: { + method: "GET", + requestUri: "/meshes/{meshName}/virtualRouters", + responseCode: 200, + }, input: { type: "structure", + required: ["meshName"], members: { - Filter: { - type: "structure", - members: { - ModelArn: {}, - Status: {}, - CreationTimeBefore: { type: "timestamp" }, - CreationTimeAfter: { type: "timestamp" }, - }, + limit: { + location: "querystring", + locationName: "limit", + type: "integer", + }, + meshName: { location: "uri", locationName: "meshName" }, + nextToken: { + location: "querystring", + locationName: "nextToken", }, - NextToken: {}, - MaxResults: { type: "integer" }, }, }, output: { type: "structure", + required: ["virtualRouters"], members: { - EndpointPropertiesList: { + nextToken: {}, + virtualRouters: { type: "list", - member: { shape: "S37" }, + member: { + type: "structure", + members: { arn: {}, meshName: {}, virtualRouterName: {} }, + }, }, - NextToken: {}, }, }, }, - ListEntitiesDetectionJobs: { + UpdateRoute: { + http: { + method: "PUT", + requestUri: + "/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", + responseCode: 200, + }, input: { type: "structure", + required: ["meshName", "routeName", "spec", "virtualRouterName"], members: { - Filter: { - type: "structure", - members: { - JobName: {}, - JobStatus: {}, - SubmitTimeBefore: { type: "timestamp" }, - SubmitTimeAfter: { type: "timestamp" }, - }, + clientToken: { idempotencyToken: true }, + meshName: { location: "uri", locationName: "meshName" }, + routeName: { location: "uri", locationName: "routeName" }, + spec: { shape: "Sd" }, + virtualRouterName: { + location: "uri", + locationName: "virtualRouterName", }, - NextToken: {}, - MaxResults: { type: "integer" }, }, }, output: { type: "structure", - members: { - EntitiesDetectionJobPropertiesList: { - type: "list", - member: { shape: "S3b" }, - }, - NextToken: {}, - }, + members: { route: { shape: "Sl" } }, + payload: "route", }, + idempotent: true, }, - ListEntityRecognizers: { + UpdateVirtualNode: { + http: { + method: "PUT", + requestUri: "/meshes/{meshName}/virtualNodes/{virtualNodeName}", + responseCode: 200, + }, input: { type: "structure", + required: ["meshName", "spec", "virtualNodeName"], members: { - Filter: { - type: "structure", - members: { - Status: {}, - SubmitTimeBefore: { type: "timestamp" }, - SubmitTimeAfter: { type: "timestamp" }, - }, + clientToken: { idempotencyToken: true }, + meshName: { location: "uri", locationName: "meshName" }, + spec: { shape: "Sp" }, + virtualNodeName: { + location: "uri", + locationName: "virtualNodeName", }, - NextToken: {}, - MaxResults: { type: "integer" }, }, }, output: { type: "structure", - members: { - EntityRecognizerPropertiesList: { - type: "list", - member: { shape: "S3e" }, - }, - NextToken: {}, - }, + members: { virtualNode: { shape: "S14" } }, + payload: "virtualNode", }, + idempotent: true, }, - ListKeyPhrasesDetectionJobs: { + UpdateVirtualRouter: { + http: { + method: "PUT", + requestUri: + "/meshes/{meshName}/virtualRouters/{virtualRouterName}", + responseCode: 200, + }, input: { type: "structure", + required: ["meshName", "spec", "virtualRouterName"], members: { - Filter: { - type: "structure", - members: { - JobName: {}, - JobStatus: {}, - SubmitTimeBefore: { type: "timestamp" }, - SubmitTimeAfter: { type: "timestamp" }, - }, + clientToken: { idempotencyToken: true }, + meshName: { location: "uri", locationName: "meshName" }, + spec: { shape: "S18" }, + virtualRouterName: { + location: "uri", + locationName: "virtualRouterName", }, - NextToken: {}, - MaxResults: { type: "integer" }, }, }, output: { type: "structure", - members: { - KeyPhrasesDetectionJobPropertiesList: { - type: "list", - member: { shape: "S3m" }, + members: { virtualRouter: { shape: "S1b" } }, + payload: "virtualRouter", + }, + idempotent: true, + }, + }, + shapes: { + S5: { + type: "structure", + required: ["meshName", "metadata"], + members: { + meshName: {}, + metadata: { shape: "S6" }, + status: { type: "structure", members: { status: {} } }, + }, + }, + S6: { + type: "structure", + members: { + arn: {}, + createdAt: { type: "timestamp" }, + lastUpdatedAt: { type: "timestamp" }, + uid: {}, + version: { type: "long" }, + }, + }, + Sd: { + type: "structure", + members: { + httpRoute: { + type: "structure", + members: { + action: { + type: "structure", + members: { + weightedTargets: { + type: "list", + member: { + type: "structure", + members: { + virtualNode: {}, + weight: { type: "integer" }, + }, + }, + }, + }, + }, + match: { type: "structure", members: { prefix: {} } }, }, - NextToken: {}, }, }, }, - ListSentimentDetectionJobs: { - input: { - type: "structure", - members: { - Filter: { + Sl: { + type: "structure", + required: ["meshName", "routeName", "virtualRouterName"], + members: { + meshName: {}, + metadata: { shape: "S6" }, + routeName: {}, + spec: { shape: "Sd" }, + status: { type: "structure", members: { status: {} } }, + virtualRouterName: {}, + }, + }, + Sp: { + type: "structure", + members: { + backends: { type: "list", member: {} }, + listeners: { + type: "list", + member: { type: "structure", members: { - JobName: {}, - JobStatus: {}, - SubmitTimeBefore: { type: "timestamp" }, - SubmitTimeAfter: { type: "timestamp" }, + healthCheck: { + type: "structure", + required: [ + "healthyThreshold", + "intervalMillis", + "protocol", + "timeoutMillis", + "unhealthyThreshold", + ], + members: { + healthyThreshold: { type: "integer" }, + intervalMillis: { type: "long" }, + path: {}, + port: { type: "integer" }, + protocol: {}, + timeoutMillis: { type: "long" }, + unhealthyThreshold: { type: "integer" }, + }, + }, + portMapping: { + type: "structure", + members: { port: { type: "integer" }, protocol: {} }, + }, }, }, - NextToken: {}, - MaxResults: { type: "integer" }, }, - }, - output: { - type: "structure", - members: { - SentimentDetectionJobPropertiesList: { - type: "list", - member: { shape: "S3p" }, + serviceDiscovery: { + type: "structure", + members: { + dns: { type: "structure", members: { serviceName: {} } }, }, - NextToken: {}, }, }, }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, + S14: { + type: "structure", + required: ["meshName", "virtualNodeName"], + members: { + meshName: {}, + metadata: { shape: "S6" }, + spec: { shape: "Sp" }, + status: { type: "structure", members: { status: {} } }, + virtualNodeName: {}, }, - output: { - type: "structure", - members: { ResourceArn: {}, Tags: { shape: "S1g" } }, + }, + S18: { + type: "structure", + members: { serviceNames: { type: "list", member: {} } }, + }, + S1b: { + type: "structure", + required: ["meshName", "virtualRouterName"], + members: { + meshName: {}, + metadata: { shape: "S6" }, + spec: { shape: "S18" }, + status: { type: "structure", members: { status: {} } }, + virtualRouterName: {}, }, }, - ListTopicsDetectionJobs: { + }, + }; + + /***/ + }, + + /***/ 2662: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2017-08-08", + endpointPrefix: "connect", + jsonVersion: "1.1", + protocol: "rest-json", + serviceAbbreviation: "Amazon Connect", + serviceFullName: "Amazon Connect Service", + serviceId: "Connect", + signatureVersion: "v4", + signingName: "connect", + uid: "connect-2017-08-08", + }, + operations: { + AssociateApprovedOrigin: { + http: { + method: "PUT", + requestUri: "/instance/{InstanceId}/approved-origin", + }, input: { type: "structure", + required: ["InstanceId", "Origin"], members: { - Filter: { - type: "structure", - members: { - JobName: {}, - JobStatus: {}, - SubmitTimeBefore: { type: "timestamp" }, - SubmitTimeAfter: { type: "timestamp" }, - }, - }, - NextToken: {}, - MaxResults: { type: "integer" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + Origin: {}, }, }, - output: { + }, + AssociateInstanceStorageConfig: { + http: { + method: "PUT", + requestUri: "/instance/{InstanceId}/storage-config", + }, + input: { type: "structure", + required: ["InstanceId", "ResourceType", "StorageConfig"], members: { - TopicsDetectionJobPropertiesList: { - type: "list", - member: { shape: "S3s" }, - }, - NextToken: {}, + InstanceId: { location: "uri", locationName: "InstanceId" }, + ResourceType: {}, + StorageConfig: { shape: "S6" }, }, }, + output: { type: "structure", members: { AssociationId: {} } }, }, - StartDocumentClassificationJob: { + AssociateLambdaFunction: { + http: { + method: "PUT", + requestUri: "/instance/{InstanceId}/lambda-function", + }, input: { type: "structure", - required: [ - "DocumentClassifierArn", - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - ], + required: ["InstanceId", "FunctionArn"], members: { - JobName: {}, - DocumentClassifierArn: {}, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + FunctionArn: {}, }, }, - output: { - type: "structure", - members: { JobId: {}, JobStatus: {} }, - }, }, - StartDominantLanguageDetectionJob: { - input: { - type: "structure", - required: [ - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - ], + AssociateLexBot: { + http: { + method: "PUT", + requestUri: "/instance/{InstanceId}/lex-bot", + }, + input: { + type: "structure", + required: ["InstanceId", "LexBot"], members: { - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - JobName: {}, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + LexBot: { shape: "So" }, + }, + }, + }, + AssociateRoutingProfileQueues: { + http: { + requestUri: + "/routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues", + }, + input: { + type: "structure", + required: ["InstanceId", "RoutingProfileId", "QueueConfigs"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + RoutingProfileId: { + location: "uri", + locationName: "RoutingProfileId", + }, + QueueConfigs: { shape: "St" }, + }, + }, + }, + AssociateSecurityKey: { + http: { + method: "PUT", + requestUri: "/instance/{InstanceId}/security-key", + }, + input: { + type: "structure", + required: ["InstanceId", "Key"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + Key: {}, + }, + }, + output: { type: "structure", members: { AssociationId: {} } }, + }, + CreateContactFlow: { + http: { method: "PUT", requestUri: "/contact-flows/{InstanceId}" }, + input: { + type: "structure", + required: ["InstanceId", "Name", "Type", "Content"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + Name: {}, + Type: {}, + Description: {}, + Content: {}, + Tags: { shape: "S18" }, }, }, output: { type: "structure", - members: { JobId: {}, JobStatus: {} }, + members: { ContactFlowId: {}, ContactFlowArn: {} }, }, }, - StartEntitiesDetectionJob: { + CreateInstance: { + http: { method: "PUT", requestUri: "/instance" }, input: { type: "structure", required: [ - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - "LanguageCode", + "IdentityManagementType", + "InboundCallsEnabled", + "OutboundCallsEnabled", ], members: { - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - JobName: {}, - EntityRecognizerArn: {}, - LanguageCode: {}, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + ClientToken: {}, + IdentityManagementType: {}, + InstanceAlias: { shape: "S1g" }, + DirectoryId: {}, + InboundCallsEnabled: { type: "boolean" }, + OutboundCallsEnabled: { type: "boolean" }, + }, + }, + output: { type: "structure", members: { Id: {}, Arn: {} } }, + }, + CreateIntegrationAssociation: { + http: { + method: "PUT", + requestUri: "/instance/{InstanceId}/integration-associations", + }, + input: { + type: "structure", + required: [ + "InstanceId", + "IntegrationType", + "IntegrationArn", + "SourceApplicationUrl", + "SourceApplicationName", + "SourceType", + ], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + IntegrationType: {}, + IntegrationArn: {}, + SourceApplicationUrl: {}, + SourceApplicationName: {}, + SourceType: {}, }, }, output: { type: "structure", - members: { JobId: {}, JobStatus: {} }, + members: { + IntegrationAssociationId: {}, + IntegrationAssociationArn: {}, + }, }, }, - StartKeyPhrasesDetectionJob: { + CreateRoutingProfile: { + http: { + method: "PUT", + requestUri: "/routing-profiles/{InstanceId}", + }, input: { type: "structure", required: [ - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - "LanguageCode", + "InstanceId", + "Name", + "Description", + "DefaultOutboundQueueId", + "MediaConcurrencies", ], members: { - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - JobName: {}, - LanguageCode: {}, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + Name: {}, + Description: {}, + DefaultOutboundQueueId: {}, + QueueConfigs: { shape: "St" }, + MediaConcurrencies: { shape: "S1v" }, + Tags: { shape: "S18" }, }, }, output: { type: "structure", - members: { JobId: {}, JobStatus: {} }, + members: { RoutingProfileArn: {}, RoutingProfileId: {} }, }, }, - StartSentimentDetectionJob: { + CreateUseCase: { + http: { + method: "PUT", + requestUri: + "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases", + }, input: { type: "structure", required: [ - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", - "LanguageCode", + "InstanceId", + "IntegrationAssociationId", + "UseCaseType", ], members: { - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - JobName: {}, - LanguageCode: {}, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + IntegrationAssociationId: { + location: "uri", + locationName: "IntegrationAssociationId", + }, + UseCaseType: {}, }, }, output: { type: "structure", - members: { JobId: {}, JobStatus: {} }, + members: { UseCaseId: {}, UseCaseArn: {} }, }, }, - StartTopicsDetectionJob: { + CreateUser: { + http: { method: "PUT", requestUri: "/users/{InstanceId}" }, input: { type: "structure", required: [ - "InputDataConfig", - "OutputDataConfig", - "DataAccessRoleArn", + "Username", + "PhoneConfig", + "SecurityProfileIds", + "RoutingProfileId", + "InstanceId", ], members: { - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - JobName: {}, - NumberOfTopics: { type: "integer" }, - ClientRequestToken: { idempotencyToken: true }, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + Username: {}, + Password: {}, + IdentityInfo: { shape: "S26" }, + PhoneConfig: { shape: "S2a" }, + DirectoryUserId: {}, + SecurityProfileIds: { shape: "S2g" }, + RoutingProfileId: {}, + HierarchyGroupId: {}, + InstanceId: { location: "uri", locationName: "InstanceId" }, + Tags: { shape: "S18" }, + }, + }, + output: { type: "structure", members: { UserId: {}, UserArn: {} } }, + }, + CreateUserHierarchyGroup: { + http: { + method: "PUT", + requestUri: "/user-hierarchy-groups/{InstanceId}", + }, + input: { + type: "structure", + required: ["Name", "InstanceId"], + members: { + Name: {}, + ParentGroupId: {}, + InstanceId: { location: "uri", locationName: "InstanceId" }, }, }, output: { type: "structure", - members: { JobId: {}, JobStatus: {} }, + members: { HierarchyGroupId: {}, HierarchyGroupArn: {} }, }, }, - StopDominantLanguageDetectionJob: { + DeleteInstance: { + http: { method: "DELETE", requestUri: "/instance/{InstanceId}" }, input: { type: "structure", - required: ["JobId"], - members: { JobId: {} }, + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + }, }, - output: { + }, + DeleteIntegrationAssociation: { + http: { + method: "DELETE", + requestUri: + "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}", + }, + input: { type: "structure", - members: { JobId: {}, JobStatus: {} }, + required: ["InstanceId", "IntegrationAssociationId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + IntegrationAssociationId: { + location: "uri", + locationName: "IntegrationAssociationId", + }, + }, }, }, - StopEntitiesDetectionJob: { + DeleteUseCase: { + http: { + method: "DELETE", + requestUri: + "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}", + }, input: { type: "structure", - required: ["JobId"], - members: { JobId: {} }, + required: ["InstanceId", "IntegrationAssociationId", "UseCaseId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + IntegrationAssociationId: { + location: "uri", + locationName: "IntegrationAssociationId", + }, + UseCaseId: { location: "uri", locationName: "UseCaseId" }, + }, }, - output: { + }, + DeleteUser: { + http: { + method: "DELETE", + requestUri: "/users/{InstanceId}/{UserId}", + }, + input: { type: "structure", - members: { JobId: {}, JobStatus: {} }, + required: ["InstanceId", "UserId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + UserId: { location: "uri", locationName: "UserId" }, + }, }, }, - StopKeyPhrasesDetectionJob: { + DeleteUserHierarchyGroup: { + http: { + method: "DELETE", + requestUri: + "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}", + }, input: { type: "structure", - required: ["JobId"], - members: { JobId: {} }, + required: ["HierarchyGroupId", "InstanceId"], + members: { + HierarchyGroupId: { + location: "uri", + locationName: "HierarchyGroupId", + }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + }, + }, + }, + DescribeContactFlow: { + http: { + method: "GET", + requestUri: "/contact-flows/{InstanceId}/{ContactFlowId}", + }, + input: { + type: "structure", + required: ["InstanceId", "ContactFlowId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + ContactFlowId: { + location: "uri", + locationName: "ContactFlowId", + }, + }, }, output: { type: "structure", - members: { JobId: {}, JobStatus: {} }, + members: { + ContactFlow: { + type: "structure", + members: { + Arn: {}, + Id: {}, + Name: {}, + Type: {}, + Description: {}, + Content: {}, + Tags: { shape: "S18" }, + }, + }, + }, }, }, - StopSentimentDetectionJob: { + DescribeInstance: { + http: { method: "GET", requestUri: "/instance/{InstanceId}" }, input: { type: "structure", - required: ["JobId"], - members: { JobId: {} }, + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + }, }, output: { type: "structure", - members: { JobId: {}, JobStatus: {} }, + members: { + Instance: { + type: "structure", + members: { + Id: {}, + Arn: {}, + IdentityManagementType: {}, + InstanceAlias: { shape: "S1g" }, + CreatedTime: { type: "timestamp" }, + ServiceRole: {}, + InstanceStatus: {}, + StatusReason: { + type: "structure", + members: { Message: {} }, + }, + InboundCallsEnabled: { type: "boolean" }, + OutboundCallsEnabled: { type: "boolean" }, + }, + }, + }, }, }, - StopTrainingDocumentClassifier: { + DescribeInstanceAttribute: { + http: { + method: "GET", + requestUri: "/instance/{InstanceId}/attribute/{AttributeType}", + }, input: { type: "structure", - required: ["DocumentClassifierArn"], - members: { DocumentClassifierArn: {} }, + required: ["InstanceId", "AttributeType"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + AttributeType: { + location: "uri", + locationName: "AttributeType", + }, + }, + }, + output: { + type: "structure", + members: { Attribute: { shape: "S36" } }, }, - output: { type: "structure", members: {} }, }, - StopTrainingEntityRecognizer: { + DescribeInstanceStorageConfig: { + http: { + method: "GET", + requestUri: + "/instance/{InstanceId}/storage-config/{AssociationId}", + }, input: { type: "structure", - required: ["EntityRecognizerArn"], - members: { EntityRecognizerArn: {} }, + required: ["InstanceId", "AssociationId", "ResourceType"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + AssociationId: { + location: "uri", + locationName: "AssociationId", + }, + ResourceType: { + location: "querystring", + locationName: "resourceType", + }, + }, + }, + output: { + type: "structure", + members: { StorageConfig: { shape: "S6" } }, }, - output: { type: "structure", members: {} }, }, - TagResource: { + DescribeRoutingProfile: { + http: { + method: "GET", + requestUri: "/routing-profiles/{InstanceId}/{RoutingProfileId}", + }, input: { type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "S1g" } }, + required: ["InstanceId", "RoutingProfileId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + RoutingProfileId: { + location: "uri", + locationName: "RoutingProfileId", + }, + }, + }, + output: { + type: "structure", + members: { + RoutingProfile: { + type: "structure", + members: { + InstanceId: {}, + Name: {}, + RoutingProfileArn: {}, + RoutingProfileId: {}, + Description: {}, + MediaConcurrencies: { shape: "S1v" }, + DefaultOutboundQueueId: {}, + Tags: { shape: "S18" }, + }, + }, + }, }, - output: { type: "structure", members: {} }, }, - UntagResource: { + DescribeUser: { + http: { method: "GET", requestUri: "/users/{InstanceId}/{UserId}" }, input: { type: "structure", - required: ["ResourceArn", "TagKeys"], + required: ["UserId", "InstanceId"], members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, + UserId: { location: "uri", locationName: "UserId" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + }, + }, + output: { + type: "structure", + members: { + User: { + type: "structure", + members: { + Id: {}, + Arn: {}, + Username: {}, + IdentityInfo: { shape: "S26" }, + PhoneConfig: { shape: "S2a" }, + DirectoryUserId: {}, + SecurityProfileIds: { shape: "S2g" }, + RoutingProfileId: {}, + HierarchyGroupId: {}, + Tags: { shape: "S18" }, + }, + }, }, }, - output: { type: "structure", members: {} }, }, - UpdateEndpoint: { + DescribeUserHierarchyGroup: { + http: { + method: "GET", + requestUri: + "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}", + }, input: { type: "structure", - required: ["EndpointArn", "DesiredInferenceUnits"], + required: ["HierarchyGroupId", "InstanceId"], members: { - EndpointArn: {}, - DesiredInferenceUnits: { type: "integer" }, + HierarchyGroupId: { + location: "uri", + locationName: "HierarchyGroupId", + }, + InstanceId: { location: "uri", locationName: "InstanceId" }, }, }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S2: { type: "list", member: {} }, - S8: { - type: "list", - member: { + output: { type: "structure", - members: { LanguageCode: {}, Score: { type: "float" } }, + members: { + HierarchyGroup: { + type: "structure", + members: { + Id: {}, + Arn: {}, + Name: {}, + LevelId: {}, + HierarchyPath: { + type: "structure", + members: { + LevelOne: { shape: "S3l" }, + LevelTwo: { shape: "S3l" }, + LevelThree: { shape: "S3l" }, + LevelFour: { shape: "S3l" }, + LevelFive: { shape: "S3l" }, + }, + }, + }, + }, + }, }, }, - Sb: { - type: "list", - member: { + DescribeUserHierarchyStructure: { + http: { + method: "GET", + requestUri: "/user-hierarchy-structure/{InstanceId}", + }, + input: { type: "structure", + required: ["InstanceId"], members: { - Index: { type: "integer" }, - ErrorCode: {}, - ErrorMessage: {}, + InstanceId: { location: "uri", locationName: "InstanceId" }, }, }, - }, - Si: { - type: "list", - member: { + output: { type: "structure", members: { - Score: { type: "float" }, - Type: {}, - Text: {}, - BeginOffset: { type: "integer" }, - EndOffset: { type: "integer" }, + HierarchyStructure: { + type: "structure", + members: { + LevelOne: { shape: "S3p" }, + LevelTwo: { shape: "S3p" }, + LevelThree: { shape: "S3p" }, + LevelFour: { shape: "S3p" }, + LevelFive: { shape: "S3p" }, + }, + }, }, }, }, - Sp: { - type: "list", - member: { + DisassociateApprovedOrigin: { + http: { + method: "DELETE", + requestUri: "/instance/{InstanceId}/approved-origin", + }, + input: { type: "structure", + required: ["InstanceId", "Origin"], members: { - Score: { type: "float" }, - Text: {}, - BeginOffset: { type: "integer" }, - EndOffset: { type: "integer" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + Origin: { location: "querystring", locationName: "origin" }, }, }, }, - Sw: { - type: "structure", - members: { - Positive: { type: "float" }, - Negative: { type: "float" }, - Neutral: { type: "float" }, - Mixed: { type: "float" }, + DisassociateInstanceStorageConfig: { + http: { + method: "DELETE", + requestUri: + "/instance/{InstanceId}/storage-config/{AssociationId}", }, - }, - S12: { - type: "list", - member: { + input: { type: "structure", + required: ["InstanceId", "AssociationId", "ResourceType"], members: { - TokenId: { type: "integer" }, - Text: {}, - BeginOffset: { type: "integer" }, - EndOffset: { type: "integer" }, - PartOfSpeech: { - type: "structure", - members: { Tag: {}, Score: { type: "float" } }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + AssociationId: { + location: "uri", + locationName: "AssociationId", + }, + ResourceType: { + location: "querystring", + locationName: "resourceType", }, }, }, }, - S1g: { - type: "list", - member: { + DisassociateLambdaFunction: { + http: { + method: "DELETE", + requestUri: "/instance/{InstanceId}/lambda-function", + }, + input: { type: "structure", - required: ["Key"], - members: { Key: {}, Value: {} }, + required: ["InstanceId", "FunctionArn"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + FunctionArn: { + location: "querystring", + locationName: "functionArn", + }, + }, }, }, - S1k: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {}, LabelDelimiter: {} }, - }, - S1n: { type: "structure", members: { S3Uri: {}, KmsKeyId: {} } }, - S1q: { - type: "structure", - required: ["SecurityGroupIds", "Subnets"], - members: { - SecurityGroupIds: { type: "list", member: {} }, - Subnets: { type: "list", member: {} }, + DisassociateLexBot: { + http: { + method: "DELETE", + requestUri: "/instance/{InstanceId}/lex-bot", }, - }, - S25: { - type: "structure", - required: ["EntityTypes", "Documents"], - members: { - EntityTypes: { - type: "list", - member: { - type: "structure", - required: ["Type"], - members: { Type: {} }, + input: { + type: "structure", + required: ["InstanceId", "BotName", "LexRegion"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + BotName: { location: "querystring", locationName: "botName" }, + LexRegion: { + location: "querystring", + locationName: "lexRegion", }, }, - Documents: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {} }, - }, - Annotations: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {} }, - }, - EntityList: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {} }, - }, }, }, - S2n: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - DocumentClassifierArn: {}, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + DisassociateRoutingProfileQueues: { + http: { + requestUri: + "/routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues", + }, + input: { + type: "structure", + required: ["InstanceId", "RoutingProfileId", "QueueReferences"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + RoutingProfileId: { + location: "uri", + locationName: "RoutingProfileId", + }, + QueueReferences: { type: "list", member: { shape: "Sv" } }, + }, }, }, - S2s: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {}, InputFormat: {} }, + DisassociateSecurityKey: { + http: { + method: "DELETE", + requestUri: "/instance/{InstanceId}/security-key/{AssociationId}", + }, + input: { + type: "structure", + required: ["InstanceId", "AssociationId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + AssociationId: { + location: "uri", + locationName: "AssociationId", + }, + }, + }, }, - S2u: { - type: "structure", - required: ["S3Uri"], - members: { S3Uri: {}, KmsKeyId: {} }, + GetContactAttributes: { + http: { + method: "GET", + requestUri: "/contact/attributes/{InstanceId}/{InitialContactId}", + }, + input: { + type: "structure", + required: ["InstanceId", "InitialContactId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + InitialContactId: { + location: "uri", + locationName: "InitialContactId", + }, + }, + }, + output: { + type: "structure", + members: { Attributes: { shape: "S41" } }, + }, }, - S2x: { - type: "structure", - members: { - DocumentClassifierArn: {}, - LanguageCode: {}, - Status: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - TrainingStartTime: { type: "timestamp" }, - TrainingEndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S1k" }, - OutputDataConfig: { shape: "S1n" }, - ClassifierMetadata: { - type: "structure", - members: { - NumberOfLabels: { type: "integer" }, - NumberOfTrainedDocuments: { type: "integer" }, - NumberOfTestDocuments: { type: "integer" }, - EvaluationMetrics: { + GetCurrentMetricData: { + http: { requestUri: "/metrics/current/{InstanceId}" }, + input: { + type: "structure", + required: ["InstanceId", "Filters", "CurrentMetrics"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + Filters: { shape: "S45" }, + Groupings: { shape: "S48" }, + CurrentMetrics: { type: "list", member: { shape: "S4b" } }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + NextToken: {}, + MetricResults: { + type: "list", + member: { type: "structure", members: { - Accuracy: { type: "double" }, - Precision: { type: "double" }, - Recall: { type: "double" }, - F1Score: { type: "double" }, - MicroPrecision: { type: "double" }, - MicroRecall: { type: "double" }, - MicroF1Score: { type: "double" }, - HammingLoss: { type: "double" }, + Dimensions: { shape: "S4j" }, + Collections: { + type: "list", + member: { + type: "structure", + members: { + Metric: { shape: "S4b" }, + Value: { type: "double" }, + }, + }, + }, }, }, }, + DataSnapshotTime: { type: "timestamp" }, }, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, - Mode: {}, }, }, - S34: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + GetFederationToken: { + http: { method: "GET", requestUri: "/user/federate/{InstanceId}" }, + input: { + type: "structure", + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + }, }, - }, - S37: { - type: "structure", - members: { - EndpointArn: {}, - Status: {}, - Message: {}, - ModelArn: {}, - DesiredInferenceUnits: { type: "integer" }, - CurrentInferenceUnits: { type: "integer" }, - CreationTime: { type: "timestamp" }, - LastModifiedTime: { type: "timestamp" }, + output: { + type: "structure", + members: { + Credentials: { + type: "structure", + members: { + AccessToken: { shape: "S4s" }, + AccessTokenExpiration: { type: "timestamp" }, + RefreshToken: { shape: "S4s" }, + RefreshTokenExpiration: { type: "timestamp" }, + }, + }, + }, }, }, - S3b: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - EntityRecognizerArn: {}, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - LanguageCode: {}, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + GetMetricData: { + http: { requestUri: "/metrics/historical/{InstanceId}" }, + input: { + type: "structure", + required: [ + "InstanceId", + "StartTime", + "EndTime", + "Filters", + "HistoricalMetrics", + ], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + Filters: { shape: "S45" }, + Groupings: { shape: "S48" }, + HistoricalMetrics: { type: "list", member: { shape: "S4v" } }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, }, - }, - S3e: { - type: "structure", - members: { - EntityRecognizerArn: {}, - LanguageCode: {}, - Status: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - TrainingStartTime: { type: "timestamp" }, - TrainingEndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S25" }, - RecognizerMetadata: { - type: "structure", - members: { - NumberOfTrainedDocuments: { type: "integer" }, - NumberOfTestDocuments: { type: "integer" }, - EvaluationMetrics: { + output: { + type: "structure", + members: { + NextToken: {}, + MetricResults: { + type: "list", + member: { type: "structure", members: { - Precision: { type: "double" }, - Recall: { type: "double" }, - F1Score: { type: "double" }, - }, - }, - EntityTypes: { - type: "list", - member: { - type: "structure", - members: { - Type: {}, - EvaluationMetrics: { + Dimensions: { shape: "S4j" }, + Collections: { + type: "list", + member: { type: "structure", members: { - Precision: { type: "double" }, - Recall: { type: "double" }, - F1Score: { type: "double" }, + Metric: { shape: "S4v" }, + Value: { type: "double" }, }, }, - NumberOfTrainMentions: { type: "integer" }, }, }, }, }, }, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, }, }, - S3m: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - LanguageCode: {}, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + ListApprovedOrigins: { + http: { + method: "GET", + requestUri: "/instance/{InstanceId}/approved-origins", + }, + input: { + type: "structure", + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { Origins: { type: "list", member: {} }, NextToken: {} }, }, }, - S3p: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - LanguageCode: {}, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + ListContactFlows: { + http: { + method: "GET", + requestUri: "/contact-flows-summary/{InstanceId}", + }, + input: { + type: "structure", + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + ContactFlowTypes: { + location: "querystring", + locationName: "contactFlowTypes", + type: "list", + member: {}, + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + ContactFlowSummaryList: { + type: "list", + member: { + type: "structure", + members: { Id: {}, Arn: {}, Name: {}, ContactFlowType: {} }, + }, + }, + NextToken: {}, + }, }, }, - S3s: { - type: "structure", - members: { - JobId: {}, - JobName: {}, - JobStatus: {}, - Message: {}, - SubmitTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - InputDataConfig: { shape: "S2s" }, - OutputDataConfig: { shape: "S2u" }, - NumberOfTopics: { type: "integer" }, - DataAccessRoleArn: {}, - VolumeKmsKeyId: {}, - VpcConfig: { shape: "S1q" }, + ListHoursOfOperations: { + http: { + method: "GET", + requestUri: "/hours-of-operations-summary/{InstanceId}", + }, + input: { + type: "structure", + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + HoursOfOperationSummaryList: { + type: "list", + member: { + type: "structure", + members: { Id: {}, Arn: {}, Name: {} }, + }, + }, + NextToken: {}, + }, }, }, - }, - }; - - /***/ - }, - - /***/ 3187: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - __webpack_require__(4923); - __webpack_require__(4906); - var PromisesDependency; - - /** - * The main configuration class used by all service objects to set - * the region, credentials, and other options for requests. - * - * By default, credentials and region settings are left unconfigured. - * This should be configured by the application before using any - * AWS service APIs. - * - * In order to set global configuration options, properties should - * be assigned to the global {AWS.config} object. - * - * @see AWS.config - * - * @!group General Configuration Options - * - * @!attribute credentials - * @return [AWS.Credentials] the AWS credentials to sign requests with. - * - * @!attribute region - * @example Set the global region setting to us-west-2 - * AWS.config.update({region: 'us-west-2'}); - * @return [AWS.Credentials] The region to send service requests to. - * @see http://docs.amazonwebservices.com/general/latest/gr/rande.html - * A list of available endpoints for each AWS service - * - * @!attribute maxRetries - * @return [Integer] the maximum amount of retries to perform for a - * service request. By default this value is calculated by the specific - * service object that the request is being made to. - * - * @!attribute maxRedirects - * @return [Integer] the maximum amount of redirects to follow for a - * service request. Defaults to 10. - * - * @!attribute paramValidation - * @return [Boolean|map] whether input parameters should be validated against - * the operation description before sending the request. Defaults to true. - * Pass a map to enable any of the following specific validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - * - * @!attribute computeChecksums - * @return [Boolean] whether to compute checksums for payload bodies when - * the service accepts it (currently supported in S3 only). - * - * @!attribute convertResponseTypes - * @return [Boolean] whether types are converted when parsing response data. - * Currently only supported for JSON based services. Turning this off may - * improve performance on large response payloads. Defaults to `true`. - * - * @!attribute correctClockSkew - * @return [Boolean] whether to apply a clock skew correction and retry - * requests that fail because of an skewed client clock. Defaults to - * `false`. - * - * @!attribute sslEnabled - * @return [Boolean] whether SSL is enabled for requests - * - * @!attribute s3ForcePathStyle - * @return [Boolean] whether to force path style URLs for S3 objects - * - * @!attribute s3BucketEndpoint - * @note Setting this configuration option requires an `endpoint` to be - * provided explicitly to the service constructor. - * @return [Boolean] whether the provided endpoint addresses an individual - * bucket (false if it addresses the root API endpoint). - * - * @!attribute s3DisableBodySigning - * @return [Boolean] whether to disable S3 body signing when using signature version `v4`. - * Body signing can only be disabled when using https. Defaults to `true`. - * - * @!attribute s3UsEast1RegionalEndpoint - * @return ['legacy'|'regional'] when region is set to 'us-east-1', whether to send s3 - * request to global endpoints or 'us-east-1' regional endpoints. This config is only - * applicable to S3 client; - * Defaults to 'legacy' - * @!attribute s3UseArnRegion - * @return [Boolean] whether to override the request region with the region inferred - * from requested resource's ARN. Only available for S3 buckets - * Defaults to `true` - * - * @!attribute useAccelerateEndpoint - * @note This configuration option is only compatible with S3 while accessing - * dns-compatible buckets. - * @return [Boolean] Whether to use the Accelerate endpoint with the S3 service. - * Defaults to `false`. - * - * @!attribute retryDelayOptions - * @example Set the base retry delay for all services to 300 ms - * AWS.config.update({retryDelayOptions: {base: 300}}); - * // Delays with maxRetries = 3: 300, 600, 1200 - * @example Set a custom backoff function to provide delay values on retries - * AWS.config.update({retryDelayOptions: {customBackoff: function(retryCount, err) { - * // returns delay in ms - * }}}); - * @return [map] A set of options to configure the retry delay on retryable errors. - * Currently supported options are: - * - * * **base** [Integer] — The base number of milliseconds to use in the - * exponential backoff for operation retries. Defaults to 100 ms for all services except - * DynamoDB, where it defaults to 50ms. - * - * * **customBackoff ** [function] — A custom function that accepts a - * retry count and error and returns the amount of time to delay in - * milliseconds. If the result is a non-zero negative value, no further - * retry attempts will be made. The `base` option will be ignored if this - * option is supplied. - * - * @!attribute httpOptions - * @return [map] A set of options to pass to the low-level HTTP request. - * Currently supported options are: - * - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only supported in the - * Node.js environment. - * * **connectTimeout** [Integer] — Sets the socket to timeout after - * failing to establish a connection with the server after - * `connectTimeout` milliseconds. This timeout has no effect once a socket - * connection has been established. - * * **timeout** [Integer] — Sets the socket to timeout after timeout - * milliseconds of inactivity on the socket. Defaults to two minutes - * (120000) - * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous - * HTTP requests. Used in the browser environment only. Set to false to - * send requests synchronously. Defaults to true (async on). - * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" - * property of an XMLHttpRequest object. Used in the browser environment - * only. Defaults to false. - * @!attribute logger - * @return [#write,#log] an object that responds to .write() (like a stream) - * or .log() (like the console object) in order to log information about - * requests - * - * @!attribute systemClockOffset - * @return [Number] an offset value in milliseconds to apply to all signing - * times. Use this to compensate for clock skew when your system may be - * out of sync with the service time. Note that this configuration option - * can only be applied to the global `AWS.config` object and cannot be - * overridden in service-specific configuration. Defaults to 0 milliseconds. - * - * @!attribute signatureVersion - * @return [String] the signature version to sign requests with (overriding - * the API configuration). Possible values are: 'v2', 'v3', 'v4'. - * - * @!attribute signatureCache - * @return [Boolean] whether the signature to sign requests with (overriding - * the API configuration) is cached. Only applies to the signature version 'v4'. - * Defaults to `true`. - * - * @!attribute endpointDiscoveryEnabled - * @return [Boolean] whether to enable endpoint discovery for operations that - * allow optionally using an endpoint returned by the service. - * Defaults to 'false' - * - * @!attribute endpointCacheSize - * @return [Number] the size of the global cache storing endpoints from endpoint - * discovery operations. Once endpoint cache is created, updating this setting - * cannot change existing cache size. - * Defaults to 1000 - * - * @!attribute hostPrefixEnabled - * @return [Boolean] whether to marshal request parameters to the prefix of - * hostname. Defaults to `true`. - * - * @!attribute stsRegionalEndpoints - * @return ['legacy'|'regional'] whether to send sts request to global endpoints or - * regional endpoints. - * Defaults to 'legacy' - */ - AWS.Config = AWS.util.inherit({ - /** - * @!endgroup - */ - - /** - * Creates a new configuration object. This is the object that passes - * option data along to service requests, including credentials, security, - * region information, and some service specific settings. - * - * @example Creating a new configuration object with credentials and region - * var config = new AWS.Config({ - * accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-west-2' - * }); - * @option options accessKeyId [String] your AWS access key ID. - * @option options secretAccessKey [String] your AWS secret access key. - * @option options sessionToken [AWS.Credentials] the optional AWS - * session token to sign requests with. - * @option options credentials [AWS.Credentials] the AWS credentials - * to sign requests with. You can either specify this object, or - * specify the accessKeyId and secretAccessKey options directly. - * @option options credentialProvider [AWS.CredentialProviderChain] the - * provider chain used to resolve credentials if no static `credentials` - * property is set. - * @option options region [String] the region to send service requests to. - * See {region} for more information. - * @option options maxRetries [Integer] the maximum amount of retries to - * attempt with a request. See {maxRetries} for more information. - * @option options maxRedirects [Integer] the maximum amount of redirects to - * follow with a request. See {maxRedirects} for more information. - * @option options sslEnabled [Boolean] whether to enable SSL for - * requests. - * @option options paramValidation [Boolean|map] whether input parameters - * should be validated against the operation description before sending - * the request. Defaults to true. Pass a map to enable any of the - * following specific validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - * @option options computeChecksums [Boolean] whether to compute checksums - * for payload bodies when the service accepts it (currently supported - * in S3 only) - * @option options convertResponseTypes [Boolean] whether types are converted - * when parsing response data. Currently only supported for JSON based - * services. Turning this off may improve performance on large response - * payloads. Defaults to `true`. - * @option options correctClockSkew [Boolean] whether to apply a clock skew - * correction and retry requests that fail because of an skewed client - * clock. Defaults to `false`. - * @option options s3ForcePathStyle [Boolean] whether to force path - * style URLs for S3 objects. - * @option options s3BucketEndpoint [Boolean] whether the provided endpoint - * addresses an individual bucket (false if it addresses the root API - * endpoint). Note that setting this configuration option requires an - * `endpoint` to be provided explicitly to the service constructor. - * @option options s3DisableBodySigning [Boolean] whether S3 body signing - * should be disabled when using signature version `v4`. Body signing - * can only be disabled when using https. Defaults to `true`. - * @option options s3UsEast1RegionalEndpoint ['legacy'|'regional'] when region - * is set to 'us-east-1', whether to send s3 request to global endpoints or - * 'us-east-1' regional endpoints. This config is only applicable to S3 client. - * Defaults to `legacy` - * @option options s3UseArnRegion [Boolean] whether to override the request region - * with the region inferred from requested resource's ARN. Only available for S3 buckets - * Defaults to `true` - * - * @option options retryDelayOptions [map] A set of options to configure - * the retry delay on retryable errors. Currently supported options are: - * - * * **base** [Integer] — The base number of milliseconds to use in the - * exponential backoff for operation retries. Defaults to 100 ms for all - * services except DynamoDB, where it defaults to 50ms. - * * **customBackoff ** [function] — A custom function that accepts a - * retry count and error and returns the amount of time to delay in - * milliseconds. If the result is a non-zero negative value, no further - * retry attempts will be made. The `base` option will be ignored if this - * option is supplied. - * @option options httpOptions [map] A set of options to pass to the low-level - * HTTP request. Currently supported options are: - * - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Defaults to the global - * agent (`http.globalAgent`) for non-SSL connections. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only available in the - * Node.js environment. - * * **connectTimeout** [Integer] — Sets the socket to timeout after - * failing to establish a connection with the server after - * `connectTimeout` milliseconds. This timeout has no effect once a socket - * connection has been established. - * * **timeout** [Integer] — Sets the socket to timeout after timeout - * milliseconds of inactivity on the socket. Defaults to two minutes - * (120000). - * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous - * HTTP requests. Used in the browser environment only. Set to false to - * send requests synchronously. Defaults to true (async on). - * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" - * property of an XMLHttpRequest object. Used in the browser environment - * only. Defaults to false. - * @option options apiVersion [String, Date] a String in YYYY-MM-DD format - * (or a date) that represents the latest possible API version that can be - * used in all services (unless overridden by `apiVersions`). Specify - * 'latest' to use the latest possible version. - * @option options apiVersions [map] a map of service - * identifiers (the lowercase service class name) with the API version to - * use when instantiating a service. Specify 'latest' for each individual - * that can use the latest available version. - * @option options logger [#write,#log] an object that responds to .write() - * (like a stream) or .log() (like the console object) in order to log - * information about requests - * @option options systemClockOffset [Number] an offset value in milliseconds - * to apply to all signing times. Use this to compensate for clock skew - * when your system may be out of sync with the service time. Note that - * this configuration option can only be applied to the global `AWS.config` - * object and cannot be overridden in service-specific configuration. - * Defaults to 0 milliseconds. - * @option options signatureVersion [String] the signature version to sign - * requests with (overriding the API configuration). Possible values are: - * 'v2', 'v3', 'v4'. - * @option options signatureCache [Boolean] whether the signature to sign - * requests with (overriding the API configuration) is cached. Only applies - * to the signature version 'v4'. Defaults to `true`. - * @option options dynamoDbCrc32 [Boolean] whether to validate the CRC32 - * checksum of HTTP response bodies returned by DynamoDB. Default: `true`. - * @option options useAccelerateEndpoint [Boolean] Whether to use the - * S3 Transfer Acceleration endpoint with the S3 service. Default: `false`. - * @option options clientSideMonitoring [Boolean] whether to collect and - * publish this client's performance metrics of all its API requests. - * @option options endpointDiscoveryEnabled [Boolean] whether to enable endpoint - * discovery for operations that allow optionally using an endpoint returned by - * the service. - * Defaults to 'false' - * @option options endpointCacheSize [Number] the size of the global cache storing - * endpoints from endpoint discovery operations. Once endpoint cache is created, - * updating this setting cannot change existing cache size. - * Defaults to 1000 - * @option options hostPrefixEnabled [Boolean] whether to marshal request - * parameters to the prefix of hostname. - * Defaults to `true`. - * @option options stsRegionalEndpoints ['legacy'|'regional'] whether to send sts request - * to global endpoints or regional endpoints. - * Defaults to 'legacy'. - */ - constructor: function Config(options) { - if (options === undefined) options = {}; - options = this.extractCredentials(options); - - AWS.util.each.call(this, this.keys, function (key, value) { - this.set(key, options[key], value); - }); - }, - - /** - * @!group Managing Credentials - */ - - /** - * Loads credentials from the configuration object. This is used internally - * by the SDK to ensure that refreshable {Credentials} objects are properly - * refreshed and loaded when sending a request. If you want to ensure that - * your credentials are loaded prior to a request, you can use this method - * directly to provide accurate credential data stored in the object. - * - * @note If you configure the SDK with static or environment credentials, - * the credential data should already be present in {credentials} attribute. - * This method is primarily necessary to load credentials from asynchronous - * sources, or sources that can refresh credentials periodically. - * @example Getting your access key - * AWS.config.getCredentials(function(err) { - * if (err) console.log(err.stack); // credentials not loaded - * else console.log("Access Key:", AWS.config.credentials.accessKeyId); - * }) - * @callback callback function(err) - * Called when the {credentials} have been properly set on the configuration - * object. - * - * @param err [Error] if this is set, credentials were not successfully - * loaded and this error provides information why. - * @see credentials - * @see Credentials - */ - getCredentials: function getCredentials(callback) { - var self = this; - - function finish(err) { - callback(err, err ? null : self.credentials); - } - - function credError(msg, err) { - return new AWS.util.error(err || new Error(), { - code: "CredentialsError", - message: msg, - name: "CredentialsError", - }); - } - - function getAsyncCredentials() { - self.credentials.get(function (err) { - if (err) { - var msg = - "Could not load credentials from " + - self.credentials.constructor.name; - err = credError(msg, err); - } - finish(err); - }); - } - - function getStaticCredentials() { - var err = null; - if ( - !self.credentials.accessKeyId || - !self.credentials.secretAccessKey - ) { - err = credError("Missing credentials"); - } - finish(err); - } - - if (self.credentials) { - if (typeof self.credentials.get === "function") { - getAsyncCredentials(); - } else { - // static credentials - getStaticCredentials(); - } - } else if (self.credentialProvider) { - self.credentialProvider.resolve(function (err, creds) { - if (err) { - err = credError( - "Could not load credentials from any providers", - err - ); - } - self.credentials = creds; - finish(err); - }); - } else { - finish(credError("No credentials to load")); - } - }, - - /** - * @!group Loading and Setting Configuration Options - */ - - /** - * @overload update(options, allowUnknownKeys = false) - * Updates the current configuration object with new options. - * - * @example Update maxRetries property of a configuration object - * config.update({maxRetries: 10}); - * @param [Object] options a map of option keys and values. - * @param [Boolean] allowUnknownKeys whether unknown keys can be set on - * the configuration object. Defaults to `false`. - * @see constructor - */ - update: function update(options, allowUnknownKeys) { - allowUnknownKeys = allowUnknownKeys || false; - options = this.extractCredentials(options); - AWS.util.each.call(this, options, function (key, value) { - if ( - allowUnknownKeys || - Object.prototype.hasOwnProperty.call(this.keys, key) || - AWS.Service.hasService(key) - ) { - this.set(key, value); - } - }); - }, - - /** - * Loads configuration data from a JSON file into this config object. - * @note Loading configuration will reset all existing configuration - * on the object. - * @!macro nobrowser - * @param path [String] the path relative to your process's current - * working directory to load configuration from. - * @return [AWS.Config] the same configuration object - */ - loadFromPath: function loadFromPath(path) { - this.clear(); - - var options = JSON.parse(AWS.util.readFileSync(path)); - var fileSystemCreds = new AWS.FileSystemCredentials(path); - var chain = new AWS.CredentialProviderChain(); - chain.providers.unshift(fileSystemCreds); - chain.resolve(function (err, creds) { - if (err) throw err; - else options.credentials = creds; - }); - - this.constructor(options); - - return this; - }, - - /** - * Clears configuration data on this object - * - * @api private - */ - clear: function clear() { - /*jshint forin:false */ - AWS.util.each.call(this, this.keys, function (key) { - delete this[key]; - }); - - // reset credential provider - this.set("credentials", undefined); - this.set("credentialProvider", undefined); - }, - - /** - * Sets a property on the configuration object, allowing for a - * default value - * @api private - */ - set: function set(property, value, defaultValue) { - if (value === undefined) { - if (defaultValue === undefined) { - defaultValue = this.keys[property]; - } - if (typeof defaultValue === "function") { - this[property] = defaultValue.call(this); - } else { - this[property] = defaultValue; - } - } else if (property === "httpOptions" && this[property]) { - // deep merge httpOptions - this[property] = AWS.util.merge(this[property], value); - } else { - this[property] = value; - } - }, - - /** - * All of the keys with their default values. - * - * @constant - * @api private - */ - keys: { - credentials: null, - credentialProvider: null, - region: null, - logger: null, - apiVersions: {}, - apiVersion: null, - endpoint: undefined, - httpOptions: { - timeout: 120000, - }, - maxRetries: undefined, - maxRedirects: 10, - paramValidation: true, - sslEnabled: true, - s3ForcePathStyle: false, - s3BucketEndpoint: false, - s3DisableBodySigning: true, - s3UsEast1RegionalEndpoint: "legacy", - s3UseArnRegion: undefined, - computeChecksums: true, - convertResponseTypes: true, - correctClockSkew: false, - customUserAgent: null, - dynamoDbCrc32: true, - systemClockOffset: 0, - signatureVersion: null, - signatureCache: true, - retryDelayOptions: {}, - useAccelerateEndpoint: false, - clientSideMonitoring: false, - endpointDiscoveryEnabled: false, - endpointCacheSize: 1000, - hostPrefixEnabled: true, - stsRegionalEndpoints: "legacy", - }, - - /** - * Extracts accessKeyId, secretAccessKey and sessionToken - * from a configuration hash. - * - * @api private - */ - extractCredentials: function extractCredentials(options) { - if (options.accessKeyId && options.secretAccessKey) { - options = AWS.util.copy(options); - options.credentials = new AWS.Credentials(options); - } - return options; - }, - - /** - * Sets the promise dependency the SDK will use wherever Promises are returned. - * Passing `null` will force the SDK to use native Promises if they are available. - * If native Promises are not available, passing `null` will have no effect. - * @param [Constructor] dep A reference to a Promise constructor - */ - setPromisesDependency: function setPromisesDependency(dep) { - PromisesDependency = dep; - // if null was passed in, we should try to use native promises - if (dep === null && typeof Promise === "function") { - PromisesDependency = Promise; - } - var constructors = [ - AWS.Request, - AWS.Credentials, - AWS.CredentialProviderChain, - ]; - if (AWS.S3) { - constructors.push(AWS.S3); - if (AWS.S3.ManagedUpload) { - constructors.push(AWS.S3.ManagedUpload); - } - } - AWS.util.addPromises(constructors, PromisesDependency); - }, - - /** - * Gets the promise dependency set by `AWS.config.setPromisesDependency`. - */ - getPromisesDependency: function getPromisesDependency() { - return PromisesDependency; - }, - }); - - /** - * @return [AWS.Config] The global configuration object singleton instance - * @readonly - * @see AWS.Config - */ - AWS.config = new AWS.Config(); - - /***/ - }, - - /***/ 3206: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["route53domains"] = {}; - AWS.Route53Domains = Service.defineService("route53domains", [ - "2014-05-15", - ]); - Object.defineProperty( - apiLoader.services["route53domains"], - "2014-05-15", - { - get: function get() { - var model = __webpack_require__(7591); - model.paginators = __webpack_require__(9983).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.Route53Domains; - - /***/ - }, - - /***/ 3209: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, - - /***/ 3220: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["managedblockchain"] = {}; - AWS.ManagedBlockchain = Service.defineService("managedblockchain", [ - "2018-09-24", - ]); - Object.defineProperty( - apiLoader.services["managedblockchain"], - "2018-09-24", - { - get: function get() { - var model = __webpack_require__(3762); - model.paginators = __webpack_require__(2816).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.ManagedBlockchain; - - /***/ - }, - - /***/ 3222: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["iotevents"] = {}; - AWS.IoTEvents = Service.defineService("iotevents", ["2018-07-27"]); - Object.defineProperty(apiLoader.services["iotevents"], "2018-07-27", { - get: function get() { - var model = __webpack_require__(7430); - model.paginators = __webpack_require__(3658).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.IoTEvents; - - /***/ - }, - - /***/ 3223: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["textract"] = {}; - AWS.Textract = Service.defineService("textract", ["2018-06-27"]); - Object.defineProperty(apiLoader.services["textract"], "2018-06-27", { - get: function get() { - var model = __webpack_require__(918); - model.paginators = __webpack_require__(2449).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Textract; - - /***/ - }, - - /***/ 3224: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2014-11-01", - endpointPrefix: "kms", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "KMS", - serviceFullName: "AWS Key Management Service", - serviceId: "KMS", - signatureVersion: "v4", - targetPrefix: "TrentService", - uid: "kms-2014-11-01", - }, - operations: { - CancelKeyDeletion: { - input: { - type: "structure", - required: ["KeyId"], - members: { KeyId: {} }, - }, - output: { type: "structure", members: { KeyId: {} } }, - }, - ConnectCustomKeyStore: { - input: { - type: "structure", - required: ["CustomKeyStoreId"], - members: { CustomKeyStoreId: {} }, - }, - output: { type: "structure", members: {} }, - }, - CreateAlias: { - input: { - type: "structure", - required: ["AliasName", "TargetKeyId"], - members: { AliasName: {}, TargetKeyId: {} }, + ListInstanceAttributes: { + http: { + method: "GET", + requestUri: "/instance/{InstanceId}/attributes", }, - }, - CreateCustomKeyStore: { input: { type: "structure", - required: [ - "CustomKeyStoreName", - "CloudHsmClusterId", - "TrustAnchorCertificate", - "KeyStorePassword", - ], + required: ["InstanceId"], members: { - CustomKeyStoreName: {}, - CloudHsmClusterId: {}, - TrustAnchorCertificate: {}, - KeyStorePassword: { shape: "Sd" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, - output: { type: "structure", members: { CustomKeyStoreId: {} } }, - }, - CreateGrant: { - input: { + output: { type: "structure", - required: ["KeyId", "GranteePrincipal", "Operations"], members: { - KeyId: {}, - GranteePrincipal: {}, - RetiringPrincipal: {}, - Operations: { shape: "Sh" }, - Constraints: { shape: "Sj" }, - GrantTokens: { shape: "Sn" }, - Name: {}, + Attributes: { type: "list", member: { shape: "S36" } }, + NextToken: {}, }, }, - output: { - type: "structure", - members: { GrantToken: {}, GrantId: {} }, - }, }, - CreateKey: { + ListInstanceStorageConfigs: { + http: { + method: "GET", + requestUri: "/instance/{InstanceId}/storage-configs", + }, input: { type: "structure", + required: ["InstanceId", "ResourceType"], members: { - Policy: {}, - Description: {}, - KeyUsage: {}, - CustomerMasterKeySpec: {}, - Origin: {}, - CustomKeyStoreId: {}, - BypassPolicyLockoutSafetyCheck: { type: "boolean" }, - Tags: { shape: "Sz" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + ResourceType: { + location: "querystring", + locationName: "resourceType", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", - members: { KeyMetadata: { shape: "S14" } }, + members: { + StorageConfigs: { type: "list", member: { shape: "S6" } }, + NextToken: {}, + }, }, }, - Decrypt: { + ListInstances: { + http: { method: "GET", requestUri: "/instance" }, input: { type: "structure", - required: ["CiphertextBlob"], members: { - CiphertextBlob: { type: "blob" }, - EncryptionContext: { shape: "Sk" }, - GrantTokens: { shape: "Sn" }, - KeyId: {}, - EncryptionAlgorithm: {}, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", members: { - KeyId: {}, - Plaintext: { shape: "S1i" }, - EncryptionAlgorithm: {}, + InstanceSummaryList: { + type: "list", + member: { + type: "structure", + members: { + Id: {}, + Arn: {}, + IdentityManagementType: {}, + InstanceAlias: { shape: "S1g" }, + CreatedTime: { type: "timestamp" }, + ServiceRole: {}, + InstanceStatus: {}, + InboundCallsEnabled: { type: "boolean" }, + OutboundCallsEnabled: { type: "boolean" }, + }, + }, + }, + NextToken: {}, }, }, }, - DeleteAlias: { - input: { - type: "structure", - required: ["AliasName"], - members: { AliasName: {} }, - }, - }, - DeleteCustomKeyStore: { - input: { - type: "structure", - required: ["CustomKeyStoreId"], - members: { CustomKeyStoreId: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteImportedKeyMaterial: { - input: { - type: "structure", - required: ["KeyId"], - members: { KeyId: {} }, + ListIntegrationAssociations: { + http: { + method: "GET", + requestUri: "/instance/{InstanceId}/integration-associations", }, - }, - DescribeCustomKeyStores: { input: { type: "structure", + required: ["InstanceId"], members: { - CustomKeyStoreId: {}, - CustomKeyStoreName: {}, - Limit: { type: "integer" }, - Marker: {}, + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", members: { - CustomKeyStores: { + IntegrationAssociationSummaryList: { type: "list", member: { type: "structure", members: { - CustomKeyStoreId: {}, - CustomKeyStoreName: {}, - CloudHsmClusterId: {}, - TrustAnchorCertificate: {}, - ConnectionState: {}, - ConnectionErrorCode: {}, - CreationDate: { type: "timestamp" }, + IntegrationAssociationId: {}, + IntegrationAssociationArn: {}, + InstanceId: {}, + IntegrationType: {}, + IntegrationArn: {}, + SourceApplicationUrl: {}, + SourceApplicationName: {}, + SourceType: {}, }, }, }, - NextMarker: {}, - Truncated: { type: "boolean" }, + NextToken: {}, }, }, }, - DescribeKey: { - input: { - type: "structure", - required: ["KeyId"], - members: { KeyId: {}, GrantTokens: { shape: "Sn" } }, - }, - output: { - type: "structure", - members: { KeyMetadata: { shape: "S14" } }, - }, - }, - DisableKey: { - input: { - type: "structure", - required: ["KeyId"], - members: { KeyId: {} }, - }, - }, - DisableKeyRotation: { - input: { - type: "structure", - required: ["KeyId"], - members: { KeyId: {} }, + ListLambdaFunctions: { + http: { + method: "GET", + requestUri: "/instance/{InstanceId}/lambda-functions", }, - }, - DisconnectCustomKeyStore: { input: { type: "structure", - required: ["CustomKeyStoreId"], - members: { CustomKeyStoreId: {} }, + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, }, - output: { type: "structure", members: {} }, - }, - EnableKey: { - input: { + output: { type: "structure", - required: ["KeyId"], - members: { KeyId: {} }, + members: { + LambdaFunctions: { type: "list", member: {} }, + NextToken: {}, + }, }, }, - EnableKeyRotation: { - input: { - type: "structure", - required: ["KeyId"], - members: { KeyId: {} }, + ListLexBots: { + http: { + method: "GET", + requestUri: "/instance/{InstanceId}/lex-bots", }, - }, - Encrypt: { input: { type: "structure", - required: ["KeyId", "Plaintext"], + required: ["InstanceId"], members: { - KeyId: {}, - Plaintext: { shape: "S1i" }, - EncryptionContext: { shape: "Sk" }, - GrantTokens: { shape: "Sn" }, - EncryptionAlgorithm: {}, + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", members: { - CiphertextBlob: { type: "blob" }, - KeyId: {}, - EncryptionAlgorithm: {}, + LexBots: { type: "list", member: { shape: "So" } }, + NextToken: {}, }, }, }, - GenerateDataKey: { + ListPhoneNumbers: { + http: { + method: "GET", + requestUri: "/phone-numbers-summary/{InstanceId}", + }, input: { type: "structure", - required: ["KeyId"], + required: ["InstanceId"], members: { - KeyId: {}, - EncryptionContext: { shape: "Sk" }, - NumberOfBytes: { type: "integer" }, - KeySpec: {}, - GrantTokens: { shape: "Sn" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + PhoneNumberTypes: { + location: "querystring", + locationName: "phoneNumberTypes", + type: "list", + member: {}, + }, + PhoneNumberCountryCodes: { + location: "querystring", + locationName: "phoneNumberCountryCodes", + type: "list", + member: {}, + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", members: { - CiphertextBlob: { type: "blob" }, - Plaintext: { shape: "S1i" }, - KeyId: {}, + PhoneNumberSummaryList: { + type: "list", + member: { + type: "structure", + members: { + Id: {}, + Arn: {}, + PhoneNumber: {}, + PhoneNumberType: {}, + PhoneNumberCountryCode: {}, + }, + }, + }, + NextToken: {}, }, }, }, - GenerateDataKeyPair: { + ListPrompts: { + http: { + method: "GET", + requestUri: "/prompts-summary/{InstanceId}", + }, input: { type: "structure", - required: ["KeyId", "KeyPairSpec"], + required: ["InstanceId"], members: { - EncryptionContext: { shape: "Sk" }, - KeyId: {}, - KeyPairSpec: {}, - GrantTokens: { shape: "Sn" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", members: { - PrivateKeyCiphertextBlob: { type: "blob" }, - PrivateKeyPlaintext: { shape: "S1i" }, - PublicKey: { type: "blob" }, - KeyId: {}, - KeyPairSpec: {}, + PromptSummaryList: { + type: "list", + member: { + type: "structure", + members: { Id: {}, Arn: {}, Name: {} }, + }, + }, + NextToken: {}, }, }, }, - GenerateDataKeyPairWithoutPlaintext: { + ListQueues: { + http: { method: "GET", requestUri: "/queues-summary/{InstanceId}" }, input: { type: "structure", - required: ["KeyId", "KeyPairSpec"], + required: ["InstanceId"], members: { - EncryptionContext: { shape: "Sk" }, - KeyId: {}, - KeyPairSpec: {}, - GrantTokens: { shape: "Sn" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + QueueTypes: { + location: "querystring", + locationName: "queueTypes", + type: "list", + member: {}, + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", members: { - PrivateKeyCiphertextBlob: { type: "blob" }, - PublicKey: { type: "blob" }, - KeyId: {}, - KeyPairSpec: {}, + QueueSummaryList: { + type: "list", + member: { + type: "structure", + members: { Id: {}, Arn: {}, Name: {}, QueueType: {} }, + }, + }, + NextToken: {}, }, }, }, - GenerateDataKeyWithoutPlaintext: { + ListRoutingProfileQueues: { + http: { + method: "GET", + requestUri: + "/routing-profiles/{InstanceId}/{RoutingProfileId}/queues", + }, input: { type: "structure", - required: ["KeyId"], + required: ["InstanceId", "RoutingProfileId"], members: { - KeyId: {}, - EncryptionContext: { shape: "Sk" }, - KeySpec: {}, - NumberOfBytes: { type: "integer" }, - GrantTokens: { shape: "Sn" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, + RoutingProfileId: { + location: "uri", + locationName: "RoutingProfileId", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { - type: "structure", - members: { CiphertextBlob: { type: "blob" }, KeyId: {} }, - }, - }, - GenerateRandom: { - input: { type: "structure", members: { - NumberOfBytes: { type: "integer" }, - CustomKeyStoreId: {}, + NextToken: {}, + RoutingProfileQueueConfigSummaryList: { + type: "list", + member: { + type: "structure", + required: [ + "QueueId", + "QueueArn", + "QueueName", + "Priority", + "Delay", + "Channel", + ], + members: { + QueueId: {}, + QueueArn: {}, + QueueName: {}, + Priority: { type: "integer" }, + Delay: { type: "integer" }, + Channel: {}, + }, + }, + }, }, }, - output: { - type: "structure", - members: { Plaintext: { shape: "S1i" } }, - }, }, - GetKeyPolicy: { - input: { - type: "structure", - required: ["KeyId", "PolicyName"], - members: { KeyId: {}, PolicyName: {} }, + ListRoutingProfiles: { + http: { + method: "GET", + requestUri: "/routing-profiles-summary/{InstanceId}", }, - output: { type: "structure", members: { Policy: {} } }, - }, - GetKeyRotationStatus: { input: { type: "structure", - required: ["KeyId"], - members: { KeyId: {} }, + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, }, output: { type: "structure", - members: { KeyRotationEnabled: { type: "boolean" } }, + members: { + RoutingProfileSummaryList: { + type: "list", + member: { + type: "structure", + members: { Id: {}, Arn: {}, Name: {} }, + }, + }, + NextToken: {}, + }, }, }, - GetParametersForImport: { + ListSecurityKeys: { + http: { + method: "GET", + requestUri: "/instance/{InstanceId}/security-keys", + }, input: { type: "structure", - required: ["KeyId", "WrappingAlgorithm", "WrappingKeySpec"], + required: ["InstanceId"], members: { - KeyId: {}, - WrappingAlgorithm: {}, - WrappingKeySpec: {}, + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { type: "structure", members: { - KeyId: {}, - ImportToken: { type: "blob" }, - PublicKey: { shape: "S1i" }, - ParametersValidTo: { type: "timestamp" }, + SecurityKeys: { + type: "list", + member: { + type: "structure", + members: { + AssociationId: {}, + Key: {}, + CreationTime: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, }, }, }, - GetPublicKey: { + ListSecurityProfiles: { + http: { + method: "GET", + requestUri: "/security-profiles-summary/{InstanceId}", + }, input: { type: "structure", - required: ["KeyId"], - members: { KeyId: {}, GrantTokens: { shape: "Sn" } }, + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, }, output: { type: "structure", members: { - KeyId: {}, - PublicKey: { type: "blob" }, - CustomerMasterKeySpec: {}, - KeyUsage: {}, - EncryptionAlgorithms: { shape: "S1b" }, - SigningAlgorithms: { shape: "S1d" }, + SecurityProfileSummaryList: { + type: "list", + member: { + type: "structure", + members: { Id: {}, Arn: {}, Name: {} }, + }, + }, + NextToken: {}, }, }, }, - ImportKeyMaterial: { + ListTagsForResource: { + http: { method: "GET", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", - required: ["KeyId", "ImportToken", "EncryptedKeyMaterial"], + required: ["resourceArn"], members: { - KeyId: {}, - ImportToken: { type: "blob" }, - EncryptedKeyMaterial: { type: "blob" }, - ValidTo: { type: "timestamp" }, - ExpirationModel: {}, + resourceArn: { location: "uri", locationName: "resourceArn" }, }, }, - output: { type: "structure", members: {} }, + output: { type: "structure", members: { tags: { shape: "S18" } } }, }, - ListAliases: { + ListUseCases: { + http: { + method: "GET", + requestUri: + "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases", + }, input: { type: "structure", - members: { KeyId: {}, Limit: { type: "integer" }, Marker: {} }, + required: ["InstanceId", "IntegrationAssociationId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + IntegrationAssociationId: { + location: "uri", + locationName: "IntegrationAssociationId", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, }, output: { type: "structure", members: { - Aliases: { + UseCaseSummaryList: { type: "list", member: { type: "structure", - members: { AliasName: {}, AliasArn: {}, TargetKeyId: {} }, + members: { UseCaseId: {}, UseCaseArn: {}, UseCaseType: {} }, }, }, - NextMarker: {}, - Truncated: { type: "boolean" }, + NextToken: {}, }, }, }, - ListGrants: { - input: { - type: "structure", - required: ["KeyId"], - members: { Limit: { type: "integer" }, Marker: {}, KeyId: {} }, + ListUserHierarchyGroups: { + http: { + method: "GET", + requestUri: "/user-hierarchy-groups-summary/{InstanceId}", }, - output: { shape: "S31" }, - }, - ListKeyPolicies: { input: { type: "structure", - required: ["KeyId"], - members: { KeyId: {}, Limit: { type: "integer" }, Marker: {} }, + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, }, output: { type: "structure", members: { - PolicyNames: { type: "list", member: {} }, - NextMarker: {}, - Truncated: { type: "boolean" }, + UserHierarchyGroupSummaryList: { + type: "list", + member: { shape: "S3l" }, + }, + NextToken: {}, }, }, }, - ListKeys: { + ListUsers: { + http: { method: "GET", requestUri: "/users-summary/{InstanceId}" }, input: { type: "structure", - members: { Limit: { type: "integer" }, Marker: {} }, + required: ["InstanceId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, }, output: { type: "structure", members: { - Keys: { + UserSummaryList: { type: "list", member: { type: "structure", - members: { KeyId: {}, KeyArn: {} }, + members: { Id: {}, Arn: {}, Username: {} }, }, }, - NextMarker: {}, - Truncated: { type: "boolean" }, + NextToken: {}, }, }, }, - ListResourceTags: { + ResumeContactRecording: { + http: { requestUri: "/contact/resume-recording" }, input: { type: "structure", - required: ["KeyId"], - members: { KeyId: {}, Limit: { type: "integer" }, Marker: {} }, + required: ["InstanceId", "ContactId", "InitialContactId"], + members: { InstanceId: {}, ContactId: {}, InitialContactId: {} }, }, - output: { + output: { type: "structure", members: {} }, + }, + StartChatContact: { + http: { method: "PUT", requestUri: "/contact/chat" }, + input: { type: "structure", + required: ["InstanceId", "ContactFlowId", "ParticipantDetails"], members: { - Tags: { shape: "Sz" }, - NextMarker: {}, - Truncated: { type: "boolean" }, + InstanceId: {}, + ContactFlowId: {}, + Attributes: { shape: "S41" }, + ParticipantDetails: { + type: "structure", + required: ["DisplayName"], + members: { DisplayName: {} }, + }, + InitialMessage: { + type: "structure", + required: ["ContentType", "Content"], + members: { ContentType: {}, Content: {} }, + }, + ClientToken: { idempotencyToken: true }, }, }, - }, - ListRetirableGrants: { - input: { + output: { type: "structure", - required: ["RetiringPrincipal"], members: { - Limit: { type: "integer" }, - Marker: {}, - RetiringPrincipal: {}, + ContactId: {}, + ParticipantId: {}, + ParticipantToken: {}, }, }, - output: { shape: "S31" }, }, - PutKeyPolicy: { + StartContactRecording: { + http: { requestUri: "/contact/start-recording" }, input: { type: "structure", - required: ["KeyId", "PolicyName", "Policy"], + required: [ + "InstanceId", + "ContactId", + "InitialContactId", + "VoiceRecordingConfiguration", + ], members: { - KeyId: {}, - PolicyName: {}, - Policy: {}, - BypassPolicyLockoutSafetyCheck: { type: "boolean" }, + InstanceId: {}, + ContactId: {}, + InitialContactId: {}, + VoiceRecordingConfiguration: { + type: "structure", + members: { VoiceRecordingTrack: {} }, + }, }, }, + output: { type: "structure", members: {} }, }, - ReEncrypt: { + StartOutboundVoiceContact: { + http: { method: "PUT", requestUri: "/contact/outbound-voice" }, input: { type: "structure", - required: ["CiphertextBlob", "DestinationKeyId"], + required: [ + "DestinationPhoneNumber", + "ContactFlowId", + "InstanceId", + ], members: { - CiphertextBlob: { type: "blob" }, - SourceEncryptionContext: { shape: "Sk" }, - SourceKeyId: {}, - DestinationKeyId: {}, - DestinationEncryptionContext: { shape: "Sk" }, - SourceEncryptionAlgorithm: {}, - DestinationEncryptionAlgorithm: {}, - GrantTokens: { shape: "Sn" }, + DestinationPhoneNumber: {}, + ContactFlowId: {}, + InstanceId: {}, + ClientToken: { idempotencyToken: true }, + SourcePhoneNumber: {}, + QueueId: {}, + Attributes: { shape: "S41" }, }, }, - output: { + output: { type: "structure", members: { ContactId: {} } }, + }, + StartTaskContact: { + http: { method: "PUT", requestUri: "/contact/task" }, + input: { type: "structure", + required: ["InstanceId", "ContactFlowId", "Name"], members: { - CiphertextBlob: { type: "blob" }, - SourceKeyId: {}, - KeyId: {}, - SourceEncryptionAlgorithm: {}, - DestinationEncryptionAlgorithm: {}, + InstanceId: {}, + PreviousContactId: {}, + ContactFlowId: {}, + Attributes: { shape: "S41" }, + Name: {}, + References: { + type: "map", + key: {}, + value: { + type: "structure", + required: ["Value", "Type"], + members: { Value: {}, Type: {} }, + }, + }, + Description: {}, + ClientToken: { idempotencyToken: true }, }, }, + output: { type: "structure", members: { ContactId: {} } }, }, - RetireGrant: { + StopContact: { + http: { requestUri: "/contact/stop" }, input: { type: "structure", - members: { GrantToken: {}, KeyId: {}, GrantId: {} }, + required: ["ContactId", "InstanceId"], + members: { ContactId: {}, InstanceId: {} }, }, + output: { type: "structure", members: {} }, }, - RevokeGrant: { + StopContactRecording: { + http: { requestUri: "/contact/stop-recording" }, input: { type: "structure", - required: ["KeyId", "GrantId"], - members: { KeyId: {}, GrantId: {} }, + required: ["InstanceId", "ContactId", "InitialContactId"], + members: { InstanceId: {}, ContactId: {}, InitialContactId: {} }, }, + output: { type: "structure", members: {} }, }, - ScheduleKeyDeletion: { + SuspendContactRecording: { + http: { requestUri: "/contact/suspend-recording" }, input: { type: "structure", - required: ["KeyId"], - members: { KeyId: {}, PendingWindowInDays: { type: "integer" } }, - }, - output: { - type: "structure", - members: { KeyId: {}, DeletionDate: { type: "timestamp" } }, + required: ["InstanceId", "ContactId", "InitialContactId"], + members: { InstanceId: {}, ContactId: {}, InitialContactId: {} }, }, + output: { type: "structure", members: {} }, }, - Sign: { + TagResource: { + http: { requestUri: "/tags/{resourceArn}" }, input: { type: "structure", - required: ["KeyId", "Message", "SigningAlgorithm"], - members: { - KeyId: {}, - Message: { shape: "S1i" }, - MessageType: {}, - GrantTokens: { shape: "Sn" }, - SigningAlgorithm: {}, - }, - }, - output: { - type: "structure", + required: ["resourceArn", "tags"], members: { - KeyId: {}, - Signature: { type: "blob" }, - SigningAlgorithm: {}, + resourceArn: { location: "uri", locationName: "resourceArn" }, + tags: { shape: "S18" }, }, }, }, - TagResource: { - input: { - type: "structure", - required: ["KeyId", "Tags"], - members: { KeyId: {}, Tags: { shape: "Sz" } }, - }, - }, UntagResource: { + http: { method: "DELETE", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", - required: ["KeyId", "TagKeys"], - members: { KeyId: {}, TagKeys: { type: "list", member: {} } }, - }, - }, - UpdateAlias: { - input: { - type: "structure", - required: ["AliasName", "TargetKeyId"], - members: { AliasName: {}, TargetKeyId: {} }, + required: ["resourceArn", "tagKeys"], + members: { + resourceArn: { location: "uri", locationName: "resourceArn" }, + tagKeys: { + location: "querystring", + locationName: "tagKeys", + type: "list", + member: {}, + }, + }, }, }, - UpdateCustomKeyStore: { + UpdateContactAttributes: { + http: { requestUri: "/contact/attributes" }, input: { type: "structure", - required: ["CustomKeyStoreId"], + required: ["InitialContactId", "InstanceId", "Attributes"], members: { - CustomKeyStoreId: {}, - NewCustomKeyStoreName: {}, - KeyStorePassword: { shape: "Sd" }, - CloudHsmClusterId: {}, + InitialContactId: {}, + InstanceId: {}, + Attributes: { shape: "S41" }, }, }, output: { type: "structure", members: {} }, }, - UpdateKeyDescription: { - input: { - type: "structure", - required: ["KeyId", "Description"], - members: { KeyId: {}, Description: {} }, + UpdateContactFlowContent: { + http: { + requestUri: "/contact-flows/{InstanceId}/{ContactFlowId}/content", }, - }, - Verify: { input: { type: "structure", - required: ["KeyId", "Message", "Signature", "SigningAlgorithm"], - members: { - KeyId: {}, - Message: { shape: "S1i" }, - MessageType: {}, - Signature: { type: "blob" }, - SigningAlgorithm: {}, - GrantTokens: { shape: "Sn" }, - }, - }, - output: { - type: "structure", + required: ["InstanceId", "ContactFlowId", "Content"], members: { - KeyId: {}, - SignatureValid: { type: "boolean" }, - SigningAlgorithm: {}, + InstanceId: { location: "uri", locationName: "InstanceId" }, + ContactFlowId: { + location: "uri", + locationName: "ContactFlowId", + }, + Content: {}, }, }, }, - }, - shapes: { - Sd: { type: "string", sensitive: true }, - Sh: { type: "list", member: {} }, - Sj: { - type: "structure", - members: { - EncryptionContextSubset: { shape: "Sk" }, - EncryptionContextEquals: { shape: "Sk" }, + UpdateContactFlowName: { + http: { + requestUri: "/contact-flows/{InstanceId}/{ContactFlowId}/name", }, - }, - Sk: { type: "map", key: {}, value: {} }, - Sn: { type: "list", member: {} }, - Sz: { - type: "list", - member: { + input: { type: "structure", - required: ["TagKey", "TagValue"], - members: { TagKey: {}, TagValue: {} }, - }, - }, - S14: { - type: "structure", - required: ["KeyId"], - members: { - AWSAccountId: {}, - KeyId: {}, - Arn: {}, - CreationDate: { type: "timestamp" }, - Enabled: { type: "boolean" }, - Description: {}, - KeyUsage: {}, - KeyState: {}, - DeletionDate: { type: "timestamp" }, - ValidTo: { type: "timestamp" }, - Origin: {}, - CustomKeyStoreId: {}, - CloudHsmClusterId: {}, - ExpirationModel: {}, - KeyManager: {}, - CustomerMasterKeySpec: {}, - EncryptionAlgorithms: { shape: "S1b" }, - SigningAlgorithms: { shape: "S1d" }, - }, - }, - S1b: { type: "list", member: {} }, - S1d: { type: "list", member: {} }, - S1i: { type: "blob", sensitive: true }, - S31: { - type: "structure", - members: { - Grants: { - type: "list", - member: { - type: "structure", - members: { - KeyId: {}, - GrantId: {}, - Name: {}, - CreationDate: { type: "timestamp" }, - GranteePrincipal: {}, - RetiringPrincipal: {}, - IssuingAccount: {}, - Operations: { shape: "Sh" }, - Constraints: { shape: "Sj" }, - }, + required: ["InstanceId", "ContactFlowId"], + members: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + ContactFlowId: { + location: "uri", + locationName: "ContactFlowId", }, + Name: {}, + Description: {}, }, - NextMarker: {}, - Truncated: { type: "boolean" }, }, }, - }, - }; - - /***/ - }, - - /***/ 3229: /***/ function (module) { - module.exports = { - pagination: { - ListChannels: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListDatasetContents: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListDatasets: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListDatastores: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListPipelines: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - }, - }; - - /***/ - }, - - /***/ 3234: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - - util.isBrowser = function () { - return false; - }; - util.isNode = function () { - return true; - }; - - // node.js specific modules - util.crypto.lib = __webpack_require__(6417); - util.Buffer = __webpack_require__(4293).Buffer; - util.domain = __webpack_require__(5229); - util.stream = __webpack_require__(2413); - util.url = __webpack_require__(8835); - util.querystring = __webpack_require__(1191); - util.environment = "nodejs"; - util.createEventStream = util.stream.Readable - ? __webpack_require__(445).createEventStream - : __webpack_require__(1661).createEventStream; - util.realClock = __webpack_require__(6693); - util.clientSideMonitoring = { - Publisher: __webpack_require__(1701).Publisher, - configProvider: __webpack_require__(1762), - }; - util.iniLoader = __webpack_require__(5892).iniLoader; - - var AWS; - - /** - * @api private - */ - module.exports = AWS = __webpack_require__(395); - - __webpack_require__(4923); - __webpack_require__(4906); - __webpack_require__(3043); - __webpack_require__(9543); - __webpack_require__(747); - __webpack_require__(7170); - __webpack_require__(2966); - __webpack_require__(2982); - - // Load the xml2js XML parser - AWS.XML.Parser = __webpack_require__(9810); - - // Load Node HTTP client - __webpack_require__(6888); - - __webpack_require__(7960); - - // Load custom credential providers - __webpack_require__(8868); - __webpack_require__(6103); - __webpack_require__(7426); - __webpack_require__(9316); - __webpack_require__(872); - __webpack_require__(634); - __webpack_require__(6431); - __webpack_require__(2982); - - // Setup default chain providers - // If this changes, please update documentation for - // AWS.CredentialProviderChain.defaultProviders in - // credentials/credential_provider_chain.js - AWS.CredentialProviderChain.defaultProviders = [ - function () { - return new AWS.EnvironmentCredentials("AWS"); - }, - function () { - return new AWS.EnvironmentCredentials("AMAZON"); - }, - function () { - return new AWS.SharedIniFileCredentials(); - }, - function () { - return new AWS.ECSCredentials(); - }, - function () { - return new AWS.ProcessCredentials(); - }, - function () { - return new AWS.TokenFileWebIdentityCredentials(); - }, - function () { - return new AWS.EC2MetadataCredentials(); - }, - ]; - - // Update configuration keys - AWS.util.update(AWS.Config.prototype.keys, { - credentials: function () { - var credentials = null; - new AWS.CredentialProviderChain([ - function () { - return new AWS.EnvironmentCredentials("AWS"); - }, - function () { - return new AWS.EnvironmentCredentials("AMAZON"); - }, - function () { - return new AWS.SharedIniFileCredentials({ - disableAssumeRole: true, - }); + UpdateInstanceAttribute: { + http: { + requestUri: "/instance/{InstanceId}/attribute/{AttributeType}", }, - ]).resolve(function (err, creds) { - if (!err) credentials = creds; - }); - return credentials; - }, - credentialProvider: function () { - return new AWS.CredentialProviderChain(); - }, - logger: function () { - return process.env.AWSJS_DEBUG ? console : null; - }, - region: function () { - var env = process.env; - var region = env.AWS_REGION || env.AMAZON_REGION; - if (env[AWS.util.configOptInEnv]) { - var toCheck = [ - { filename: env[AWS.util.sharedCredentialsFileEnv] }, - { isConfig: true, filename: env[AWS.util.sharedConfigFileEnv] }, - ]; - var iniLoader = AWS.util.iniLoader; - while (!region && toCheck.length) { - var configFile = iniLoader.loadFrom(toCheck.shift()); - var profile = - configFile[env.AWS_PROFILE || AWS.util.defaultProfile]; - region = profile && profile.region; - } - } - return region; - }, - }); - - // Reset configuration - AWS.config = new AWS.Config(); - - /***/ - }, - - /***/ 3252: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2017-09-08", - endpointPrefix: "serverlessrepo", - signingName: "serverlessrepo", - serviceFullName: "AWSServerlessApplicationRepository", - serviceId: "ServerlessApplicationRepository", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "serverlessrepo-2017-09-08", - signatureVersion: "v4", - }, - operations: { - CreateApplication: { - http: { requestUri: "/applications", responseCode: 201 }, input: { type: "structure", + required: ["InstanceId", "AttributeType", "Value"], members: { - Author: { locationName: "author" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - Labels: { shape: "S3", locationName: "labels" }, - LicenseBody: { locationName: "licenseBody" }, - LicenseUrl: { locationName: "licenseUrl" }, - Name: { locationName: "name" }, - ReadmeBody: { locationName: "readmeBody" }, - ReadmeUrl: { locationName: "readmeUrl" }, - SemanticVersion: { locationName: "semanticVersion" }, - SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, - SourceCodeUrl: { locationName: "sourceCodeUrl" }, - SpdxLicenseId: { locationName: "spdxLicenseId" }, - TemplateBody: { locationName: "templateBody" }, - TemplateUrl: { locationName: "templateUrl" }, - }, - required: ["Description", "Name", "Author"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - Author: { locationName: "author" }, - CreationTime: { locationName: "creationTime" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - IsVerifiedAuthor: { - locationName: "isVerifiedAuthor", - type: "boolean", + InstanceId: { location: "uri", locationName: "InstanceId" }, + AttributeType: { + location: "uri", + locationName: "AttributeType", }, - Labels: { shape: "S3", locationName: "labels" }, - LicenseUrl: { locationName: "licenseUrl" }, - Name: { locationName: "name" }, - ReadmeUrl: { locationName: "readmeUrl" }, - SpdxLicenseId: { locationName: "spdxLicenseId" }, - VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" }, - Version: { shape: "S6", locationName: "version" }, + Value: {}, }, }, }, - CreateApplicationVersion: { + UpdateInstanceStorageConfig: { http: { - method: "PUT", requestUri: - "/applications/{applicationId}/versions/{semanticVersion}", - responseCode: 201, + "/instance/{InstanceId}/storage-config/{AssociationId}", }, input: { type: "structure", + required: [ + "InstanceId", + "AssociationId", + "ResourceType", + "StorageConfig", + ], members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - SemanticVersion: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + AssociationId: { location: "uri", - locationName: "semanticVersion", - }, - SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, - SourceCodeUrl: { locationName: "sourceCodeUrl" }, - TemplateBody: { locationName: "templateBody" }, - TemplateUrl: { locationName: "templateUrl" }, - }, - required: ["ApplicationId", "SemanticVersion"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - CreationTime: { locationName: "creationTime" }, - ParameterDefinitions: { - shape: "S7", - locationName: "parameterDefinitions", - }, - RequiredCapabilities: { - shape: "Sa", - locationName: "requiredCapabilities", + locationName: "AssociationId", }, - ResourcesSupported: { - locationName: "resourcesSupported", - type: "boolean", + ResourceType: { + location: "querystring", + locationName: "resourceType", }, - SemanticVersion: { locationName: "semanticVersion" }, - SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, - SourceCodeUrl: { locationName: "sourceCodeUrl" }, - TemplateUrl: { locationName: "templateUrl" }, + StorageConfig: { shape: "S6" }, }, }, }, - CreateCloudFormationChangeSet: { + UpdateRoutingProfileConcurrency: { http: { - requestUri: "/applications/{applicationId}/changesets", - responseCode: 201, + requestUri: + "/routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency", }, input: { type: "structure", + required: [ + "InstanceId", + "RoutingProfileId", + "MediaConcurrencies", + ], members: { - ApplicationId: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + RoutingProfileId: { location: "uri", - locationName: "applicationId", - }, - Capabilities: { shape: "S3", locationName: "capabilities" }, - ChangeSetName: { locationName: "changeSetName" }, - ClientToken: { locationName: "clientToken" }, - Description: { locationName: "description" }, - NotificationArns: { - shape: "S3", - locationName: "notificationArns", - }, - ParameterOverrides: { - locationName: "parameterOverrides", - type: "list", - member: { - type: "structure", - members: { - Name: { locationName: "name" }, - Value: { locationName: "value" }, - }, - required: ["Value", "Name"], - }, - }, - ResourceTypes: { shape: "S3", locationName: "resourceTypes" }, - RollbackConfiguration: { - locationName: "rollbackConfiguration", - type: "structure", - members: { - MonitoringTimeInMinutes: { - locationName: "monitoringTimeInMinutes", - type: "integer", - }, - RollbackTriggers: { - locationName: "rollbackTriggers", - type: "list", - member: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Type: { locationName: "type" }, - }, - required: ["Type", "Arn"], - }, - }, - }, - }, - SemanticVersion: { locationName: "semanticVersion" }, - StackName: { locationName: "stackName" }, - Tags: { - locationName: "tags", - type: "list", - member: { - type: "structure", - members: { - Key: { locationName: "key" }, - Value: { locationName: "value" }, - }, - required: ["Value", "Key"], - }, + locationName: "RoutingProfileId", }, - TemplateId: { locationName: "templateId" }, - }, - required: ["ApplicationId", "StackName"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - ChangeSetId: { locationName: "changeSetId" }, - SemanticVersion: { locationName: "semanticVersion" }, - StackId: { locationName: "stackId" }, + MediaConcurrencies: { shape: "S1v" }, }, }, }, - CreateCloudFormationTemplate: { + UpdateRoutingProfileDefaultOutboundQueue: { http: { - requestUri: "/applications/{applicationId}/templates", - responseCode: 201, + requestUri: + "/routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue", }, input: { type: "structure", + required: [ + "InstanceId", + "RoutingProfileId", + "DefaultOutboundQueueId", + ], members: { - ApplicationId: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + RoutingProfileId: { location: "uri", - locationName: "applicationId", + locationName: "RoutingProfileId", }, - SemanticVersion: { locationName: "semanticVersion" }, - }, - required: ["ApplicationId"], - }, - output: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - CreationTime: { locationName: "creationTime" }, - ExpirationTime: { locationName: "expirationTime" }, - SemanticVersion: { locationName: "semanticVersion" }, - Status: { locationName: "status" }, - TemplateId: { locationName: "templateId" }, - TemplateUrl: { locationName: "templateUrl" }, + DefaultOutboundQueueId: {}, }, }, }, - DeleteApplication: { + UpdateRoutingProfileName: { http: { - method: "DELETE", - requestUri: "/applications/{applicationId}", - responseCode: 204, + requestUri: + "/routing-profiles/{InstanceId}/{RoutingProfileId}/name", }, input: { type: "structure", + required: ["InstanceId", "RoutingProfileId"], members: { - ApplicationId: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + RoutingProfileId: { location: "uri", - locationName: "applicationId", + locationName: "RoutingProfileId", }, + Name: {}, + Description: {}, }, - required: ["ApplicationId"], }, }, - GetApplication: { + UpdateRoutingProfileQueues: { http: { - method: "GET", - requestUri: "/applications/{applicationId}", - responseCode: 200, + requestUri: + "/routing-profiles/{InstanceId}/{RoutingProfileId}/queues", }, input: { type: "structure", + required: ["InstanceId", "RoutingProfileId", "QueueConfigs"], members: { - ApplicationId: { + InstanceId: { location: "uri", locationName: "InstanceId" }, + RoutingProfileId: { location: "uri", - locationName: "applicationId", - }, - SemanticVersion: { - location: "querystring", - locationName: "semanticVersion", + locationName: "RoutingProfileId", }, + QueueConfigs: { shape: "St" }, }, - required: ["ApplicationId"], }, - output: { + }, + UpdateUserHierarchy: { + http: { requestUri: "/users/{InstanceId}/{UserId}/hierarchy" }, + input: { type: "structure", + required: ["UserId", "InstanceId"], members: { - ApplicationId: { locationName: "applicationId" }, - Author: { locationName: "author" }, - CreationTime: { locationName: "creationTime" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - IsVerifiedAuthor: { - locationName: "isVerifiedAuthor", - type: "boolean", - }, - Labels: { shape: "S3", locationName: "labels" }, - LicenseUrl: { locationName: "licenseUrl" }, - Name: { locationName: "name" }, - ReadmeUrl: { locationName: "readmeUrl" }, - SpdxLicenseId: { locationName: "spdxLicenseId" }, - VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" }, - Version: { shape: "S6", locationName: "version" }, + HierarchyGroupId: {}, + UserId: { location: "uri", locationName: "UserId" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, }, }, }, - GetApplicationPolicy: { + UpdateUserHierarchyGroupName: { http: { - method: "GET", - requestUri: "/applications/{applicationId}/policy", - responseCode: 200, + requestUri: + "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name", }, input: { type: "structure", + required: ["Name", "HierarchyGroupId", "InstanceId"], members: { - ApplicationId: { + Name: {}, + HierarchyGroupId: { location: "uri", - locationName: "applicationId", + locationName: "HierarchyGroupId", }, + InstanceId: { location: "uri", locationName: "InstanceId" }, }, - required: ["ApplicationId"], }, - output: { + }, + UpdateUserHierarchyStructure: { + http: { requestUri: "/user-hierarchy-structure/{InstanceId}" }, + input: { type: "structure", + required: ["HierarchyStructure", "InstanceId"], members: { - Statements: { shape: "Sv", locationName: "statements" }, + HierarchyStructure: { + type: "structure", + members: { + LevelOne: { shape: "S92" }, + LevelTwo: { shape: "S92" }, + LevelThree: { shape: "S92" }, + LevelFour: { shape: "S92" }, + LevelFive: { shape: "S92" }, + }, + }, + InstanceId: { location: "uri", locationName: "InstanceId" }, }, }, }, - GetCloudFormationTemplate: { - http: { - method: "GET", - requestUri: - "/applications/{applicationId}/templates/{templateId}", - responseCode: 200, - }, + UpdateUserIdentityInfo: { + http: { requestUri: "/users/{InstanceId}/{UserId}/identity-info" }, input: { type: "structure", + required: ["IdentityInfo", "UserId", "InstanceId"], members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - TemplateId: { location: "uri", locationName: "templateId" }, + IdentityInfo: { shape: "S26" }, + UserId: { location: "uri", locationName: "UserId" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, }, - required: ["ApplicationId", "TemplateId"], }, - output: { + }, + UpdateUserPhoneConfig: { + http: { requestUri: "/users/{InstanceId}/{UserId}/phone-config" }, + input: { type: "structure", + required: ["PhoneConfig", "UserId", "InstanceId"], members: { - ApplicationId: { locationName: "applicationId" }, - CreationTime: { locationName: "creationTime" }, - ExpirationTime: { locationName: "expirationTime" }, - SemanticVersion: { locationName: "semanticVersion" }, - Status: { locationName: "status" }, - TemplateId: { locationName: "templateId" }, - TemplateUrl: { locationName: "templateUrl" }, + PhoneConfig: { shape: "S2a" }, + UserId: { location: "uri", locationName: "UserId" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, }, }, }, - ListApplicationDependencies: { + UpdateUserRoutingProfile: { http: { - method: "GET", - requestUri: "/applications/{applicationId}/dependencies", - responseCode: 200, + requestUri: "/users/{InstanceId}/{UserId}/routing-profile", }, input: { type: "structure", + required: ["RoutingProfileId", "UserId", "InstanceId"], members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - MaxItems: { - location: "querystring", - locationName: "maxItems", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - SemanticVersion: { - location: "querystring", - locationName: "semanticVersion", - }, + RoutingProfileId: {}, + UserId: { location: "uri", locationName: "UserId" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, }, - required: ["ApplicationId"], }, - output: { - type: "structure", - members: { - Dependencies: { - locationName: "dependencies", - type: "list", - member: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - SemanticVersion: { locationName: "semanticVersion" }, - }, - required: ["ApplicationId", "SemanticVersion"], - }, - }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - ListApplicationVersions: { - http: { - method: "GET", - requestUri: "/applications/{applicationId}/versions", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - MaxItems: { - location: "querystring", - locationName: "maxItems", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - required: ["ApplicationId"], - }, - output: { - type: "structure", - members: { - NextToken: { locationName: "nextToken" }, - Versions: { - locationName: "versions", - type: "list", - member: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - CreationTime: { locationName: "creationTime" }, - SemanticVersion: { locationName: "semanticVersion" }, - SourceCodeUrl: { locationName: "sourceCodeUrl" }, - }, - required: [ - "CreationTime", - "ApplicationId", - "SemanticVersion", - ], - }, - }, - }, - }, - }, - ListApplications: { - http: { - method: "GET", - requestUri: "/applications", - responseCode: 200, - }, - input: { - type: "structure", - members: { - MaxItems: { - location: "querystring", - locationName: "maxItems", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { - Applications: { - locationName: "applications", - type: "list", - member: { - type: "structure", - members: { - ApplicationId: { locationName: "applicationId" }, - Author: { locationName: "author" }, - CreationTime: { locationName: "creationTime" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - Labels: { shape: "S3", locationName: "labels" }, - Name: { locationName: "name" }, - SpdxLicenseId: { locationName: "spdxLicenseId" }, - }, - required: [ - "Description", - "Author", - "ApplicationId", - "Name", - ], - }, - }, - NextToken: { locationName: "nextToken" }, - }, - }, - }, - PutApplicationPolicy: { - http: { - method: "PUT", - requestUri: "/applications/{applicationId}/policy", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - Statements: { shape: "Sv", locationName: "statements" }, - }, - required: ["ApplicationId", "Statements"], - }, - output: { - type: "structure", - members: { - Statements: { shape: "Sv", locationName: "statements" }, - }, - }, - }, - UnshareApplication: { - http: { - requestUri: "/applications/{applicationId}/unshare", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - OrganizationId: { locationName: "organizationId" }, - }, - required: ["ApplicationId", "OrganizationId"], - }, - }, - UpdateApplication: { - http: { - method: "PATCH", - requestUri: "/applications/{applicationId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ApplicationId: { - location: "uri", - locationName: "applicationId", - }, - Author: { locationName: "author" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - Labels: { shape: "S3", locationName: "labels" }, - ReadmeBody: { locationName: "readmeBody" }, - ReadmeUrl: { locationName: "readmeUrl" }, - }, - required: ["ApplicationId"], - }, - output: { + }, + UpdateUserSecurityProfiles: { + http: { + requestUri: "/users/{InstanceId}/{UserId}/security-profiles", + }, + input: { type: "structure", + required: ["SecurityProfileIds", "UserId", "InstanceId"], members: { - ApplicationId: { locationName: "applicationId" }, - Author: { locationName: "author" }, - CreationTime: { locationName: "creationTime" }, - Description: { locationName: "description" }, - HomePageUrl: { locationName: "homePageUrl" }, - IsVerifiedAuthor: { - locationName: "isVerifiedAuthor", - type: "boolean", - }, - Labels: { shape: "S3", locationName: "labels" }, - LicenseUrl: { locationName: "licenseUrl" }, - Name: { locationName: "name" }, - ReadmeUrl: { locationName: "readmeUrl" }, - SpdxLicenseId: { locationName: "spdxLicenseId" }, - VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" }, - Version: { shape: "S6", locationName: "version" }, + SecurityProfileIds: { shape: "S2g" }, + UserId: { location: "uri", locationName: "UserId" }, + InstanceId: { location: "uri", locationName: "InstanceId" }, }, }, }, }, shapes: { - S3: { type: "list", member: {} }, S6: { type: "structure", + required: ["StorageType"], members: { - ApplicationId: { locationName: "applicationId" }, - CreationTime: { locationName: "creationTime" }, - ParameterDefinitions: { - shape: "S7", - locationName: "parameterDefinitions", + AssociationId: {}, + StorageType: {}, + S3Config: { + type: "structure", + required: ["BucketName", "BucketPrefix"], + members: { + BucketName: {}, + BucketPrefix: {}, + EncryptionConfig: { shape: "Sc" }, + }, }, - RequiredCapabilities: { - shape: "Sa", - locationName: "requiredCapabilities", + KinesisVideoStreamConfig: { + type: "structure", + required: [ + "Prefix", + "RetentionPeriodHours", + "EncryptionConfig", + ], + members: { + Prefix: {}, + RetentionPeriodHours: { type: "integer" }, + EncryptionConfig: { shape: "Sc" }, + }, }, - ResourcesSupported: { - locationName: "resourcesSupported", - type: "boolean", + KinesisStreamConfig: { + type: "structure", + required: ["StreamArn"], + members: { StreamArn: {} }, + }, + KinesisFirehoseConfig: { + type: "structure", + required: ["FirehoseArn"], + members: { FirehoseArn: {} }, }, - SemanticVersion: { locationName: "semanticVersion" }, - SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, - SourceCodeUrl: { locationName: "sourceCodeUrl" }, - TemplateUrl: { locationName: "templateUrl" }, }, - required: [ - "TemplateUrl", - "ParameterDefinitions", - "ResourcesSupported", - "CreationTime", - "RequiredCapabilities", - "ApplicationId", - "SemanticVersion", - ], }, - S7: { + Sc: { + type: "structure", + required: ["EncryptionType", "KeyId"], + members: { EncryptionType: {}, KeyId: {} }, + }, + So: { type: "structure", members: { Name: {}, LexRegion: {} } }, + St: { type: "list", member: { type: "structure", + required: ["QueueReference", "Priority", "Delay"], members: { - AllowedPattern: { locationName: "allowedPattern" }, - AllowedValues: { shape: "S3", locationName: "allowedValues" }, - ConstraintDescription: { - locationName: "constraintDescription", - }, - DefaultValue: { locationName: "defaultValue" }, - Description: { locationName: "description" }, - MaxLength: { locationName: "maxLength", type: "integer" }, - MaxValue: { locationName: "maxValue", type: "integer" }, - MinLength: { locationName: "minLength", type: "integer" }, - MinValue: { locationName: "minValue", type: "integer" }, - Name: { locationName: "name" }, - NoEcho: { locationName: "noEcho", type: "boolean" }, - ReferencedByResources: { - shape: "S3", - locationName: "referencedByResources", - }, - Type: { locationName: "type" }, + QueueReference: { shape: "Sv" }, + Priority: { type: "integer" }, + Delay: { type: "integer" }, }, - required: ["ReferencedByResources", "Name"], }, }, - Sa: { type: "list", member: {} }, Sv: { + type: "structure", + required: ["QueueId", "Channel"], + members: { QueueId: {}, Channel: {} }, + }, + S18: { type: "map", key: {}, value: {} }, + S1g: { type: "string", sensitive: true }, + S1v: { type: "list", member: { type: "structure", - members: { - Actions: { shape: "S3", locationName: "actions" }, - PrincipalOrgIDs: { - shape: "S3", - locationName: "principalOrgIDs", - }, - Principals: { shape: "S3", locationName: "principals" }, - StatementId: { locationName: "statementId" }, - }, - required: ["Principals", "Actions"], + required: ["Channel", "Concurrency"], + members: { Channel: {}, Concurrency: { type: "integer" } }, }, }, - }, - }; - - /***/ - }, - - /***/ 3253: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - DistributionDeployed: { - delay: 60, - operation: "GetDistribution", - maxAttempts: 25, - description: "Wait until a distribution is deployed.", - acceptors: [ - { - expected: "Deployed", - matcher: "path", - state: "success", - argument: "Distribution.Status", - }, - ], + S26: { + type: "structure", + members: { FirstName: {}, LastName: {}, Email: {} }, }, - InvalidationCompleted: { - delay: 20, - operation: "GetInvalidation", - maxAttempts: 30, - description: "Wait until an invalidation has completed.", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "Invalidation.Status", - }, - ], + S2a: { + type: "structure", + required: ["PhoneType"], + members: { + PhoneType: {}, + AutoAccept: { type: "boolean" }, + AfterContactWorkTimeLimit: { type: "integer" }, + DeskPhoneNumber: {}, + }, }, - StreamingDistributionDeployed: { - delay: 60, - operation: "GetStreamingDistribution", - maxAttempts: 25, - description: "Wait until a streaming distribution is deployed.", - acceptors: [ - { - expected: "Deployed", - matcher: "path", - state: "success", - argument: "StreamingDistribution.Status", + S2g: { type: "list", member: {} }, + S36: { type: "structure", members: { AttributeType: {}, Value: {} } }, + S3l: { type: "structure", members: { Id: {}, Arn: {}, Name: {} } }, + S3p: { type: "structure", members: { Id: {}, Arn: {}, Name: {} } }, + S41: { type: "map", key: {}, value: {} }, + S45: { + type: "structure", + members: { + Queues: { type: "list", member: {} }, + Channels: { type: "list", member: {} }, + }, + }, + S48: { type: "list", member: {} }, + S4b: { type: "structure", members: { Name: {}, Unit: {} } }, + S4j: { + type: "structure", + members: { + Queue: { type: "structure", members: { Id: {}, Arn: {} } }, + Channel: {}, + }, + }, + S4s: { type: "string", sensitive: true }, + S4v: { + type: "structure", + members: { + Name: {}, + Threshold: { + type: "structure", + members: { Comparison: {}, ThresholdValue: { type: "double" } }, }, - ], + Statistic: {}, + Unit: {}, + }, }, + S92: { type: "structure", required: ["Name"], members: { Name: {} } }, }, }; /***/ }, - /***/ 3260: /***/ function (module) { + /***/ 2667: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2018-04-01", - endpointPrefix: "quicksight", - jsonVersion: "1.0", - protocol: "rest-json", - serviceFullName: "Amazon QuickSight", - serviceId: "QuickSight", + apiVersion: "2012-06-01", + endpointPrefix: "elasticloadbalancing", + protocol: "query", + serviceFullName: "Elastic Load Balancing", + serviceId: "Elastic Load Balancing", signatureVersion: "v4", - uid: "quicksight-2018-04-01", + uid: "elasticloadbalancing-2012-06-01", + xmlNamespace: + "http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/", }, operations: { - CancelIngestion: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", - }, + AddTags: { input: { type: "structure", - required: ["AwsAccountId", "DataSetId", "IngestionId"], + required: ["LoadBalancerNames", "Tags"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - IngestionId: { location: "uri", locationName: "IngestionId" }, + LoadBalancerNames: { shape: "S2" }, + Tags: { shape: "S4" }, }, }, output: { + resultWrapper: "AddTagsResult", type: "structure", - members: { - Arn: {}, - IngestionId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: {}, }, }, - CreateDashboard: { - http: { - requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", - }, + ApplySecurityGroupsToLoadBalancer: { input: { type: "structure", - required: ["AwsAccountId", "DashboardId", "Name", "SourceEntity"], + required: ["LoadBalancerName", "SecurityGroups"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - Name: {}, - Parameters: { shape: "Sb" }, - Permissions: { shape: "St" }, - SourceEntity: { shape: "Sx" }, - Tags: { shape: "S11" }, - VersionDescription: {}, - DashboardPublishOptions: { shape: "S16" }, + LoadBalancerName: {}, + SecurityGroups: { shape: "Sa" }, }, }, output: { + resultWrapper: "ApplySecurityGroupsToLoadBalancerResult", type: "structure", - members: { - Arn: {}, - VersionArn: {}, - DashboardId: {}, - CreationStatus: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, + members: { SecurityGroups: { shape: "Sa" } }, }, }, - CreateDataSet: { - http: { requestUri: "/accounts/{AwsAccountId}/data-sets" }, + AttachLoadBalancerToSubnets: { input: { type: "structure", - required: [ - "AwsAccountId", - "DataSetId", - "Name", - "PhysicalTableMap", - "ImportMode", - ], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: {}, - Name: {}, - PhysicalTableMap: { shape: "S1h" }, - LogicalTableMap: { shape: "S21" }, - ImportMode: {}, - ColumnGroups: { shape: "S2s" }, - Permissions: { shape: "St" }, - RowLevelPermissionDataSet: { shape: "S2y" }, - Tags: { shape: "S11" }, - }, + required: ["LoadBalancerName", "Subnets"], + members: { LoadBalancerName: {}, Subnets: { shape: "Se" } }, }, output: { + resultWrapper: "AttachLoadBalancerToSubnetsResult", type: "structure", - members: { - Arn: {}, - DataSetId: {}, - IngestionArn: {}, - IngestionId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: { Subnets: { shape: "Se" } }, }, }, - CreateDataSource: { - http: { requestUri: "/accounts/{AwsAccountId}/data-sources" }, + ConfigureHealthCheck: { input: { type: "structure", - required: ["AwsAccountId", "DataSourceId", "Name", "Type"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: {}, - Name: {}, - Type: {}, - DataSourceParameters: { shape: "S33" }, - Credentials: { shape: "S43" }, - Permissions: { shape: "St" }, - VpcConnectionProperties: { shape: "S47" }, - SslProperties: { shape: "S48" }, - Tags: { shape: "S11" }, - }, + required: ["LoadBalancerName", "HealthCheck"], + members: { LoadBalancerName: {}, HealthCheck: { shape: "Si" } }, }, output: { + resultWrapper: "ConfigureHealthCheckResult", type: "structure", - members: { - Arn: {}, - DataSourceId: {}, - CreationStatus: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: { HealthCheck: { shape: "Si" } }, }, }, - CreateGroup: { - http: { - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups", - }, + CreateAppCookieStickinessPolicy: { input: { type: "structure", - required: ["GroupName", "AwsAccountId", "Namespace"], - members: { - GroupName: {}, - Description: {}, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, + required: ["LoadBalancerName", "PolicyName", "CookieName"], + members: { LoadBalancerName: {}, PolicyName: {}, CookieName: {} }, }, output: { + resultWrapper: "CreateAppCookieStickinessPolicyResult", type: "structure", - members: { - Group: { shape: "S4f" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: {}, }, }, - CreateGroupMembership: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}", - }, + CreateLBCookieStickinessPolicy: { input: { type: "structure", - required: [ - "MemberName", - "GroupName", - "AwsAccountId", - "Namespace", - ], + required: ["LoadBalancerName", "PolicyName"], members: { - MemberName: { location: "uri", locationName: "MemberName" }, - GroupName: { location: "uri", locationName: "GroupName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, + LoadBalancerName: {}, + PolicyName: {}, + CookieExpirationPeriod: { type: "long" }, }, }, output: { + resultWrapper: "CreateLBCookieStickinessPolicyResult", type: "structure", - members: { - GroupMember: { shape: "S4j" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: {}, }, }, - CreateIAMPolicyAssignment: { - http: { - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/", - }, + CreateLoadBalancer: { input: { type: "structure", - required: [ - "AwsAccountId", - "AssignmentName", - "AssignmentStatus", - "Namespace", - ], + required: ["LoadBalancerName", "Listeners"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - AssignmentName: {}, - AssignmentStatus: {}, - PolicyArn: {}, - Identities: { shape: "S4n" }, - Namespace: { location: "uri", locationName: "Namespace" }, + LoadBalancerName: {}, + Listeners: { shape: "Sx" }, + AvailabilityZones: { shape: "S13" }, + Subnets: { shape: "Se" }, + SecurityGroups: { shape: "Sa" }, + Scheme: {}, + Tags: { shape: "S4" }, }, }, output: { + resultWrapper: "CreateLoadBalancerResult", type: "structure", - members: { - AssignmentName: {}, - AssignmentId: {}, - AssignmentStatus: {}, - PolicyArn: {}, - Identities: { shape: "S4n" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: { DNSName: {} }, }, }, - CreateIngestion: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", - }, + CreateLoadBalancerListeners: { input: { type: "structure", - required: ["DataSetId", "IngestionId", "AwsAccountId"], - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - IngestionId: { location: "uri", locationName: "IngestionId" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - }, + required: ["LoadBalancerName", "Listeners"], + members: { LoadBalancerName: {}, Listeners: { shape: "Sx" } }, }, output: { + resultWrapper: "CreateLoadBalancerListenersResult", type: "structure", - members: { - Arn: {}, - IngestionId: {}, - IngestionStatus: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: {}, }, }, - CreateTemplate: { - http: { - requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", - }, + CreateLoadBalancerPolicy: { input: { type: "structure", - required: ["AwsAccountId", "TemplateId", "SourceEntity"], + required: ["LoadBalancerName", "PolicyName", "PolicyTypeName"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - Name: {}, - Permissions: { shape: "St" }, - SourceEntity: { shape: "S4w" }, - Tags: { shape: "S11" }, - VersionDescription: {}, + LoadBalancerName: {}, + PolicyName: {}, + PolicyTypeName: {}, + PolicyAttributes: { + type: "list", + member: { + type: "structure", + members: { AttributeName: {}, AttributeValue: {} }, + }, + }, }, }, output: { + resultWrapper: "CreateLoadBalancerPolicyResult", type: "structure", - members: { - Arn: {}, - VersionArn: {}, - TemplateId: {}, - CreationStatus: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, + members: {}, }, }, - CreateTemplateAlias: { - http: { - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", - }, + DeleteLoadBalancer: { input: { type: "structure", - required: [ - "AwsAccountId", - "TemplateId", - "AliasName", - "TemplateVersionNumber", - ], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - AliasName: { location: "uri", locationName: "AliasName" }, - TemplateVersionNumber: { type: "long" }, - }, + required: ["LoadBalancerName"], + members: { LoadBalancerName: {} }, }, output: { + resultWrapper: "DeleteLoadBalancerResult", type: "structure", - members: { - TemplateAlias: { shape: "S54" }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, + members: {}, }, }, - DeleteDashboard: { - http: { - method: "DELETE", - requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", - }, + DeleteLoadBalancerListeners: { input: { type: "structure", - required: ["AwsAccountId", "DashboardId"], + required: ["LoadBalancerName", "LoadBalancerPorts"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - VersionNumber: { - location: "querystring", - locationName: "version-number", - type: "long", + LoadBalancerName: {}, + LoadBalancerPorts: { + type: "list", + member: { type: "integer" }, }, }, }, output: { + resultWrapper: "DeleteLoadBalancerListenersResult", type: "structure", - members: { - Status: { location: "statusCode", type: "integer" }, - Arn: {}, - DashboardId: {}, - RequestId: {}, - }, + members: {}, }, }, - DeleteDataSet: { - http: { - method: "DELETE", - requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}", - }, + DeleteLoadBalancerPolicy: { input: { type: "structure", - required: ["AwsAccountId", "DataSetId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - }, + required: ["LoadBalancerName", "PolicyName"], + members: { LoadBalancerName: {}, PolicyName: {} }, }, output: { + resultWrapper: "DeleteLoadBalancerPolicyResult", type: "structure", - members: { - Arn: {}, - DataSetId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: {}, }, }, - DeleteDataSource: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/data-sources/{DataSourceId}", - }, + DeregisterInstancesFromLoadBalancer: { input: { type: "structure", - required: ["AwsAccountId", "DataSourceId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: { location: "uri", locationName: "DataSourceId" }, - }, + required: ["LoadBalancerName", "Instances"], + members: { LoadBalancerName: {}, Instances: { shape: "S1p" } }, }, output: { + resultWrapper: "DeregisterInstancesFromLoadBalancerResult", type: "structure", - members: { - Arn: {}, - DataSourceId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: { Instances: { shape: "S1p" } }, }, }, - DeleteGroup: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", - }, + DescribeAccountLimits: { input: { type: "structure", - required: ["GroupName", "AwsAccountId", "Namespace"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, + members: { Marker: {}, PageSize: { type: "integer" } }, }, output: { + resultWrapper: "DescribeAccountLimitsResult", type: "structure", members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + Limits: { + type: "list", + member: { type: "structure", members: { Name: {}, Max: {} } }, + }, + NextMarker: {}, }, }, }, - DeleteGroupMembership: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}", - }, + DescribeInstanceHealth: { input: { type: "structure", - required: [ - "MemberName", - "GroupName", - "AwsAccountId", - "Namespace", - ], - members: { - MemberName: { location: "uri", locationName: "MemberName" }, - GroupName: { location: "uri", locationName: "GroupName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, + required: ["LoadBalancerName"], + members: { LoadBalancerName: {}, Instances: { shape: "S1p" } }, }, output: { + resultWrapper: "DescribeInstanceHealthResult", type: "structure", members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + InstanceStates: { + type: "list", + member: { + type: "structure", + members: { + InstanceId: {}, + State: {}, + ReasonCode: {}, + Description: {}, + }, + }, + }, }, }, }, - DeleteIAMPolicyAssignment: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}", + DescribeLoadBalancerAttributes: { + input: { + type: "structure", + required: ["LoadBalancerName"], + members: { LoadBalancerName: {} }, + }, + output: { + resultWrapper: "DescribeLoadBalancerAttributesResult", + type: "structure", + members: { LoadBalancerAttributes: { shape: "S2a" } }, }, + }, + DescribeLoadBalancerPolicies: { input: { type: "structure", - required: ["AwsAccountId", "AssignmentName", "Namespace"], + members: { LoadBalancerName: {}, PolicyNames: { shape: "S2s" } }, + }, + output: { + resultWrapper: "DescribeLoadBalancerPoliciesResult", + type: "structure", members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - AssignmentName: { - location: "uri", - locationName: "AssignmentName", + PolicyDescriptions: { + type: "list", + member: { + type: "structure", + members: { + PolicyName: {}, + PolicyTypeName: {}, + PolicyAttributeDescriptions: { + type: "list", + member: { + type: "structure", + members: { AttributeName: {}, AttributeValue: {} }, + }, + }, + }, + }, }, - Namespace: { location: "uri", locationName: "Namespace" }, }, }, + }, + DescribeLoadBalancerPolicyTypes: { + input: { + type: "structure", + members: { PolicyTypeNames: { type: "list", member: {} } }, + }, output: { + resultWrapper: "DescribeLoadBalancerPolicyTypesResult", type: "structure", members: { - AssignmentName: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + PolicyTypeDescriptions: { + type: "list", + member: { + type: "structure", + members: { + PolicyTypeName: {}, + Description: {}, + PolicyAttributeTypeDescriptions: { + type: "list", + member: { + type: "structure", + members: { + AttributeName: {}, + AttributeType: {}, + Description: {}, + DefaultValue: {}, + Cardinality: {}, + }, + }, + }, + }, + }, + }, }, }, }, - DeleteTemplate: { - http: { - method: "DELETE", - requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", - }, + DescribeLoadBalancers: { input: { type: "structure", - required: ["AwsAccountId", "TemplateId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - VersionNumber: { - location: "querystring", - locationName: "version-number", - type: "long", - }, + LoadBalancerNames: { shape: "S2" }, + Marker: {}, + PageSize: { type: "integer" }, }, }, output: { + resultWrapper: "DescribeLoadBalancersResult", type: "structure", members: { - RequestId: {}, - Arn: {}, - TemplateId: {}, - Status: { location: "statusCode", type: "integer" }, + LoadBalancerDescriptions: { + type: "list", + member: { + type: "structure", + members: { + LoadBalancerName: {}, + DNSName: {}, + CanonicalHostedZoneName: {}, + CanonicalHostedZoneNameID: {}, + ListenerDescriptions: { + type: "list", + member: { + type: "structure", + members: { + Listener: { shape: "Sy" }, + PolicyNames: { shape: "S2s" }, + }, + }, + }, + Policies: { + type: "structure", + members: { + AppCookieStickinessPolicies: { + type: "list", + member: { + type: "structure", + members: { PolicyName: {}, CookieName: {} }, + }, + }, + LBCookieStickinessPolicies: { + type: "list", + member: { + type: "structure", + members: { + PolicyName: {}, + CookieExpirationPeriod: { type: "long" }, + }, + }, + }, + OtherPolicies: { shape: "S2s" }, + }, + }, + BackendServerDescriptions: { + type: "list", + member: { + type: "structure", + members: { + InstancePort: { type: "integer" }, + PolicyNames: { shape: "S2s" }, + }, + }, + }, + AvailabilityZones: { shape: "S13" }, + Subnets: { shape: "Se" }, + VPCId: {}, + Instances: { shape: "S1p" }, + HealthCheck: { shape: "Si" }, + SourceSecurityGroup: { + type: "structure", + members: { OwnerAlias: {}, GroupName: {} }, + }, + SecurityGroups: { shape: "Sa" }, + CreatedTime: { type: "timestamp" }, + Scheme: {}, + }, + }, + }, + NextMarker: {}, }, }, }, - DeleteTemplateAlias: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", - }, + DescribeTags: { input: { type: "structure", - required: ["AwsAccountId", "TemplateId", "AliasName"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - AliasName: { location: "uri", locationName: "AliasName" }, - }, + required: ["LoadBalancerNames"], + members: { LoadBalancerNames: { type: "list", member: {} } }, }, output: { + resultWrapper: "DescribeTagsResult", type: "structure", members: { - Status: { location: "statusCode", type: "integer" }, - TemplateId: {}, - AliasName: {}, - Arn: {}, - RequestId: {}, + TagDescriptions: { + type: "list", + member: { + type: "structure", + members: { LoadBalancerName: {}, Tags: { shape: "S4" } }, + }, + }, }, }, }, - DeleteUser: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", + DetachLoadBalancerFromSubnets: { + input: { + type: "structure", + required: ["LoadBalancerName", "Subnets"], + members: { LoadBalancerName: {}, Subnets: { shape: "Se" } }, + }, + output: { + resultWrapper: "DetachLoadBalancerFromSubnetsResult", + type: "structure", + members: { Subnets: { shape: "Se" } }, }, + }, + DisableAvailabilityZonesForLoadBalancer: { input: { type: "structure", - required: ["UserName", "AwsAccountId", "Namespace"], + required: ["LoadBalancerName", "AvailabilityZones"], members: { - UserName: { location: "uri", locationName: "UserName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, + LoadBalancerName: {}, + AvailabilityZones: { shape: "S13" }, }, }, output: { + resultWrapper: "DisableAvailabilityZonesForLoadBalancerResult", + type: "structure", + members: { AvailabilityZones: { shape: "S13" } }, + }, + }, + EnableAvailabilityZonesForLoadBalancer: { + input: { type: "structure", + required: ["LoadBalancerName", "AvailabilityZones"], members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + LoadBalancerName: {}, + AvailabilityZones: { shape: "S13" }, }, }, - }, - DeleteUserByPrincipalId: { - http: { - method: "DELETE", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}", + output: { + resultWrapper: "EnableAvailabilityZonesForLoadBalancerResult", + type: "structure", + members: { AvailabilityZones: { shape: "S13" } }, }, + }, + ModifyLoadBalancerAttributes: { input: { type: "structure", - required: ["PrincipalId", "AwsAccountId", "Namespace"], + required: ["LoadBalancerName", "LoadBalancerAttributes"], members: { - PrincipalId: { location: "uri", locationName: "PrincipalId" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, + LoadBalancerName: {}, + LoadBalancerAttributes: { shape: "S2a" }, }, }, output: { + resultWrapper: "ModifyLoadBalancerAttributesResult", type: "structure", members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + LoadBalancerName: {}, + LoadBalancerAttributes: { shape: "S2a" }, }, }, }, - DescribeDashboard: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", - }, + RegisterInstancesWithLoadBalancer: { input: { type: "structure", - required: ["AwsAccountId", "DashboardId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - VersionNumber: { - location: "querystring", - locationName: "version-number", - type: "long", - }, - AliasName: { - location: "querystring", - locationName: "alias-name", - }, - }, + required: ["LoadBalancerName", "Instances"], + members: { LoadBalancerName: {}, Instances: { shape: "S1p" } }, }, output: { + resultWrapper: "RegisterInstancesWithLoadBalancerResult", type: "structure", - members: { - Dashboard: { - type: "structure", - members: { - DashboardId: {}, - Arn: {}, - Name: {}, - Version: { - type: "structure", - members: { - CreatedTime: { type: "timestamp" }, - Errors: { - type: "list", - member: { - type: "structure", - members: { Type: {}, Message: {} }, - }, - }, - VersionNumber: { type: "long" }, - Status: {}, - Arn: {}, - SourceEntityArn: {}, - Description: {}, - }, - }, - CreatedTime: { type: "timestamp" }, - LastPublishedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - }, - }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, + members: { Instances: { shape: "S1p" } }, }, }, - DescribeDashboardPermissions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions", - }, + RemoveTags: { input: { type: "structure", - required: ["AwsAccountId", "DashboardId"], + required: ["LoadBalancerNames", "Tags"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, + LoadBalancerNames: { shape: "S2" }, + Tags: { + type: "list", + member: { type: "structure", members: { Key: {} } }, + }, }, }, output: { + resultWrapper: "RemoveTagsResult", type: "structure", - members: { - DashboardId: {}, - DashboardArn: {}, - Permissions: { shape: "St" }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, + members: {}, }, }, - DescribeDataSet: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}", - }, + SetLoadBalancerListenerSSLCertificate: { input: { type: "structure", - required: ["AwsAccountId", "DataSetId"], + required: [ + "LoadBalancerName", + "LoadBalancerPort", + "SSLCertificateId", + ], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, + LoadBalancerName: {}, + LoadBalancerPort: { type: "integer" }, + SSLCertificateId: {}, }, }, output: { + resultWrapper: "SetLoadBalancerListenerSSLCertificateResult", type: "structure", - members: { - DataSet: { - type: "structure", - members: { - Arn: {}, - DataSetId: {}, - Name: {}, - CreatedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - PhysicalTableMap: { shape: "S1h" }, - LogicalTableMap: { shape: "S21" }, - OutputColumns: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Type: {} }, - }, - }, - ImportMode: {}, - ConsumedSpiceCapacityInBytes: { type: "long" }, - ColumnGroups: { shape: "S2s" }, - RowLevelPermissionDataSet: { shape: "S2y" }, - }, - }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: {}, }, }, - DescribeDataSetPermissions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions", - }, + SetLoadBalancerPoliciesForBackendServer: { input: { type: "structure", - required: ["AwsAccountId", "DataSetId"], + required: ["LoadBalancerName", "InstancePort", "PolicyNames"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, + LoadBalancerName: {}, + InstancePort: { type: "integer" }, + PolicyNames: { shape: "S2s" }, }, }, output: { + resultWrapper: "SetLoadBalancerPoliciesForBackendServerResult", type: "structure", - members: { - DataSetArn: {}, - DataSetId: {}, - Permissions: { shape: "St" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: {}, }, }, - DescribeDataSource: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/data-sources/{DataSourceId}", - }, + SetLoadBalancerPoliciesOfListener: { input: { type: "structure", - required: ["AwsAccountId", "DataSourceId"], + required: ["LoadBalancerName", "LoadBalancerPort", "PolicyNames"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: { location: "uri", locationName: "DataSourceId" }, + LoadBalancerName: {}, + LoadBalancerPort: { type: "integer" }, + PolicyNames: { shape: "S2s" }, }, }, output: { + resultWrapper: "SetLoadBalancerPoliciesOfListenerResult", type: "structure", - members: { - DataSource: { shape: "S68" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: {}, }, }, - DescribeDataSourcePermissions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions", + }, + shapes: { + S2: { type: "list", member: {} }, + S4: { + type: "list", + member: { + type: "structure", + required: ["Key"], + members: { Key: {}, Value: {} }, + }, + }, + Sa: { type: "list", member: {} }, + Se: { type: "list", member: {} }, + Si: { + type: "structure", + required: [ + "Target", + "Interval", + "Timeout", + "UnhealthyThreshold", + "HealthyThreshold", + ], + members: { + Target: {}, + Interval: { type: "integer" }, + Timeout: { type: "integer" }, + UnhealthyThreshold: { type: "integer" }, + HealthyThreshold: { type: "integer" }, + }, + }, + Sx: { type: "list", member: { shape: "Sy" } }, + Sy: { + type: "structure", + required: ["Protocol", "LoadBalancerPort", "InstancePort"], + members: { + Protocol: {}, + LoadBalancerPort: { type: "integer" }, + InstanceProtocol: {}, + InstancePort: { type: "integer" }, + SSLCertificateId: {}, + }, + }, + S13: { type: "list", member: {} }, + S1p: { + type: "list", + member: { type: "structure", members: { InstanceId: {} } }, + }, + S2a: { + type: "structure", + members: { + CrossZoneLoadBalancing: { + type: "structure", + required: ["Enabled"], + members: { Enabled: { type: "boolean" } }, + }, + AccessLog: { + type: "structure", + required: ["Enabled"], + members: { + Enabled: { type: "boolean" }, + S3BucketName: {}, + EmitInterval: { type: "integer" }, + S3BucketPrefix: {}, + }, + }, + ConnectionDraining: { + type: "structure", + required: ["Enabled"], + members: { + Enabled: { type: "boolean" }, + Timeout: { type: "integer" }, + }, + }, + ConnectionSettings: { + type: "structure", + required: ["IdleTimeout"], + members: { IdleTimeout: { type: "integer" } }, + }, + AdditionalAttributes: { + type: "list", + member: { type: "structure", members: { Key: {}, Value: {} } }, + }, }, + }, + S2s: { type: "list", member: {} }, + }, + }; + + /***/ + }, + + /***/ 2673: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["servicecatalog"] = {}; + AWS.ServiceCatalog = Service.defineService("servicecatalog", [ + "2015-12-10", + ]); + Object.defineProperty( + apiLoader.services["servicecatalog"], + "2015-12-10", + { + get: function get() { + var model = __webpack_require__(4008); + model.paginators = __webpack_require__(1656).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.ServiceCatalog; + + /***/ + }, + + /***/ 2674: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = authenticate; + + const { Deprecation } = __webpack_require__(7692); + const once = __webpack_require__(6049); + + const deprecateAuthenticate = once((log, deprecation) => + log.warn(deprecation) + ); + + function authenticate(state, options) { + deprecateAuthenticate( + state.octokit.log, + new Deprecation( + '[@octokit/rest] octokit.authenticate() is deprecated. Use "auth" constructor option instead.' + ) + ); + + if (!options) { + state.auth = false; + return; + } + + switch (options.type) { + case "basic": + if (!options.username || !options.password) { + throw new Error( + "Basic authentication requires both a username and password to be set" + ); + } + break; + + case "oauth": + if (!options.token && !(options.key && options.secret)) { + throw new Error( + "OAuth2 authentication requires a token or key & secret to be set" + ); + } + break; + + case "token": + case "app": + if (!options.token) { + throw new Error( + "Token authentication requires a token to be set" + ); + } + break; + + default: + throw new Error( + "Invalid authentication type, must be 'basic', 'oauth', 'token' or 'app'" + ); + } + + state.auth = options; + } + + /***/ + }, + + /***/ 2678: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); + + AWS.util.hideProperties(AWS, ["SimpleWorkflow"]); + + /** + * @constant + * @readonly + * Backwards compatibility for access to the {AWS.SWF} service class. + */ + AWS.SimpleWorkflow = AWS.SWF; + + /***/ + }, + + /***/ 2681: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 2696: /***/ function (module) { + "use strict"; + + /*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ + + function isObject(val) { + return ( + val != null && typeof val === "object" && Array.isArray(val) === false + ); + } + + /*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ + + function isObjectObject(o) { + return ( + isObject(o) === true && + Object.prototype.toString.call(o) === "[object Object]" + ); + } + + function isPlainObject(o) { + var ctor, prot; + + if (isObjectObject(o) === false) return false; + + // If has modified constructor + ctor = o.constructor; + if (typeof ctor !== "function") return false; + + // If has modified prototype + prot = ctor.prototype; + if (isObjectObject(prot) === false) return false; + + // If constructor does not have an Object-specific method + if (prot.hasOwnProperty("isPrototypeOf") === false) { + return false; + } + + // Most likely a plain Object + return true; + } + + module.exports = isPlainObject; + + /***/ + }, + + /***/ 2699: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2015-04-16", + endpointPrefix: "ds", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "Directory Service", + serviceFullName: "AWS Directory Service", + serviceId: "Directory Service", + signatureVersion: "v4", + targetPrefix: "DirectoryService_20150416", + uid: "ds-2015-04-16", + }, + operations: { + AcceptSharedDirectory: { input: { type: "structure", - required: ["AwsAccountId", "DataSourceId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: { location: "uri", locationName: "DataSourceId" }, - }, + required: ["SharedDirectoryId"], + members: { SharedDirectoryId: {} }, }, output: { type: "structure", - members: { - DataSourceArn: {}, - DataSourceId: {}, - Permissions: { shape: "St" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: { SharedDirectory: { shape: "S4" } }, }, }, - DescribeGroup: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", - }, + AddIpRoutes: { input: { type: "structure", - required: ["GroupName", "AwsAccountId", "Namespace"], + required: ["DirectoryId", "IpRoutes"], members: { - GroupName: { location: "uri", locationName: "GroupName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, + DirectoryId: {}, + IpRoutes: { + type: "list", + member: { + type: "structure", + members: { CidrIp: {}, Description: {} }, + }, + }, + UpdateSecurityGroupForDirectoryControllers: { type: "boolean" }, }, }, - output: { + output: { type: "structure", members: {} }, + }, + AddRegion: { + input: { type: "structure", + required: ["DirectoryId", "RegionName", "VPCSettings"], members: { - Group: { shape: "S4f" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + DirectoryId: {}, + RegionName: {}, + VPCSettings: { shape: "Sk" }, }, }, + output: { type: "structure", members: {} }, }, - DescribeIAMPolicyAssignment: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}", + AddTagsToResource: { + input: { + type: "structure", + required: ["ResourceId", "Tags"], + members: { ResourceId: {}, Tags: { shape: "Sr" } }, }, + output: { type: "structure", members: {} }, + }, + CancelSchemaExtension: { input: { type: "structure", - required: ["AwsAccountId", "AssignmentName", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - AssignmentName: { - location: "uri", - locationName: "AssignmentName", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, + required: ["DirectoryId", "SchemaExtensionId"], + members: { DirectoryId: {}, SchemaExtensionId: {} }, }, - output: { + output: { type: "structure", members: {} }, + }, + ConnectDirectory: { + input: { type: "structure", + required: ["Name", "Password", "Size", "ConnectSettings"], members: { - IAMPolicyAssignment: { + Name: {}, + ShortName: {}, + Password: { shape: "S12" }, + Description: {}, + Size: {}, + ConnectSettings: { type: "structure", + required: [ + "VpcId", + "SubnetIds", + "CustomerDnsIps", + "CustomerUserName", + ], members: { - AwsAccountId: {}, - AssignmentId: {}, - AssignmentName: {}, - PolicyArn: {}, - Identities: { shape: "S4n" }, - AssignmentStatus: {}, + VpcId: {}, + SubnetIds: { shape: "Sm" }, + CustomerDnsIps: { shape: "S15" }, + CustomerUserName: {}, }, }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + Tags: { shape: "Sr" }, }, }, + output: { type: "structure", members: { DirectoryId: {} } }, }, - DescribeIngestion: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", - }, + CreateAlias: { input: { type: "structure", - required: ["AwsAccountId", "DataSetId", "IngestionId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - IngestionId: { location: "uri", locationName: "IngestionId" }, - }, + required: ["DirectoryId", "Alias"], + members: { DirectoryId: {}, Alias: {} }, }, output: { type: "structure", - members: { - Ingestion: { shape: "S6k" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: { DirectoryId: {}, Alias: {} }, }, }, - DescribeTemplate: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", - }, + CreateComputer: { input: { type: "structure", - required: ["AwsAccountId", "TemplateId"], + required: ["DirectoryId", "ComputerName", "Password"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - VersionNumber: { - location: "querystring", - locationName: "version-number", - type: "long", - }, - AliasName: { - location: "querystring", - locationName: "alias-name", - }, + DirectoryId: {}, + ComputerName: {}, + Password: { type: "string", sensitive: true }, + OrganizationalUnitDistinguishedName: {}, + ComputerAttributes: { shape: "S1g" }, }, }, output: { type: "structure", members: { - Template: { + Computer: { type: "structure", members: { - Arn: {}, - Name: {}, - Version: { - type: "structure", - members: { - CreatedTime: { type: "timestamp" }, - Errors: { - type: "list", - member: { - type: "structure", - members: { Type: {}, Message: {} }, - }, - }, - VersionNumber: { type: "long" }, - Status: {}, - DataSetConfigurations: { - type: "list", - member: { - type: "structure", - members: { - Placeholder: {}, - DataSetSchema: { - type: "structure", - members: { - ColumnSchemaList: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - DataType: {}, - GeographicRole: {}, - }, - }, - }, - }, - }, - ColumnGroupSchemaList: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - ColumnGroupColumnSchemaList: { - type: "list", - member: { - type: "structure", - members: { Name: {} }, - }, - }, - }, - }, - }, - }, - }, - }, - Description: {}, - SourceEntityArn: {}, - }, - }, - TemplateId: {}, - LastUpdatedTime: { type: "timestamp" }, - CreatedTime: { type: "timestamp" }, + ComputerId: {}, + ComputerName: {}, + ComputerAttributes: { shape: "S1g" }, }, }, - Status: { location: "statusCode", type: "integer" }, }, }, }, - DescribeTemplateAlias: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", - }, + CreateConditionalForwarder: { input: { type: "structure", - required: ["AwsAccountId", "TemplateId", "AliasName"], + required: ["DirectoryId", "RemoteDomainName", "DnsIpAddrs"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - AliasName: { location: "uri", locationName: "AliasName" }, + DirectoryId: {}, + RemoteDomainName: {}, + DnsIpAddrs: { shape: "S15" }, }, }, - output: { + output: { type: "structure", members: {} }, + }, + CreateDirectory: { + input: { type: "structure", + required: ["Name", "Password", "Size"], members: { - TemplateAlias: { shape: "S54" }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, + Name: {}, + ShortName: {}, + Password: { shape: "S1r" }, + Description: {}, + Size: {}, + VpcSettings: { shape: "Sk" }, + Tags: { shape: "Sr" }, }, }, + output: { type: "structure", members: { DirectoryId: {} } }, }, - DescribeTemplatePermissions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions", + CreateLogSubscription: { + input: { + type: "structure", + required: ["DirectoryId", "LogGroupName"], + members: { DirectoryId: {}, LogGroupName: {} }, }, + output: { type: "structure", members: {} }, + }, + CreateMicrosoftAD: { input: { type: "structure", - required: ["AwsAccountId", "TemplateId"], + required: ["Name", "Password", "VpcSettings"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, + Name: {}, + ShortName: {}, + Password: { shape: "S1r" }, + Description: {}, + VpcSettings: { shape: "Sk" }, + Edition: {}, + Tags: { shape: "Sr" }, }, }, - output: { + output: { type: "structure", members: { DirectoryId: {} } }, + }, + CreateSnapshot: { + input: { + type: "structure", + required: ["DirectoryId"], + members: { DirectoryId: {}, Name: {} }, + }, + output: { type: "structure", members: { SnapshotId: {} } }, + }, + CreateTrust: { + input: { type: "structure", + required: [ + "DirectoryId", + "RemoteDomainName", + "TrustPassword", + "TrustDirection", + ], members: { - TemplateId: {}, - TemplateArn: {}, - Permissions: { shape: "St" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + DirectoryId: {}, + RemoteDomainName: {}, + TrustPassword: { type: "string", sensitive: true }, + TrustDirection: {}, + TrustType: {}, + ConditionalForwarderIpAddrs: { shape: "S15" }, + SelectiveAuth: {}, }, }, + output: { type: "structure", members: { TrustId: {} } }, }, - DescribeUser: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", + DeleteConditionalForwarder: { + input: { + type: "structure", + required: ["DirectoryId", "RemoteDomainName"], + members: { DirectoryId: {}, RemoteDomainName: {} }, }, + output: { type: "structure", members: {} }, + }, + DeleteDirectory: { input: { type: "structure", - required: ["UserName", "AwsAccountId", "Namespace"], - members: { - UserName: { location: "uri", locationName: "UserName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, + required: ["DirectoryId"], + members: { DirectoryId: {} }, }, - output: { + output: { type: "structure", members: { DirectoryId: {} } }, + }, + DeleteLogSubscription: { + input: { type: "structure", - members: { - User: { shape: "S7f" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + required: ["DirectoryId"], + members: { DirectoryId: {} }, }, + output: { type: "structure", members: {} }, }, - GetDashboardEmbedUrl: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url", + DeleteSnapshot: { + input: { + type: "structure", + required: ["SnapshotId"], + members: { SnapshotId: {} }, }, + output: { type: "structure", members: { SnapshotId: {} } }, + }, + DeleteTrust: { input: { type: "structure", - required: ["AwsAccountId", "DashboardId", "IdentityType"], + required: ["TrustId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - IdentityType: { - location: "querystring", - locationName: "creds-type", - }, - SessionLifetimeInMinutes: { - location: "querystring", - locationName: "session-lifetime", - type: "long", - }, - UndoRedoDisabled: { - location: "querystring", - locationName: "undo-redo-disabled", - type: "boolean", - }, - ResetDisabled: { - location: "querystring", - locationName: "reset-disabled", - type: "boolean", - }, - UserArn: { location: "querystring", locationName: "user-arn" }, + TrustId: {}, + DeleteAssociatedConditionalForwarder: { type: "boolean" }, }, }, + output: { type: "structure", members: { TrustId: {} } }, + }, + DeregisterCertificate: { + input: { + type: "structure", + required: ["DirectoryId", "CertificateId"], + members: { DirectoryId: {}, CertificateId: {} }, + }, + output: { type: "structure", members: {} }, + }, + DeregisterEventTopic: { + input: { + type: "structure", + required: ["DirectoryId", "TopicName"], + members: { DirectoryId: {}, TopicName: {} }, + }, + output: { type: "structure", members: {} }, + }, + DescribeCertificate: { + input: { + type: "structure", + required: ["DirectoryId", "CertificateId"], + members: { DirectoryId: {}, CertificateId: {} }, + }, output: { type: "structure", members: { - EmbedUrl: { type: "string", sensitive: true }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, + Certificate: { + type: "structure", + members: { + CertificateId: {}, + State: {}, + StateReason: {}, + CommonName: {}, + RegisteredDateTime: { type: "timestamp" }, + ExpiryDateTime: { type: "timestamp" }, + Type: {}, + ClientCertAuthSettings: { shape: "S30" }, + }, + }, }, }, }, - ListDashboardVersions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions", - }, + DescribeConditionalForwarders: { input: { type: "structure", - required: ["AwsAccountId", "DashboardId"], + required: ["DirectoryId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, + DirectoryId: {}, + RemoteDomainNames: { type: "list", member: {} }, }, }, output: { type: "structure", members: { - DashboardVersionSummaryList: { + ConditionalForwarders: { type: "list", member: { type: "structure", members: { - Arn: {}, - CreatedTime: { type: "timestamp" }, - VersionNumber: { type: "long" }, - Status: {}, - SourceEntityArn: {}, - Description: {}, + RemoteDomainName: {}, + DnsIpAddrs: { shape: "S15" }, + ReplicationScope: {}, }, }, }, - NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, }, }, }, - ListDashboards: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/dashboards", - }, + DescribeDirectories: { input: { type: "structure", - required: ["AwsAccountId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, + DirectoryIds: { shape: "S39" }, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - DashboardSummaryList: { shape: "S7u" }, + DirectoryDescriptions: { + type: "list", + member: { + type: "structure", + members: { + DirectoryId: {}, + Name: {}, + ShortName: {}, + Size: {}, + Edition: {}, + Alias: {}, + AccessUrl: {}, + Description: {}, + DnsIpAddrs: { shape: "S15" }, + Stage: {}, + ShareStatus: {}, + ShareMethod: {}, + ShareNotes: { shape: "S8" }, + LaunchTime: { type: "timestamp" }, + StageLastUpdatedDateTime: { type: "timestamp" }, + Type: {}, + VpcSettings: { shape: "S3j" }, + ConnectSettings: { + type: "structure", + members: { + VpcId: {}, + SubnetIds: { shape: "Sm" }, + CustomerUserName: {}, + SecurityGroupId: {}, + AvailabilityZones: { shape: "S3l" }, + ConnectIps: { type: "list", member: {} }, + }, + }, + RadiusSettings: { shape: "S3p" }, + RadiusStatus: {}, + StageReason: {}, + SsoEnabled: { type: "boolean" }, + DesiredNumberOfDomainControllers: { type: "integer" }, + OwnerDirectoryDescription: { + type: "structure", + members: { + DirectoryId: {}, + AccountId: {}, + DnsIpAddrs: { shape: "S15" }, + VpcSettings: { shape: "S3j" }, + RadiusSettings: { shape: "S3p" }, + RadiusStatus: {}, + }, + }, + RegionsInfo: { + type: "structure", + members: { + PrimaryRegion: {}, + AdditionalRegions: { type: "list", member: {} }, + }, + }, + }, + }, + }, NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, }, }, }, - ListDataSets: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/data-sets", - }, + DescribeDomainControllers: { input: { type: "structure", - required: ["AwsAccountId"], + required: ["DirectoryId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, + DirectoryId: {}, + DomainControllerIds: { type: "list", member: {} }, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - DataSetSummaries: { + DomainControllers: { type: "list", member: { type: "structure", members: { - Arn: {}, - DataSetId: {}, - Name: {}, - CreatedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - ImportMode: {}, - RowLevelPermissionDataSet: { shape: "S2y" }, + DirectoryId: {}, + DomainControllerId: {}, + DnsIpAddr: {}, + VpcId: {}, + SubnetId: {}, + AvailabilityZone: {}, + Status: {}, + StatusReason: {}, + LaunchTime: { type: "timestamp" }, + StatusLastUpdatedDateTime: { type: "timestamp" }, }, }, }, NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, }, }, }, - ListDataSources: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/data-sources", - }, + DescribeEventTopics: { input: { type: "structure", - required: ["AwsAccountId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, + DirectoryId: {}, + TopicNames: { type: "list", member: {} }, }, }, output: { type: "structure", members: { - DataSources: { type: "list", member: { shape: "S68" } }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListGroupMemberships: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members", - }, - input: { - type: "structure", - required: ["GroupName", "AwsAccountId", "Namespace"], - members: { - GroupName: { location: "uri", locationName: "GroupName" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", + EventTopics: { + type: "list", + member: { + type: "structure", + members: { + DirectoryId: {}, + TopicName: {}, + TopicArn: {}, + CreatedDateTime: { type: "timestamp" }, + Status: {}, + }, + }, }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", - members: { - GroupMemberList: { type: "list", member: { shape: "S4j" } }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, }, }, }, - ListGroups: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups", - }, + DescribeLDAPSSettings: { input: { type: "structure", - required: ["AwsAccountId", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, - }, - output: { - type: "structure", + required: ["DirectoryId"], members: { - GroupList: { shape: "S88" }, + DirectoryId: {}, + Type: {}, NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListIAMPolicyAssignments: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments", - }, - input: { - type: "structure", - required: ["AwsAccountId", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - AssignmentStatus: {}, - Namespace: { location: "uri", locationName: "Namespace" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, + Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - IAMPolicyAssignments: { + LDAPSSettingsInfo: { type: "list", member: { type: "structure", - members: { AssignmentName: {}, AssignmentStatus: {} }, + members: { + LDAPSStatus: {}, + LDAPSStatusReason: {}, + LastUpdatedDateTime: { type: "timestamp" }, + }, }, }, NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, }, }, }, - ListIAMPolicyAssignmentsForUser: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments", - }, + DescribeRegions: { input: { type: "structure", - required: ["AwsAccountId", "UserName", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - UserName: { location: "uri", locationName: "UserName" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, + required: ["DirectoryId"], + members: { DirectoryId: {}, RegionName: {}, NextToken: {} }, }, output: { type: "structure", members: { - ActiveAssignments: { + RegionsDescription: { type: "list", member: { type: "structure", - members: { AssignmentName: {}, PolicyArn: {} }, + members: { + DirectoryId: {}, + RegionName: {}, + RegionType: {}, + Status: {}, + VpcSettings: { shape: "Sk" }, + DesiredNumberOfDomainControllers: { type: "integer" }, + LaunchTime: { type: "timestamp" }, + StatusLastUpdatedDateTime: { type: "timestamp" }, + LastUpdatedDateTime: { type: "timestamp" }, + }, }, }, - RequestId: {}, NextToken: {}, - Status: { location: "statusCode", type: "integer" }, }, }, }, - ListIngestions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions", - }, + DescribeSharedDirectories: { input: { type: "structure", - required: ["DataSetId", "AwsAccountId"], - members: { - DataSetId: { location: "uri", locationName: "DataSetId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - }, - }, - output: { - type: "structure", + required: ["OwnerDirectoryId"], members: { - Ingestions: { type: "list", member: { shape: "S6k" } }, + OwnerDirectoryId: {}, + SharedDirectoryIds: { shape: "S39" }, NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListTagsForResource: { - http: { - method: "GET", - requestUri: "/resources/{ResourceArn}/tags", - }, - input: { - type: "structure", - required: ["ResourceArn"], - members: { - ResourceArn: { location: "uri", locationName: "ResourceArn" }, - }, - }, - output: { - type: "structure", - members: { - Tags: { shape: "S11" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, - }, - }, - ListTemplateAliases: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases", - }, - input: { - type: "structure", - required: ["AwsAccountId", "TemplateId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-result", - type: "integer", - }, + Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - TemplateAliasList: { type: "list", member: { shape: "S54" } }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, + SharedDirectories: { type: "list", member: { shape: "S4" } }, NextToken: {}, }, }, }, - ListTemplateVersions: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/versions", - }, + DescribeSnapshots: { input: { type: "structure", - required: ["AwsAccountId", "TemplateId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, + DirectoryId: {}, + SnapshotIds: { type: "list", member: {} }, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - TemplateVersionSummaryList: { + Snapshots: { type: "list", member: { type: "structure", members: { - Arn: {}, - VersionNumber: { type: "long" }, - CreatedTime: { type: "timestamp" }, + DirectoryId: {}, + SnapshotId: {}, + Type: {}, + Name: {}, Status: {}, - Description: {}, + StartTime: { type: "timestamp" }, }, }, }, NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, }, }, }, - ListTemplates: { - http: { - method: "GET", - requestUri: "/accounts/{AwsAccountId}/templates", - }, + DescribeTrusts: { input: { type: "structure", - required: ["AwsAccountId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-result", - type: "integer", - }, + DirectoryId: {}, + TrustIds: { type: "list", member: {} }, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - TemplateSummaryList: { + Trusts: { type: "list", member: { type: "structure", members: { - Arn: {}, - TemplateId: {}, - Name: {}, - LatestVersionNumber: { type: "long" }, - CreatedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, + DirectoryId: {}, + TrustId: {}, + RemoteDomainName: {}, + TrustType: {}, + TrustDirection: {}, + TrustState: {}, + CreatedDateTime: { type: "timestamp" }, + LastUpdatedDateTime: { type: "timestamp" }, + StateLastUpdatedDateTime: { type: "timestamp" }, + TrustStateReason: {}, + SelectiveAuth: {}, }, }, }, NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, }, }, }, - ListUserGroups: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups", - }, + DisableClientAuthentication: { input: { type: "structure", - required: ["UserName", "AwsAccountId", "Namespace"], - members: { - UserName: { location: "uri", locationName: "UserName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - }, - }, - output: { - type: "structure", - members: { - GroupList: { shape: "S88" }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + required: ["DirectoryId", "Type"], + members: { DirectoryId: {}, Type: {} }, }, + output: { type: "structure", members: {} }, }, - ListUsers: { - http: { - method: "GET", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users", - }, + DisableLDAPS: { input: { type: "structure", - required: ["AwsAccountId", "Namespace"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - NextToken: { - location: "querystring", - locationName: "next-token", - }, - MaxResults: { - location: "querystring", - locationName: "max-results", - type: "integer", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - }, + required: ["DirectoryId", "Type"], + members: { DirectoryId: {}, Type: {} }, }, - output: { + output: { type: "structure", members: {} }, + }, + DisableRadius: { + input: { type: "structure", - members: { - UserList: { type: "list", member: { shape: "S7f" } }, - NextToken: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + required: ["DirectoryId"], + members: { DirectoryId: {} }, }, + output: { type: "structure", members: {} }, }, - RegisterUser: { - http: { - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users", - }, + DisableSso: { input: { type: "structure", - required: [ - "IdentityType", - "Email", - "UserRole", - "AwsAccountId", - "Namespace", - ], + required: ["DirectoryId"], members: { - IdentityType: {}, - Email: {}, - UserRole: {}, - IamArn: {}, - SessionName: {}, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, + DirectoryId: {}, UserName: {}, + Password: { shape: "S12" }, }, }, - output: { + output: { type: "structure", members: {} }, + }, + EnableClientAuthentication: { + input: { type: "structure", - members: { - User: { shape: "S7f" }, - UserInvitationUrl: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + required: ["DirectoryId", "Type"], + members: { DirectoryId: {}, Type: {} }, }, + output: { type: "structure", members: {} }, }, - SearchDashboards: { - http: { requestUri: "/accounts/{AwsAccountId}/search/dashboards" }, + EnableLDAPS: { input: { type: "structure", - required: ["AwsAccountId", "Filters"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Filters: { - type: "list", - member: { - type: "structure", - required: ["Operator"], - members: { Operator: {}, Name: {}, Value: {} }, - }, - }, - NextToken: {}, - MaxResults: { type: "integer" }, - }, + required: ["DirectoryId", "Type"], + members: { DirectoryId: {}, Type: {} }, }, - output: { + output: { type: "structure", members: {} }, + }, + EnableRadius: { + input: { type: "structure", - members: { - DashboardSummaryList: { shape: "S7u" }, - NextToken: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, - }, + required: ["DirectoryId", "RadiusSettings"], + members: { DirectoryId: {}, RadiusSettings: { shape: "S3p" } }, }, + output: { type: "structure", members: {} }, }, - TagResource: { - http: { requestUri: "/resources/{ResourceArn}/tags" }, + EnableSso: { input: { type: "structure", - required: ["ResourceArn", "Tags"], + required: ["DirectoryId"], members: { - ResourceArn: { location: "uri", locationName: "ResourceArn" }, - Tags: { shape: "S11" }, + DirectoryId: {}, + UserName: {}, + Password: { shape: "S12" }, }, }, + output: { type: "structure", members: {} }, + }, + GetDirectoryLimits: { + input: { type: "structure", members: {} }, output: { type: "structure", members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + DirectoryLimits: { + type: "structure", + members: { + CloudOnlyDirectoriesLimit: { type: "integer" }, + CloudOnlyDirectoriesCurrentCount: { type: "integer" }, + CloudOnlyDirectoriesLimitReached: { type: "boolean" }, + CloudOnlyMicrosoftADLimit: { type: "integer" }, + CloudOnlyMicrosoftADCurrentCount: { type: "integer" }, + CloudOnlyMicrosoftADLimitReached: { type: "boolean" }, + ConnectedDirectoriesLimit: { type: "integer" }, + ConnectedDirectoriesCurrentCount: { type: "integer" }, + ConnectedDirectoriesLimitReached: { type: "boolean" }, + }, + }, }, }, }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/resources/{ResourceArn}/tags", - }, + GetSnapshotLimits: { input: { type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: { location: "uri", locationName: "ResourceArn" }, - TagKeys: { - location: "querystring", - locationName: "keys", - type: "list", - member: {}, - }, - }, + required: ["DirectoryId"], + members: { DirectoryId: {} }, }, output: { type: "structure", members: { - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + SnapshotLimits: { + type: "structure", + members: { + ManualSnapshotsLimit: { type: "integer" }, + ManualSnapshotsCurrentCount: { type: "integer" }, + ManualSnapshotsLimitReached: { type: "boolean" }, + }, + }, }, }, }, - UpdateDashboard: { - http: { - method: "PUT", - requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", - }, + ListCertificates: { input: { type: "structure", - required: ["AwsAccountId", "DashboardId", "Name", "SourceEntity"], + required: ["DirectoryId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - Name: {}, - SourceEntity: { shape: "Sx" }, - Parameters: { shape: "Sb" }, - VersionDescription: {}, - DashboardPublishOptions: { shape: "S16" }, + DirectoryId: {}, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - Arn: {}, - VersionArn: {}, - DashboardId: {}, - CreationStatus: {}, - Status: { type: "integer" }, - RequestId: {}, + NextToken: {}, + CertificatesInfo: { + type: "list", + member: { + type: "structure", + members: { + CertificateId: {}, + CommonName: {}, + State: {}, + ExpiryDateTime: { type: "timestamp" }, + Type: {}, + }, + }, + }, }, }, }, - UpdateDashboardPermissions: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions", - }, + ListIpRoutes: { input: { type: "structure", - required: ["AwsAccountId", "DashboardId"], + required: ["DirectoryId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - GrantPermissions: { shape: "S9k" }, - RevokePermissions: { shape: "S9k" }, + DirectoryId: {}, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - DashboardArn: {}, - DashboardId: {}, - Permissions: { shape: "St" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + IpRoutesInfo: { + type: "list", + member: { + type: "structure", + members: { + DirectoryId: {}, + CidrIp: {}, + IpRouteStatusMsg: {}, + AddedDateTime: { type: "timestamp" }, + IpRouteStatusReason: {}, + Description: {}, + }, + }, + }, + NextToken: {}, }, }, }, - UpdateDashboardPublishedVersion: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}", - }, + ListLogSubscriptions: { input: { type: "structure", - required: ["AwsAccountId", "DashboardId", "VersionNumber"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DashboardId: { location: "uri", locationName: "DashboardId" }, - VersionNumber: { - location: "uri", - locationName: "VersionNumber", - type: "long", - }, + DirectoryId: {}, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - DashboardId: {}, - DashboardArn: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, + LogSubscriptions: { + type: "list", + member: { + type: "structure", + members: { + DirectoryId: {}, + LogGroupName: {}, + SubscriptionCreatedDateTime: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, }, }, }, - UpdateDataSet: { - http: { - method: "PUT", - requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}", - }, + ListSchemaExtensions: { input: { type: "structure", - required: [ - "AwsAccountId", - "DataSetId", - "Name", - "PhysicalTableMap", - "ImportMode", - ], + required: ["DirectoryId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - Name: {}, - PhysicalTableMap: { shape: "S1h" }, - LogicalTableMap: { shape: "S21" }, - ImportMode: {}, - ColumnGroups: { shape: "S2s" }, - RowLevelPermissionDataSet: { shape: "S2y" }, + DirectoryId: {}, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", members: { - Arn: {}, - DataSetId: {}, - IngestionArn: {}, - IngestionId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + SchemaExtensionsInfo: { + type: "list", + member: { + type: "structure", + members: { + DirectoryId: {}, + SchemaExtensionId: {}, + Description: {}, + SchemaExtensionStatus: {}, + SchemaExtensionStatusReason: {}, + StartDateTime: { type: "timestamp" }, + EndDateTime: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, }, }, }, - UpdateDataSetPermissions: { - http: { - requestUri: - "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions", - }, + ListTagsForResource: { input: { type: "structure", - required: ["AwsAccountId", "DataSetId"], + required: ["ResourceId"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSetId: { location: "uri", locationName: "DataSetId" }, - GrantPermissions: { shape: "St" }, - RevokePermissions: { shape: "St" }, + ResourceId: {}, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", - members: { - DataSetArn: {}, - DataSetId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: { Tags: { shape: "Sr" }, NextToken: {} }, }, }, - UpdateDataSource: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/data-sources/{DataSourceId}", - }, + RegisterCertificate: { input: { type: "structure", - required: ["AwsAccountId", "DataSourceId", "Name"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: { location: "uri", locationName: "DataSourceId" }, - Name: {}, - DataSourceParameters: { shape: "S33" }, - Credentials: { shape: "S43" }, - VpcConnectionProperties: { shape: "S47" }, - SslProperties: { shape: "S48" }, - }, - }, - output: { - type: "structure", + required: ["DirectoryId", "CertificateData"], members: { - Arn: {}, - DataSourceId: {}, - UpdateStatus: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + DirectoryId: {}, + CertificateData: {}, + Type: {}, + ClientCertAuthSettings: { shape: "S30" }, }, }, + output: { type: "structure", members: { CertificateId: {} } }, }, - UpdateDataSourcePermissions: { - http: { - requestUri: - "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions", - }, + RegisterEventTopic: { input: { type: "structure", - required: ["AwsAccountId", "DataSourceId"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - DataSourceId: { location: "uri", locationName: "DataSourceId" }, - GrantPermissions: { shape: "St" }, - RevokePermissions: { shape: "St" }, - }, + required: ["DirectoryId", "TopicName"], + members: { DirectoryId: {}, TopicName: {} }, }, - output: { + output: { type: "structure", members: {} }, + }, + RejectSharedDirectory: { + input: { type: "structure", - members: { - DataSourceArn: {}, - DataSourceId: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + required: ["SharedDirectoryId"], + members: { SharedDirectoryId: {} }, }, + output: { type: "structure", members: { SharedDirectoryId: {} } }, }, - UpdateGroup: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", - }, + RemoveIpRoutes: { input: { type: "structure", - required: ["GroupName", "AwsAccountId", "Namespace"], + required: ["DirectoryId", "CidrIps"], members: { - GroupName: { location: "uri", locationName: "GroupName" }, - Description: {}, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, + DirectoryId: {}, + CidrIps: { type: "list", member: {} }, }, }, - output: { + output: { type: "structure", members: {} }, + }, + RemoveRegion: { + input: { type: "structure", - members: { - Group: { shape: "S4f" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + required: ["DirectoryId"], + members: { DirectoryId: {} }, }, + output: { type: "structure", members: {} }, }, - UpdateIAMPolicyAssignment: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}", - }, + RemoveTagsFromResource: { input: { type: "structure", - required: ["AwsAccountId", "AssignmentName", "Namespace"], + required: ["ResourceId", "TagKeys"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - AssignmentName: { - location: "uri", - locationName: "AssignmentName", - }, - Namespace: { location: "uri", locationName: "Namespace" }, - AssignmentStatus: {}, - PolicyArn: {}, - Identities: { shape: "S4n" }, + ResourceId: {}, + TagKeys: { type: "list", member: {} }, }, }, - output: { + output: { type: "structure", members: {} }, + }, + ResetUserPassword: { + input: { type: "structure", + required: ["DirectoryId", "UserName", "NewPassword"], members: { - AssignmentName: {}, - AssignmentId: {}, - PolicyArn: {}, - Identities: { shape: "S4n" }, - AssignmentStatus: {}, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, + DirectoryId: {}, + UserName: {}, + NewPassword: { type: "string", sensitive: true }, }, }, + output: { type: "structure", members: {} }, }, - UpdateTemplate: { - http: { - method: "PUT", - requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", - }, + RestoreFromSnapshot: { input: { type: "structure", - required: ["AwsAccountId", "TemplateId", "SourceEntity"], - members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - SourceEntity: { shape: "S4w" }, - VersionDescription: {}, - Name: {}, - }, + required: ["SnapshotId"], + members: { SnapshotId: {} }, }, - output: { + output: { type: "structure", members: {} }, + }, + ShareDirectory: { + input: { type: "structure", + required: ["DirectoryId", "ShareTarget", "ShareMethod"], members: { - TemplateId: {}, - Arn: {}, - VersionArn: {}, - CreationStatus: {}, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, + DirectoryId: {}, + ShareNotes: { shape: "S8" }, + ShareTarget: { + type: "structure", + required: ["Id", "Type"], + members: { Id: {}, Type: {} }, + }, + ShareMethod: {}, }, }, + output: { type: "structure", members: { SharedDirectoryId: {} } }, }, - UpdateTemplateAlias: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", - }, + StartSchemaExtension: { input: { type: "structure", required: [ - "AwsAccountId", - "TemplateId", - "AliasName", - "TemplateVersionNumber", + "DirectoryId", + "CreateSnapshotBeforeSchemaExtension", + "LdifContent", + "Description", ], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - AliasName: { location: "uri", locationName: "AliasName" }, - TemplateVersionNumber: { type: "long" }, + DirectoryId: {}, + CreateSnapshotBeforeSchemaExtension: { type: "boolean" }, + LdifContent: {}, + Description: {}, }, }, - output: { + output: { type: "structure", members: { SchemaExtensionId: {} } }, + }, + UnshareDirectory: { + input: { type: "structure", + required: ["DirectoryId", "UnshareTarget"], members: { - TemplateAlias: { shape: "S54" }, - Status: { location: "statusCode", type: "integer" }, - RequestId: {}, + DirectoryId: {}, + UnshareTarget: { + type: "structure", + required: ["Id", "Type"], + members: { Id: {}, Type: {} }, + }, }, }, + output: { type: "structure", members: { SharedDirectoryId: {} } }, }, - UpdateTemplatePermissions: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions", - }, + UpdateConditionalForwarder: { input: { type: "structure", - required: ["AwsAccountId", "TemplateId"], + required: ["DirectoryId", "RemoteDomainName", "DnsIpAddrs"], members: { - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - TemplateId: { location: "uri", locationName: "TemplateId" }, - GrantPermissions: { shape: "S9k" }, - RevokePermissions: { shape: "S9k" }, + DirectoryId: {}, + RemoteDomainName: {}, + DnsIpAddrs: { shape: "S15" }, }, }, - output: { + output: { type: "structure", members: {} }, + }, + UpdateNumberOfDomainControllers: { + input: { type: "structure", - members: { - TemplateId: {}, - TemplateArn: {}, - Permissions: { shape: "St" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + required: ["DirectoryId", "DesiredNumber"], + members: { DirectoryId: {}, DesiredNumber: { type: "integer" } }, }, + output: { type: "structure", members: {} }, }, - UpdateUser: { - http: { - method: "PUT", - requestUri: - "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", + UpdateRadius: { + input: { + type: "structure", + required: ["DirectoryId", "RadiusSettings"], + members: { DirectoryId: {}, RadiusSettings: { shape: "S3p" } }, }, + output: { type: "structure", members: {} }, + }, + UpdateTrust: { input: { type: "structure", - required: [ - "UserName", - "AwsAccountId", - "Namespace", - "Email", - "Role", - ], - members: { - UserName: { location: "uri", locationName: "UserName" }, - AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, - Namespace: { location: "uri", locationName: "Namespace" }, - Email: {}, - Role: {}, - }, + required: ["TrustId"], + members: { TrustId: {}, SelectiveAuth: {} }, }, output: { type: "structure", - members: { - User: { shape: "S7f" }, - RequestId: {}, - Status: { location: "statusCode", type: "integer" }, - }, + members: { RequestId: {}, TrustId: {} }, }, }, + VerifyTrust: { + input: { + type: "structure", + required: ["TrustId"], + members: { TrustId: {} }, + }, + output: { type: "structure", members: { TrustId: {} } }, + }, }, shapes: { - Sb: { + S4: { type: "structure", members: { - StringParameters: { - type: "list", - member: { - type: "structure", - required: ["Name", "Values"], - members: { Name: {}, Values: { type: "list", member: {} } }, - }, - }, - IntegerParameters: { - type: "list", - member: { - type: "structure", - required: ["Name", "Values"], - members: { - Name: {}, - Values: { type: "list", member: { type: "long" } }, - }, - }, - }, - DecimalParameters: { - type: "list", - member: { - type: "structure", - required: ["Name", "Values"], - members: { - Name: {}, - Values: { type: "list", member: { type: "double" } }, - }, - }, - }, - DateTimeParameters: { - type: "list", - member: { - type: "structure", - required: ["Name", "Values"], - members: { - Name: {}, - Values: { type: "list", member: { type: "timestamp" } }, - }, - }, - }, + OwnerAccountId: {}, + OwnerDirectoryId: {}, + ShareMethod: {}, + SharedAccountId: {}, + SharedDirectoryId: {}, + ShareStatus: {}, + ShareNotes: { shape: "S8" }, + CreatedDateTime: { type: "timestamp" }, + LastUpdatedDateTime: { type: "timestamp" }, }, }, - St: { type: "list", member: { shape: "Su" } }, - Su: { - type: "structure", - required: ["Principal", "Actions"], - members: { Principal: {}, Actions: { type: "list", member: {} } }, - }, - Sx: { + S8: { type: "string", sensitive: true }, + Sk: { type: "structure", - members: { - SourceTemplate: { - type: "structure", - required: ["DataSetReferences", "Arn"], - members: { DataSetReferences: { shape: "Sz" }, Arn: {} }, - }, - }, + required: ["VpcId", "SubnetIds"], + members: { VpcId: {}, SubnetIds: { shape: "Sm" } }, }, - Sz: { + Sm: { type: "list", member: {} }, + Sr: { type: "list", member: { type: "structure", - required: ["DataSetPlaceholder", "DataSetArn"], - members: { DataSetPlaceholder: {}, DataSetArn: {} }, + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, }, }, - S11: { + S12: { type: "string", sensitive: true }, + S15: { type: "list", member: {} }, + S1g: { type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, + member: { type: "structure", members: { Name: {}, Value: {} } }, + }, + S1r: { type: "string", sensitive: true }, + S30: { type: "structure", members: { OCSPUrl: {} } }, + S39: { type: "list", member: {} }, + S3j: { + type: "structure", + members: { + VpcId: {}, + SubnetIds: { shape: "Sm" }, + SecurityGroupId: {}, + AvailabilityZones: { shape: "S3l" }, }, }, - S16: { + S3l: { type: "list", member: {} }, + S3p: { type: "structure", members: { - AdHocFilteringOption: { - type: "structure", - members: { AvailabilityStatus: {} }, - }, - ExportToCSVOption: { - type: "structure", - members: { AvailabilityStatus: {} }, - }, - SheetControlsOption: { - type: "structure", - members: { VisibilityState: {} }, - }, + RadiusServers: { type: "list", member: {} }, + RadiusPort: { type: "integer" }, + RadiusTimeout: { type: "integer" }, + RadiusRetries: { type: "integer" }, + SharedSecret: { type: "string", sensitive: true }, + AuthenticationProtocol: {}, + DisplayLabel: {}, + UseSameUsername: { type: "boolean" }, }, }, - S1h: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - RelationalTable: { - type: "structure", - required: ["DataSourceArn", "Name", "InputColumns"], - members: { - DataSourceArn: {}, - Schema: {}, - Name: {}, - InputColumns: { shape: "S1n" }, - }, - }, - CustomSql: { - type: "structure", - required: ["DataSourceArn", "Name", "SqlQuery"], - members: { - DataSourceArn: {}, - Name: {}, - SqlQuery: {}, - Columns: { shape: "S1n" }, - }, - }, - S3Source: { - type: "structure", - required: ["DataSourceArn", "InputColumns"], - members: { - DataSourceArn: {}, - UploadSettings: { - type: "structure", - members: { - Format: {}, - StartFromRow: { type: "integer" }, - ContainsHeader: { type: "boolean" }, - TextQualifier: {}, - Delimiter: {}, - }, - }, - InputColumns: { shape: "S1n" }, - }, - }, + }, + }; + + /***/ + }, + + /***/ 2709: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["wafregional"] = {}; + AWS.WAFRegional = Service.defineService("wafregional", ["2016-11-28"]); + Object.defineProperty(apiLoader.services["wafregional"], "2016-11-28", { + get: function get() { + var model = __webpack_require__(8296); + model.paginators = __webpack_require__(3396).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.WAFRegional; + + /***/ + }, + + /***/ 2719: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 2726: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2016-06-02", + endpointPrefix: "shield", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "AWS Shield", + serviceFullName: "AWS Shield", + serviceId: "Shield", + signatureVersion: "v4", + targetPrefix: "AWSShield_20160616", + uid: "shield-2016-06-02", + }, + operations: { + AssociateDRTLogBucket: { + input: { + type: "structure", + required: ["LogBucket"], + members: { LogBucket: {} }, + }, + output: { type: "structure", members: {} }, + }, + AssociateDRTRole: { + input: { + type: "structure", + required: ["RoleArn"], + members: { RoleArn: {} }, + }, + output: { type: "structure", members: {} }, + }, + AssociateHealthCheck: { + input: { + type: "structure", + required: ["ProtectionId", "HealthCheckArn"], + members: { ProtectionId: {}, HealthCheckArn: {} }, + }, + output: { type: "structure", members: {} }, + }, + AssociateProactiveEngagementDetails: { + input: { + type: "structure", + required: ["EmergencyContactList"], + members: { EmergencyContactList: { shape: "Sc" } }, + }, + output: { type: "structure", members: {} }, + }, + CreateProtection: { + input: { + type: "structure", + required: ["Name", "ResourceArn"], + members: { Name: {}, ResourceArn: {} }, + }, + output: { type: "structure", members: { ProtectionId: {} } }, + }, + CreateProtectionGroup: { + input: { + type: "structure", + required: ["ProtectionGroupId", "Aggregation", "Pattern"], + members: { + ProtectionGroupId: {}, + Aggregation: {}, + Pattern: {}, + ResourceType: {}, + Members: { shape: "Sr" }, }, }, + output: { type: "structure", members: {} }, }, - S1n: { - type: "list", - member: { + CreateSubscription: { + input: { type: "structure", members: {} }, + output: { type: "structure", members: {} }, + }, + DeleteProtection: { + input: { type: "structure", - required: ["Name", "Type"], - members: { Name: {}, Type: {} }, + required: ["ProtectionId"], + members: { ProtectionId: {} }, }, + output: { type: "structure", members: {} }, }, - S21: { - type: "map", - key: {}, - value: { + DeleteProtectionGroup: { + input: { + type: "structure", + required: ["ProtectionGroupId"], + members: { ProtectionGroupId: {} }, + }, + output: { type: "structure", members: {} }, + }, + DeleteSubscription: { + input: { type: "structure", members: {}, deprecated: true }, + output: { type: "structure", members: {}, deprecated: true }, + deprecated: true, + }, + DescribeAttack: { + input: { + type: "structure", + required: ["AttackId"], + members: { AttackId: {} }, + }, + output: { type: "structure", - required: ["Alias", "Source"], members: { - Alias: {}, - DataTransforms: { - type: "list", - member: { - type: "structure", - members: { - ProjectOperation: { - type: "structure", - required: ["ProjectedColumns"], - members: { - ProjectedColumns: { type: "list", member: {} }, - }, - }, - FilterOperation: { - type: "structure", - required: ["ConditionExpression"], - members: { ConditionExpression: {} }, - }, - CreateColumnsOperation: { + Attack: { + type: "structure", + members: { + AttackId: {}, + ResourceArn: {}, + SubResources: { + type: "list", + member: { type: "structure", - required: ["Columns"], members: { - Columns: { + Type: {}, + Id: {}, + AttackVectors: { type: "list", member: { type: "structure", - required: [ - "ColumnName", - "ColumnId", - "Expression", - ], + required: ["VectorType"], members: { - ColumnName: {}, - ColumnId: {}, - Expression: {}, + VectorType: {}, + VectorCounters: { shape: "S1b" }, }, }, }, + Counters: { shape: "S1b" }, }, }, - RenameColumnOperation: { - type: "structure", - required: ["ColumnName", "NewColumnName"], - members: { ColumnName: {}, NewColumnName: {} }, - }, - CastColumnTypeOperation: { - type: "structure", - required: ["ColumnName", "NewColumnType"], - members: { - ColumnName: {}, - NewColumnType: {}, - Format: {}, - }, - }, - TagColumnOperation: { + }, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + AttackCounters: { shape: "S1b" }, + AttackProperties: { + type: "list", + member: { type: "structure", - required: ["ColumnName", "Tags"], members: { - ColumnName: {}, - Tags: { + AttackLayer: {}, + AttackPropertyIdentifier: {}, + TopContributors: { type: "list", member: { type: "structure", - members: { ColumnGeographicRole: {} }, + members: { Name: {}, Value: { type: "long" } }, }, }, + Unit: {}, + Total: { type: "long" }, }, }, }, + Mitigations: { + type: "list", + member: { + type: "structure", + members: { MitigationName: {} }, + }, + }, }, }, - Source: { - type: "structure", - members: { - JoinInstruction: { - type: "structure", - required: [ - "LeftOperand", - "RightOperand", - "Type", - "OnClause", - ], - members: { - LeftOperand: {}, - RightOperand: {}, - Type: {}, - OnClause: {}, + }, + }, + }, + DescribeAttackStatistics: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + required: ["TimeRange", "DataItems"], + members: { + TimeRange: { shape: "S1s" }, + DataItems: { + type: "list", + member: { + type: "structure", + required: ["AttackCount"], + members: { + AttackVolume: { + type: "structure", + members: { + BitsPerSecond: { shape: "S1w" }, + PacketsPerSecond: { shape: "S1w" }, + RequestsPerSecond: { shape: "S1w" }, + }, }, + AttackCount: { type: "long" }, }, - PhysicalTableId: {}, }, }, }, }, }, - S2s: { - type: "list", - member: { + DescribeDRTAccess: { + input: { type: "structure", members: {} }, + output: { type: "structure", members: { - GeoSpatialColumnGroup: { + RoleArn: {}, + LogBucketList: { type: "list", member: {} }, + }, + }, + }, + DescribeEmergencyContactSettings: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + members: { EmergencyContactList: { shape: "Sc" } }, + }, + }, + DescribeProtection: { + input: { + type: "structure", + members: { ProtectionId: {}, ResourceArn: {} }, + }, + output: { + type: "structure", + members: { Protection: { shape: "S24" } }, + }, + }, + DescribeProtectionGroup: { + input: { + type: "structure", + required: ["ProtectionGroupId"], + members: { ProtectionGroupId: {} }, + }, + output: { + type: "structure", + required: ["ProtectionGroup"], + members: { ProtectionGroup: { shape: "S29" } }, + }, + }, + DescribeSubscription: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + members: { + Subscription: { type: "structure", - required: ["Name", "CountryCode", "Columns"], + required: ["SubscriptionLimits"], members: { - Name: {}, - CountryCode: {}, - Columns: { type: "list", member: {} }, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + TimeCommitmentInSeconds: { type: "long" }, + AutoRenew: {}, + Limits: { shape: "S2g" }, + ProactiveEngagementStatus: {}, + SubscriptionLimits: { + type: "structure", + required: ["ProtectionLimits", "ProtectionGroupLimits"], + members: { + ProtectionLimits: { + type: "structure", + required: ["ProtectedResourceTypeLimits"], + members: { + ProtectedResourceTypeLimits: { shape: "S2g" }, + }, + }, + ProtectionGroupLimits: { + type: "structure", + required: [ + "MaxProtectionGroups", + "PatternTypeLimits", + ], + members: { + MaxProtectionGroups: { type: "long" }, + PatternTypeLimits: { + type: "structure", + required: ["ArbitraryPatternLimits"], + members: { + ArbitraryPatternLimits: { + type: "structure", + required: ["MaxMembers"], + members: { MaxMembers: { type: "long" } }, + }, + }, + }, + }, + }, + }, + }, }, }, }, }, }, - S2y: { - type: "structure", - required: ["Arn", "PermissionPolicy"], - members: { Arn: {}, PermissionPolicy: {} }, + DisableProactiveEngagement: { + input: { type: "structure", members: {} }, + output: { type: "structure", members: {} }, }, - S33: { - type: "structure", - members: { - AmazonElasticsearchParameters: { - type: "structure", - required: ["Domain"], - members: { Domain: {} }, - }, - AthenaParameters: { - type: "structure", - members: { WorkGroup: {} }, - }, - AuroraParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - AuroraPostgreSqlParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - AwsIotAnalyticsParameters: { - type: "structure", - required: ["DataSetName"], - members: { DataSetName: {} }, - }, - JiraParameters: { - type: "structure", - required: ["SiteBaseUrl"], - members: { SiteBaseUrl: {} }, - }, - MariaDbParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - MySqlParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - PostgreSqlParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, - }, - PrestoParameters: { - type: "structure", - required: ["Host", "Port", "Catalog"], - members: { Host: {}, Port: { type: "integer" }, Catalog: {} }, - }, - RdsParameters: { - type: "structure", - required: ["InstanceId", "Database"], - members: { InstanceId: {}, Database: {} }, - }, - RedshiftParameters: { - type: "structure", - required: ["Database"], - members: { - Host: {}, - Port: { type: "integer" }, - Database: {}, - ClusterId: {}, - }, + DisassociateDRTLogBucket: { + input: { + type: "structure", + required: ["LogBucket"], + members: { LogBucket: {} }, + }, + output: { type: "structure", members: {} }, + }, + DisassociateDRTRole: { + input: { type: "structure", members: {} }, + output: { type: "structure", members: {} }, + }, + DisassociateHealthCheck: { + input: { + type: "structure", + required: ["ProtectionId", "HealthCheckArn"], + members: { ProtectionId: {}, HealthCheckArn: {} }, + }, + output: { type: "structure", members: {} }, + }, + EnableProactiveEngagement: { + input: { type: "structure", members: {} }, + output: { type: "structure", members: {} }, + }, + GetSubscriptionState: { + input: { type: "structure", members: {} }, + output: { + type: "structure", + required: ["SubscriptionState"], + members: { SubscriptionState: {} }, + }, + }, + ListAttacks: { + input: { + type: "structure", + members: { + ResourceArns: { type: "list", member: {} }, + StartTime: { shape: "S1s" }, + EndTime: { shape: "S1s" }, + NextToken: {}, + MaxResults: { type: "integer" }, }, - S3Parameters: { - type: "structure", - required: ["ManifestFileLocation"], - members: { - ManifestFileLocation: { + }, + output: { + type: "structure", + members: { + AttackSummaries: { + type: "list", + member: { type: "structure", - required: ["Bucket", "Key"], - members: { Bucket: {}, Key: {} }, + members: { + AttackId: {}, + ResourceArn: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + AttackVectors: { + type: "list", + member: { + type: "structure", + required: ["VectorType"], + members: { VectorType: {} }, + }, + }, + }, }, }, + NextToken: {}, }, - ServiceNowParameters: { - type: "structure", - required: ["SiteBaseUrl"], - members: { SiteBaseUrl: {} }, - }, - SnowflakeParameters: { - type: "structure", - required: ["Host", "Database", "Warehouse"], - members: { Host: {}, Database: {}, Warehouse: {} }, - }, - SparkParameters: { - type: "structure", - required: ["Host", "Port"], - members: { Host: {}, Port: { type: "integer" } }, + }, + }, + ListProtectionGroups: { + input: { + type: "structure", + members: { NextToken: {}, MaxResults: { type: "integer" } }, + }, + output: { + type: "structure", + required: ["ProtectionGroups"], + members: { + ProtectionGroups: { type: "list", member: { shape: "S29" } }, + NextToken: {}, }, - SqlServerParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, + }, + }, + ListProtections: { + input: { + type: "structure", + members: { NextToken: {}, MaxResults: { type: "integer" } }, + }, + output: { + type: "structure", + members: { + Protections: { type: "list", member: { shape: "S24" } }, + NextToken: {}, }, - TeradataParameters: { - type: "structure", - required: ["Host", "Port", "Database"], - members: { Host: {}, Port: { type: "integer" }, Database: {} }, + }, + }, + ListResourcesInProtectionGroup: { + input: { + type: "structure", + required: ["ProtectionGroupId"], + members: { + ProtectionGroupId: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, - TwitterParameters: { - type: "structure", - required: ["Query", "MaxRows"], - members: { Query: {}, MaxRows: { type: "integer" } }, + }, + output: { + type: "structure", + required: ["ResourceArns"], + members: { + ResourceArns: { type: "list", member: {} }, + NextToken: {}, }, }, }, - S43: { - type: "structure", - members: { - CredentialPair: { - type: "structure", - required: ["Username", "Password"], - members: { Username: {}, Password: {} }, - }, + UpdateEmergencyContactSettings: { + input: { + type: "structure", + members: { EmergencyContactList: { shape: "Sc" } }, }, - sensitive: true, + output: { type: "structure", members: {} }, }, - S47: { - type: "structure", - required: ["VpcConnectionArn"], - members: { VpcConnectionArn: {} }, + UpdateProtectionGroup: { + input: { + type: "structure", + required: ["ProtectionGroupId", "Aggregation", "Pattern"], + members: { + ProtectionGroupId: {}, + Aggregation: {}, + Pattern: {}, + ResourceType: {}, + Members: { shape: "Sr" }, + }, + }, + output: { type: "structure", members: {} }, }, - S48: { - type: "structure", - members: { DisableSsl: { type: "boolean" } }, + UpdateSubscription: { + input: { type: "structure", members: { AutoRenew: {} } }, + output: { type: "structure", members: {} }, }, - S4f: { - type: "structure", - members: { - Arn: {}, - GroupName: {}, - Description: {}, - PrincipalId: {}, + }, + shapes: { + Sc: { + type: "list", + member: { + type: "structure", + required: ["EmailAddress"], + members: { EmailAddress: {}, PhoneNumber: {}, ContactNotes: {} }, }, }, - S4j: { type: "structure", members: { Arn: {}, MemberName: {} } }, - S4n: { type: "map", key: {}, value: { type: "list", member: {} } }, - S4w: { - type: "structure", - members: { - SourceAnalysis: { - type: "structure", - required: ["Arn", "DataSetReferences"], - members: { Arn: {}, DataSetReferences: { shape: "Sz" } }, - }, - SourceTemplate: { - type: "structure", - required: ["Arn"], - members: { Arn: {} }, + Sr: { type: "list", member: {} }, + S1b: { + type: "list", + member: { + type: "structure", + members: { + Name: {}, + Max: { type: "double" }, + Average: { type: "double" }, + Sum: { type: "double" }, + N: { type: "integer" }, + Unit: {}, }, }, }, - S54: { + S1s: { type: "structure", members: { - AliasName: {}, - Arn: {}, - TemplateVersionNumber: { type: "long" }, + FromInclusive: { type: "timestamp" }, + ToExclusive: { type: "timestamp" }, }, }, - S68: { + S1w: { type: "structure", - members: { - Arn: {}, - DataSourceId: {}, - Name: {}, - Type: {}, - Status: {}, - CreatedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - DataSourceParameters: { shape: "S33" }, - VpcConnectionProperties: { shape: "S47" }, - SslProperties: { shape: "S48" }, - ErrorInfo: { - type: "structure", - members: { Type: {}, Message: {} }, - }, - }, + required: ["Max"], + members: { Max: { type: "double" } }, }, - S6k: { + S24: { type: "structure", - required: ["Arn", "IngestionStatus", "CreatedTime"], members: { - Arn: {}, - IngestionId: {}, - IngestionStatus: {}, - ErrorInfo: { - type: "structure", - members: { Type: {}, Message: {} }, - }, - RowInfo: { - type: "structure", - members: { - RowsIngested: { type: "long" }, - RowsDropped: { type: "long" }, - }, - }, - QueueInfo: { - type: "structure", - required: ["WaitingOnIngestion", "QueuedIngestion"], - members: { WaitingOnIngestion: {}, QueuedIngestion: {} }, - }, - CreatedTime: { type: "timestamp" }, - IngestionTimeInSeconds: { type: "long" }, - IngestionSizeInBytes: { type: "long" }, - RequestSource: {}, - RequestType: {}, + Id: {}, + Name: {}, + ResourceArn: {}, + HealthCheckIds: { type: "list", member: {} }, }, }, - S7f: { + S29: { type: "structure", + required: [ + "ProtectionGroupId", + "Aggregation", + "Pattern", + "Members", + ], members: { - Arn: {}, - UserName: {}, - Email: {}, - Role: {}, - IdentityType: {}, - Active: { type: "boolean" }, - PrincipalId: {}, + ProtectionGroupId: {}, + Aggregation: {}, + Pattern: {}, + ResourceType: {}, + Members: { shape: "Sr" }, }, }, - S7u: { + S2g: { type: "list", member: { type: "structure", - members: { - Arn: {}, - DashboardId: {}, - Name: {}, - CreatedTime: { type: "timestamp" }, - LastUpdatedTime: { type: "timestamp" }, - PublishedVersionNumber: { type: "long" }, - LastPublishedTime: { type: "timestamp" }, - }, + members: { Type: {}, Max: { type: "long" } }, }, }, - S88: { type: "list", member: { shape: "S4f" } }, - S9k: { type: "list", member: { shape: "Su" } }, }, }; /***/ }, - /***/ 3265: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = getPage; - - const deprecate = __webpack_require__(6370); - const getPageLinks = __webpack_require__(4577); - const HttpError = __webpack_require__(2297); - - function getPage(octokit, link, which, headers) { - deprecate( - `octokit.get${ - which.charAt(0).toUpperCase() + which.slice(1) - }Page() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` - ); - const url = getPageLinks(link)[which]; - - if (!url) { - const urlError = new HttpError(`No ${which} page found`, 404); - return Promise.reject(urlError); - } - - const requestOptions = { - url, - headers: applyAcceptHeader(link, headers), - }; - - const promise = octokit.request(requestOptions); - - return promise; - } - - function applyAcceptHeader(res, headers) { - const previous = res.headers && res.headers["x-github-media-type"]; - - if (!previous || (headers && headers.accept)) { - return headers; - } - headers = headers || {}; - headers.accept = - "application/vnd." + - previous.replace("; param=", ".").replace("; format=", "+"); - - return headers; - } - - /***/ - }, - - /***/ 3315: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - var Rest = __webpack_require__(4618); - var Json = __webpack_require__(9912); - var JsonBuilder = __webpack_require__(337); - var JsonParser = __webpack_require__(9806); - - function populateBody(req) { - var builder = new JsonBuilder(); - var input = req.service.api.operations[req.operation].input; - - if (input.payload) { - var params = {}; - var payloadShape = input.members[input.payload]; - params = req.params[input.payload]; - if (params === undefined) return; - - if (payloadShape.type === "structure") { - req.httpRequest.body = builder.build(params, payloadShape); - applyContentTypeHeader(req); - } else { - // non-JSON payload - req.httpRequest.body = params; - if (payloadShape.type === "binary" || payloadShape.isStreaming) { - applyContentTypeHeader(req, true); - } - } - } else { - var body = builder.build(req.params, input); - if (body !== "{}" || req.httpRequest.method !== "GET") { - //don't send empty body for GET method - req.httpRequest.body = body; - } - applyContentTypeHeader(req); - } - } - - function applyContentTypeHeader(req, isBinary) { - var operation = req.service.api.operations[req.operation]; - var input = operation.input; - - if (!req.httpRequest.headers["Content-Type"]) { - var type = isBinary ? "binary/octet-stream" : "application/json"; - req.httpRequest.headers["Content-Type"] = type; - } - } - - function buildRequest(req) { - Rest.buildRequest(req); - - // never send body payload on HEAD/DELETE - if (["HEAD", "DELETE"].indexOf(req.httpRequest.method) < 0) { - populateBody(req); - } - } - - function extractError(resp) { - Json.extractError(resp); - } - - function extractData(resp) { - Rest.extractData(resp); - - var req = resp.request; - var operation = req.service.api.operations[req.operation]; - var rules = req.service.api.operations[req.operation].output || {}; - var parser; - var hasEventOutput = operation.hasEventOutput; - - if (rules.payload) { - var payloadMember = rules.members[rules.payload]; - var body = resp.httpResponse.body; - if (payloadMember.isEventStream) { - parser = new JsonParser(); - resp.data[payload] = util.createEventStream( - AWS.HttpClient.streamsApiVersion === 2 - ? resp.httpResponse.stream - : body, - parser, - payloadMember - ); - } else if ( - payloadMember.type === "structure" || - payloadMember.type === "list" - ) { - var parser = new JsonParser(); - resp.data[rules.payload] = parser.parse(body, payloadMember); - } else if ( - payloadMember.type === "binary" || - payloadMember.isStreaming - ) { - resp.data[rules.payload] = body; - } else { - resp.data[rules.payload] = payloadMember.toType(body); - } - } else { - var data = resp.data; - Json.extractData(resp); - resp.data = util.merge(data, resp.data); - } - } - - /** - * @api private - */ - module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData, - }; - - /***/ - }, - - /***/ 3336: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = hasLastPage; - - const deprecate = __webpack_require__(6370); - const getPageLinks = __webpack_require__(4577); - - function hasLastPage(link) { - deprecate( - `octokit.hasLastPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` - ); - return getPageLinks(link).last; - } - - /***/ - }, - - /***/ 3346: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["mq"] = {}; - AWS.MQ = Service.defineService("mq", ["2017-11-27"]); - Object.defineProperty(apiLoader.services["mq"], "2017-11-27", { - get: function get() { - var model = __webpack_require__(4074); - model.paginators = __webpack_require__(7571).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.MQ; - - /***/ - }, - - /***/ 3370: /***/ function (module) { + /***/ 2732: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2017-11-01", - endpointPrefix: "eks", + apiVersion: "2015-10-07", + endpointPrefix: "events", jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "Amazon EKS", - serviceFullName: "Amazon Elastic Kubernetes Service", - serviceId: "EKS", + protocol: "json", + serviceFullName: "Amazon CloudWatch Events", + serviceId: "CloudWatch Events", signatureVersion: "v4", - signingName: "eks", - uid: "eks-2017-11-01", + targetPrefix: "AWSEvents", + uid: "events-2015-10-07", }, operations: { - CreateCluster: { - http: { requestUri: "/clusters" }, + ActivateEventSource: { input: { type: "structure", - required: ["name", "roleArn", "resourcesVpcConfig"], - members: { - name: {}, - version: {}, - roleArn: {}, - resourcesVpcConfig: { shape: "S4" }, - logging: { shape: "S7" }, - clientRequestToken: { idempotencyToken: true }, - tags: { shape: "Sc" }, - encryptionConfig: { shape: "Sf" }, - }, - }, - output: { - type: "structure", - members: { cluster: { shape: "Sj" } }, + required: ["Name"], + members: { Name: {} }, }, }, - CreateFargateProfile: { - http: { requestUri: "/clusters/{name}/fargate-profiles" }, + CancelReplay: { input: { type: "structure", - required: [ - "fargateProfileName", - "clusterName", - "podExecutionRoleArn", - ], - members: { - fargateProfileName: {}, - clusterName: { location: "uri", locationName: "name" }, - podExecutionRoleArn: {}, - subnets: { shape: "S5" }, - selectors: { shape: "Ss" }, - clientRequestToken: { idempotencyToken: true }, - tags: { shape: "Sc" }, - }, + required: ["ReplayName"], + members: { ReplayName: {} }, }, output: { type: "structure", - members: { fargateProfile: { shape: "Sw" } }, + members: { ReplayArn: {}, State: {}, StateReason: {} }, }, }, - CreateNodegroup: { - http: { requestUri: "/clusters/{name}/node-groups" }, + CreateArchive: { input: { type: "structure", - required: ["clusterName", "nodegroupName", "subnets", "nodeRole"], + required: ["ArchiveName", "EventSourceArn"], members: { - clusterName: { location: "uri", locationName: "name" }, - nodegroupName: {}, - scalingConfig: { shape: "Sz" }, - diskSize: { type: "integer" }, - subnets: { shape: "S5" }, - instanceTypes: { shape: "S5" }, - amiType: {}, - remoteAccess: { shape: "S13" }, - nodeRole: {}, - labels: { shape: "S14" }, - tags: { shape: "Sc" }, - clientRequestToken: { idempotencyToken: true }, - version: {}, - releaseVersion: {}, + ArchiveName: {}, + EventSourceArn: {}, + Description: {}, + EventPattern: {}, + RetentionDays: { type: "integer" }, }, }, output: { type: "structure", - members: { nodegroup: { shape: "S18" } }, + members: { + ArchiveArn: {}, + State: {}, + StateReason: {}, + CreationTime: { type: "timestamp" }, + }, }, }, - DeleteCluster: { - http: { method: "DELETE", requestUri: "/clusters/{name}" }, + CreateEventBus: { input: { type: "structure", - required: ["name"], - members: { name: { location: "uri", locationName: "name" } }, + required: ["Name"], + members: { Name: {}, EventSourceName: {}, Tags: { shape: "Sm" } }, }, - output: { + output: { type: "structure", members: { EventBusArn: {} } }, + }, + CreatePartnerEventSource: { + input: { type: "structure", - members: { cluster: { shape: "Sj" } }, + required: ["Name", "Account"], + members: { Name: {}, Account: {} }, }, + output: { type: "structure", members: { EventSourceArn: {} } }, }, - DeleteFargateProfile: { - http: { - method: "DELETE", - requestUri: - "/clusters/{name}/fargate-profiles/{fargateProfileName}", + DeactivateEventSource: { + input: { + type: "structure", + required: ["Name"], + members: { Name: {} }, }, + }, + DeleteArchive: { input: { type: "structure", - required: ["clusterName", "fargateProfileName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - fargateProfileName: { - location: "uri", - locationName: "fargateProfileName", - }, - }, + required: ["ArchiveName"], + members: { ArchiveName: {} }, }, - output: { + output: { type: "structure", members: {} }, + }, + DeleteEventBus: { + input: { type: "structure", - members: { fargateProfile: { shape: "Sw" } }, + required: ["Name"], + members: { Name: {} }, }, }, - DeleteNodegroup: { - http: { - method: "DELETE", - requestUri: "/clusters/{name}/node-groups/{nodegroupName}", + DeletePartnerEventSource: { + input: { + type: "structure", + required: ["Name", "Account"], + members: { Name: {}, Account: {} }, }, + }, + DeleteRule: { input: { type: "structure", - required: ["clusterName", "nodegroupName"], + required: ["Name"], members: { - clusterName: { location: "uri", locationName: "name" }, - nodegroupName: { - location: "uri", - locationName: "nodegroupName", - }, + Name: {}, + EventBusName: {}, + Force: { type: "boolean" }, }, }, - output: { - type: "structure", - members: { nodegroup: { shape: "S18" } }, - }, }, - DescribeCluster: { - http: { method: "GET", requestUri: "/clusters/{name}" }, + DescribeArchive: { input: { type: "structure", - required: ["name"], - members: { name: { location: "uri", locationName: "name" } }, + required: ["ArchiveName"], + members: { ArchiveName: {} }, }, output: { type: "structure", - members: { cluster: { shape: "Sj" } }, + members: { + ArchiveArn: {}, + ArchiveName: {}, + EventSourceArn: {}, + Description: {}, + EventPattern: {}, + State: {}, + StateReason: {}, + RetentionDays: { type: "integer" }, + SizeBytes: { type: "long" }, + EventCount: { type: "long" }, + CreationTime: { type: "timestamp" }, + }, }, }, - DescribeFargateProfile: { - http: { - method: "GET", - requestUri: - "/clusters/{name}/fargate-profiles/{fargateProfileName}", - }, - input: { - type: "structure", - required: ["clusterName", "fargateProfileName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - fargateProfileName: { - location: "uri", - locationName: "fargateProfileName", - }, - }, - }, + DescribeEventBus: { + input: { type: "structure", members: { Name: {} } }, output: { type: "structure", - members: { fargateProfile: { shape: "Sw" } }, + members: { Name: {}, Arn: {}, Policy: {} }, }, }, - DescribeNodegroup: { - http: { - method: "GET", - requestUri: "/clusters/{name}/node-groups/{nodegroupName}", - }, + DescribeEventSource: { input: { type: "structure", - required: ["clusterName", "nodegroupName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - nodegroupName: { - location: "uri", - locationName: "nodegroupName", - }, - }, + required: ["Name"], + members: { Name: {} }, }, output: { type: "structure", - members: { nodegroup: { shape: "S18" } }, - }, - }, - DescribeUpdate: { - http: { - method: "GET", - requestUri: "/clusters/{name}/updates/{updateId}", - }, - input: { - type: "structure", - required: ["name", "updateId"], members: { - name: { location: "uri", locationName: "name" }, - updateId: { location: "uri", locationName: "updateId" }, - nodegroupName: { - location: "querystring", - locationName: "nodegroupName", - }, + Arn: {}, + CreatedBy: {}, + CreationTime: { type: "timestamp" }, + ExpirationTime: { type: "timestamp" }, + Name: {}, + State: {}, }, }, - output: { - type: "structure", - members: { update: { shape: "S1v" } }, - }, }, - ListClusters: { - http: { method: "GET", requestUri: "/clusters" }, + DescribePartnerEventSource: { input: { type: "structure", - members: { - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - }, - output: { - type: "structure", - members: { clusters: { shape: "S5" }, nextToken: {} }, + required: ["Name"], + members: { Name: {} }, }, + output: { type: "structure", members: { Arn: {}, Name: {} } }, }, - ListFargateProfiles: { - http: { - method: "GET", - requestUri: "/clusters/{name}/fargate-profiles", - }, + DescribeReplay: { input: { type: "structure", - required: ["clusterName"], - members: { - clusterName: { location: "uri", locationName: "name" }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, + required: ["ReplayName"], + members: { ReplayName: {} }, }, output: { type: "structure", - members: { fargateProfileNames: { shape: "S5" }, nextToken: {} }, - }, - }, - ListNodegroups: { - http: { method: "GET", requestUri: "/clusters/{name}/node-groups" }, - input: { - type: "structure", - required: ["clusterName"], members: { - clusterName: { location: "uri", locationName: "name" }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, + ReplayName: {}, + ReplayArn: {}, + Description: {}, + State: {}, + StateReason: {}, + EventSourceArn: {}, + Destination: { shape: "S1h" }, + EventStartTime: { type: "timestamp" }, + EventEndTime: { type: "timestamp" }, + EventLastReplayedTime: { type: "timestamp" }, + ReplayStartTime: { type: "timestamp" }, + ReplayEndTime: { type: "timestamp" }, }, }, - output: { - type: "structure", - members: { nodegroups: { shape: "S5" }, nextToken: {} }, - }, }, - ListTagsForResource: { - http: { method: "GET", requestUri: "/tags/{resourceArn}" }, + DescribeRule: { input: { type: "structure", - required: ["resourceArn"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - }, + required: ["Name"], + members: { Name: {}, EventBusName: {} }, }, - output: { type: "structure", members: { tags: { shape: "Sc" } } }, - }, - ListUpdates: { - http: { method: "GET", requestUri: "/clusters/{name}/updates" }, - input: { + output: { type: "structure", - required: ["name"], members: { - name: { location: "uri", locationName: "name" }, - nodegroupName: { - location: "querystring", - locationName: "nodegroupName", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + Name: {}, + Arn: {}, + EventPattern: {}, + ScheduleExpression: {}, + State: {}, + Description: {}, + RoleArn: {}, + ManagedBy: {}, + EventBusName: {}, + CreatedBy: {}, }, }, - output: { - type: "structure", - members: { updateIds: { shape: "S5" }, nextToken: {} }, - }, }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}" }, + DisableRule: { input: { type: "structure", - required: ["resourceArn", "tags"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "Sc" }, - }, + required: ["Name"], + members: { Name: {}, EventBusName: {} }, }, - output: { type: "structure", members: {} }, }, - UntagResource: { - http: { method: "DELETE", requestUri: "/tags/{resourceArn}" }, + EnableRule: { input: { type: "structure", - required: ["resourceArn", "tagKeys"], - members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tagKeys: { - location: "querystring", - locationName: "tagKeys", - type: "list", - member: {}, - }, - }, + required: ["Name"], + members: { Name: {}, EventBusName: {} }, }, - output: { type: "structure", members: {} }, }, - UpdateClusterConfig: { - http: { requestUri: "/clusters/{name}/update-config" }, + ListArchives: { input: { type: "structure", - required: ["name"], members: { - name: { location: "uri", locationName: "name" }, - resourcesVpcConfig: { shape: "S4" }, - logging: { shape: "S7" }, - clientRequestToken: { idempotencyToken: true }, + NamePrefix: {}, + EventSourceArn: {}, + State: {}, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", - members: { update: { shape: "S1v" } }, + members: { + Archives: { + type: "list", + member: { + type: "structure", + members: { + ArchiveName: {}, + EventSourceArn: {}, + State: {}, + StateReason: {}, + RetentionDays: { type: "integer" }, + SizeBytes: { type: "long" }, + EventCount: { type: "long" }, + CreationTime: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, + }, }, }, - UpdateClusterVersion: { - http: { requestUri: "/clusters/{name}/updates" }, + ListEventBuses: { input: { type: "structure", - required: ["name", "version"], members: { - name: { location: "uri", locationName: "name" }, - version: {}, - clientRequestToken: { idempotencyToken: true }, + NamePrefix: {}, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", - members: { update: { shape: "S1v" } }, - }, - }, - UpdateNodegroupConfig: { - http: { - requestUri: - "/clusters/{name}/node-groups/{nodegroupName}/update-config", - }, - input: { - type: "structure", - required: ["clusterName", "nodegroupName"], members: { - clusterName: { location: "uri", locationName: "name" }, - nodegroupName: { - location: "uri", - locationName: "nodegroupName", - }, - labels: { - type: "structure", - members: { - addOrUpdateLabels: { shape: "S14" }, - removeLabels: { type: "list", member: {} }, + EventBuses: { + type: "list", + member: { + type: "structure", + members: { Name: {}, Arn: {}, Policy: {} }, }, }, - scalingConfig: { shape: "Sz" }, - clientRequestToken: { idempotencyToken: true }, + NextToken: {}, }, }, - output: { - type: "structure", - members: { update: { shape: "S1v" } }, - }, }, - UpdateNodegroupVersion: { - http: { - requestUri: - "/clusters/{name}/node-groups/{nodegroupName}/update-version", - }, + ListEventSources: { input: { type: "structure", - required: ["clusterName", "nodegroupName"], members: { - clusterName: { location: "uri", locationName: "name" }, - nodegroupName: { - location: "uri", - locationName: "nodegroupName", - }, - version: {}, - releaseVersion: {}, - force: { type: "boolean" }, - clientRequestToken: { idempotencyToken: true }, + NamePrefix: {}, + NextToken: {}, + Limit: { type: "integer" }, }, }, output: { type: "structure", - members: { update: { shape: "S1v" } }, - }, - }, - }, - shapes: { - S4: { - type: "structure", - members: { - subnetIds: { shape: "S5" }, - securityGroupIds: { shape: "S5" }, - endpointPublicAccess: { type: "boolean" }, - endpointPrivateAccess: { type: "boolean" }, - publicAccessCidrs: { shape: "S5" }, - }, - }, - S5: { type: "list", member: {} }, - S7: { - type: "structure", - members: { - clusterLogging: { - type: "list", - member: { - type: "structure", - members: { - types: { type: "list", member: {} }, - enabled: { type: "boolean" }, + members: { + EventSources: { + type: "list", + member: { + type: "structure", + members: { + Arn: {}, + CreatedBy: {}, + CreationTime: { type: "timestamp" }, + ExpirationTime: { type: "timestamp" }, + Name: {}, + State: {}, + }, }, }, + NextToken: {}, }, }, }, - Sc: { type: "map", key: {}, value: {} }, - Sf: { - type: "list", - member: { + ListPartnerEventSourceAccounts: { + input: { type: "structure", + required: ["EventSourceName"], members: { - resources: { shape: "S5" }, - provider: { type: "structure", members: { keyArn: {} } }, - }, - }, - }, - Sj: { - type: "structure", - members: { - name: {}, - arn: {}, - createdAt: { type: "timestamp" }, - version: {}, - endpoint: {}, - roleArn: {}, - resourcesVpcConfig: { - type: "structure", - members: { - subnetIds: { shape: "S5" }, - securityGroupIds: { shape: "S5" }, - clusterSecurityGroupId: {}, - vpcId: {}, - endpointPublicAccess: { type: "boolean" }, - endpointPrivateAccess: { type: "boolean" }, - publicAccessCidrs: { shape: "S5" }, - }, - }, - logging: { shape: "S7" }, - identity: { - type: "structure", - members: { - oidc: { type: "structure", members: { issuer: {} } }, - }, - }, - status: {}, - certificateAuthority: { - type: "structure", - members: { data: {} }, + EventSourceName: {}, + NextToken: {}, + Limit: { type: "integer" }, }, - clientRequestToken: {}, - platformVersion: {}, - tags: { shape: "Sc" }, - encryptionConfig: { shape: "Sf" }, }, - }, - Ss: { - type: "list", - member: { + output: { type: "structure", members: { - namespace: {}, - labels: { type: "map", key: {}, value: {} }, - }, - }, - }, - Sw: { - type: "structure", - members: { - fargateProfileName: {}, - fargateProfileArn: {}, - clusterName: {}, - createdAt: { type: "timestamp" }, - podExecutionRoleArn: {}, - subnets: { shape: "S5" }, - selectors: { shape: "Ss" }, - status: {}, - tags: { shape: "Sc" }, - }, - }, - Sz: { - type: "structure", - members: { - minSize: { type: "integer" }, - maxSize: { type: "integer" }, - desiredSize: { type: "integer" }, - }, - }, - S13: { - type: "structure", - members: { ec2SshKey: {}, sourceSecurityGroups: { shape: "S5" } }, - }, - S14: { type: "map", key: {}, value: {} }, - S18: { - type: "structure", - members: { - nodegroupName: {}, - nodegroupArn: {}, - clusterName: {}, - version: {}, - releaseVersion: {}, - createdAt: { type: "timestamp" }, - modifiedAt: { type: "timestamp" }, - status: {}, - scalingConfig: { shape: "Sz" }, - instanceTypes: { shape: "S5" }, - subnets: { shape: "S5" }, - remoteAccess: { shape: "S13" }, - amiType: {}, - nodeRole: {}, - labels: { shape: "S14" }, - resources: { - type: "structure", - members: { - autoScalingGroups: { - type: "list", - member: { type: "structure", members: { name: {} } }, - }, - remoteAccessSecurityGroup: {}, - }, - }, - diskSize: { type: "integer" }, - health: { - type: "structure", - members: { - issues: { - type: "list", - member: { - type: "structure", - members: { - code: {}, - message: {}, - resourceIds: { shape: "S5" }, - }, + PartnerEventSourceAccounts: { + type: "list", + member: { + type: "structure", + members: { + Account: {}, + CreationTime: { type: "timestamp" }, + ExpirationTime: { type: "timestamp" }, + State: {}, }, }, }, - }, - tags: { shape: "Sc" }, - }, - }, - S1v: { - type: "structure", - members: { - id: {}, - status: {}, - type: {}, - params: { - type: "list", - member: { type: "structure", members: { type: {}, value: {} } }, - }, - createdAt: { type: "timestamp" }, - errors: { - type: "list", - member: { - type: "structure", - members: { - errorCode: {}, - errorMessage: {}, - resourceIds: { shape: "S5" }, - }, - }, + NextToken: {}, }, }, }, - }, - }; - - /***/ - }, - - /***/ 3387: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-05-13", - endpointPrefix: "runtime.sagemaker", - jsonVersion: "1.1", - protocol: "rest-json", - serviceFullName: "Amazon SageMaker Runtime", - serviceId: "SageMaker Runtime", - signatureVersion: "v4", - signingName: "sagemaker", - uid: "runtime.sagemaker-2017-05-13", - }, - operations: { - InvokeEndpoint: { - http: { requestUri: "/endpoints/{EndpointName}/invocations" }, + ListPartnerEventSources: { input: { type: "structure", - required: ["EndpointName", "Body"], + required: ["NamePrefix"], members: { - EndpointName: { location: "uri", locationName: "EndpointName" }, - Body: { shape: "S3" }, - ContentType: { - location: "header", - locationName: "Content-Type", - }, - Accept: { location: "header", locationName: "Accept" }, - CustomAttributes: { - shape: "S5", - location: "header", - locationName: "X-Amzn-SageMaker-Custom-Attributes", - }, - TargetModel: { - location: "header", - locationName: "X-Amzn-SageMaker-Target-Model", - }, + NamePrefix: {}, + NextToken: {}, + Limit: { type: "integer" }, }, - payload: "Body", }, output: { type: "structure", - required: ["Body"], members: { - Body: { shape: "S3" }, - ContentType: { - location: "header", - locationName: "Content-Type", - }, - InvokedProductionVariant: { - location: "header", - locationName: "x-Amzn-Invoked-Production-Variant", - }, - CustomAttributes: { - shape: "S5", - location: "header", - locationName: "X-Amzn-SageMaker-Custom-Attributes", + PartnerEventSources: { + type: "list", + member: { type: "structure", members: { Arn: {}, Name: {} } }, }, + NextToken: {}, }, - payload: "Body", - }, - }, - }, - shapes: { - S3: { type: "blob", sensitive: true }, - S5: { type: "string", sensitive: true }, - }, - }; - - /***/ - }, - - /***/ 3393: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2013-01-01", - endpointPrefix: "cloudsearch", - protocol: "query", - serviceFullName: "Amazon CloudSearch", - serviceId: "CloudSearch", - signatureVersion: "v4", - uid: "cloudsearch-2013-01-01", - xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/", - }, - operations: { - BuildSuggesters: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - output: { - resultWrapper: "BuildSuggestersResult", - type: "structure", - members: { FieldNames: { shape: "S4" } }, - }, - }, - CreateDomain: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - output: { - resultWrapper: "CreateDomainResult", - type: "structure", - members: { DomainStatus: { shape: "S8" } }, - }, - }, - DefineAnalysisScheme: { - input: { - type: "structure", - required: ["DomainName", "AnalysisScheme"], - members: { DomainName: {}, AnalysisScheme: { shape: "Sl" } }, - }, - output: { - resultWrapper: "DefineAnalysisSchemeResult", - type: "structure", - required: ["AnalysisScheme"], - members: { AnalysisScheme: { shape: "Ss" } }, - }, - }, - DefineExpression: { - input: { - type: "structure", - required: ["DomainName", "Expression"], - members: { DomainName: {}, Expression: { shape: "Sy" } }, - }, - output: { - resultWrapper: "DefineExpressionResult", - type: "structure", - required: ["Expression"], - members: { Expression: { shape: "S11" } }, - }, - }, - DefineIndexField: { - input: { - type: "structure", - required: ["DomainName", "IndexField"], - members: { DomainName: {}, IndexField: { shape: "S13" } }, - }, - output: { - resultWrapper: "DefineIndexFieldResult", - type: "structure", - required: ["IndexField"], - members: { IndexField: { shape: "S1n" } }, - }, - }, - DefineSuggester: { - input: { - type: "structure", - required: ["DomainName", "Suggester"], - members: { DomainName: {}, Suggester: { shape: "S1p" } }, - }, - output: { - resultWrapper: "DefineSuggesterResult", - type: "structure", - required: ["Suggester"], - members: { Suggester: { shape: "S1t" } }, }, }, - DeleteAnalysisScheme: { + ListReplays: { input: { type: "structure", - required: ["DomainName", "AnalysisSchemeName"], - members: { DomainName: {}, AnalysisSchemeName: {} }, + members: { + NamePrefix: {}, + State: {}, + EventSourceArn: {}, + NextToken: {}, + Limit: { type: "integer" }, + }, }, output: { - resultWrapper: "DeleteAnalysisSchemeResult", type: "structure", - required: ["AnalysisScheme"], - members: { AnalysisScheme: { shape: "Ss" } }, + members: { + Replays: { + type: "list", + member: { + type: "structure", + members: { + ReplayName: {}, + EventSourceArn: {}, + State: {}, + StateReason: {}, + EventStartTime: { type: "timestamp" }, + EventEndTime: { type: "timestamp" }, + EventLastReplayedTime: { type: "timestamp" }, + ReplayStartTime: { type: "timestamp" }, + ReplayEndTime: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, + }, }, }, - DeleteDomain: { + ListRuleNamesByTarget: { input: { type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, + required: ["TargetArn"], + members: { + TargetArn: {}, + EventBusName: {}, + NextToken: {}, + Limit: { type: "integer" }, + }, }, output: { - resultWrapper: "DeleteDomainResult", type: "structure", - members: { DomainStatus: { shape: "S8" } }, + members: { + RuleNames: { type: "list", member: {} }, + NextToken: {}, + }, }, }, - DeleteExpression: { + ListRules: { input: { type: "structure", - required: ["DomainName", "ExpressionName"], - members: { DomainName: {}, ExpressionName: {} }, + members: { + NamePrefix: {}, + EventBusName: {}, + NextToken: {}, + Limit: { type: "integer" }, + }, }, output: { - resultWrapper: "DeleteExpressionResult", type: "structure", - required: ["Expression"], - members: { Expression: { shape: "S11" } }, + members: { + Rules: { + type: "list", + member: { + type: "structure", + members: { + Name: {}, + Arn: {}, + EventPattern: {}, + State: {}, + Description: {}, + ScheduleExpression: {}, + RoleArn: {}, + ManagedBy: {}, + EventBusName: {}, + }, + }, + }, + NextToken: {}, + }, }, }, - DeleteIndexField: { + ListTagsForResource: { input: { type: "structure", - required: ["DomainName", "IndexFieldName"], - members: { DomainName: {}, IndexFieldName: {} }, - }, - output: { - resultWrapper: "DeleteIndexFieldResult", - type: "structure", - required: ["IndexField"], - members: { IndexField: { shape: "S1n" } }, + required: ["ResourceARN"], + members: { ResourceARN: {} }, }, + output: { type: "structure", members: { Tags: { shape: "Sm" } } }, }, - DeleteSuggester: { + ListTargetsByRule: { input: { type: "structure", - required: ["DomainName", "SuggesterName"], - members: { DomainName: {}, SuggesterName: {} }, + required: ["Rule"], + members: { + Rule: {}, + EventBusName: {}, + NextToken: {}, + Limit: { type: "integer" }, + }, }, output: { - resultWrapper: "DeleteSuggesterResult", type: "structure", - required: ["Suggester"], - members: { Suggester: { shape: "S1t" } }, + members: { Targets: { shape: "S2y" }, NextToken: {} }, }, }, - DescribeAnalysisSchemes: { + PutEvents: { input: { type: "structure", - required: ["DomainName"], + required: ["Entries"], members: { - DomainName: {}, - AnalysisSchemeNames: { shape: "S25" }, - Deployed: { type: "boolean" }, + Entries: { + type: "list", + member: { + type: "structure", + members: { + Time: { type: "timestamp" }, + Source: {}, + Resources: { shape: "S4g" }, + DetailType: {}, + Detail: {}, + EventBusName: {}, + }, + }, + }, }, }, output: { - resultWrapper: "DescribeAnalysisSchemesResult", type: "structure", - required: ["AnalysisSchemes"], members: { - AnalysisSchemes: { type: "list", member: { shape: "Ss" } }, + FailedEntryCount: { type: "integer" }, + Entries: { + type: "list", + member: { + type: "structure", + members: { EventId: {}, ErrorCode: {}, ErrorMessage: {} }, + }, + }, }, }, }, - DescribeAvailabilityOptions: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {}, Deployed: { type: "boolean" } }, - }, - output: { - resultWrapper: "DescribeAvailabilityOptionsResult", - type: "structure", - members: { AvailabilityOptions: { shape: "S2a" } }, - }, - }, - DescribeDomainEndpointOptions: { - input: { - type: "structure", - required: ["DomainName"], - members: { DomainName: {}, Deployed: { type: "boolean" } }, - }, - output: { - resultWrapper: "DescribeDomainEndpointOptionsResult", - type: "structure", - members: { DomainEndpointOptions: { shape: "S2e" } }, - }, - }, - DescribeDomains: { + PutPartnerEvents: { input: { type: "structure", - members: { DomainNames: { type: "list", member: {} } }, + required: ["Entries"], + members: { + Entries: { + type: "list", + member: { + type: "structure", + members: { + Time: { type: "timestamp" }, + Source: {}, + Resources: { shape: "S4g" }, + DetailType: {}, + Detail: {}, + }, + }, + }, + }, }, output: { - resultWrapper: "DescribeDomainsResult", type: "structure", - required: ["DomainStatusList"], members: { - DomainStatusList: { type: "list", member: { shape: "S8" } }, + FailedEntryCount: { type: "integer" }, + Entries: { + type: "list", + member: { + type: "structure", + members: { EventId: {}, ErrorCode: {}, ErrorMessage: {} }, + }, + }, }, }, }, - DescribeExpressions: { + PutPermission: { input: { type: "structure", - required: ["DomainName"], members: { - DomainName: {}, - ExpressionNames: { shape: "S25" }, - Deployed: { type: "boolean" }, + EventBusName: {}, + Action: {}, + Principal: {}, + StatementId: {}, + Condition: { + type: "structure", + required: ["Type", "Key", "Value"], + members: { Type: {}, Key: {}, Value: {} }, + }, + Policy: {}, }, }, - output: { - resultWrapper: "DescribeExpressionsResult", + }, + PutRule: { + input: { type: "structure", - required: ["Expressions"], + required: ["Name"], members: { - Expressions: { type: "list", member: { shape: "S11" } }, + Name: {}, + ScheduleExpression: {}, + EventPattern: {}, + State: {}, + Description: {}, + RoleArn: {}, + Tags: { shape: "Sm" }, + EventBusName: {}, }, }, + output: { type: "structure", members: { RuleArn: {} } }, }, - DescribeIndexFields: { + PutTargets: { input: { type: "structure", - required: ["DomainName"], + required: ["Rule", "Targets"], members: { - DomainName: {}, - FieldNames: { type: "list", member: {} }, - Deployed: { type: "boolean" }, + Rule: {}, + EventBusName: {}, + Targets: { shape: "S2y" }, }, }, output: { - resultWrapper: "DescribeIndexFieldsResult", type: "structure", - required: ["IndexFields"], members: { - IndexFields: { type: "list", member: { shape: "S1n" } }, + FailedEntryCount: { type: "integer" }, + FailedEntries: { + type: "list", + member: { + type: "structure", + members: { TargetId: {}, ErrorCode: {}, ErrorMessage: {} }, + }, + }, }, }, }, - DescribeScalingParameters: { + RemovePermission: { input: { type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - output: { - resultWrapper: "DescribeScalingParametersResult", - type: "structure", - required: ["ScalingParameters"], - members: { ScalingParameters: { shape: "S2u" } }, + members: { + StatementId: {}, + RemoveAllPermissions: { type: "boolean" }, + EventBusName: {}, + }, }, }, - DescribeServiceAccessPolicies: { + RemoveTargets: { input: { type: "structure", - required: ["DomainName"], - members: { DomainName: {}, Deployed: { type: "boolean" } }, + required: ["Rule", "Ids"], + members: { + Rule: {}, + EventBusName: {}, + Ids: { type: "list", member: {} }, + Force: { type: "boolean" }, + }, }, output: { - resultWrapper: "DescribeServiceAccessPoliciesResult", type: "structure", - required: ["AccessPolicies"], - members: { AccessPolicies: { shape: "S2z" } }, + members: { + FailedEntryCount: { type: "integer" }, + FailedEntries: { + type: "list", + member: { + type: "structure", + members: { TargetId: {}, ErrorCode: {}, ErrorMessage: {} }, + }, + }, + }, }, }, - DescribeSuggesters: { + StartReplay: { input: { type: "structure", - required: ["DomainName"], + required: [ + "ReplayName", + "EventSourceArn", + "EventStartTime", + "EventEndTime", + "Destination", + ], members: { - DomainName: {}, - SuggesterNames: { shape: "S25" }, - Deployed: { type: "boolean" }, + ReplayName: {}, + Description: {}, + EventSourceArn: {}, + EventStartTime: { type: "timestamp" }, + EventEndTime: { type: "timestamp" }, + Destination: { shape: "S1h" }, }, }, output: { - resultWrapper: "DescribeSuggestersResult", type: "structure", - required: ["Suggesters"], members: { - Suggesters: { type: "list", member: { shape: "S1t" } }, + ReplayArn: {}, + State: {}, + StateReason: {}, + ReplayStartTime: { type: "timestamp" }, }, }, }, - IndexDocuments: { + TagResource: { input: { type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, - }, - output: { - resultWrapper: "IndexDocumentsResult", - type: "structure", - members: { FieldNames: { shape: "S4" } }, - }, - }, - ListDomainNames: { - output: { - resultWrapper: "ListDomainNamesResult", - type: "structure", - members: { DomainNames: { type: "map", key: {}, value: {} } }, + required: ["ResourceARN", "Tags"], + members: { ResourceARN: {}, Tags: { shape: "Sm" } }, }, + output: { type: "structure", members: {} }, }, - UpdateAvailabilityOptions: { + TestEventPattern: { input: { type: "structure", - required: ["DomainName", "MultiAZ"], - members: { DomainName: {}, MultiAZ: { type: "boolean" } }, + required: ["EventPattern", "Event"], + members: { EventPattern: {}, Event: {} }, }, output: { - resultWrapper: "UpdateAvailabilityOptionsResult", type: "structure", - members: { AvailabilityOptions: { shape: "S2a" } }, + members: { Result: { type: "boolean" } }, }, }, - UpdateDomainEndpointOptions: { + UntagResource: { input: { type: "structure", - required: ["DomainName", "DomainEndpointOptions"], + required: ["ResourceARN", "TagKeys"], members: { - DomainName: {}, - DomainEndpointOptions: { shape: "S2f" }, + ResourceARN: {}, + TagKeys: { type: "list", member: {} }, }, }, - output: { - resultWrapper: "UpdateDomainEndpointOptionsResult", - type: "structure", - members: { DomainEndpointOptions: { shape: "S2e" } }, - }, - }, - UpdateScalingParameters: { - input: { - type: "structure", - required: ["DomainName", "ScalingParameters"], - members: { DomainName: {}, ScalingParameters: { shape: "S2v" } }, - }, - output: { - resultWrapper: "UpdateScalingParametersResult", - type: "structure", - required: ["ScalingParameters"], - members: { ScalingParameters: { shape: "S2u" } }, - }, + output: { type: "structure", members: {} }, }, - UpdateServiceAccessPolicies: { + UpdateArchive: { input: { type: "structure", - required: ["DomainName", "AccessPolicies"], - members: { DomainName: {}, AccessPolicies: {} }, + required: ["ArchiveName"], + members: { + ArchiveName: {}, + Description: {}, + EventPattern: {}, + RetentionDays: { type: "integer" }, + }, }, output: { - resultWrapper: "UpdateServiceAccessPoliciesResult", type: "structure", - required: ["AccessPolicies"], - members: { AccessPolicies: { shape: "S2z" } }, + members: { + ArchiveArn: {}, + State: {}, + StateReason: {}, + CreationTime: { type: "timestamp" }, + }, }, }, }, shapes: { - S4: { type: "list", member: {} }, - S8: { - type: "structure", - required: ["DomainId", "DomainName", "RequiresIndexDocuments"], - members: { - DomainId: {}, - DomainName: {}, - ARN: {}, - Created: { type: "boolean" }, - Deleted: { type: "boolean" }, - DocService: { shape: "Sc" }, - SearchService: { shape: "Sc" }, - RequiresIndexDocuments: { type: "boolean" }, - Processing: { type: "boolean" }, - SearchInstanceType: {}, - SearchPartitionCount: { type: "integer" }, - SearchInstanceCount: { type: "integer" }, - Limits: { - type: "structure", - required: ["MaximumReplicationCount", "MaximumPartitionCount"], - members: { - MaximumReplicationCount: { type: "integer" }, - MaximumPartitionCount: { type: "integer" }, - }, - }, + Sm: { + type: "list", + member: { + type: "structure", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, }, }, - Sc: { type: "structure", members: { Endpoint: {} } }, - Sl: { + S1h: { type: "structure", - required: ["AnalysisSchemeName", "AnalysisSchemeLanguage"], - members: { - AnalysisSchemeName: {}, - AnalysisSchemeLanguage: {}, - AnalysisOptions: { - type: "structure", - members: { - Synonyms: {}, - Stopwords: {}, - StemmingDictionary: {}, - JapaneseTokenizationDictionary: {}, - AlgorithmicStemming: {}, - }, - }, - }, - }, - Ss: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "Sl" }, Status: { shape: "St" } }, - }, - St: { - type: "structure", - required: ["CreationDate", "UpdateDate", "State"], - members: { - CreationDate: { type: "timestamp" }, - UpdateDate: { type: "timestamp" }, - UpdateVersion: { type: "integer" }, - State: {}, - PendingDeletion: { type: "boolean" }, - }, - }, - Sy: { - type: "structure", - required: ["ExpressionName", "ExpressionValue"], - members: { ExpressionName: {}, ExpressionValue: {} }, - }, - S11: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "Sy" }, Status: { shape: "St" } }, + required: ["Arn"], + members: { Arn: {}, FilterArns: { type: "list", member: {} } }, }, - S13: { - type: "structure", - required: ["IndexFieldName", "IndexFieldType"], - members: { - IndexFieldName: {}, - IndexFieldType: {}, - IntOptions: { - type: "structure", - members: { - DefaultValue: { type: "long" }, - SourceField: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, - }, - }, - DoubleOptions: { - type: "structure", - members: { - DefaultValue: { type: "double" }, - SourceField: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, - }, - }, - LiteralOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceField: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, - }, - }, - TextOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceField: {}, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, - HighlightEnabled: { type: "boolean" }, - AnalysisScheme: {}, + S2y: { + type: "list", + member: { + type: "structure", + required: ["Id", "Arn"], + members: { + Id: {}, + Arn: {}, + RoleArn: {}, + Input: {}, + InputPath: {}, + InputTransformer: { + type: "structure", + required: ["InputTemplate"], + members: { + InputPathsMap: { type: "map", key: {}, value: {} }, + InputTemplate: {}, + }, }, - }, - DateOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceField: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, + KinesisParameters: { + type: "structure", + required: ["PartitionKeyPath"], + members: { PartitionKeyPath: {} }, }, - }, - LatLonOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceField: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, - SortEnabled: { type: "boolean" }, + RunCommandParameters: { + type: "structure", + required: ["RunCommandTargets"], + members: { + RunCommandTargets: { + type: "list", + member: { + type: "structure", + required: ["Key", "Values"], + members: { + Key: {}, + Values: { type: "list", member: {} }, + }, + }, + }, + }, }, - }, - IntArrayOptions: { - type: "structure", - members: { - DefaultValue: { type: "long" }, - SourceFields: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, + EcsParameters: { + type: "structure", + required: ["TaskDefinitionArn"], + members: { + TaskDefinitionArn: {}, + TaskCount: { type: "integer" }, + LaunchType: {}, + NetworkConfiguration: { + type: "structure", + members: { + awsvpcConfiguration: { + type: "structure", + required: ["Subnets"], + members: { + Subnets: { shape: "S3k" }, + SecurityGroups: { shape: "S3k" }, + AssignPublicIp: {}, + }, + }, + }, + }, + PlatformVersion: {}, + Group: {}, + }, }, - }, - DoubleArrayOptions: { - type: "structure", - members: { - DefaultValue: { type: "double" }, - SourceFields: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, + BatchParameters: { + type: "structure", + required: ["JobDefinition", "JobName"], + members: { + JobDefinition: {}, + JobName: {}, + ArrayProperties: { + type: "structure", + members: { Size: { type: "integer" } }, + }, + RetryStrategy: { + type: "structure", + members: { Attempts: { type: "integer" } }, + }, + }, }, - }, - LiteralArrayOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceFields: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, + SqsParameters: { + type: "structure", + members: { MessageGroupId: {} }, }, - }, - TextArrayOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceFields: {}, - ReturnEnabled: { type: "boolean" }, - HighlightEnabled: { type: "boolean" }, - AnalysisScheme: {}, + HttpParameters: { + type: "structure", + members: { + PathParameterValues: { type: "list", member: {} }, + HeaderParameters: { type: "map", key: {}, value: {} }, + QueryStringParameters: { type: "map", key: {}, value: {} }, + }, }, - }, - DateArrayOptions: { - type: "structure", - members: { - DefaultValue: {}, - SourceFields: {}, - FacetEnabled: { type: "boolean" }, - SearchEnabled: { type: "boolean" }, - ReturnEnabled: { type: "boolean" }, + RedshiftDataParameters: { + type: "structure", + required: ["Database", "Sql"], + members: { + SecretManagerArn: {}, + Database: {}, + DbUser: {}, + Sql: {}, + StatementName: {}, + WithEvent: { type: "boolean" }, + }, }, - }, - }, - }, - S1n: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "S13" }, Status: { shape: "St" } }, - }, - S1p: { - type: "structure", - required: ["SuggesterName", "DocumentSuggesterOptions"], - members: { - SuggesterName: {}, - DocumentSuggesterOptions: { - type: "structure", - required: ["SourceField"], - members: { - SourceField: {}, - FuzzyMatching: {}, - SortExpression: {}, + DeadLetterConfig: { type: "structure", members: { Arn: {} } }, + RetryPolicy: { + type: "structure", + members: { + MaximumRetryAttempts: { type: "integer" }, + MaximumEventAgeInSeconds: { type: "integer" }, + }, }, }, }, }, - S1t: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "S1p" }, Status: { shape: "St" } }, - }, - S25: { type: "list", member: {} }, - S2a: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { type: "boolean" }, Status: { shape: "St" } }, - }, - S2e: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "S2f" }, Status: { shape: "St" } }, - }, - S2f: { - type: "structure", - members: { - EnforceHTTPS: { type: "boolean" }, - TLSSecurityPolicy: {}, - }, - }, - S2u: { - type: "structure", - required: ["Options", "Status"], - members: { Options: { shape: "S2v" }, Status: { shape: "St" } }, - }, - S2v: { - type: "structure", - members: { - DesiredInstanceType: {}, - DesiredReplicationCount: { type: "integer" }, - DesiredPartitionCount: { type: "integer" }, - }, - }, - S2z: { - type: "structure", - required: ["Options", "Status"], - members: { Options: {}, Status: { shape: "St" } }, - }, - }, - }; - - /***/ - }, - - /***/ 3396: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, - - /***/ 3405: /***/ function (module) { - module.exports = { - pagination: { - ListAliases: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListGroupMembers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListGroups: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListMailboxPermissions: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListOrganizations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListResourceDelegates: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListResources: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListUsers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, + S3k: { type: "list", member: {} }, + S4g: { type: "list", member: {} }, }, }; /***/ }, - /***/ 3410: /***/ function (module) { - module.exports = { - pagination: { - ListBundles: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListProjects: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - }, - }; - - /***/ - }, + /***/ 2747: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - /***/ 3413: /***/ function (module) { - module.exports = { - pagination: { - ListDevices: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListDomains: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListFleets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListWebsiteAuthorizationProviders: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListWebsiteCertificateAuthorities: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + apiLoader.services["sagemakerruntime"] = {}; + AWS.SageMakerRuntime = Service.defineService("sagemakerruntime", [ + "2017-05-13", + ]); + Object.defineProperty( + apiLoader.services["sagemakerruntime"], + "2017-05-13", + { + get: function get() { + var model = __webpack_require__(3387); + model.paginators = __webpack_require__(9239).pagination; + return model; }, - }, - }; - - /***/ - }, + enumerable: true, + configurable: true, + } + ); - /***/ 3421: /***/ function (module) { - module.exports = { pagination: {} }; + module.exports = AWS.SageMakerRuntime; /***/ }, - /***/ 3458: /***/ function (module, __unusedexports, __webpack_require__) { + /***/ 2750: /***/ function (module, __unusedexports, __webpack_require__) { // Generated by CoffeeScript 1.12.7 (function () { var XMLCData, @@ -98734,7 +101367,7 @@ module.exports = /******/ (function (modules, runtime) { XMLElement, XMLProcessingInstruction, XMLRaw, - XMLStreamWriter, + XMLStringWriter, XMLText, XMLWriterBase, extend = function (child, parent) { @@ -98777,145 +101410,149 @@ module.exports = /******/ (function (modules, runtime) { XMLWriterBase = __webpack_require__(9423); - module.exports = XMLStreamWriter = (function (superClass) { - extend(XMLStreamWriter, superClass); + module.exports = XMLStringWriter = (function (superClass) { + extend(XMLStringWriter, superClass); - function XMLStreamWriter(stream, options) { - XMLStreamWriter.__super__.constructor.call(this, options); - this.stream = stream; + function XMLStringWriter(options) { + XMLStringWriter.__super__.constructor.call(this, options); } - XMLStreamWriter.prototype.document = function (doc) { - var child, i, j, len, len1, ref, ref1, results; + XMLStringWriter.prototype.document = function (doc) { + var child, i, len, r, ref; + this.textispresent = false; + r = ""; ref = doc.children; for (i = 0, len = ref.length; i < len; i++) { child = ref[i]; - child.isLastRootNode = false; + r += function () { + switch (false) { + case !(child instanceof XMLDeclaration): + return this.declaration(child); + case !(child instanceof XMLDocType): + return this.docType(child); + case !(child instanceof XMLComment): + return this.comment(child); + case !(child instanceof XMLProcessingInstruction): + return this.processingInstruction(child); + default: + return this.element(child, 0); + } + }.call(this); } - doc.children[doc.children.length - 1].isLastRootNode = true; - ref1 = doc.children; - results = []; - for (j = 0, len1 = ref1.length; j < len1; j++) { - child = ref1[j]; - switch (false) { - case !(child instanceof XMLDeclaration): - results.push(this.declaration(child)); - break; - case !(child instanceof XMLDocType): - results.push(this.docType(child)); - break; - case !(child instanceof XMLComment): - results.push(this.comment(child)); - break; - case !(child instanceof XMLProcessingInstruction): - results.push(this.processingInstruction(child)); - break; - default: - results.push(this.element(child)); - } + if (this.pretty && r.slice(-this.newline.length) === this.newline) { + r = r.slice(0, -this.newline.length); } - return results; + return r; }; - XMLStreamWriter.prototype.attribute = function (att) { - return this.stream.write(" " + att.name + '="' + att.value + '"'); + XMLStringWriter.prototype.attribute = function (att) { + return " " + att.name + '="' + att.value + '"'; }; - XMLStreamWriter.prototype.cdata = function (node, level) { - return this.stream.write( - this.space(level) + - "" + - this.endline(node) + XMLStringWriter.prototype.cdata = function (node, level) { + return ( + this.space(level) + "" + this.newline ); }; - XMLStreamWriter.prototype.comment = function (node, level) { - return this.stream.write( - this.space(level) + - "" + - this.endline(node) + XMLStringWriter.prototype.comment = function (node, level) { + return ( + this.space(level) + "" + this.newline ); }; - XMLStreamWriter.prototype.declaration = function (node, level) { - this.stream.write(this.space(level)); - this.stream.write('"); - return this.stream.write(this.endline(node)); + r += this.spacebeforeslash + "?>"; + r += this.newline; + return r; }; - XMLStreamWriter.prototype.docType = function (node, level) { - var child, i, len, ref; + XMLStringWriter.prototype.docType = function (node, level) { + var child, i, len, r, ref; level || (level = 0); - this.stream.write(this.space(level)); - this.stream.write(" 0) { - this.stream.write(" ["); - this.stream.write(this.endline(node)); + r += " ["; + r += this.newline; ref = node.children; for (i = 0, len = ref.length; i < len; i++) { child = ref[i]; - switch (false) { - case !(child instanceof XMLDTDAttList): - this.dtdAttList(child, level + 1); - break; - case !(child instanceof XMLDTDElement): - this.dtdElement(child, level + 1); - break; - case !(child instanceof XMLDTDEntity): - this.dtdEntity(child, level + 1); - break; - case !(child instanceof XMLDTDNotation): - this.dtdNotation(child, level + 1); - break; - case !(child instanceof XMLCData): - this.cdata(child, level + 1); - break; - case !(child instanceof XMLComment): - this.comment(child, level + 1); - break; - case !(child instanceof XMLProcessingInstruction): - this.processingInstruction(child, level + 1); - break; - default: - throw new Error( - "Unknown DTD node type: " + child.constructor.name - ); - } + r += function () { + switch (false) { + case !(child instanceof XMLDTDAttList): + return this.dtdAttList(child, level + 1); + case !(child instanceof XMLDTDElement): + return this.dtdElement(child, level + 1); + case !(child instanceof XMLDTDEntity): + return this.dtdEntity(child, level + 1); + case !(child instanceof XMLDTDNotation): + return this.dtdNotation(child, level + 1); + case !(child instanceof XMLCData): + return this.cdata(child, level + 1); + case !(child instanceof XMLComment): + return this.comment(child, level + 1); + case !(child instanceof XMLProcessingInstruction): + return this.processingInstruction(child, level + 1); + default: + throw new Error( + "Unknown DTD node type: " + child.constructor.name + ); + } + }.call(this); } - this.stream.write("]"); + r += "]"; } - this.stream.write(this.spacebeforeslash + ">"); - return this.stream.write(this.endline(node)); + r += this.spacebeforeslash + ">"; + r += this.newline; + return r; }; - XMLStreamWriter.prototype.element = function (node, level) { - var att, child, i, len, name, ref, ref1, space; + XMLStringWriter.prototype.element = function (node, level) { + var att, + child, + i, + j, + len, + len1, + name, + r, + ref, + ref1, + ref2, + space, + textispresentwasset; level || (level = 0); + textispresentwasset = false; + if (this.textispresent) { + this.newline = ""; + this.pretty = false; + } else { + this.newline = this.newlinedefault; + this.pretty = this.prettydefault; + } space = this.space(level); - this.stream.write(space + "<" + node.name); + r = ""; + r += space + "<" + node.name; ref = node.attributes; for (name in ref) { if (!hasProp.call(ref, name)) continue; att = ref[name]; - this.attribute(att); + r += this.attribute(att); } if ( node.children.length === 0 || @@ -98924,3744 +101561,3748 @@ module.exports = /******/ (function (modules, runtime) { }) ) { if (this.allowEmpty) { - this.stream.write(">"); + r += ">" + this.newline; } else { - this.stream.write(this.spacebeforeslash + "/>"); + r += this.spacebeforeslash + "/>" + this.newline; } } else if ( this.pretty && node.children.length === 1 && node.children[0].value != null ) { - this.stream.write(">"); - this.stream.write(node.children[0].value); - this.stream.write(""); + r += ">"; + r += node.children[0].value; + r += "" + this.newline; } else { - this.stream.write(">" + this.newline); - ref1 = node.children; - for (i = 0, len = ref1.length; i < len; i++) { - child = ref1[i]; - switch (false) { - case !(child instanceof XMLCData): - this.cdata(child, level + 1); - break; - case !(child instanceof XMLComment): - this.comment(child, level + 1); - break; - case !(child instanceof XMLElement): - this.element(child, level + 1); - break; - case !(child instanceof XMLRaw): - this.raw(child, level + 1); - break; - case !(child instanceof XMLText): - this.text(child, level + 1); - break; - case !(child instanceof XMLProcessingInstruction): - this.processingInstruction(child, level + 1); + if (this.dontprettytextnodes) { + ref1 = node.children; + for (i = 0, len = ref1.length; i < len; i++) { + child = ref1[i]; + if (child.value != null) { + this.textispresent++; + textispresentwasset = true; break; - default: - throw new Error( - "Unknown XML node type: " + child.constructor.name - ); + } } } - this.stream.write(space + ""); + if (this.textispresent) { + this.newline = ""; + this.pretty = false; + space = this.space(level); + } + r += ">" + this.newline; + ref2 = node.children; + for (j = 0, len1 = ref2.length; j < len1; j++) { + child = ref2[j]; + r += function () { + switch (false) { + case !(child instanceof XMLCData): + return this.cdata(child, level + 1); + case !(child instanceof XMLComment): + return this.comment(child, level + 1); + case !(child instanceof XMLElement): + return this.element(child, level + 1); + case !(child instanceof XMLRaw): + return this.raw(child, level + 1); + case !(child instanceof XMLText): + return this.text(child, level + 1); + case !(child instanceof XMLProcessingInstruction): + return this.processingInstruction(child, level + 1); + default: + throw new Error( + "Unknown XML node type: " + child.constructor.name + ); + } + }.call(this); + } + if (textispresentwasset) { + this.textispresent--; + } + if (!this.textispresent) { + this.newline = this.newlinedefault; + this.pretty = this.prettydefault; + } + r += space + "" + this.newline; } - return this.stream.write(this.endline(node)); + return r; }; - XMLStreamWriter.prototype.processingInstruction = function ( + XMLStringWriter.prototype.processingInstruction = function ( node, level ) { - this.stream.write(this.space(level) + "" + this.endline(node) - ); + r += this.spacebeforeslash + "?>" + this.newline; + return r; }; - XMLStreamWriter.prototype.raw = function (node, level) { - return this.stream.write( - this.space(level) + node.value + this.endline(node) - ); + XMLStringWriter.prototype.raw = function (node, level) { + return this.space(level) + node.value + this.newline; }; - XMLStreamWriter.prototype.text = function (node, level) { - return this.stream.write( - this.space(level) + node.value + this.endline(node) - ); + XMLStringWriter.prototype.text = function (node, level) { + return this.space(level) + node.value + this.newline; }; - XMLStreamWriter.prototype.dtdAttList = function (node, level) { - this.stream.write( + XMLStringWriter.prototype.dtdAttList = function (node, level) { + var r; + r = this.space(level) + - "" + this.endline(node) - ); + r += this.spacebeforeslash + ">" + this.newline; + return r; }; - XMLStreamWriter.prototype.dtdElement = function (node, level) { - this.stream.write( - this.space(level) + "" + this.endline(node) + XMLStringWriter.prototype.dtdElement = function (node, level) { + return ( + this.space(level) + + "" + + this.newline ); }; - XMLStreamWriter.prototype.dtdEntity = function (node, level) { - this.stream.write(this.space(level) + "" + this.endline(node) - ); + r += this.spacebeforeslash + ">" + this.newline; + return r; }; - XMLStreamWriter.prototype.dtdNotation = function (node, level) { - this.stream.write(this.space(level) + "" + this.endline(node) - ); + r += this.spacebeforeslash + ">" + this.newline; + return r; }; - XMLStreamWriter.prototype.endline = function (node) { - if (!node.isLastRootNode) { - return this.newline; + XMLStringWriter.prototype.openNode = function (node, level) { + var att, name, r, ref; + level || (level = 0); + if (node instanceof XMLElement) { + r = this.space(level) + "<" + node.name; + ref = node.attributes; + for (name in ref) { + if (!hasProp.call(ref, name)) continue; + att = ref[name]; + r += this.attribute(att); + } + r += (node.children ? ">" : "/>") + this.newline; + return r; } else { - return ""; + r = this.space(level) + "") + this.newline; + return r; } }; - return XMLStreamWriter; + XMLStringWriter.prototype.closeNode = function (node, level) { + level || (level = 0); + switch (false) { + case !(node instanceof XMLElement): + return ( + this.space(level) + "" + this.newline + ); + case !(node instanceof XMLDocType): + return this.space(level) + "]>" + this.newline; + } + }; + + return XMLStringWriter; })(XMLWriterBase); }.call(this)); /***/ }, - /***/ 3494: /***/ function (module) { - module.exports = { - pagination: { - DescribeEndpoints: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Endpoints", - }, - ListJobs: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Jobs", - }, - ListPresets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Presets", - }, - ListJobTemplates: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "JobTemplates", - }, - ListQueues: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - result_key: "Queues", - }, - }, - }; - - /***/ - }, - - /***/ 3497: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); - - function _interopDefault(ex) { - return ex && typeof ex === "object" && "default" in ex - ? ex["default"] - : ex; - } - - var deprecation = __webpack_require__(7692); - var once = _interopDefault(__webpack_require__(6049)); + /***/ 2751: /***/ function (module, __unusedexports, __webpack_require__) { + var AWS = __webpack_require__(395); + __webpack_require__(3711); + var inherit = AWS.util.inherit; - const logOnce = once((deprecation) => console.warn(deprecation)); /** - * Error with extra properties to help with debugging + * Represents a metadata service available on EC2 instances. Using the + * {request} method, you can receieve metadata about any available resource + * on the metadata service. + * + * You can disable the use of the IMDS by setting the AWS_EC2_METADATA_DISABLED + * environment variable to a truthy value. + * + * @!attribute [r] httpOptions + * @return [map] a map of options to pass to the underlying HTTP request: + * + * * **timeout** (Number) — a timeout value in milliseconds to wait + * before aborting the connection. Set to 0 for no timeout. + * + * @!macro nobrowser */ + AWS.MetadataService = inherit({ + /** + * @return [String] the hostname of the instance metadata service + */ + host: "169.254.169.254", - class RequestError extends Error { - constructor(message, statusCode, options) { - super(message); // Maintains proper stack trace (only available on V8) + /** + * @!ignore + */ - /* istanbul ignore next */ + /** + * Default HTTP options. By default, the metadata service is set to not + * timeout on long requests. This means that on non-EC2 machines, this + * request will never return. If you are calling this operation from an + * environment that may not always run on EC2, set a `timeout` value so + * the SDK will abort the request after a given number of milliseconds. + */ + httpOptions: { timeout: 0 }, - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } + /** + * when enabled, metadata service will not fetch token + */ + disableFetchToken: false, - this.name = "HttpError"; - this.status = statusCode; - Object.defineProperty(this, "code", { - get() { - logOnce( - new deprecation.Deprecation( - "[@octokit/request-error] `error.code` is deprecated, use `error.status`." - ) - ); - return statusCode; - }, - }); - this.headers = options.headers || {}; // redact request credentials without mutating original request options + /** + * Creates a new MetadataService object with a given set of options. + * + * @option options host [String] the hostname of the instance metadata + * service + * @option options httpOptions [map] a map of options to pass to the + * underlying HTTP request: + * + * * **timeout** (Number) — a timeout value in milliseconds to wait + * before aborting the connection. Set to 0 for no timeout. + * @option options maxRetries [Integer] the maximum number of retries to + * perform for timeout errors + * @option options retryDelayOptions [map] A set of options to configure the + * retry delay on retryable errors. See AWS.Config for details. + */ + constructor: function MetadataService(options) { + AWS.util.update(this, options); + }, - const requestCopy = Object.assign({}, options.request); + /** + * Sends a request to the instance metadata service for a given resource. + * + * @param path [String] the path of the resource to get + * + * @param options [map] an optional map used to make request + * + * * **method** (String) — HTTP request method + * + * * **headers** (map) — a map of response header keys and their respective values + * + * @callback callback function(err, data) + * Called when a response is available from the service. + * @param err [Error, null] if an error occurred, this value will be set + * @param data [String, null] if the request was successful, the body of + * the response + */ + request: function request(path, options, callback) { + if (arguments.length === 2) { + callback = options; + options = {}; + } - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ), - }); + if (process.env[AWS.util.imdsDisabledEnv]) { + callback( + new Error("EC2 Instance Metadata Service access disabled") + ); + return; } - requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit - // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications - .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended - // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header - .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - } - } - - exports.RequestError = RequestError; - //# sourceMappingURL=index.js.map - - /***/ - }, - - /***/ 3501: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - TableExists: { - delay: 20, - operation: "DescribeTable", - maxAttempts: 25, - acceptors: [ - { - expected: "ACTIVE", - matcher: "path", - state: "success", - argument: "Table.TableStatus", - }, - { - expected: "ResourceNotFoundException", - matcher: "error", - state: "retry", - }, - ], - }, - TableNotExists: { - delay: 20, - operation: "DescribeTable", - maxAttempts: 25, - acceptors: [ - { - expected: "ResourceNotFoundException", - matcher: "error", - state: "success", - }, - ], - }, + path = path || "/"; + var httpRequest = new AWS.HttpRequest("http://" + this.host + path); + httpRequest.method = options.method || "GET"; + if (options.headers) { + httpRequest.headers = options.headers; + } + AWS.util.handleRequestWithRetries(httpRequest, this, callback); }, - }; - - /***/ - }, - - /***/ 3503: /***/ function (module, __unusedexports, __webpack_require__) { - var AWS = __webpack_require__(395); - var Api = __webpack_require__(7788); - var regionConfig = __webpack_require__(3546); - var inherit = AWS.util.inherit; - var clientCount = 0; + /** + * @api private + */ + loadCredentialsCallbacks: [], - /** - * The service class representing an AWS service. - * - * @class_abstract This class is an abstract class. - * - * @!attribute apiVersions - * @return [Array] the list of API versions supported by this service. - * @readonly - */ - AWS.Service = inherit({ /** - * Create a new service object with a configuration object + * Fetches metadata token used for getting credentials * - * @param config [map] a map of configuration options + * @api private + * @callback callback function(err, token) + * Called when token is loaded from the resource */ - constructor: function Service(config) { - if (!this.loadServiceClass) { - throw AWS.util.error( - new Error(), - "Service must be constructed with `new' operator" - ); - } - var ServiceClass = this.loadServiceClass(config || {}); - if (ServiceClass) { - var originalConfig = AWS.util.copy(config); - var svc = new ServiceClass(config); - Object.defineProperty(svc, "_originalConfig", { - get: function () { - return originalConfig; + fetchMetadataToken: function fetchMetadataToken(callback) { + var self = this; + var tokenFetchPath = "/latest/api/token"; + self.request( + tokenFetchPath, + { + method: "PUT", + headers: { + "x-aws-ec2-metadata-token-ttl-seconds": "21600", }, - enumerable: false, - configurable: true, - }); - svc._clientId = ++clientCount; - return svc; - } - this.initialize(config); + }, + callback + ); }, /** + * Fetches credentials + * * @api private + * @callback cb function(err, creds) + * Called when credentials are loaded from the resource */ - initialize: function initialize(config) { - var svcConfig = AWS.config[this.serviceIdentifier]; - this.config = new AWS.Config(AWS.config); - if (svcConfig) this.config.update(svcConfig, true); - if (config) this.config.update(config, true); - - this.validateService(); - if (!this.config.endpoint) regionConfig.configureEndpoint(this); + fetchCredentials: function fetchCredentials(options, cb) { + var self = this; + var basePath = "/latest/meta-data/iam/security-credentials/"; - this.config.endpoint = this.endpointFromTemplate( - this.config.endpoint - ); - this.setEndpoint(this.config.endpoint); - //enable attaching listeners to service client - AWS.SequentialExecutor.call(this); - AWS.Service.addDefaultMonitoringListeners(this); - if ( - (this.config.clientSideMonitoring || - AWS.Service._clientSideMonitoring) && - this.publisher - ) { - var publisher = this.publisher; - this.addNamedListener( - "PUBLISH_API_CALL", - "apiCall", - function PUBLISH_API_CALL(event) { - process.nextTick(function () { - publisher.eventHandler(event); - }); + self.request(basePath, options, function (err, roleName) { + if (err) { + self.disableFetchToken = !(err.statusCode === 401); + cb( + AWS.util.error(err, { + message: "EC2 Metadata roleName request returned error", + }) + ); + return; + } + roleName = roleName.split("\n")[0]; // grab first (and only) role + self.request(basePath + roleName, options, function ( + credErr, + credData + ) { + if (credErr) { + self.disableFetchToken = !(credErr.statusCode === 401); + cb( + AWS.util.error(credErr, { + message: "EC2 Metadata creds request returned error", + }) + ); + return; } - ); - this.addNamedListener( - "PUBLISH_API_ATTEMPT", - "apiCallAttempt", - function PUBLISH_API_ATTEMPT(event) { - process.nextTick(function () { - publisher.eventHandler(event); - }); + try { + var credentials = JSON.parse(credData); + cb(null, credentials); + } catch (parseError) { + cb(parseError); } - ); - } + }); + }); }, /** + * Loads a set of credentials stored in the instance metadata service + * * @api private + * @callback callback function(err, credentials) + * Called when credentials are loaded from the resource + * @param err [Error] if an error occurred, this value will be set + * @param credentials [Object] the raw JSON object containing all + * metadata from the credentials resource */ - validateService: function validateService() {}, - - /** - * @api private - */ - loadServiceClass: function loadServiceClass(serviceConfig) { - var config = serviceConfig; - if (!AWS.util.isEmpty(this.api)) { - return null; - } else if (config.apiConfig) { - return AWS.Service.defineServiceApi( - this.constructor, - config.apiConfig - ); - } else if (!this.constructor.services) { - return null; - } else { - config = new AWS.Config(AWS.config); - config.update(serviceConfig, true); - var version = - config.apiVersions[this.constructor.serviceIdentifier]; - version = version || config.apiVersion; - return this.getLatestServiceClass(version); + loadCredentials: function loadCredentials(callback) { + var self = this; + self.loadCredentialsCallbacks.push(callback); + if (self.loadCredentialsCallbacks.length > 1) { + return; } - }, - /** - * @api private - */ - getLatestServiceClass: function getLatestServiceClass(version) { - version = this.getLatestServiceVersion(version); - if (this.constructor.services[version] === null) { - AWS.Service.defineServiceApi(this.constructor, version); + function callbacks(err, creds) { + var cb; + while ((cb = self.loadCredentialsCallbacks.shift()) !== undefined) { + cb(err, creds); + } } - return this.constructor.services[version]; + if (self.disableFetchToken) { + self.fetchCredentials({}, callbacks); + } else { + self.fetchMetadataToken(function (tokenError, token) { + if (tokenError) { + if (tokenError.code === "TimeoutError") { + self.disableFetchToken = true; + } else if (tokenError.retryable === true) { + callbacks( + AWS.util.error(tokenError, { + message: "EC2 Metadata token request returned error", + }) + ); + return; + } else if (tokenError.statusCode === 400) { + callbacks( + AWS.util.error(tokenError, { + message: "EC2 Metadata token request returned 400", + }) + ); + return; + } + } + var options = {}; + if (token) { + options.headers = { + "x-aws-ec2-metadata-token": token, + }; + } + self.fetchCredentials(options, callbacks); + }); + } }, + }); - /** - * @api private - */ - getLatestServiceVersion: function getLatestServiceVersion(version) { - if ( - !this.constructor.services || - this.constructor.services.length === 0 - ) { - throw new Error( - "No services defined on " + this.constructor.serviceIdentifier - ); - } + /** + * @api private + */ + module.exports = AWS.MetadataService; - if (!version) { - version = "latest"; - } else if (AWS.util.isType(version, Date)) { - version = AWS.util.date.iso8601(version).split("T")[0]; - } + /***/ + }, - if (Object.hasOwnProperty(this.constructor.services, version)) { - return version; - } + /***/ 2760: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2017-10-15", + endpointPrefix: "api.pricing", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "AWS Pricing", + serviceFullName: "AWS Price List Service", + serviceId: "Pricing", + signatureVersion: "v4", + signingName: "pricing", + targetPrefix: "AWSPriceListService", + uid: "pricing-2017-10-15", + }, + operations: { + DescribeServices: { + input: { + type: "structure", + members: { + ServiceCode: {}, + FormatVersion: {}, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + Services: { + type: "list", + member: { + type: "structure", + members: { + ServiceCode: {}, + AttributeNames: { type: "list", member: {} }, + }, + }, + }, + FormatVersion: {}, + NextToken: {}, + }, + }, + }, + GetAttributeValues: { + input: { + type: "structure", + required: ["ServiceCode", "AttributeName"], + members: { + ServiceCode: {}, + AttributeName: {}, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + AttributeValues: { + type: "list", + member: { type: "structure", members: { Value: {} } }, + }, + NextToken: {}, + }, + }, + }, + GetProducts: { + input: { + type: "structure", + members: { + ServiceCode: {}, + Filters: { + type: "list", + member: { + type: "structure", + required: ["Type", "Field", "Value"], + members: { Type: {}, Field: {}, Value: {} }, + }, + }, + FormatVersion: {}, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + FormatVersion: {}, + PriceList: { type: "list", member: { jsonvalue: true } }, + NextToken: {}, + }, + }, + }, + }, + shapes: {}, + }; - var keys = Object.keys(this.constructor.services).sort(); - var selectedVersion = null; - for (var i = keys.length - 1; i >= 0; i--) { - // versions that end in "*" are not available on disk and can be - // skipped, so do not choose these as selectedVersions - if (keys[i][keys[i].length - 1] !== "*") { - selectedVersion = keys[i]; - } - if (keys[i].substr(0, 10) <= version) { - return selectedVersion; - } - } + /***/ + }, - throw new Error( - "Could not find " + - this.constructor.serviceIdentifier + - " API to satisfy version constraint `" + - version + - "'" - ); + /***/ 2766: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2017-09-30", + endpointPrefix: "kinesisvideo", + protocol: "rest-json", + serviceAbbreviation: "Kinesis Video", + serviceFullName: "Amazon Kinesis Video Streams", + serviceId: "Kinesis Video", + signatureVersion: "v4", + uid: "kinesisvideo-2017-09-30", + }, + operations: { + CreateSignalingChannel: { + http: { requestUri: "/createSignalingChannel" }, + input: { + type: "structure", + required: ["ChannelName"], + members: { + ChannelName: {}, + ChannelType: {}, + SingleMasterConfiguration: { shape: "S4" }, + Tags: { type: "list", member: { shape: "S7" } }, + }, + }, + output: { type: "structure", members: { ChannelARN: {} } }, + }, + CreateStream: { + http: { requestUri: "/createStream" }, + input: { + type: "structure", + required: ["StreamName"], + members: { + DeviceName: {}, + StreamName: {}, + MediaType: {}, + KmsKeyId: {}, + DataRetentionInHours: { type: "integer" }, + Tags: { shape: "Si" }, + }, + }, + output: { type: "structure", members: { StreamARN: {} } }, + }, + DeleteSignalingChannel: { + http: { requestUri: "/deleteSignalingChannel" }, + input: { + type: "structure", + required: ["ChannelARN"], + members: { ChannelARN: {}, CurrentVersion: {} }, + }, + output: { type: "structure", members: {} }, + }, + DeleteStream: { + http: { requestUri: "/deleteStream" }, + input: { + type: "structure", + required: ["StreamARN"], + members: { StreamARN: {}, CurrentVersion: {} }, + }, + output: { type: "structure", members: {} }, + }, + DescribeSignalingChannel: { + http: { requestUri: "/describeSignalingChannel" }, + input: { + type: "structure", + members: { ChannelName: {}, ChannelARN: {} }, + }, + output: { + type: "structure", + members: { ChannelInfo: { shape: "Sr" } }, + }, + }, + DescribeStream: { + http: { requestUri: "/describeStream" }, + input: { + type: "structure", + members: { StreamName: {}, StreamARN: {} }, + }, + output: { + type: "structure", + members: { StreamInfo: { shape: "Sw" } }, + }, + }, + GetDataEndpoint: { + http: { requestUri: "/getDataEndpoint" }, + input: { + type: "structure", + required: ["APIName"], + members: { StreamName: {}, StreamARN: {}, APIName: {} }, + }, + output: { type: "structure", members: { DataEndpoint: {} } }, + }, + GetSignalingChannelEndpoint: { + http: { requestUri: "/getSignalingChannelEndpoint" }, + input: { + type: "structure", + required: ["ChannelARN"], + members: { + ChannelARN: {}, + SingleMasterChannelEndpointConfiguration: { + type: "structure", + members: { + Protocols: { type: "list", member: {} }, + Role: {}, + }, + }, + }, + }, + output: { + type: "structure", + members: { + ResourceEndpointList: { + type: "list", + member: { + type: "structure", + members: { Protocol: {}, ResourceEndpoint: {} }, + }, + }, + }, + }, + }, + ListSignalingChannels: { + http: { requestUri: "/listSignalingChannels" }, + input: { + type: "structure", + members: { + MaxResults: { type: "integer" }, + NextToken: {}, + ChannelNameCondition: { + type: "structure", + members: { ComparisonOperator: {}, ComparisonValue: {} }, + }, + }, + }, + output: { + type: "structure", + members: { + ChannelInfoList: { type: "list", member: { shape: "Sr" } }, + NextToken: {}, + }, + }, + }, + ListStreams: { + http: { requestUri: "/listStreams" }, + input: { + type: "structure", + members: { + MaxResults: { type: "integer" }, + NextToken: {}, + StreamNameCondition: { + type: "structure", + members: { ComparisonOperator: {}, ComparisonValue: {} }, + }, + }, + }, + output: { + type: "structure", + members: { + StreamInfoList: { type: "list", member: { shape: "Sw" } }, + NextToken: {}, + }, + }, + }, + ListTagsForResource: { + http: { requestUri: "/ListTagsForResource" }, + input: { + type: "structure", + required: ["ResourceARN"], + members: { NextToken: {}, ResourceARN: {} }, + }, + output: { + type: "structure", + members: { NextToken: {}, Tags: { shape: "Si" } }, + }, + }, + ListTagsForStream: { + http: { requestUri: "/listTagsForStream" }, + input: { + type: "structure", + members: { NextToken: {}, StreamARN: {}, StreamName: {} }, + }, + output: { + type: "structure", + members: { NextToken: {}, Tags: { shape: "Si" } }, + }, + }, + TagResource: { + http: { requestUri: "/TagResource" }, + input: { + type: "structure", + required: ["ResourceARN", "Tags"], + members: { + ResourceARN: {}, + Tags: { type: "list", member: { shape: "S7" } }, + }, + }, + output: { type: "structure", members: {} }, + }, + TagStream: { + http: { requestUri: "/tagStream" }, + input: { + type: "structure", + required: ["Tags"], + members: { StreamARN: {}, StreamName: {}, Tags: { shape: "Si" } }, + }, + output: { type: "structure", members: {} }, + }, + UntagResource: { + http: { requestUri: "/UntagResource" }, + input: { + type: "structure", + required: ["ResourceARN", "TagKeyList"], + members: { ResourceARN: {}, TagKeyList: { shape: "S1v" } }, + }, + output: { type: "structure", members: {} }, + }, + UntagStream: { + http: { requestUri: "/untagStream" }, + input: { + type: "structure", + required: ["TagKeyList"], + members: { + StreamARN: {}, + StreamName: {}, + TagKeyList: { shape: "S1v" }, + }, + }, + output: { type: "structure", members: {} }, + }, + UpdateDataRetention: { + http: { requestUri: "/updateDataRetention" }, + input: { + type: "structure", + required: [ + "CurrentVersion", + "Operation", + "DataRetentionChangeInHours", + ], + members: { + StreamName: {}, + StreamARN: {}, + CurrentVersion: {}, + Operation: {}, + DataRetentionChangeInHours: { type: "integer" }, + }, + }, + output: { type: "structure", members: {} }, + }, + UpdateSignalingChannel: { + http: { requestUri: "/updateSignalingChannel" }, + input: { + type: "structure", + required: ["ChannelARN", "CurrentVersion"], + members: { + ChannelARN: {}, + CurrentVersion: {}, + SingleMasterConfiguration: { shape: "S4" }, + }, + }, + output: { type: "structure", members: {} }, + }, + UpdateStream: { + http: { requestUri: "/updateStream" }, + input: { + type: "structure", + required: ["CurrentVersion"], + members: { + StreamName: {}, + StreamARN: {}, + CurrentVersion: {}, + DeviceName: {}, + MediaType: {}, + }, + }, + output: { type: "structure", members: {} }, + }, + }, + shapes: { + S4: { + type: "structure", + members: { MessageTtlSeconds: { type: "integer" } }, + }, + S7: { + type: "structure", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, + }, + Si: { type: "map", key: {}, value: {} }, + Sr: { + type: "structure", + members: { + ChannelName: {}, + ChannelARN: {}, + ChannelType: {}, + ChannelStatus: {}, + CreationTime: { type: "timestamp" }, + SingleMasterConfiguration: { shape: "S4" }, + Version: {}, + }, + }, + Sw: { + type: "structure", + members: { + DeviceName: {}, + StreamName: {}, + StreamARN: {}, + MediaType: {}, + KmsKeyId: {}, + Version: {}, + Status: {}, + CreationTime: { type: "timestamp" }, + DataRetentionInHours: { type: "integer" }, + }, + }, + S1v: { type: "list", member: {} }, }, + }; - /** - * @api private - */ - api: {}, + /***/ + }, - /** - * @api private - */ - defaultRetryCount: 3, + /***/ 2802: /***/ function (__unusedmodule, exports) { + (function (exports) { + "use strict"; - /** - * @api private - */ - customizeRequests: function customizeRequests(callback) { - if (!callback) { - this.customRequestHandler = null; - } else if (typeof callback === "function") { - this.customRequestHandler = callback; + function isArray(obj) { + if (obj !== null) { + return Object.prototype.toString.call(obj) === "[object Array]"; } else { - throw new Error( - "Invalid callback type '" + - typeof callback + - "' provided in customizeRequests" - ); + return false; } - }, + } - /** - * Calls an operation on a service with the given input parameters. - * - * @param operation [String] the name of the operation to call on the service. - * @param params [map] a map of input options for the operation - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - makeRequest: function makeRequest(operation, params, callback) { - if (typeof params === "function") { - callback = params; - params = null; + function isObject(obj) { + if (obj !== null) { + return Object.prototype.toString.call(obj) === "[object Object]"; + } else { + return false; } + } - params = params || {}; - if (this.config.params) { - // copy only toplevel bound params - var rules = this.api.operations[operation]; - if (rules) { - params = AWS.util.copy(params); - AWS.util.each(this.config.params, function (key, value) { - if (rules.input.members[key]) { - if (params[key] === undefined || params[key] === null) { - params[key] = value; - } - } - }); - } + function strictDeepEqual(first, second) { + // Check the scalar case first. + if (first === second) { + return true; } - var request = new AWS.Request(this, operation, params); - this.addAllRequestListeners(request); - this.attachMonitoringEmitter(request); - if (callback) request.send(callback); - return request; - }, - - /** - * Calls an operation on a service with the given input parameters, without - * any authentication data. This method is useful for "public" API operations. - * - * @param operation [String] the name of the operation to call on the service. - * @param params [map] a map of input options for the operation - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - makeUnauthenticatedRequest: function makeUnauthenticatedRequest( - operation, - params, - callback - ) { - if (typeof params === "function") { - callback = params; - params = {}; + // Check if they are the same type. + var firstType = Object.prototype.toString.call(first); + if (firstType !== Object.prototype.toString.call(second)) { + return false; } - - var request = this.makeRequest(operation, params).toUnauthenticated(); - return callback ? request.send(callback) : request; - }, - - /** - * Waits for a given state - * - * @param state [String] the state on the service to wait for - * @param params [map] a map of parameters to pass with each request - * @option params $waiter [map] a map of configuration options for the waiter - * @option params $waiter.delay [Number] The number of seconds to wait between - * requests - * @option params $waiter.maxAttempts [Number] The maximum number of requests - * to send while waiting - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - waitFor: function waitFor(state, params, callback) { - var waiter = new AWS.ResourceWaiter(this, state); - return waiter.wait(params, callback); - }, - - /** - * @api private - */ - addAllRequestListeners: function addAllRequestListeners(request) { - var list = [ - AWS.events, - AWS.EventListeners.Core, - this.serviceInterface(), - AWS.EventListeners.CorePost, - ]; - for (var i = 0; i < list.length; i++) { - if (list[i]) request.addListeners(list[i]); + // We know that first and second have the same type so we can just check the + // first type from now on. + if (isArray(first) === true) { + // Short circuit if they're not the same length; + if (first.length !== second.length) { + return false; + } + for (var i = 0; i < first.length; i++) { + if (strictDeepEqual(first[i], second[i]) === false) { + return false; + } + } + return true; } - - // disable parameter validation - if (!this.config.paramValidation) { - request.removeListener( - "validate", - AWS.EventListeners.Core.VALIDATE_PARAMETERS - ); + if (isObject(first) === true) { + // An object is equal if it has the same key/value pairs. + var keysSeen = {}; + for (var key in first) { + if (hasOwnProperty.call(first, key)) { + if (strictDeepEqual(first[key], second[key]) === false) { + return false; + } + keysSeen[key] = true; + } + } + // Now check that there aren't any keys in second that weren't + // in first. + for (var key2 in second) { + if (hasOwnProperty.call(second, key2)) { + if (keysSeen[key2] !== true) { + return false; + } + } + } + return true; } + return false; + } - if (this.config.logger) { - // add logging events - request.addListeners(AWS.EventListeners.Logger); - } + function isFalse(obj) { + // From the spec: + // A false value corresponds to the following values: + // Empty list + // Empty object + // Empty string + // False boolean + // null value - this.setupRequestListeners(request); - // call prototype's customRequestHandler - if ( - typeof this.constructor.prototype.customRequestHandler === - "function" - ) { - this.constructor.prototype.customRequestHandler(request); + // First check the scalar values. + if (obj === "" || obj === false || obj === null) { + return true; + } else if (isArray(obj) && obj.length === 0) { + // Check for an empty array. + return true; + } else if (isObject(obj)) { + // Check for an empty object. + for (var key in obj) { + // If there are any keys, then + // the object is not empty so the object + // is not false. + if (obj.hasOwnProperty(key)) { + return false; + } + } + return true; + } else { + return false; } - // call instance's customRequestHandler - if ( - Object.prototype.hasOwnProperty.call( - this, - "customRequestHandler" - ) && - typeof this.customRequestHandler === "function" - ) { - this.customRequestHandler(request); + } + + function objValues(obj) { + var keys = Object.keys(obj); + var values = []; + for (var i = 0; i < keys.length; i++) { + values.push(obj[keys[i]]); } - }, + return values; + } - /** - * Event recording metrics for a whole API call. - * @returns {object} a subset of api call metrics - * @api private - */ - apiCallEvent: function apiCallEvent(request) { - var api = request.service.api.operations[request.operation]; - var monitoringEvent = { - Type: "ApiCall", - Api: api ? api.name : request.operation, - Version: 1, - Service: - request.service.api.serviceId || - request.service.api.endpointPrefix, - Region: request.httpRequest.region, - MaxRetriesExceeded: 0, - UserAgent: request.httpRequest.getUserAgent(), - }; - var response = request.response; - if (response.httpResponse.statusCode) { - monitoringEvent.FinalHttpStatusCode = - response.httpResponse.statusCode; + function merge(a, b) { + var merged = {}; + for (var key in a) { + merged[key] = a[key]; } - if (response.error) { - var error = response.error; - var statusCode = response.httpResponse.statusCode; - if (statusCode > 299) { - if (error.code) monitoringEvent.FinalAwsException = error.code; - if (error.message) - monitoringEvent.FinalAwsExceptionMessage = error.message; - } else { - if (error.code || error.name) - monitoringEvent.FinalSdkException = error.code || error.name; - if (error.message) - monitoringEvent.FinalSdkExceptionMessage = error.message; - } + for (var key2 in b) { + merged[key2] = b[key2]; } - return monitoringEvent; - }, + return merged; + } - /** - * Event recording metrics for an API call attempt. - * @returns {object} a subset of api call attempt metrics - * @api private - */ - apiAttemptEvent: function apiAttemptEvent(request) { - var api = request.service.api.operations[request.operation]; - var monitoringEvent = { - Type: "ApiCallAttempt", - Api: api ? api.name : request.operation, - Version: 1, - Service: - request.service.api.serviceId || - request.service.api.endpointPrefix, - Fqdn: request.httpRequest.endpoint.hostname, - UserAgent: request.httpRequest.getUserAgent(), + var trimLeft; + if (typeof String.prototype.trimLeft === "function") { + trimLeft = function (str) { + return str.trimLeft(); }; - var response = request.response; - if (response.httpResponse.statusCode) { - monitoringEvent.HttpStatusCode = response.httpResponse.statusCode; - } - if ( - !request._unAuthenticated && - request.service.config.credentials && - request.service.config.credentials.accessKeyId - ) { - monitoringEvent.AccessKey = - request.service.config.credentials.accessKeyId; - } - if (!response.httpResponse.headers) return monitoringEvent; - if (request.httpRequest.headers["x-amz-security-token"]) { - monitoringEvent.SessionToken = - request.httpRequest.headers["x-amz-security-token"]; - } - if (response.httpResponse.headers["x-amzn-requestid"]) { - monitoringEvent.XAmznRequestId = - response.httpResponse.headers["x-amzn-requestid"]; - } - if (response.httpResponse.headers["x-amz-request-id"]) { - monitoringEvent.XAmzRequestId = - response.httpResponse.headers["x-amz-request-id"]; - } - if (response.httpResponse.headers["x-amz-id-2"]) { - monitoringEvent.XAmzId2 = - response.httpResponse.headers["x-amz-id-2"]; - } - return monitoringEvent; - }, - - /** - * Add metrics of failed request. - * @api private - */ - attemptFailEvent: function attemptFailEvent(request) { - var monitoringEvent = this.apiAttemptEvent(request); - var response = request.response; - var error = response.error; - if (response.httpResponse.statusCode > 299) { - if (error.code) monitoringEvent.AwsException = error.code; - if (error.message) - monitoringEvent.AwsExceptionMessage = error.message; - } else { - if (error.code || error.name) - monitoringEvent.SdkException = error.code || error.name; - if (error.message) - monitoringEvent.SdkExceptionMessage = error.message; - } - return monitoringEvent; - }, - - /** - * Attach listeners to request object to fetch metrics of each request - * and emit data object through \'ApiCall\' and \'ApiCallAttempt\' events. - * @api private - */ - attachMonitoringEmitter: function attachMonitoringEmitter(request) { - var attemptTimestamp; //timestamp marking the beginning of a request attempt - var attemptStartRealTime; //Start time of request attempt. Used to calculating attemptLatency - var attemptLatency; //latency from request sent out to http response reaching SDK - var callStartRealTime; //Start time of API call. Used to calculating API call latency - var attemptCount = 0; //request.retryCount is not reliable here - var region; //region cache region for each attempt since it can be updated in plase (e.g. s3) - var callTimestamp; //timestamp when the request is created - var self = this; - var addToHead = true; + } else { + trimLeft = function (str) { + return str.match(/^\s*(.*)/)[1]; + }; + } - request.on( - "validate", - function () { - callStartRealTime = AWS.util.realClock.now(); - callTimestamp = Date.now(); - }, - addToHead - ); - request.on( - "sign", - function () { - attemptStartRealTime = AWS.util.realClock.now(); - attemptTimestamp = Date.now(); - region = request.httpRequest.region; - attemptCount++; - }, - addToHead - ); - request.on("validateResponse", function () { - attemptLatency = Math.round( - AWS.util.realClock.now() - attemptStartRealTime - ); - }); - request.addNamedListener( - "API_CALL_ATTEMPT", - "success", - function API_CALL_ATTEMPT() { - var apiAttemptEvent = self.apiAttemptEvent(request); - apiAttemptEvent.Timestamp = attemptTimestamp; - apiAttemptEvent.AttemptLatency = - attemptLatency >= 0 ? attemptLatency : 0; - apiAttemptEvent.Region = region; - self.emit("apiCallAttempt", [apiAttemptEvent]); - } - ); - request.addNamedListener( - "API_CALL_ATTEMPT_RETRY", - "retry", - function API_CALL_ATTEMPT_RETRY() { - var apiAttemptEvent = self.attemptFailEvent(request); - apiAttemptEvent.Timestamp = attemptTimestamp; - //attemptLatency may not be available if fail before response - attemptLatency = - attemptLatency || - Math.round(AWS.util.realClock.now() - attemptStartRealTime); - apiAttemptEvent.AttemptLatency = - attemptLatency >= 0 ? attemptLatency : 0; - apiAttemptEvent.Region = region; - self.emit("apiCallAttempt", [apiAttemptEvent]); - } - ); - request.addNamedListener("API_CALL", "complete", function API_CALL() { - var apiCallEvent = self.apiCallEvent(request); - apiCallEvent.AttemptCount = attemptCount; - if (apiCallEvent.AttemptCount <= 0) return; - apiCallEvent.Timestamp = callTimestamp; - var latency = Math.round( - AWS.util.realClock.now() - callStartRealTime - ); - apiCallEvent.Latency = latency >= 0 ? latency : 0; - var response = request.response; - if ( - typeof response.retryCount === "number" && - typeof response.maxRetries === "number" && - response.retryCount >= response.maxRetries - ) { - apiCallEvent.MaxRetriesExceeded = 1; - } - self.emit("apiCall", [apiCallEvent]); - }); - }, + // Type constants used to define functions. + var TYPE_NUMBER = 0; + var TYPE_ANY = 1; + var TYPE_STRING = 2; + var TYPE_ARRAY = 3; + var TYPE_OBJECT = 4; + var TYPE_BOOLEAN = 5; + var TYPE_EXPREF = 6; + var TYPE_NULL = 7; + var TYPE_ARRAY_NUMBER = 8; + var TYPE_ARRAY_STRING = 9; - /** - * Override this method to setup any custom request listeners for each - * new request to the service. - * - * @method_abstract This is an abstract method. - */ - setupRequestListeners: function setupRequestListeners(request) {}, + var TOK_EOF = "EOF"; + var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; + var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier"; + var TOK_RBRACKET = "Rbracket"; + var TOK_RPAREN = "Rparen"; + var TOK_COMMA = "Comma"; + var TOK_COLON = "Colon"; + var TOK_RBRACE = "Rbrace"; + var TOK_NUMBER = "Number"; + var TOK_CURRENT = "Current"; + var TOK_EXPREF = "Expref"; + var TOK_PIPE = "Pipe"; + var TOK_OR = "Or"; + var TOK_AND = "And"; + var TOK_EQ = "EQ"; + var TOK_GT = "GT"; + var TOK_LT = "LT"; + var TOK_GTE = "GTE"; + var TOK_LTE = "LTE"; + var TOK_NE = "NE"; + var TOK_FLATTEN = "Flatten"; + var TOK_STAR = "Star"; + var TOK_FILTER = "Filter"; + var TOK_DOT = "Dot"; + var TOK_NOT = "Not"; + var TOK_LBRACE = "Lbrace"; + var TOK_LBRACKET = "Lbracket"; + var TOK_LPAREN = "Lparen"; + var TOK_LITERAL = "Literal"; - /** - * Gets the signer class for a given request - * @api private - */ - getSignerClass: function getSignerClass(request) { - var version; - // get operation authtype if present - var operation = null; - var authtype = ""; - if (request) { - var operations = request.service.api.operations || {}; - operation = operations[request.operation] || null; - authtype = operation ? operation.authtype : ""; - } - if (this.config.signatureVersion) { - version = this.config.signatureVersion; - } else if (authtype === "v4" || authtype === "v4-unsigned-body") { - version = "v4"; - } else { - version = this.api.signatureVersion; - } - return AWS.Signers.RequestSigner.getVersion(version); - }, + // The "&", "[", "<", ">" tokens + // are not in basicToken because + // there are two token variants + // ("&&", "[?", "<=", ">="). This is specially handled + // below. - /** - * @api private - */ - serviceInterface: function serviceInterface() { - switch (this.api.protocol) { - case "ec2": - return AWS.EventListeners.Query; - case "query": - return AWS.EventListeners.Query; - case "json": - return AWS.EventListeners.Json; - case "rest-json": - return AWS.EventListeners.RestJson; - case "rest-xml": - return AWS.EventListeners.RestXml; - } - if (this.api.protocol) { - throw new Error( - "Invalid service `protocol' " + - this.api.protocol + - " in API config" - ); - } - }, + var basicTokens = { + ".": TOK_DOT, + "*": TOK_STAR, + ",": TOK_COMMA, + ":": TOK_COLON, + "{": TOK_LBRACE, + "}": TOK_RBRACE, + "]": TOK_RBRACKET, + "(": TOK_LPAREN, + ")": TOK_RPAREN, + "@": TOK_CURRENT, + }; - /** - * @api private - */ - successfulResponse: function successfulResponse(resp) { - return resp.httpResponse.statusCode < 300; - }, + var operatorStartToken = { + "<": true, + ">": true, + "=": true, + "!": true, + }; - /** - * How many times a failed request should be retried before giving up. - * the defaultRetryCount can be overriden by service classes. - * - * @api private - */ - numRetries: function numRetries() { - if (this.config.maxRetries !== undefined) { - return this.config.maxRetries; - } else { - return this.defaultRetryCount; - } - }, + var skipChars = { + " ": true, + "\t": true, + "\n": true, + }; - /** - * @api private - */ - retryDelays: function retryDelays(retryCount, err) { - return AWS.util.calculateRetryDelay( - retryCount, - this.config.retryDelayOptions, - err + function isAlpha(ch) { + return ( + (ch >= "a" && ch <= "z") || (ch >= "A" && ch <= "Z") || ch === "_" ); - }, - - /** - * @api private - */ - retryableError: function retryableError(error) { - if (this.timeoutError(error)) return true; - if (this.networkingError(error)) return true; - if (this.expiredCredentialsError(error)) return true; - if (this.throttledError(error)) return true; - if (error.statusCode >= 500) return true; - return false; - }, - - /** - * @api private - */ - networkingError: function networkingError(error) { - return error.code === "NetworkingError"; - }, - - /** - * @api private - */ - timeoutError: function timeoutError(error) { - return error.code === "TimeoutError"; - }, - - /** - * @api private - */ - expiredCredentialsError: function expiredCredentialsError(error) { - // TODO : this only handles *one* of the expired credential codes - return error.code === "ExpiredTokenException"; - }, - - /** - * @api private - */ - clockSkewError: function clockSkewError(error) { - switch (error.code) { - case "RequestTimeTooSkewed": - case "RequestExpired": - case "InvalidSignatureException": - case "SignatureDoesNotMatch": - case "AuthFailure": - case "RequestInTheFuture": - return true; - default: - return false; - } - }, - - /** - * @api private - */ - getSkewCorrectedDate: function getSkewCorrectedDate() { - return new Date(Date.now() + this.config.systemClockOffset); - }, - - /** - * @api private - */ - applyClockOffset: function applyClockOffset(newServerTime) { - if (newServerTime) { - this.config.systemClockOffset = newServerTime - Date.now(); - } - }, - - /** - * @api private - */ - isClockSkewed: function isClockSkewed(newServerTime) { - if (newServerTime) { - return ( - Math.abs(this.getSkewCorrectedDate().getTime() - newServerTime) >= - 300000 - ); - } - }, - - /** - * @api private - */ - throttledError: function throttledError(error) { - // this logic varies between services - if (error.statusCode === 429) return true; - switch (error.code) { - case "ProvisionedThroughputExceededException": - case "Throttling": - case "ThrottlingException": - case "RequestLimitExceeded": - case "RequestThrottled": - case "RequestThrottledException": - case "TooManyRequestsException": - case "TransactionInProgressException": //dynamodb - case "EC2ThrottledException": - return true; - default: - return false; - } - }, - - /** - * @api private - */ - endpointFromTemplate: function endpointFromTemplate(endpoint) { - if (typeof endpoint !== "string") return endpoint; + } - var e = endpoint; - e = e.replace(/\{service\}/g, this.api.endpointPrefix); - e = e.replace(/\{region\}/g, this.config.region); - e = e.replace( - /\{scheme\}/g, - this.config.sslEnabled ? "https" : "http" + function isNum(ch) { + return (ch >= "0" && ch <= "9") || ch === "-"; + } + function isAlphaNum(ch) { + return ( + (ch >= "a" && ch <= "z") || + (ch >= "A" && ch <= "Z") || + (ch >= "0" && ch <= "9") || + ch === "_" ); - return e; - }, - - /** - * @api private - */ - setEndpoint: function setEndpoint(endpoint) { - this.endpoint = new AWS.Endpoint(endpoint, this.config); - }, - - /** - * @api private - */ - paginationConfig: function paginationConfig(operation, throwException) { - var paginator = this.api.operations[operation].paginator; - if (!paginator) { - if (throwException) { - var e = new Error(); - throw AWS.util.error( - e, - "No pagination configuration for " + operation - ); - } - return null; - } - - return paginator; - }, - }); + } - AWS.util.update(AWS.Service, { - /** - * Adds one method for each operation described in the api configuration - * - * @api private - */ - defineMethods: function defineMethods(svc) { - AWS.util.each(svc.prototype.api.operations, function iterator( - method - ) { - if (svc.prototype[method]) return; - var operation = svc.prototype.api.operations[method]; - if (operation.authtype === "none") { - svc.prototype[method] = function (params, callback) { - return this.makeUnauthenticatedRequest( - method, - params, - callback + function Lexer() {} + Lexer.prototype = { + tokenize: function (stream) { + var tokens = []; + this._current = 0; + var start; + var identifier; + var token; + while (this._current < stream.length) { + if (isAlpha(stream[this._current])) { + start = this._current; + identifier = this._consumeUnquotedIdentifier(stream); + tokens.push({ + type: TOK_UNQUOTEDIDENTIFIER, + value: identifier, + start: start, + }); + } else if (basicTokens[stream[this._current]] !== undefined) { + tokens.push({ + type: basicTokens[stream[this._current]], + value: stream[this._current], + start: this._current, + }); + this._current++; + } else if (isNum(stream[this._current])) { + token = this._consumeNumber(stream); + tokens.push(token); + } else if (stream[this._current] === "[") { + // No need to increment this._current. This happens + // in _consumeLBracket + token = this._consumeLBracket(stream); + tokens.push(token); + } else if (stream[this._current] === '"') { + start = this._current; + identifier = this._consumeQuotedIdentifier(stream); + tokens.push({ + type: TOK_QUOTEDIDENTIFIER, + value: identifier, + start: start, + }); + } else if (stream[this._current] === "'") { + start = this._current; + identifier = this._consumeRawStringLiteral(stream); + tokens.push({ + type: TOK_LITERAL, + value: identifier, + start: start, + }); + } else if (stream[this._current] === "`") { + start = this._current; + var literal = this._consumeLiteral(stream); + tokens.push({ + type: TOK_LITERAL, + value: literal, + start: start, + }); + } else if ( + operatorStartToken[stream[this._current]] !== undefined + ) { + tokens.push(this._consumeOperator(stream)); + } else if (skipChars[stream[this._current]] !== undefined) { + // Ignore whitespace. + this._current++; + } else if (stream[this._current] === "&") { + start = this._current; + this._current++; + if (stream[this._current] === "&") { + this._current++; + tokens.push({ type: TOK_AND, value: "&&", start: start }); + } else { + tokens.push({ type: TOK_EXPREF, value: "&", start: start }); + } + } else if (stream[this._current] === "|") { + start = this._current; + this._current++; + if (stream[this._current] === "|") { + this._current++; + tokens.push({ type: TOK_OR, value: "||", start: start }); + } else { + tokens.push({ type: TOK_PIPE, value: "|", start: start }); + } + } else { + var error = new Error( + "Unknown character:" + stream[this._current] ); - }; - } else { - svc.prototype[method] = function (params, callback) { - return this.makeRequest(method, params, callback); - }; + error.name = "LexerError"; + throw error; + } } - }); - }, - - /** - * Defines a new Service class using a service identifier and list of versions - * including an optional set of features (functions) to apply to the class - * prototype. - * - * @param serviceIdentifier [String] the identifier for the service - * @param versions [Array] a list of versions that work with this - * service - * @param features [Object] an object to attach to the prototype - * @return [Class] the service class defined by this function. - */ - defineService: function defineService( - serviceIdentifier, - versions, - features - ) { - AWS.Service._serviceMap[serviceIdentifier] = true; - if (!Array.isArray(versions)) { - features = versions; - versions = []; - } - - var svc = inherit(AWS.Service, features || {}); - - if (typeof serviceIdentifier === "string") { - AWS.Service.addVersions(svc, versions); + return tokens; + }, - var identifier = svc.serviceIdentifier || serviceIdentifier; - svc.serviceIdentifier = identifier; - } else { - // defineService called with an API - svc.prototype.api = serviceIdentifier; - AWS.Service.defineMethods(svc); - } - AWS.SequentialExecutor.call(this.prototype); - //util.clientSideMonitoring is only available in node - if (!this.prototype.publisher && AWS.util.clientSideMonitoring) { - var Publisher = AWS.util.clientSideMonitoring.Publisher; - var configProvider = AWS.util.clientSideMonitoring.configProvider; - var publisherConfig = configProvider(); - this.prototype.publisher = new Publisher(publisherConfig); - if (publisherConfig.enabled) { - //if csm is enabled in environment, SDK should send all metrics - AWS.Service._clientSideMonitoring = true; + _consumeUnquotedIdentifier: function (stream) { + var start = this._current; + this._current++; + while ( + this._current < stream.length && + isAlphaNum(stream[this._current]) + ) { + this._current++; } - } - AWS.SequentialExecutor.call(svc.prototype); - AWS.Service.addDefaultMonitoringListeners(svc.prototype); - return svc; - }, - - /** - * @api private - */ - addVersions: function addVersions(svc, versions) { - if (!Array.isArray(versions)) versions = [versions]; + return stream.slice(start, this._current); + }, - svc.services = svc.services || {}; - for (var i = 0; i < versions.length; i++) { - if (svc.services[versions[i]] === undefined) { - svc.services[versions[i]] = null; + _consumeQuotedIdentifier: function (stream) { + var start = this._current; + this._current++; + var maxLength = stream.length; + while (stream[this._current] !== '"' && this._current < maxLength) { + // You can escape a double quote and you can escape an escape. + var current = this._current; + if ( + stream[current] === "\\" && + (stream[current + 1] === "\\" || stream[current + 1] === '"') + ) { + current += 2; + } else { + current++; + } + this._current = current; } - } + this._current++; + return JSON.parse(stream.slice(start, this._current)); + }, - svc.apiVersions = Object.keys(svc.services).sort(); - }, + _consumeRawStringLiteral: function (stream) { + var start = this._current; + this._current++; + var maxLength = stream.length; + while (stream[this._current] !== "'" && this._current < maxLength) { + // You can escape a single quote and you can escape an escape. + var current = this._current; + if ( + stream[current] === "\\" && + (stream[current + 1] === "\\" || stream[current + 1] === "'") + ) { + current += 2; + } else { + current++; + } + this._current = current; + } + this._current++; + var literal = stream.slice(start + 1, this._current - 1); + return literal.replace("\\'", "'"); + }, - /** - * @api private - */ - defineServiceApi: function defineServiceApi( - superclass, - version, - apiConfig - ) { - var svc = inherit(superclass, { - serviceIdentifier: superclass.serviceIdentifier, - }); + _consumeNumber: function (stream) { + var start = this._current; + this._current++; + var maxLength = stream.length; + while (isNum(stream[this._current]) && this._current < maxLength) { + this._current++; + } + var value = parseInt(stream.slice(start, this._current)); + return { type: TOK_NUMBER, value: value, start: start }; + }, - function setApi(api) { - if (api.isApi) { - svc.prototype.api = api; + _consumeLBracket: function (stream) { + var start = this._current; + this._current++; + if (stream[this._current] === "?") { + this._current++; + return { type: TOK_FILTER, value: "[?", start: start }; + } else if (stream[this._current] === "]") { + this._current++; + return { type: TOK_FLATTEN, value: "[]", start: start }; } else { - svc.prototype.api = new Api(api, { - serviceIdentifier: superclass.serviceIdentifier, - }); + return { type: TOK_LBRACKET, value: "[", start: start }; } - } + }, - if (typeof version === "string") { - if (apiConfig) { - setApi(apiConfig); - } else { - try { - setApi(AWS.apiLoader(superclass.serviceIdentifier, version)); - } catch (err) { - throw AWS.util.error(err, { - message: - "Could not find API configuration " + - superclass.serviceIdentifier + - "-" + - version, - }); + _consumeOperator: function (stream) { + var start = this._current; + var startingChar = stream[start]; + this._current++; + if (startingChar === "!") { + if (stream[this._current] === "=") { + this._current++; + return { type: TOK_NE, value: "!=", start: start }; + } else { + return { type: TOK_NOT, value: "!", start: start }; + } + } else if (startingChar === "<") { + if (stream[this._current] === "=") { + this._current++; + return { type: TOK_LTE, value: "<=", start: start }; + } else { + return { type: TOK_LT, value: "<", start: start }; + } + } else if (startingChar === ">") { + if (stream[this._current] === "=") { + this._current++; + return { type: TOK_GTE, value: ">=", start: start }; + } else { + return { type: TOK_GT, value: ">", start: start }; + } + } else if (startingChar === "=") { + if (stream[this._current] === "=") { + this._current++; + return { type: TOK_EQ, value: "==", start: start }; } } - if ( - !Object.prototype.hasOwnProperty.call( - superclass.services, - version - ) - ) { - superclass.apiVersions = superclass.apiVersions - .concat(version) - .sort(); - } - superclass.services[version] = svc; - } else { - setApi(version); - } - - AWS.Service.defineMethods(svc); - return svc; - }, - - /** - * @api private - */ - hasService: function (identifier) { - return Object.prototype.hasOwnProperty.call( - AWS.Service._serviceMap, - identifier - ); - }, + }, - /** - * @param attachOn attach default monitoring listeners to object - * - * Each monitoring event should be emitted from service client to service constructor prototype and then - * to global service prototype like bubbling up. These default monitoring events listener will transfer - * the monitoring events to the upper layer. - * @api private - */ - addDefaultMonitoringListeners: function addDefaultMonitoringListeners( - attachOn - ) { - attachOn.addNamedListener( - "MONITOR_EVENTS_BUBBLE", - "apiCallAttempt", - function EVENTS_BUBBLE(event) { - var baseClass = Object.getPrototypeOf(attachOn); - if (baseClass._events) baseClass.emit("apiCallAttempt", [event]); + _consumeLiteral: function (stream) { + this._current++; + var start = this._current; + var maxLength = stream.length; + var literal; + while (stream[this._current] !== "`" && this._current < maxLength) { + // You can escape a literal char or you can escape the escape. + var current = this._current; + if ( + stream[current] === "\\" && + (stream[current + 1] === "\\" || stream[current + 1] === "`") + ) { + current += 2; + } else { + current++; + } + this._current = current; } - ); - attachOn.addNamedListener( - "CALL_EVENTS_BUBBLE", - "apiCall", - function CALL_EVENTS_BUBBLE(event) { - var baseClass = Object.getPrototypeOf(attachOn); - if (baseClass._events) baseClass.emit("apiCall", [event]); + var literalString = trimLeft(stream.slice(start, this._current)); + literalString = literalString.replace("\\`", "`"); + if (this._looksLikeJSON(literalString)) { + literal = JSON.parse(literalString); + } else { + // Try to JSON parse it as "" + literal = JSON.parse('"' + literalString + '"'); } - ); - }, - - /** - * @api private - */ - _serviceMap: {}, - }); + // +1 gets us to the ending "`", +1 to move on to the next char. + this._current++; + return literal; + }, - AWS.util.mixin(AWS.Service, AWS.SequentialExecutor); + _looksLikeJSON: function (literalString) { + var startingChars = '[{"'; + var jsonLiterals = ["true", "false", "null"]; + var numberLooking = "-0123456789"; - /** - * @api private - */ - module.exports = AWS.Service; + if (literalString === "") { + return false; + } else if (startingChars.indexOf(literalString[0]) >= 0) { + return true; + } else if (jsonLiterals.indexOf(literalString) >= 0) { + return true; + } else if (numberLooking.indexOf(literalString[0]) >= 0) { + try { + JSON.parse(literalString); + return true; + } catch (ex) { + return false; + } + } else { + return false; + } + }, + }; - /***/ - }, + var bindingPower = {}; + bindingPower[TOK_EOF] = 0; + bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0; + bindingPower[TOK_QUOTEDIDENTIFIER] = 0; + bindingPower[TOK_RBRACKET] = 0; + bindingPower[TOK_RPAREN] = 0; + bindingPower[TOK_COMMA] = 0; + bindingPower[TOK_RBRACE] = 0; + bindingPower[TOK_NUMBER] = 0; + bindingPower[TOK_CURRENT] = 0; + bindingPower[TOK_EXPREF] = 0; + bindingPower[TOK_PIPE] = 1; + bindingPower[TOK_OR] = 2; + bindingPower[TOK_AND] = 3; + bindingPower[TOK_EQ] = 5; + bindingPower[TOK_GT] = 5; + bindingPower[TOK_LT] = 5; + bindingPower[TOK_GTE] = 5; + bindingPower[TOK_LTE] = 5; + bindingPower[TOK_NE] = 5; + bindingPower[TOK_FLATTEN] = 9; + bindingPower[TOK_STAR] = 20; + bindingPower[TOK_FILTER] = 21; + bindingPower[TOK_DOT] = 40; + bindingPower[TOK_NOT] = 45; + bindingPower[TOK_LBRACE] = 50; + bindingPower[TOK_LBRACKET] = 55; + bindingPower[TOK_LPAREN] = 60; - /***/ 3506: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + function Parser() {} - apiLoader.services["kinesisanalytics"] = {}; - AWS.KinesisAnalytics = Service.defineService("kinesisanalytics", [ - "2015-08-14", - ]); - Object.defineProperty( - apiLoader.services["kinesisanalytics"], - "2015-08-14", - { - get: function get() { - var model = __webpack_require__(5616); - model.paginators = __webpack_require__(5873).pagination; - return model; + Parser.prototype = { + parse: function (expression) { + this._loadTokens(expression); + this.index = 0; + var ast = this.expression(0); + if (this._lookahead(0) !== TOK_EOF) { + var t = this._lookaheadToken(0); + var error = new Error( + "Unexpected token type: " + t.type + ", value: " + t.value + ); + error.name = "ParserError"; + throw error; + } + return ast; }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.KinesisAnalytics; - - /***/ - }, - /***/ 3520: /***/ function (module) { - module.exports = { - pagination: { - ListMemberAccounts: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", + _loadTokens: function (expression) { + var lexer = new Lexer(); + var tokens = lexer.tokenize(expression); + tokens.push({ type: TOK_EOF, value: "", start: expression.length }); + this.tokens = tokens; }, - ListS3Resources: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", + + expression: function (rbp) { + var leftToken = this._lookaheadToken(0); + this._advance(); + var left = this.nud(leftToken); + var currentToken = this._lookahead(0); + while (rbp < bindingPower[currentToken]) { + this._advance(); + left = this.led(currentToken, left); + currentToken = this._lookahead(0); + } + return left; }, - }, - }; - /***/ - }, + _lookahead: function (number) { + return this.tokens[this.index + number].type; + }, - /***/ 3523: /***/ function (module, __unusedexports, __webpack_require__) { - var register = __webpack_require__(363); - var addHook = __webpack_require__(2510); - var removeHook = __webpack_require__(5866); + _lookaheadToken: function (number) { + return this.tokens[this.index + number]; + }, - // bind with array of arguments: https://stackoverflow.com/a/21792913 - var bind = Function.bind; - var bindable = bind.bind(bind); + _advance: function () { + this.index++; + }, - function bindApi(hook, state, name) { - var removeHookRef = bindable(removeHook, null).apply( - null, - name ? [state, name] : [state] - ); - hook.api = { remove: removeHookRef }; - hook.remove = removeHookRef; - ["before", "error", "after", "wrap"].forEach(function (kind) { - var args = name ? [state, kind, name] : [state, kind]; - hook[kind] = hook.api[kind] = bindable(addHook, null).apply( - null, - args - ); - }); - } - - function HookSingular() { - var singularHookName = "h"; - var singularHookState = { - registry: {}, - }; - var singularHook = register.bind( - null, - singularHookState, - singularHookName - ); - bindApi(singularHook, singularHookState, singularHookName); - return singularHook; - } - - function HookCollection() { - var state = { - registry: {}, - }; - - var hook = register.bind(null, state); - bindApi(hook, state); - - return hook; - } - - var collectionHookDeprecationMessageDisplayed = false; - function Hook() { - if (!collectionHookDeprecationMessageDisplayed) { - console.warn( - '[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4' - ); - collectionHookDeprecationMessageDisplayed = true; - } - return HookCollection(); - } - - Hook.Singular = HookSingular.bind(); - Hook.Collection = HookCollection.bind(); - - module.exports = Hook; - // expose constructors as a named property for TypeScript - module.exports.Hook = Hook; - module.exports.Singular = Hook.Singular; - module.exports.Collection = Hook.Collection; - - /***/ - }, - - /***/ 3530: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - SuccessfulSigningJob: { - delay: 20, - operation: "DescribeSigningJob", - maxAttempts: 25, - acceptors: [ - { - expected: "Succeeded", - matcher: "path", - state: "success", - argument: "status", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "status", - }, - { - expected: "ResourceNotFoundException", - matcher: "error", - state: "failure", - }, - ], + nud: function (token) { + var left; + var right; + var expression; + switch (token.type) { + case TOK_LITERAL: + return { type: "Literal", value: token.value }; + case TOK_UNQUOTEDIDENTIFIER: + return { type: "Field", name: token.value }; + case TOK_QUOTEDIDENTIFIER: + var node = { type: "Field", name: token.value }; + if (this._lookahead(0) === TOK_LPAREN) { + throw new Error( + "Quoted identifier not allowed for function names." + ); + } else { + return node; + } + break; + case TOK_NOT: + right = this.expression(bindingPower.Not); + return { type: "NotExpression", children: [right] }; + case TOK_STAR: + left = { type: "Identity" }; + right = null; + if (this._lookahead(0) === TOK_RBRACKET) { + // This can happen in a multiselect, + // [a, b, *] + right = { type: "Identity" }; + } else { + right = this._parseProjectionRHS(bindingPower.Star); + } + return { type: "ValueProjection", children: [left, right] }; + case TOK_FILTER: + return this.led(token.type, { type: "Identity" }); + case TOK_LBRACE: + return this._parseMultiselectHash(); + case TOK_FLATTEN: + left = { type: TOK_FLATTEN, children: [{ type: "Identity" }] }; + right = this._parseProjectionRHS(bindingPower.Flatten); + return { type: "Projection", children: [left, right] }; + case TOK_LBRACKET: + if ( + this._lookahead(0) === TOK_NUMBER || + this._lookahead(0) === TOK_COLON + ) { + right = this._parseIndexExpression(); + return this._projectIfSlice({ type: "Identity" }, right); + } else if ( + this._lookahead(0) === TOK_STAR && + this._lookahead(1) === TOK_RBRACKET + ) { + this._advance(); + this._advance(); + right = this._parseProjectionRHS(bindingPower.Star); + return { + type: "Projection", + children: [{ type: "Identity" }, right], + }; + } else { + return this._parseMultiselectList(); + } + break; + case TOK_CURRENT: + return { type: TOK_CURRENT }; + case TOK_EXPREF: + expression = this.expression(bindingPower.Expref); + return { type: "ExpressionReference", children: [expression] }; + case TOK_LPAREN: + var args = []; + while (this._lookahead(0) !== TOK_RPAREN) { + if (this._lookahead(0) === TOK_CURRENT) { + expression = { type: TOK_CURRENT }; + this._advance(); + } else { + expression = this.expression(0); + } + args.push(expression); + } + this._match(TOK_RPAREN); + return args[0]; + default: + this._errorToken(token); + } }, - }, - }; - - /***/ - }, - - /***/ 3546: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - var regionConfig = __webpack_require__(2572); - - function generateRegionPrefix(region) { - if (!region) return null; - - var parts = region.split("-"); - if (parts.length < 3) return null; - return parts.slice(0, parts.length - 2).join("-") + "-*"; - } - - function derivedKeys(service) { - var region = service.config.region; - var regionPrefix = generateRegionPrefix(region); - var endpointPrefix = service.api.endpointPrefix; - - return [ - [region, endpointPrefix], - [regionPrefix, endpointPrefix], - [region, "*"], - [regionPrefix, "*"], - ["*", endpointPrefix], - ["*", "*"], - ].map(function (item) { - return item[0] && item[1] ? item.join("/") : null; - }); - } - - function applyConfig(service, config) { - util.each(config, function (key, value) { - if (key === "globalEndpoint") return; - if ( - service.config[key] === undefined || - service.config[key] === null - ) { - service.config[key] = value; - } - }); - } - function configureEndpoint(service) { - var keys = derivedKeys(service); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!key) continue; + led: function (tokenName, left) { + var right; + switch (tokenName) { + case TOK_DOT: + var rbp = bindingPower.Dot; + if (this._lookahead(0) !== TOK_STAR) { + right = this._parseDotRHS(rbp); + return { type: "Subexpression", children: [left, right] }; + } else { + // Creating a projection. + this._advance(); + right = this._parseProjectionRHS(rbp); + return { type: "ValueProjection", children: [left, right] }; + } + break; + case TOK_PIPE: + right = this.expression(bindingPower.Pipe); + return { type: TOK_PIPE, children: [left, right] }; + case TOK_OR: + right = this.expression(bindingPower.Or); + return { type: "OrExpression", children: [left, right] }; + case TOK_AND: + right = this.expression(bindingPower.And); + return { type: "AndExpression", children: [left, right] }; + case TOK_LPAREN: + var name = left.name; + var args = []; + var expression, node; + while (this._lookahead(0) !== TOK_RPAREN) { + if (this._lookahead(0) === TOK_CURRENT) { + expression = { type: TOK_CURRENT }; + this._advance(); + } else { + expression = this.expression(0); + } + if (this._lookahead(0) === TOK_COMMA) { + this._match(TOK_COMMA); + } + args.push(expression); + } + this._match(TOK_RPAREN); + node = { type: "Function", name: name, children: args }; + return node; + case TOK_FILTER: + var condition = this.expression(0); + this._match(TOK_RBRACKET); + if (this._lookahead(0) === TOK_FLATTEN) { + right = { type: "Identity" }; + } else { + right = this._parseProjectionRHS(bindingPower.Filter); + } + return { + type: "FilterProjection", + children: [left, right, condition], + }; + case TOK_FLATTEN: + var leftNode = { type: TOK_FLATTEN, children: [left] }; + var rightNode = this._parseProjectionRHS(bindingPower.Flatten); + return { type: "Projection", children: [leftNode, rightNode] }; + case TOK_EQ: + case TOK_NE: + case TOK_GT: + case TOK_GTE: + case TOK_LT: + case TOK_LTE: + return this._parseComparator(left, tokenName); + case TOK_LBRACKET: + var token = this._lookaheadToken(0); + if (token.type === TOK_NUMBER || token.type === TOK_COLON) { + right = this._parseIndexExpression(); + return this._projectIfSlice(left, right); + } else { + this._match(TOK_STAR); + this._match(TOK_RBRACKET); + right = this._parseProjectionRHS(bindingPower.Star); + return { type: "Projection", children: [left, right] }; + } + break; + default: + this._errorToken(this._lookaheadToken(0)); + } + }, - if (Object.prototype.hasOwnProperty.call(regionConfig.rules, key)) { - var config = regionConfig.rules[key]; - if (typeof config === "string") { - config = regionConfig.patterns[config]; + _match: function (tokenType) { + if (this._lookahead(0) === tokenType) { + this._advance(); + } else { + var t = this._lookaheadToken(0); + var error = new Error( + "Expected " + tokenType + ", got: " + t.type + ); + error.name = "ParserError"; + throw error; } + }, - // set dualstack endpoint + _errorToken: function (token) { + var error = new Error( + "Invalid token (" + token.type + '): "' + token.value + '"' + ); + error.name = "ParserError"; + throw error; + }, + + _parseIndexExpression: function () { if ( - service.config.useDualstack && - util.isDualstackAvailable(service) + this._lookahead(0) === TOK_COLON || + this._lookahead(1) === TOK_COLON ) { - config = util.copy(config); - config.endpoint = "{service}.dualstack.{region}.amazonaws.com"; + return this._parseSliceExpression(); + } else { + var node = { + type: "Index", + value: this._lookaheadToken(0).value, + }; + this._advance(); + this._match(TOK_RBRACKET); + return node; } + }, - // set global endpoint - service.isGlobalEndpoint = !!config.globalEndpoint; - - // signature version - if (!config.signatureVersion) config.signatureVersion = "v4"; - - // merge config - applyConfig(service, config); - return; - } - } - } - - function getEndpointSuffix(region) { - var regionRegexes = { - "^(us|eu|ap|sa|ca|me)\\-\\w+\\-\\d+$": "amazonaws.com", - "^cn\\-\\w+\\-\\d+$": "amazonaws.com.cn", - "^us\\-gov\\-\\w+\\-\\d+$": "amazonaws.com", - "^us\\-iso\\-\\w+\\-\\d+$": "c2s.ic.gov", - "^us\\-isob\\-\\w+\\-\\d+$": "sc2s.sgov.gov", - }; - var defaultSuffix = "amazonaws.com"; - var regexes = Object.keys(regionRegexes); - for (var i = 0; i < regexes.length; i++) { - var regionPattern = RegExp(regexes[i]); - var dnsSuffix = regionRegexes[regexes[i]]; - if (regionPattern.test(region)) return dnsSuffix; - } - return defaultSuffix; - } - - /** - * @api private - */ - module.exports = { - configureEndpoint: configureEndpoint, - getEndpointSuffix: getEndpointSuffix, - }; - - /***/ - }, - - /***/ 3558: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = hasPreviousPage; - - const deprecate = __webpack_require__(6370); - const getPageLinks = __webpack_require__(4577); - - function hasPreviousPage(link) { - deprecate( - `octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` - ); - return getPageLinks(link).prev; - } - - /***/ - }, - - /***/ 3562: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); - - function _interopDefault(ex) { - return ex && typeof ex === "object" && "default" in ex - ? ex["default"] - : ex; - } - - var osName = _interopDefault(__webpack_require__(8002)); - - function getUserAgent() { - try { - return `Node.js/${process.version.substr(1)} (${osName()}; ${ - process.arch - })`; - } catch (error) { - if (/wmic os get Caption/.test(error.message)) { - return "Windows "; - } - - return ""; - } - } - - exports.getUserAgent = getUserAgent; - //# sourceMappingURL=index.js.map - - /***/ - }, - - /***/ 3602: /***/ function (module) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLStringifier, - bind = function (fn, me) { - return function () { - return fn.apply(me, arguments); + _projectIfSlice: function (left, right) { + var indexExpr = { + type: "IndexExpression", + children: [left, right], }; + if (right.type === "Slice") { + return { + type: "Projection", + children: [ + indexExpr, + this._parseProjectionRHS(bindingPower.Star), + ], + }; + } else { + return indexExpr; + } }, - hasProp = {}.hasOwnProperty; - module.exports = XMLStringifier = (function () { - function XMLStringifier(options) { - this.assertLegalChar = bind(this.assertLegalChar, this); - var key, ref, value; - options || (options = {}); - this.noDoubleEncoding = options.noDoubleEncoding; - ref = options.stringify || {}; - for (key in ref) { - if (!hasProp.call(ref, key)) continue; - value = ref[key]; - this[key] = value; + _parseSliceExpression: function () { + // [start:end:step] where each part is optional, as well as the last + // colon. + var parts = [null, null, null]; + var index = 0; + var currentToken = this._lookahead(0); + while (currentToken !== TOK_RBRACKET && index < 3) { + if (currentToken === TOK_COLON) { + index++; + this._advance(); + } else if (currentToken === TOK_NUMBER) { + parts[index] = this._lookaheadToken(0).value; + this._advance(); + } else { + var t = this._lookahead(0); + var error = new Error( + "Syntax error, unexpected token: " + + t.value + + "(" + + t.type + + ")" + ); + error.name = "Parsererror"; + throw error; + } + currentToken = this._lookahead(0); } - } - - XMLStringifier.prototype.eleName = function (val) { - val = "" + val || ""; - return this.assertLegalChar(val); - }; + this._match(TOK_RBRACKET); + return { + type: "Slice", + children: parts, + }; + }, - XMLStringifier.prototype.eleText = function (val) { - val = "" + val || ""; - return this.assertLegalChar(this.elEscape(val)); - }; + _parseComparator: function (left, comparator) { + var right = this.expression(bindingPower[comparator]); + return { + type: "Comparator", + name: comparator, + children: [left, right], + }; + }, - XMLStringifier.prototype.cdata = function (val) { - val = "" + val || ""; - val = val.replace("]]>", "]]]]>"); - return this.assertLegalChar(val); - }; + _parseDotRHS: function (rbp) { + var lookahead = this._lookahead(0); + var exprTokens = [ + TOK_UNQUOTEDIDENTIFIER, + TOK_QUOTEDIDENTIFIER, + TOK_STAR, + ]; + if (exprTokens.indexOf(lookahead) >= 0) { + return this.expression(rbp); + } else if (lookahead === TOK_LBRACKET) { + this._match(TOK_LBRACKET); + return this._parseMultiselectList(); + } else if (lookahead === TOK_LBRACE) { + this._match(TOK_LBRACE); + return this._parseMultiselectHash(); + } + }, - XMLStringifier.prototype.comment = function (val) { - val = "" + val || ""; - if (val.match(/--/)) { - throw new Error( - "Comment text cannot contain double-hypen: " + val + _parseProjectionRHS: function (rbp) { + var right; + if (bindingPower[this._lookahead(0)] < 10) { + right = { type: "Identity" }; + } else if (this._lookahead(0) === TOK_LBRACKET) { + right = this.expression(rbp); + } else if (this._lookahead(0) === TOK_FILTER) { + right = this.expression(rbp); + } else if (this._lookahead(0) === TOK_DOT) { + this._match(TOK_DOT); + right = this._parseDotRHS(rbp); + } else { + var t = this._lookaheadToken(0); + var error = new Error( + "Sytanx error, unexpected token: " + + t.value + + "(" + + t.type + + ")" ); + error.name = "ParserError"; + throw error; } - return this.assertLegalChar(val); - }; + return right; + }, - XMLStringifier.prototype.raw = function (val) { - return "" + val || ""; - }; + _parseMultiselectList: function () { + var expressions = []; + while (this._lookahead(0) !== TOK_RBRACKET) { + var expression = this.expression(0); + expressions.push(expression); + if (this._lookahead(0) === TOK_COMMA) { + this._match(TOK_COMMA); + if (this._lookahead(0) === TOK_RBRACKET) { + throw new Error("Unexpected token Rbracket"); + } + } + } + this._match(TOK_RBRACKET); + return { type: "MultiSelectList", children: expressions }; + }, - XMLStringifier.prototype.attName = function (val) { - return (val = "" + val || ""); - }; + _parseMultiselectHash: function () { + var pairs = []; + var identifierTypes = [ + TOK_UNQUOTEDIDENTIFIER, + TOK_QUOTEDIDENTIFIER, + ]; + var keyToken, keyName, value, node; + for (;;) { + keyToken = this._lookaheadToken(0); + if (identifierTypes.indexOf(keyToken.type) < 0) { + throw new Error( + "Expecting an identifier token, got: " + keyToken.type + ); + } + keyName = keyToken.value; + this._advance(); + this._match(TOK_COLON); + value = this.expression(0); + node = { type: "KeyValuePair", name: keyName, value: value }; + pairs.push(node); + if (this._lookahead(0) === TOK_COMMA) { + this._match(TOK_COMMA); + } else if (this._lookahead(0) === TOK_RBRACE) { + this._match(TOK_RBRACE); + break; + } + } + return { type: "MultiSelectHash", children: pairs }; + }, + }; - XMLStringifier.prototype.attValue = function (val) { - val = "" + val || ""; - return this.attEscape(val); - }; + function TreeInterpreter(runtime) { + this.runtime = runtime; + } - XMLStringifier.prototype.insTarget = function (val) { - return "" + val || ""; - }; + TreeInterpreter.prototype = { + search: function (node, value) { + return this.visit(node, value); + }, - XMLStringifier.prototype.insValue = function (val) { - val = "" + val || ""; - if (val.match(/\?>/)) { - throw new Error("Invalid processing instruction value: " + val); - } - return val; - }; + visit: function (node, value) { + var matched, + current, + result, + first, + second, + field, + left, + right, + collected, + i; + switch (node.type) { + case "Field": + if (value === null) { + return null; + } else if (isObject(value)) { + field = value[node.name]; + if (field === undefined) { + return null; + } else { + return field; + } + } else { + return null; + } + break; + case "Subexpression": + result = this.visit(node.children[0], value); + for (i = 1; i < node.children.length; i++) { + result = this.visit(node.children[1], result); + if (result === null) { + return null; + } + } + return result; + case "IndexExpression": + left = this.visit(node.children[0], value); + right = this.visit(node.children[1], left); + return right; + case "Index": + if (!isArray(value)) { + return null; + } + var index = node.value; + if (index < 0) { + index = value.length + index; + } + result = value[index]; + if (result === undefined) { + result = null; + } + return result; + case "Slice": + if (!isArray(value)) { + return null; + } + var sliceParams = node.children.slice(0); + var computed = this.computeSliceParams( + value.length, + sliceParams + ); + var start = computed[0]; + var stop = computed[1]; + var step = computed[2]; + result = []; + if (step > 0) { + for (i = start; i < stop; i += step) { + result.push(value[i]); + } + } else { + for (i = start; i > stop; i += step) { + result.push(value[i]); + } + } + return result; + case "Projection": + // Evaluate left child. + var base = this.visit(node.children[0], value); + if (!isArray(base)) { + return null; + } + collected = []; + for (i = 0; i < base.length; i++) { + current = this.visit(node.children[1], base[i]); + if (current !== null) { + collected.push(current); + } + } + return collected; + case "ValueProjection": + // Evaluate left child. + base = this.visit(node.children[0], value); + if (!isObject(base)) { + return null; + } + collected = []; + var values = objValues(base); + for (i = 0; i < values.length; i++) { + current = this.visit(node.children[1], values[i]); + if (current !== null) { + collected.push(current); + } + } + return collected; + case "FilterProjection": + base = this.visit(node.children[0], value); + if (!isArray(base)) { + return null; + } + var filtered = []; + var finalResults = []; + for (i = 0; i < base.length; i++) { + matched = this.visit(node.children[2], base[i]); + if (!isFalse(matched)) { + filtered.push(base[i]); + } + } + for (var j = 0; j < filtered.length; j++) { + current = this.visit(node.children[1], filtered[j]); + if (current !== null) { + finalResults.push(current); + } + } + return finalResults; + case "Comparator": + first = this.visit(node.children[0], value); + second = this.visit(node.children[1], value); + switch (node.name) { + case TOK_EQ: + result = strictDeepEqual(first, second); + break; + case TOK_NE: + result = !strictDeepEqual(first, second); + break; + case TOK_GT: + result = first > second; + break; + case TOK_GTE: + result = first >= second; + break; + case TOK_LT: + result = first < second; + break; + case TOK_LTE: + result = first <= second; + break; + default: + throw new Error("Unknown comparator: " + node.name); + } + return result; + case TOK_FLATTEN: + var original = this.visit(node.children[0], value); + if (!isArray(original)) { + return null; + } + var merged = []; + for (i = 0; i < original.length; i++) { + current = original[i]; + if (isArray(current)) { + merged.push.apply(merged, current); + } else { + merged.push(current); + } + } + return merged; + case "Identity": + return value; + case "MultiSelectList": + if (value === null) { + return null; + } + collected = []; + for (i = 0; i < node.children.length; i++) { + collected.push(this.visit(node.children[i], value)); + } + return collected; + case "MultiSelectHash": + if (value === null) { + return null; + } + collected = {}; + var child; + for (i = 0; i < node.children.length; i++) { + child = node.children[i]; + collected[child.name] = this.visit(child.value, value); + } + return collected; + case "OrExpression": + matched = this.visit(node.children[0], value); + if (isFalse(matched)) { + matched = this.visit(node.children[1], value); + } + return matched; + case "AndExpression": + first = this.visit(node.children[0], value); - XMLStringifier.prototype.xmlVersion = function (val) { - val = "" + val || ""; - if (!val.match(/1\.[0-9]+/)) { - throw new Error("Invalid version number: " + val); + if (isFalse(first) === true) { + return first; + } + return this.visit(node.children[1], value); + case "NotExpression": + first = this.visit(node.children[0], value); + return isFalse(first); + case "Literal": + return node.value; + case TOK_PIPE: + left = this.visit(node.children[0], value); + return this.visit(node.children[1], left); + case TOK_CURRENT: + return value; + case "Function": + var resolvedArgs = []; + for (i = 0; i < node.children.length; i++) { + resolvedArgs.push(this.visit(node.children[i], value)); + } + return this.runtime.callFunction(node.name, resolvedArgs); + case "ExpressionReference": + var refNode = node.children[0]; + // Tag the node with a specific attribute so the type + // checker verify the type. + refNode.jmespathType = TOK_EXPREF; + return refNode; + default: + throw new Error("Unknown node type: " + node.type); } - return val; - }; + }, - XMLStringifier.prototype.xmlEncoding = function (val) { - val = "" + val || ""; - if (!val.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/)) { - throw new Error("Invalid encoding: " + val); + computeSliceParams: function (arrayLength, sliceParams) { + var start = sliceParams[0]; + var stop = sliceParams[1]; + var step = sliceParams[2]; + var computed = [null, null, null]; + if (step === null) { + step = 1; + } else if (step === 0) { + var error = new Error("Invalid slice, step cannot be 0"); + error.name = "RuntimeError"; + throw error; } - return val; - }; + var stepValueNegative = step < 0 ? true : false; - XMLStringifier.prototype.xmlStandalone = function (val) { - if (val) { - return "yes"; + if (start === null) { + start = stepValueNegative ? arrayLength - 1 : 0; } else { - return "no"; + start = this.capSliceRange(arrayLength, start, step); } - }; - - XMLStringifier.prototype.dtdPubID = function (val) { - return "" + val || ""; - }; - - XMLStringifier.prototype.dtdSysID = function (val) { - return "" + val || ""; - }; - - XMLStringifier.prototype.dtdElementValue = function (val) { - return "" + val || ""; - }; - - XMLStringifier.prototype.dtdAttType = function (val) { - return "" + val || ""; - }; - XMLStringifier.prototype.dtdAttDefault = function (val) { - if (val != null) { - return "" + val || ""; + if (stop === null) { + stop = stepValueNegative ? -1 : arrayLength; } else { - return val; + stop = this.capSliceRange(arrayLength, stop, step); } - }; - - XMLStringifier.prototype.dtdEntityValue = function (val) { - return "" + val || ""; - }; - - XMLStringifier.prototype.dtdNData = function (val) { - return "" + val || ""; - }; - - XMLStringifier.prototype.convertAttKey = "@"; - - XMLStringifier.prototype.convertPIKey = "?"; - - XMLStringifier.prototype.convertTextKey = "#text"; - - XMLStringifier.prototype.convertCDataKey = "#cdata"; - - XMLStringifier.prototype.convertCommentKey = "#comment"; - - XMLStringifier.prototype.convertRawKey = "#raw"; + computed[0] = start; + computed[1] = stop; + computed[2] = step; + return computed; + }, - XMLStringifier.prototype.assertLegalChar = function (str) { - var res; - res = str.match( - /[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/ - ); - if (res) { - throw new Error( - "Invalid character in string: " + str + " at index " + res.index - ); + capSliceRange: function (arrayLength, actualValue, step) { + if (actualValue < 0) { + actualValue += arrayLength; + if (actualValue < 0) { + actualValue = step < 0 ? -1 : 0; + } + } else if (actualValue >= arrayLength) { + actualValue = step < 0 ? arrayLength - 1 : arrayLength; } - return str; - }; - - XMLStringifier.prototype.elEscape = function (str) { - var ampregex; - ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; - return str - .replace(ampregex, "&") - .replace(//g, ">") - .replace(/\r/g, " "); - }; - - XMLStringifier.prototype.attEscape = function (str) { - var ampregex; - ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; - return str - .replace(ampregex, "&") - .replace(/] + // The can be: + // + // { + // args: [[type1, type2], [type1, type2]], + // variadic: true|false + // } + // + // Each arg in the arg list is a list of valid types + // (if the function is overloaded and supports multiple + // types. If the type is "any" then no type checking + // occurs on the argument. Variadic is optional + // and if not provided is assumed to be false. + abs: { + _func: this._functionAbs, + _signature: [{ types: [TYPE_NUMBER] }], }, - output: { type: "structure", members: {} }, + avg: { + _func: this._functionAvg, + _signature: [{ types: [TYPE_ARRAY_NUMBER] }], + }, + ceil: { + _func: this._functionCeil, + _signature: [{ types: [TYPE_NUMBER] }], + }, + contains: { + _func: this._functionContains, + _signature: [ + { types: [TYPE_STRING, TYPE_ARRAY] }, + { types: [TYPE_ANY] }, + ], + }, + ends_with: { + _func: this._functionEndsWith, + _signature: [{ types: [TYPE_STRING] }, { types: [TYPE_STRING] }], + }, + floor: { + _func: this._functionFloor, + _signature: [{ types: [TYPE_NUMBER] }], + }, + length: { + _func: this._functionLength, + _signature: [{ types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT] }], + }, + map: { + _func: this._functionMap, + _signature: [{ types: [TYPE_EXPREF] }, { types: [TYPE_ARRAY] }], + }, + max: { + _func: this._functionMax, + _signature: [{ types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING] }], + }, + merge: { + _func: this._functionMerge, + _signature: [{ types: [TYPE_OBJECT], variadic: true }], + }, + max_by: { + _func: this._functionMaxBy, + _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }], + }, + sum: { + _func: this._functionSum, + _signature: [{ types: [TYPE_ARRAY_NUMBER] }], + }, + starts_with: { + _func: this._functionStartsWith, + _signature: [{ types: [TYPE_STRING] }, { types: [TYPE_STRING] }], + }, + min: { + _func: this._functionMin, + _signature: [{ types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING] }], + }, + min_by: { + _func: this._functionMinBy, + _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }], + }, + type: { + _func: this._functionType, + _signature: [{ types: [TYPE_ANY] }], + }, + keys: { + _func: this._functionKeys, + _signature: [{ types: [TYPE_OBJECT] }], + }, + values: { + _func: this._functionValues, + _signature: [{ types: [TYPE_OBJECT] }], + }, + sort: { + _func: this._functionSort, + _signature: [{ types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER] }], + }, + sort_by: { + _func: this._functionSortBy, + _signature: [{ types: [TYPE_ARRAY] }, { types: [TYPE_EXPREF] }], + }, + join: { + _func: this._functionJoin, + _signature: [ + { types: [TYPE_STRING] }, + { types: [TYPE_ARRAY_STRING] }, + ], + }, + reverse: { + _func: this._functionReverse, + _signature: [{ types: [TYPE_STRING, TYPE_ARRAY] }], + }, + to_array: { + _func: this._functionToArray, + _signature: [{ types: [TYPE_ANY] }], + }, + to_string: { + _func: this._functionToString, + _signature: [{ types: [TYPE_ANY] }], + }, + to_number: { + _func: this._functionToNumber, + _signature: [{ types: [TYPE_ANY] }], + }, + not_null: { + _func: this._functionNotNull, + _signature: [{ types: [TYPE_ANY], variadic: true }], + }, + }; + } + + Runtime.prototype = { + callFunction: function (name, resolvedArgs) { + var functionEntry = this.functionTable[name]; + if (functionEntry === undefined) { + throw new Error("Unknown function: " + name + "()"); + } + this._validateArgs(name, resolvedArgs, functionEntry._signature); + return functionEntry._func.call(this, resolvedArgs); }, - GetLicenseConfiguration: { - input: { - type: "structure", - required: ["LicenseConfigurationArn"], - members: { LicenseConfigurationArn: {} }, + + _validateArgs: function (name, args, signature) { + // Validating the args requires validating + // the correct arity and the correct type of each arg. + // If the last argument is declared as variadic, then we need + // a minimum number of args to be required. Otherwise it has to + // be an exact amount. + var pluralized; + if (signature[signature.length - 1].variadic) { + if (args.length < signature.length) { + pluralized = + signature.length === 1 ? " argument" : " arguments"; + throw new Error( + "ArgumentError: " + + name + + "() " + + "takes at least" + + signature.length + + pluralized + + " but received " + + args.length + ); + } + } else if (args.length !== signature.length) { + pluralized = signature.length === 1 ? " argument" : " arguments"; + throw new Error( + "ArgumentError: " + + name + + "() " + + "takes " + + signature.length + + pluralized + + " but received " + + args.length + ); + } + var currentSpec; + var actualType; + var typeMatched; + for (var i = 0; i < signature.length; i++) { + typeMatched = false; + currentSpec = signature[i].types; + actualType = this._getTypeName(args[i]); + for (var j = 0; j < currentSpec.length; j++) { + if (this._typeMatches(actualType, currentSpec[j], args[i])) { + typeMatched = true; + break; + } + } + if (!typeMatched) { + throw new Error( + "TypeError: " + + name + + "() " + + "expected argument " + + (i + 1) + + " to be type " + + currentSpec + + " but received type " + + actualType + + " instead." + ); + } + } + }, + + _typeMatches: function (actual, expected, argValue) { + if (expected === TYPE_ANY) { + return true; + } + if ( + expected === TYPE_ARRAY_STRING || + expected === TYPE_ARRAY_NUMBER || + expected === TYPE_ARRAY + ) { + // The expected type can either just be array, + // or it can require a specific subtype (array of numbers). + // + // The simplest case is if "array" with no subtype is specified. + if (expected === TYPE_ARRAY) { + return actual === TYPE_ARRAY; + } else if (actual === TYPE_ARRAY) { + // Otherwise we need to check subtypes. + // I think this has potential to be improved. + var subtype; + if (expected === TYPE_ARRAY_NUMBER) { + subtype = TYPE_NUMBER; + } else if (expected === TYPE_ARRAY_STRING) { + subtype = TYPE_STRING; + } + for (var i = 0; i < argValue.length; i++) { + if ( + !this._typeMatches( + this._getTypeName(argValue[i]), + subtype, + argValue[i] + ) + ) { + return false; + } + } + return true; + } + } else { + return actual === expected; + } + }, + _getTypeName: function (obj) { + switch (Object.prototype.toString.call(obj)) { + case "[object String]": + return TYPE_STRING; + case "[object Number]": + return TYPE_NUMBER; + case "[object Array]": + return TYPE_ARRAY; + case "[object Boolean]": + return TYPE_BOOLEAN; + case "[object Null]": + return TYPE_NULL; + case "[object Object]": + // Check if it's an expref. If it has, it's been + // tagged with a jmespathType attr of 'Expref'; + if (obj.jmespathType === TOK_EXPREF) { + return TYPE_EXPREF; + } else { + return TYPE_OBJECT; + } + } + }, + + _functionStartsWith: function (resolvedArgs) { + return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0; + }, + + _functionEndsWith: function (resolvedArgs) { + var searchStr = resolvedArgs[0]; + var suffix = resolvedArgs[1]; + return ( + searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1 + ); + }, + + _functionReverse: function (resolvedArgs) { + var typeName = this._getTypeName(resolvedArgs[0]); + if (typeName === TYPE_STRING) { + var originalStr = resolvedArgs[0]; + var reversedStr = ""; + for (var i = originalStr.length - 1; i >= 0; i--) { + reversedStr += originalStr[i]; + } + return reversedStr; + } else { + var reversedArray = resolvedArgs[0].slice(0); + reversedArray.reverse(); + return reversedArray; + } + }, + + _functionAbs: function (resolvedArgs) { + return Math.abs(resolvedArgs[0]); + }, + + _functionCeil: function (resolvedArgs) { + return Math.ceil(resolvedArgs[0]); + }, + + _functionAvg: function (resolvedArgs) { + var sum = 0; + var inputArray = resolvedArgs[0]; + for (var i = 0; i < inputArray.length; i++) { + sum += inputArray[i]; + } + return sum / inputArray.length; + }, + + _functionContains: function (resolvedArgs) { + return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0; + }, + + _functionFloor: function (resolvedArgs) { + return Math.floor(resolvedArgs[0]); + }, + + _functionLength: function (resolvedArgs) { + if (!isObject(resolvedArgs[0])) { + return resolvedArgs[0].length; + } else { + // As far as I can tell, there's no way to get the length + // of an object without O(n) iteration through the object. + return Object.keys(resolvedArgs[0]).length; + } + }, + + _functionMap: function (resolvedArgs) { + var mapped = []; + var interpreter = this._interpreter; + var exprefNode = resolvedArgs[0]; + var elements = resolvedArgs[1]; + for (var i = 0; i < elements.length; i++) { + mapped.push(interpreter.visit(exprefNode, elements[i])); + } + return mapped; + }, + + _functionMerge: function (resolvedArgs) { + var merged = {}; + for (var i = 0; i < resolvedArgs.length; i++) { + var current = resolvedArgs[i]; + for (var key in current) { + merged[key] = current[key]; + } + } + return merged; + }, + + _functionMax: function (resolvedArgs) { + if (resolvedArgs[0].length > 0) { + var typeName = this._getTypeName(resolvedArgs[0][0]); + if (typeName === TYPE_NUMBER) { + return Math.max.apply(Math, resolvedArgs[0]); + } else { + var elements = resolvedArgs[0]; + var maxElement = elements[0]; + for (var i = 1; i < elements.length; i++) { + if (maxElement.localeCompare(elements[i]) < 0) { + maxElement = elements[i]; + } + } + return maxElement; + } + } else { + return null; + } + }, + + _functionMin: function (resolvedArgs) { + if (resolvedArgs[0].length > 0) { + var typeName = this._getTypeName(resolvedArgs[0][0]); + if (typeName === TYPE_NUMBER) { + return Math.min.apply(Math, resolvedArgs[0]); + } else { + var elements = resolvedArgs[0]; + var minElement = elements[0]; + for (var i = 1; i < elements.length; i++) { + if (elements[i].localeCompare(minElement) < 0) { + minElement = elements[i]; + } + } + return minElement; + } + } else { + return null; + } + }, + + _functionSum: function (resolvedArgs) { + var sum = 0; + var listToSum = resolvedArgs[0]; + for (var i = 0; i < listToSum.length; i++) { + sum += listToSum[i]; + } + return sum; + }, + + _functionType: function (resolvedArgs) { + switch (this._getTypeName(resolvedArgs[0])) { + case TYPE_NUMBER: + return "number"; + case TYPE_STRING: + return "string"; + case TYPE_ARRAY: + return "array"; + case TYPE_OBJECT: + return "object"; + case TYPE_BOOLEAN: + return "boolean"; + case TYPE_EXPREF: + return "expref"; + case TYPE_NULL: + return "null"; + } + }, + + _functionKeys: function (resolvedArgs) { + return Object.keys(resolvedArgs[0]); + }, + + _functionValues: function (resolvedArgs) { + var obj = resolvedArgs[0]; + var keys = Object.keys(obj); + var values = []; + for (var i = 0; i < keys.length; i++) { + values.push(obj[keys[i]]); + } + return values; + }, + + _functionJoin: function (resolvedArgs) { + var joinChar = resolvedArgs[0]; + var listJoin = resolvedArgs[1]; + return listJoin.join(joinChar); + }, + + _functionToArray: function (resolvedArgs) { + if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) { + return resolvedArgs[0]; + } else { + return [resolvedArgs[0]]; + } + }, + + _functionToString: function (resolvedArgs) { + if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) { + return resolvedArgs[0]; + } else { + return JSON.stringify(resolvedArgs[0]); + } + }, + + _functionToNumber: function (resolvedArgs) { + var typeName = this._getTypeName(resolvedArgs[0]); + var convertedValue; + if (typeName === TYPE_NUMBER) { + return resolvedArgs[0]; + } else if (typeName === TYPE_STRING) { + convertedValue = +resolvedArgs[0]; + if (!isNaN(convertedValue)) { + return convertedValue; + } + } + return null; + }, + + _functionNotNull: function (resolvedArgs) { + for (var i = 0; i < resolvedArgs.length; i++) { + if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) { + return resolvedArgs[i]; + } + } + return null; + }, + + _functionSort: function (resolvedArgs) { + var sortedArray = resolvedArgs[0].slice(0); + sortedArray.sort(); + return sortedArray; + }, + + _functionSortBy: function (resolvedArgs) { + var sortedArray = resolvedArgs[0].slice(0); + if (sortedArray.length === 0) { + return sortedArray; + } + var interpreter = this._interpreter; + var exprefNode = resolvedArgs[1]; + var requiredType = this._getTypeName( + interpreter.visit(exprefNode, sortedArray[0]) + ); + if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) { + throw new Error("TypeError"); + } + var that = this; + // In order to get a stable sort out of an unstable + // sort algorithm, we decorate/sort/undecorate (DSU) + // by creating a new list of [index, element] pairs. + // In the cmp function, if the evaluated elements are + // equal, then the index will be used as the tiebreaker. + // After the decorated list has been sorted, it will be + // undecorated to extract the original elements. + var decorated = []; + for (var i = 0; i < sortedArray.length; i++) { + decorated.push([i, sortedArray[i]]); + } + decorated.sort(function (a, b) { + var exprA = interpreter.visit(exprefNode, a[1]); + var exprB = interpreter.visit(exprefNode, b[1]); + if (that._getTypeName(exprA) !== requiredType) { + throw new Error( + "TypeError: expected " + + requiredType + + ", received " + + that._getTypeName(exprA) + ); + } else if (that._getTypeName(exprB) !== requiredType) { + throw new Error( + "TypeError: expected " + + requiredType + + ", received " + + that._getTypeName(exprB) + ); + } + if (exprA > exprB) { + return 1; + } else if (exprA < exprB) { + return -1; + } else { + // If they're equal compare the items by their + // order to maintain relative order of equal keys + // (i.e. to get a stable sort). + return a[0] - b[0]; + } + }); + // Undecorate: extract out the original list elements. + for (var j = 0; j < decorated.length; j++) { + sortedArray[j] = decorated[j][1]; + } + return sortedArray; + }, + + _functionMaxBy: function (resolvedArgs) { + var exprefNode = resolvedArgs[1]; + var resolvedArray = resolvedArgs[0]; + var keyFunction = this.createKeyFunction(exprefNode, [ + TYPE_NUMBER, + TYPE_STRING, + ]); + var maxNumber = -Infinity; + var maxRecord; + var current; + for (var i = 0; i < resolvedArray.length; i++) { + current = keyFunction(resolvedArray[i]); + if (current > maxNumber) { + maxNumber = current; + maxRecord = resolvedArray[i]; + } + } + return maxRecord; + }, + + _functionMinBy: function (resolvedArgs) { + var exprefNode = resolvedArgs[1]; + var resolvedArray = resolvedArgs[0]; + var keyFunction = this.createKeyFunction(exprefNode, [ + TYPE_NUMBER, + TYPE_STRING, + ]); + var minNumber = Infinity; + var minRecord; + var current; + for (var i = 0; i < resolvedArray.length; i++) { + current = keyFunction(resolvedArray[i]); + if (current < minNumber) { + minNumber = current; + minRecord = resolvedArray[i]; + } + } + return minRecord; + }, + + createKeyFunction: function (exprefNode, allowedTypes) { + var that = this; + var interpreter = this._interpreter; + var keyFunc = function (x) { + var current = interpreter.visit(exprefNode, x); + if (allowedTypes.indexOf(that._getTypeName(current)) < 0) { + var msg = + "TypeError: expected one of " + + allowedTypes + + ", received " + + that._getTypeName(current); + throw new Error(msg); + } + return current; + }; + return keyFunc; + }, + }; + + function compile(stream) { + var parser = new Parser(); + var ast = parser.parse(stream); + return ast; + } + + function tokenize(stream) { + var lexer = new Lexer(); + return lexer.tokenize(stream); + } + + function search(data, expression) { + var parser = new Parser(); + // This needs to be improved. Both the interpreter and runtime depend on + // each other. The runtime needs the interpreter to support exprefs. + // There's likely a clean way to avoid the cyclic dependency. + var runtime = new Runtime(); + var interpreter = new TreeInterpreter(runtime); + runtime._interpreter = interpreter; + var node = parser.parse(expression); + return interpreter.search(node, data); + } + + exports.tokenize = tokenize; + exports.compile = compile; + exports.search = search; + exports.strictDeepEqual = strictDeepEqual; + })(false ? undefined : exports); + + /***/ + }, + + /***/ 2816: /***/ function (module) { + module.exports = { + pagination: { + ListInvitations: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListMembers: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListNetworks: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListNodes: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListProposalVotes: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListProposals: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + }, + }; + + /***/ + }, + + /***/ 2838: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["appintegrations"] = {}; + AWS.AppIntegrations = Service.defineService("appintegrations", [ + "2020-07-29", + ]); + Object.defineProperty( + apiLoader.services["appintegrations"], + "2020-07-29", + { + get: function get() { + var model = __webpack_require__(8337); + model.paginators = __webpack_require__(3660).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.AppIntegrations; + + /***/ + }, + + /***/ 2848: /***/ function (module) { + module.exports = { + pagination: { + ListDatasets: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Datasets", + }, + ListJobRuns: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "JobRuns", + }, + ListJobs: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Jobs", + }, + ListProjects: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Projects", + }, + ListRecipeVersions: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Recipes", + }, + ListRecipes: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Recipes", + }, + ListSchedules: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Schedules", + }, + }, + }; + + /***/ + }, + + /***/ 2857: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2012-06-01", + checksumFormat: "sha256", + endpointPrefix: "glacier", + protocol: "rest-json", + serviceFullName: "Amazon Glacier", + serviceId: "Glacier", + signatureVersion: "v4", + uid: "glacier-2012-06-01", + }, + operations: { + AbortMultipartUpload: { + http: { + method: "DELETE", + requestUri: + "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", + responseCode: 204, }, - output: { + input: { type: "structure", + required: ["accountId", "vaultName", "uploadId"], members: { - LicenseConfigurationId: {}, - LicenseConfigurationArn: {}, - Name: {}, - Description: {}, - LicenseCountingType: {}, - LicenseRules: { shape: "S6" }, - LicenseCount: { type: "long" }, - LicenseCountHardLimit: { type: "boolean" }, - ConsumedLicenses: { type: "long" }, - Status: {}, - OwnerAccountId: {}, - ConsumedLicenseSummaryList: { shape: "Si" }, - ManagedResourceSummaryList: { shape: "Sl" }, - Tags: { shape: "S7" }, - ProductInformationList: { shape: "S9" }, - AutomatedDiscoveryInformation: { shape: "Sn" }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + uploadId: { location: "uri", locationName: "uploadId" }, }, }, }, - GetServiceSettings: { - input: { type: "structure", members: {} }, - output: { + AbortVaultLock: { + http: { + method: "DELETE", + requestUri: "/{accountId}/vaults/{vaultName}/lock-policy", + responseCode: 204, + }, + input: { type: "structure", + required: ["accountId", "vaultName"], members: { - S3BucketArn: {}, - SnsTopicArn: {}, - OrganizationConfiguration: { shape: "Sr" }, - EnableCrossAccountsDiscovery: { type: "boolean" }, - LicenseManagerResourceShareArn: {}, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, }, }, }, - ListAssociationsForLicenseConfiguration: { + AddTagsToVault: { + http: { + requestUri: "/{accountId}/vaults/{vaultName}/tags?operation=add", + responseCode: 204, + }, input: { type: "structure", - required: ["LicenseConfigurationArn"], + required: ["accountId", "vaultName"], members: { - LicenseConfigurationArn: {}, - MaxResults: { type: "integer" }, - NextToken: {}, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + Tags: { shape: "S5" }, }, }, - output: { + }, + CompleteMultipartUpload: { + http: { + requestUri: + "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", + responseCode: 201, + }, + input: { type: "structure", + required: ["accountId", "vaultName", "uploadId"], members: { - LicenseConfigurationAssociations: { - type: "list", - member: { - type: "structure", - members: { - ResourceArn: {}, - ResourceType: {}, - ResourceOwnerId: {}, - AssociationTime: { type: "timestamp" }, - }, - }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + uploadId: { location: "uri", locationName: "uploadId" }, + archiveSize: { + location: "header", + locationName: "x-amz-archive-size", + }, + checksum: { + location: "header", + locationName: "x-amz-sha256-tree-hash", }, - NextToken: {}, }, }, + output: { shape: "S9" }, }, - ListFailuresForLicenseConfigurationOperations: { - input: { - type: "structure", - required: ["LicenseConfigurationArn"], - members: { - LicenseConfigurationArn: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, + CompleteVaultLock: { + http: { + requestUri: + "/{accountId}/vaults/{vaultName}/lock-policy/{lockId}", + responseCode: 204, }, - output: { + input: { type: "structure", + required: ["accountId", "vaultName", "lockId"], members: { - LicenseOperationFailureList: { - type: "list", - member: { - type: "structure", - members: { - ResourceArn: {}, - ResourceType: {}, - ErrorMessage: {}, - FailureTime: { type: "timestamp" }, - OperationName: {}, - ResourceOwnerId: {}, - OperationRequestedBy: {}, - MetadataList: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Value: {} }, - }, - }, - }, - }, - }, - NextToken: {}, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + lockId: { location: "uri", locationName: "lockId" }, }, }, }, - ListLicenseConfigurations: { + CreateVault: { + http: { + method: "PUT", + requestUri: "/{accountId}/vaults/{vaultName}", + responseCode: 201, + }, input: { type: "structure", + required: ["accountId", "vaultName"], members: { - LicenseConfigurationArns: { shape: "S6" }, - MaxResults: { type: "integer" }, - NextToken: {}, - Filters: { shape: "S15" }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, }, }, output: { type: "structure", members: { - LicenseConfigurations: { - type: "list", - member: { - type: "structure", - members: { - LicenseConfigurationId: {}, - LicenseConfigurationArn: {}, - Name: {}, - Description: {}, - LicenseCountingType: {}, - LicenseRules: { shape: "S6" }, - LicenseCount: { type: "long" }, - LicenseCountHardLimit: { type: "boolean" }, - ConsumedLicenses: { type: "long" }, - Status: {}, - OwnerAccountId: {}, - ConsumedLicenseSummaryList: { shape: "Si" }, - ManagedResourceSummaryList: { shape: "Sl" }, - ProductInformationList: { shape: "S9" }, - AutomatedDiscoveryInformation: { shape: "Sn" }, - }, - }, - }, - NextToken: {}, + location: { location: "header", locationName: "Location" }, }, }, }, - ListLicenseSpecificationsForResource: { + DeleteArchive: { + http: { + method: "DELETE", + requestUri: + "/{accountId}/vaults/{vaultName}/archives/{archiveId}", + responseCode: 204, + }, input: { type: "structure", - required: ["ResourceArn"], + required: ["accountId", "vaultName", "archiveId"], members: { - ResourceArn: {}, - MaxResults: { type: "integer" }, - NextToken: {}, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + archiveId: { location: "uri", locationName: "archiveId" }, }, }, - output: { + }, + DeleteVault: { + http: { + method: "DELETE", + requestUri: "/{accountId}/vaults/{vaultName}", + responseCode: 204, + }, + input: { type: "structure", + required: ["accountId", "vaultName"], members: { - LicenseSpecifications: { shape: "S1f" }, - NextToken: {}, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, }, }, }, - ListResourceInventory: { + DeleteVaultAccessPolicy: { + http: { + method: "DELETE", + requestUri: "/{accountId}/vaults/{vaultName}/access-policy", + responseCode: 204, + }, input: { type: "structure", + required: ["accountId", "vaultName"], members: { - MaxResults: { type: "integer" }, - NextToken: {}, - Filters: { - type: "list", - member: { - type: "structure", - required: ["Name", "Condition"], - members: { Name: {}, Condition: {}, Value: {} }, - }, - }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, }, }, - output: { + }, + DeleteVaultNotifications: { + http: { + method: "DELETE", + requestUri: + "/{accountId}/vaults/{vaultName}/notification-configuration", + responseCode: 204, + }, + input: { type: "structure", + required: ["accountId", "vaultName"], members: { - ResourceInventoryList: { - type: "list", - member: { - type: "structure", - members: { - ResourceId: {}, - ResourceType: {}, - ResourceArn: {}, - Platform: {}, - PlatformVersion: {}, - ResourceOwningAccountId: {}, - }, - }, - }, - NextToken: {}, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, }, }, }, - ListTagsForResource: { + DescribeJob: { + http: { + method: "GET", + requestUri: "/{accountId}/vaults/{vaultName}/jobs/{jobId}", + }, input: { type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, + required: ["accountId", "vaultName", "jobId"], + members: { + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + jobId: { location: "uri", locationName: "jobId" }, + }, }, - output: { type: "structure", members: { Tags: { shape: "S7" } } }, + output: { shape: "Si" }, }, - ListUsageForLicenseConfiguration: { + DescribeVault: { + http: { + method: "GET", + requestUri: "/{accountId}/vaults/{vaultName}", + }, input: { type: "structure", - required: ["LicenseConfigurationArn"], + required: ["accountId", "vaultName"], members: { - LicenseConfigurationArn: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - Filters: { shape: "S15" }, - }, - }, - output: { - type: "structure", - members: { - LicenseConfigurationUsageList: { - type: "list", - member: { - type: "structure", - members: { - ResourceArn: {}, - ResourceType: {}, - ResourceStatus: {}, - ResourceOwnerId: {}, - AssociationTime: { type: "timestamp" }, - ConsumedLicenses: { type: "long" }, - }, - }, - }, - NextToken: {}, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, }, }, + output: { shape: "S1a" }, }, - TagResource: { - input: { - type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "S7" } }, + GetDataRetrievalPolicy: { + http: { + method: "GET", + requestUri: "/{accountId}/policies/data-retrieval", }, - output: { type: "structure", members: {} }, - }, - UntagResource: { input: { type: "structure", - required: ["ResourceArn", "TagKeys"], + required: ["accountId"], members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, + accountId: { location: "uri", locationName: "accountId" }, }, }, - output: { type: "structure", members: {} }, - }, - UpdateLicenseConfiguration: { - input: { + output: { type: "structure", - required: ["LicenseConfigurationArn"], - members: { - LicenseConfigurationArn: {}, - LicenseConfigurationStatus: {}, - LicenseRules: { shape: "S6" }, - LicenseCount: { type: "long" }, - LicenseCountHardLimit: { type: "boolean" }, - Name: {}, - Description: {}, - ProductInformationList: { shape: "S9" }, - }, + members: { Policy: { shape: "S1e" } }, }, - output: { type: "structure", members: {} }, }, - UpdateLicenseSpecificationsForResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { - ResourceArn: {}, - AddLicenseSpecifications: { shape: "S1f" }, - RemoveLicenseSpecifications: { shape: "S1f" }, - }, + GetJobOutput: { + http: { + method: "GET", + requestUri: "/{accountId}/vaults/{vaultName}/jobs/{jobId}/output", }, - output: { type: "structure", members: {} }, - }, - UpdateServiceSettings: { input: { type: "structure", + required: ["accountId", "vaultName", "jobId"], members: { - S3BucketArn: {}, - SnsTopicArn: {}, - OrganizationConfiguration: { shape: "Sr" }, - EnableCrossAccountsDiscovery: { type: "boolean" }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + jobId: { location: "uri", locationName: "jobId" }, + range: { location: "header", locationName: "Range" }, }, }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S6: { type: "list", member: {} }, - S7: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, - }, - S9: { - type: "list", - member: { + output: { type: "structure", - required: ["ResourceType", "ProductInformationFilterList"], members: { - ResourceType: {}, - ProductInformationFilterList: { - type: "list", - member: { - type: "structure", - required: [ - "ProductInformationFilterName", - "ProductInformationFilterValue", - "ProductInformationFilterComparator", - ], - members: { - ProductInformationFilterName: {}, - ProductInformationFilterValue: { shape: "S6" }, - ProductInformationFilterComparator: {}, - }, - }, + body: { shape: "S1k" }, + checksum: { + location: "header", + locationName: "x-amz-sha256-tree-hash", + }, + status: { location: "statusCode", type: "integer" }, + contentRange: { + location: "header", + locationName: "Content-Range", + }, + acceptRanges: { + location: "header", + locationName: "Accept-Ranges", + }, + contentType: { + location: "header", + locationName: "Content-Type", + }, + archiveDescription: { + location: "header", + locationName: "x-amz-archive-description", }, }, + payload: "body", }, }, - Si: { - type: "list", - member: { - type: "structure", - members: { ResourceType: {}, ConsumedLicenses: { type: "long" } }, + GetVaultAccessPolicy: { + http: { + method: "GET", + requestUri: "/{accountId}/vaults/{vaultName}/access-policy", }, - }, - Sl: { - type: "list", - member: { + input: { type: "structure", - members: { ResourceType: {}, AssociationCount: { type: "long" } }, + required: ["accountId", "vaultName"], + members: { + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + }, }, - }, - Sn: { - type: "structure", - members: { LastRunTime: { type: "timestamp" } }, - }, - Sr: { - type: "structure", - required: ["EnableIntegration"], - members: { EnableIntegration: { type: "boolean" } }, - }, - S15: { - type: "list", - member: { + output: { type: "structure", - members: { Name: {}, Values: { type: "list", member: {} } }, + members: { policy: { shape: "S1o" } }, + payload: "policy", }, }, - S1f: { - type: "list", - member: { - type: "structure", - required: ["LicenseConfigurationArn"], - members: { LicenseConfigurationArn: {} }, + GetVaultLock: { + http: { + method: "GET", + requestUri: "/{accountId}/vaults/{vaultName}/lock-policy", }, - }, - }, - }; - - /***/ - }, - - /***/ 3616: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - AWS.util.update(AWS.APIGateway.prototype, { - /** - * Sets the Accept header to application/json. - * - * @api private - */ - setAcceptHeader: function setAcceptHeader(req) { - var httpRequest = req.httpRequest; - if (!httpRequest.headers.Accept) { - httpRequest.headers["Accept"] = "application/json"; - } - }, - - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener("build", this.setAcceptHeader); - if (request.operation === "getExport") { - var params = request.params || {}; - if (params.exportType === "swagger") { - request.addListener( - "extractData", - AWS.util.convertPayloadToString - ); - } - } - }, - }); - - /***/ - }, - - /***/ 3624: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - var property = util.property; - - function ResourceWaiter(name, waiter, options) { - options = options || {}; - property(this, "name", name); - property(this, "api", options.api, false); - - if (waiter.operation) { - property(this, "operation", util.string.lowerFirst(waiter.operation)); - } - - var self = this; - var keys = ["type", "description", "delay", "maxAttempts", "acceptors"]; - - keys.forEach(function (key) { - var value = waiter[key]; - if (value) { - property(self, key, value); - } - }); - } - - /** - * @api private - */ - module.exports = ResourceWaiter; - - /***/ - }, - - /***/ 3627: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2012-01-25", - endpointPrefix: "swf", - jsonVersion: "1.0", - protocol: "json", - serviceAbbreviation: "Amazon SWF", - serviceFullName: "Amazon Simple Workflow Service", - serviceId: "SWF", - signatureVersion: "v4", - targetPrefix: "SimpleWorkflowService", - uid: "swf-2012-01-25", - }, - operations: { - CountClosedWorkflowExecutions: { input: { type: "structure", - required: ["domain"], + required: ["accountId", "vaultName"], members: { - domain: {}, - startTimeFilter: { shape: "S3" }, - closeTimeFilter: { shape: "S3" }, - executionFilter: { shape: "S5" }, - typeFilter: { shape: "S7" }, - tagFilter: { shape: "Sa" }, - closeStatusFilter: { shape: "Sc" }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, }, }, - output: { shape: "Se" }, - }, - CountOpenWorkflowExecutions: { - input: { + output: { type: "structure", - required: ["domain", "startTimeFilter"], members: { - domain: {}, - startTimeFilter: { shape: "S3" }, - typeFilter: { shape: "S7" }, - tagFilter: { shape: "Sa" }, - executionFilter: { shape: "S5" }, + Policy: {}, + State: {}, + ExpirationDate: {}, + CreationDate: {}, }, }, - output: { shape: "Se" }, - }, - CountPendingActivityTasks: { - input: { - type: "structure", - required: ["domain", "taskList"], - members: { domain: {}, taskList: { shape: "Sj" } }, - }, - output: { shape: "Sk" }, }, - CountPendingDecisionTasks: { - input: { - type: "structure", - required: ["domain", "taskList"], - members: { domain: {}, taskList: { shape: "Sj" } }, + GetVaultNotifications: { + http: { + method: "GET", + requestUri: + "/{accountId}/vaults/{vaultName}/notification-configuration", }, - output: { shape: "Sk" }, - }, - DeprecateActivityType: { input: { type: "structure", - required: ["domain", "activityType"], - members: { domain: {}, activityType: { shape: "Sn" } }, + required: ["accountId", "vaultName"], + members: { + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + }, }, - }, - DeprecateDomain: { - input: { + output: { type: "structure", - required: ["name"], - members: { name: {} }, + members: { vaultNotificationConfig: { shape: "S1t" } }, + payload: "vaultNotificationConfig", }, }, - DeprecateWorkflowType: { - input: { - type: "structure", - required: ["domain", "workflowType"], - members: { domain: {}, workflowType: { shape: "Sr" } }, + InitiateJob: { + http: { + requestUri: "/{accountId}/vaults/{vaultName}/jobs", + responseCode: 202, }, - }, - DescribeActivityType: { input: { type: "structure", - required: ["domain", "activityType"], - members: { domain: {}, activityType: { shape: "Sn" } }, - }, - output: { - type: "structure", - required: ["typeInfo", "configuration"], + required: ["accountId", "vaultName"], members: { - typeInfo: { shape: "Su" }, - configuration: { + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + jobParameters: { type: "structure", members: { - defaultTaskStartToCloseTimeout: {}, - defaultTaskHeartbeatTimeout: {}, - defaultTaskList: { shape: "Sj" }, - defaultTaskPriority: {}, - defaultTaskScheduleToStartTimeout: {}, - defaultTaskScheduleToCloseTimeout: {}, + Format: {}, + Type: {}, + ArchiveId: {}, + Description: {}, + SNSTopic: {}, + RetrievalByteRange: {}, + Tier: {}, + InventoryRetrievalParameters: { + type: "structure", + members: { + StartDate: {}, + EndDate: {}, + Limit: {}, + Marker: {}, + }, + }, + SelectParameters: { shape: "Sp" }, + OutputLocation: { shape: "Sx" }, }, }, }, - }, - }, - DescribeDomain: { - input: { - type: "structure", - required: ["name"], - members: { name: {} }, + payload: "jobParameters", }, output: { type: "structure", - required: ["domainInfo", "configuration"], members: { - domainInfo: { shape: "S12" }, - configuration: { - type: "structure", - required: ["workflowExecutionRetentionPeriodInDays"], - members: { workflowExecutionRetentionPeriodInDays: {} }, + location: { location: "header", locationName: "Location" }, + jobId: { location: "header", locationName: "x-amz-job-id" }, + jobOutputPath: { + location: "header", + locationName: "x-amz-job-output-path", }, }, }, }, - DescribeWorkflowExecution: { - input: { - type: "structure", - required: ["domain", "execution"], - members: { domain: {}, execution: { shape: "S17" } }, + InitiateMultipartUpload: { + http: { + requestUri: "/{accountId}/vaults/{vaultName}/multipart-uploads", + responseCode: 201, }, - output: { + input: { type: "structure", - required: [ - "executionInfo", - "executionConfiguration", - "openCounts", - ], + required: ["accountId", "vaultName"], members: { - executionInfo: { shape: "S1a" }, - executionConfiguration: { - type: "structure", - required: [ - "taskStartToCloseTimeout", - "executionStartToCloseTimeout", - "taskList", - "childPolicy", - ], - members: { - taskStartToCloseTimeout: {}, - executionStartToCloseTimeout: {}, - taskList: { shape: "Sj" }, - taskPriority: {}, - childPolicy: {}, - lambdaRole: {}, - }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + archiveDescription: { + location: "header", + locationName: "x-amz-archive-description", }, - openCounts: { - type: "structure", - required: [ - "openActivityTasks", - "openDecisionTasks", - "openTimers", - "openChildWorkflowExecutions", - ], - members: { - openActivityTasks: { type: "integer" }, - openDecisionTasks: { type: "integer" }, - openTimers: { type: "integer" }, - openChildWorkflowExecutions: { type: "integer" }, - openLambdaFunctions: { type: "integer" }, - }, + partSize: { + location: "header", + locationName: "x-amz-part-size", }, - latestActivityTaskTimestamp: { type: "timestamp" }, - latestExecutionContext: {}, }, }, - }, - DescribeWorkflowType: { - input: { - type: "structure", - required: ["domain", "workflowType"], - members: { domain: {}, workflowType: { shape: "Sr" } }, - }, output: { type: "structure", - required: ["typeInfo", "configuration"], members: { - typeInfo: { shape: "S1m" }, - configuration: { - type: "structure", - members: { - defaultTaskStartToCloseTimeout: {}, - defaultExecutionStartToCloseTimeout: {}, - defaultTaskList: { shape: "Sj" }, - defaultTaskPriority: {}, - defaultChildPolicy: {}, - defaultLambdaRole: {}, - }, + location: { location: "header", locationName: "Location" }, + uploadId: { + location: "header", + locationName: "x-amz-multipart-upload-id", }, }, }, }, - GetWorkflowExecutionHistory: { + InitiateVaultLock: { + http: { + requestUri: "/{accountId}/vaults/{vaultName}/lock-policy", + responseCode: 201, + }, input: { type: "structure", - required: ["domain", "execution"], + required: ["accountId", "vaultName"], members: { - domain: {}, - execution: { shape: "S17" }, - nextPageToken: {}, - maximumPageSize: { type: "integer" }, - reverseOrder: { type: "boolean" }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + policy: { type: "structure", members: { Policy: {} } }, }, + payload: "policy", }, output: { type: "structure", - required: ["events"], - members: { events: { shape: "S1t" }, nextPageToken: {} }, + members: { + lockId: { location: "header", locationName: "x-amz-lock-id" }, + }, }, }, - ListActivityTypes: { + ListJobs: { + http: { + method: "GET", + requestUri: "/{accountId}/vaults/{vaultName}/jobs", + }, input: { type: "structure", - required: ["domain", "registrationStatus"], + required: ["accountId", "vaultName"], members: { - domain: {}, - name: {}, - registrationStatus: {}, - nextPageToken: {}, - maximumPageSize: { type: "integer" }, - reverseOrder: { type: "boolean" }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + limit: { location: "querystring", locationName: "limit" }, + marker: { location: "querystring", locationName: "marker" }, + statuscode: { + location: "querystring", + locationName: "statuscode", + }, + completed: { + location: "querystring", + locationName: "completed", + }, }, }, output: { type: "structure", - required: ["typeInfos"], members: { - typeInfos: { type: "list", member: { shape: "Su" } }, - nextPageToken: {}, + JobList: { type: "list", member: { shape: "Si" } }, + Marker: {}, }, }, }, - ListClosedWorkflowExecutions: { - input: { - type: "structure", - required: ["domain"], - members: { - domain: {}, - startTimeFilter: { shape: "S3" }, - closeTimeFilter: { shape: "S3" }, - executionFilter: { shape: "S5" }, - closeStatusFilter: { shape: "Sc" }, - typeFilter: { shape: "S7" }, - tagFilter: { shape: "Sa" }, - nextPageToken: {}, - maximumPageSize: { type: "integer" }, - reverseOrder: { type: "boolean" }, - }, + ListMultipartUploads: { + http: { + method: "GET", + requestUri: "/{accountId}/vaults/{vaultName}/multipart-uploads", }, - output: { shape: "S4g" }, - }, - ListDomains: { input: { type: "structure", - required: ["registrationStatus"], + required: ["accountId", "vaultName"], members: { - nextPageToken: {}, - registrationStatus: {}, - maximumPageSize: { type: "integer" }, - reverseOrder: { type: "boolean" }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + marker: { location: "querystring", locationName: "marker" }, + limit: { location: "querystring", locationName: "limit" }, }, }, output: { type: "structure", - required: ["domainInfos"], members: { - domainInfos: { type: "list", member: { shape: "S12" } }, - nextPageToken: {}, + UploadsList: { + type: "list", + member: { + type: "structure", + members: { + MultipartUploadId: {}, + VaultARN: {}, + ArchiveDescription: {}, + PartSizeInBytes: { type: "long" }, + CreationDate: {}, + }, + }, + }, + Marker: {}, }, }, }, - ListOpenWorkflowExecutions: { + ListParts: { + http: { + method: "GET", + requestUri: + "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", + }, input: { type: "structure", - required: ["domain", "startTimeFilter"], + required: ["accountId", "vaultName", "uploadId"], members: { - domain: {}, - startTimeFilter: { shape: "S3" }, - typeFilter: { shape: "S7" }, - tagFilter: { shape: "Sa" }, - nextPageToken: {}, - maximumPageSize: { type: "integer" }, - reverseOrder: { type: "boolean" }, - executionFilter: { shape: "S5" }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + uploadId: { location: "uri", locationName: "uploadId" }, + marker: { location: "querystring", locationName: "marker" }, + limit: { location: "querystring", locationName: "limit" }, }, }, - output: { shape: "S4g" }, - }, - ListTagsForResource: { - input: { + output: { type: "structure", - required: ["resourceArn"], - members: { resourceArn: {} }, + members: { + MultipartUploadId: {}, + VaultARN: {}, + ArchiveDescription: {}, + PartSizeInBytes: { type: "long" }, + CreationDate: {}, + Parts: { + type: "list", + member: { + type: "structure", + members: { RangeInBytes: {}, SHA256TreeHash: {} }, + }, + }, + Marker: {}, + }, }, - output: { type: "structure", members: { tags: { shape: "S4o" } } }, }, - ListWorkflowTypes: { + ListProvisionedCapacity: { + http: { + method: "GET", + requestUri: "/{accountId}/provisioned-capacity", + }, input: { type: "structure", - required: ["domain", "registrationStatus"], + required: ["accountId"], members: { - domain: {}, - name: {}, - registrationStatus: {}, - nextPageToken: {}, - maximumPageSize: { type: "integer" }, - reverseOrder: { type: "boolean" }, + accountId: { location: "uri", locationName: "accountId" }, }, }, output: { type: "structure", - required: ["typeInfos"], members: { - typeInfos: { type: "list", member: { shape: "S1m" } }, - nextPageToken: {}, + ProvisionedCapacityList: { + type: "list", + member: { + type: "structure", + members: { + CapacityId: {}, + StartDate: {}, + ExpirationDate: {}, + }, + }, + }, }, }, }, - PollForActivityTask: { - input: { - type: "structure", - required: ["domain", "taskList"], - members: { domain: {}, taskList: { shape: "Sj" }, identity: {} }, + ListTagsForVault: { + http: { + method: "GET", + requestUri: "/{accountId}/vaults/{vaultName}/tags", }, - output: { + input: { type: "structure", - required: [ - "taskToken", - "activityId", - "startedEventId", - "workflowExecution", - "activityType", - ], + required: ["accountId", "vaultName"], members: { - taskToken: {}, - activityId: {}, - startedEventId: { type: "long" }, - workflowExecution: { shape: "S17" }, - activityType: { shape: "Sn" }, - input: {}, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, }, }, + output: { type: "structure", members: { Tags: { shape: "S5" } } }, }, - PollForDecisionTask: { + ListVaults: { + http: { method: "GET", requestUri: "/{accountId}/vaults" }, input: { type: "structure", - required: ["domain", "taskList"], + required: ["accountId"], members: { - domain: {}, - taskList: { shape: "Sj" }, - identity: {}, - nextPageToken: {}, - maximumPageSize: { type: "integer" }, - reverseOrder: { type: "boolean" }, + accountId: { location: "uri", locationName: "accountId" }, + marker: { location: "querystring", locationName: "marker" }, + limit: { location: "querystring", locationName: "limit" }, }, }, output: { type: "structure", - required: [ - "taskToken", - "startedEventId", - "workflowExecution", - "workflowType", - "events", - ], members: { - taskToken: {}, - startedEventId: { type: "long" }, - workflowExecution: { shape: "S17" }, - workflowType: { shape: "Sr" }, - events: { shape: "S1t" }, - nextPageToken: {}, - previousStartedEventId: { type: "long" }, + VaultList: { type: "list", member: { shape: "S1a" } }, + Marker: {}, }, }, }, - RecordActivityTaskHeartbeat: { + PurchaseProvisionedCapacity: { + http: { + requestUri: "/{accountId}/provisioned-capacity", + responseCode: 201, + }, input: { type: "structure", - required: ["taskToken"], - members: { taskToken: {}, details: {} }, + required: ["accountId"], + members: { + accountId: { location: "uri", locationName: "accountId" }, + }, }, output: { type: "structure", - required: ["cancelRequested"], - members: { cancelRequested: { type: "boolean" } }, - }, - }, - RegisterActivityType: { - input: { - type: "structure", - required: ["domain", "name", "version"], members: { - domain: {}, - name: {}, - version: {}, - description: {}, - defaultTaskStartToCloseTimeout: {}, - defaultTaskHeartbeatTimeout: {}, - defaultTaskList: { shape: "Sj" }, - defaultTaskPriority: {}, - defaultTaskScheduleToStartTimeout: {}, - defaultTaskScheduleToCloseTimeout: {}, + capacityId: { + location: "header", + locationName: "x-amz-capacity-id", + }, }, }, }, - RegisterDomain: { + RemoveTagsFromVault: { + http: { + requestUri: + "/{accountId}/vaults/{vaultName}/tags?operation=remove", + responseCode: 204, + }, input: { type: "structure", - required: ["name", "workflowExecutionRetentionPeriodInDays"], + required: ["accountId", "vaultName"], members: { - name: {}, - description: {}, - workflowExecutionRetentionPeriodInDays: {}, - tags: { shape: "S4o" }, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + TagKeys: { type: "list", member: {} }, }, }, }, - RegisterWorkflowType: { + SetDataRetrievalPolicy: { + http: { + method: "PUT", + requestUri: "/{accountId}/policies/data-retrieval", + responseCode: 204, + }, input: { type: "structure", - required: ["domain", "name", "version"], + required: ["accountId"], members: { - domain: {}, - name: {}, - version: {}, - description: {}, - defaultTaskStartToCloseTimeout: {}, - defaultExecutionStartToCloseTimeout: {}, - defaultTaskList: { shape: "Sj" }, - defaultTaskPriority: {}, - defaultChildPolicy: {}, - defaultLambdaRole: {}, + accountId: { location: "uri", locationName: "accountId" }, + Policy: { shape: "S1e" }, }, }, }, - RequestCancelWorkflowExecution: { - input: { - type: "structure", - required: ["domain", "workflowId"], - members: { domain: {}, workflowId: {}, runId: {} }, + SetVaultAccessPolicy: { + http: { + method: "PUT", + requestUri: "/{accountId}/vaults/{vaultName}/access-policy", + responseCode: 204, }, - }, - RespondActivityTaskCanceled: { input: { type: "structure", - required: ["taskToken"], - members: { taskToken: {}, details: {} }, + required: ["accountId", "vaultName"], + members: { + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + policy: { shape: "S1o" }, + }, + payload: "policy", }, }, - RespondActivityTaskCompleted: { - input: { - type: "structure", - required: ["taskToken"], - members: { taskToken: {}, result: {} }, + SetVaultNotifications: { + http: { + method: "PUT", + requestUri: + "/{accountId}/vaults/{vaultName}/notification-configuration", + responseCode: 204, }, - }, - RespondActivityTaskFailed: { input: { type: "structure", - required: ["taskToken"], - members: { taskToken: {}, reason: {}, details: {} }, + required: ["accountId", "vaultName"], + members: { + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + vaultNotificationConfig: { shape: "S1t" }, + }, + payload: "vaultNotificationConfig", }, }, - RespondDecisionTaskCompleted: { + UploadArchive: { + http: { + requestUri: "/{accountId}/vaults/{vaultName}/archives", + responseCode: 201, + }, input: { type: "structure", - required: ["taskToken"], + required: ["vaultName", "accountId"], members: { - taskToken: {}, - decisions: { - type: "list", - member: { - type: "structure", - required: ["decisionType"], - members: { - decisionType: {}, - scheduleActivityTaskDecisionAttributes: { - type: "structure", - required: ["activityType", "activityId"], - members: { - activityType: { shape: "Sn" }, - activityId: {}, - control: {}, - input: {}, - scheduleToCloseTimeout: {}, - taskList: { shape: "Sj" }, - taskPriority: {}, - scheduleToStartTimeout: {}, - startToCloseTimeout: {}, - heartbeatTimeout: {}, - }, - }, - requestCancelActivityTaskDecisionAttributes: { - type: "structure", - required: ["activityId"], - members: { activityId: {} }, - }, - completeWorkflowExecutionDecisionAttributes: { - type: "structure", - members: { result: {} }, - }, - failWorkflowExecutionDecisionAttributes: { - type: "structure", - members: { reason: {}, details: {} }, - }, - cancelWorkflowExecutionDecisionAttributes: { - type: "structure", - members: { details: {} }, - }, - continueAsNewWorkflowExecutionDecisionAttributes: { - type: "structure", - members: { - input: {}, - executionStartToCloseTimeout: {}, - taskList: { shape: "Sj" }, - taskPriority: {}, - taskStartToCloseTimeout: {}, - childPolicy: {}, - tagList: { shape: "S1c" }, - workflowTypeVersion: {}, - lambdaRole: {}, - }, - }, - recordMarkerDecisionAttributes: { - type: "structure", - required: ["markerName"], - members: { markerName: {}, details: {} }, - }, - startTimerDecisionAttributes: { - type: "structure", - required: ["timerId", "startToFireTimeout"], - members: { - timerId: {}, - control: {}, - startToFireTimeout: {}, - }, - }, - cancelTimerDecisionAttributes: { - type: "structure", - required: ["timerId"], - members: { timerId: {} }, - }, - signalExternalWorkflowExecutionDecisionAttributes: { - type: "structure", - required: ["workflowId", "signalName"], - members: { - workflowId: {}, - runId: {}, - signalName: {}, - input: {}, - control: {}, - }, - }, - requestCancelExternalWorkflowExecutionDecisionAttributes: { - type: "structure", - required: ["workflowId"], - members: { workflowId: {}, runId: {}, control: {} }, - }, - startChildWorkflowExecutionDecisionAttributes: { - type: "structure", - required: ["workflowType", "workflowId"], - members: { - workflowType: { shape: "Sr" }, - workflowId: {}, - control: {}, - input: {}, - executionStartToCloseTimeout: {}, - taskList: { shape: "Sj" }, - taskPriority: {}, - taskStartToCloseTimeout: {}, - childPolicy: {}, - tagList: { shape: "S1c" }, - lambdaRole: {}, - }, - }, - scheduleLambdaFunctionDecisionAttributes: { - type: "structure", - required: ["id", "name"], - members: { - id: {}, - name: {}, - control: {}, - input: {}, - startToCloseTimeout: {}, - }, - }, - }, - }, + vaultName: { location: "uri", locationName: "vaultName" }, + accountId: { location: "uri", locationName: "accountId" }, + archiveDescription: { + location: "header", + locationName: "x-amz-archive-description", }, - executionContext: {}, + checksum: { + location: "header", + locationName: "x-amz-sha256-tree-hash", + }, + body: { shape: "S1k" }, }, + payload: "body", }, + output: { shape: "S9" }, }, - SignalWorkflowExecution: { + UploadMultipartPart: { + http: { + method: "PUT", + requestUri: + "/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", + responseCode: 204, + }, input: { type: "structure", - required: ["domain", "workflowId", "signalName"], + required: ["accountId", "vaultName", "uploadId"], members: { - domain: {}, - workflowId: {}, - runId: {}, - signalName: {}, - input: {}, + accountId: { location: "uri", locationName: "accountId" }, + vaultName: { location: "uri", locationName: "vaultName" }, + uploadId: { location: "uri", locationName: "uploadId" }, + checksum: { + location: "header", + locationName: "x-amz-sha256-tree-hash", + }, + range: { location: "header", locationName: "Content-Range" }, + body: { shape: "S1k" }, }, + payload: "body", }, - }, - StartWorkflowExecution: { - input: { + output: { type: "structure", - required: ["domain", "workflowId", "workflowType"], members: { - domain: {}, - workflowId: {}, - workflowType: { shape: "Sr" }, - taskList: { shape: "Sj" }, - taskPriority: {}, - input: {}, - executionStartToCloseTimeout: {}, - tagList: { shape: "S1c" }, - taskStartToCloseTimeout: {}, - childPolicy: {}, - lambdaRole: {}, - }, - }, - output: { type: "structure", members: { runId: {} } }, - }, - TagResource: { - input: { - type: "structure", - required: ["resourceArn", "tags"], - members: { resourceArn: {}, tags: { shape: "S4o" } }, - }, - }, - TerminateWorkflowExecution: { - input: { - type: "structure", - required: ["domain", "workflowId"], - members: { - domain: {}, - workflowId: {}, - runId: {}, - reason: {}, - details: {}, - childPolicy: {}, - }, - }, - }, - UndeprecateActivityType: { - input: { - type: "structure", - required: ["domain", "activityType"], - members: { domain: {}, activityType: { shape: "Sn" } }, - }, - }, - UndeprecateDomain: { - input: { - type: "structure", - required: ["name"], - members: { name: {} }, - }, - }, - UndeprecateWorkflowType: { - input: { - type: "structure", - required: ["domain", "workflowType"], - members: { domain: {}, workflowType: { shape: "Sr" } }, - }, - }, - UntagResource: { - input: { - type: "structure", - required: ["resourceArn", "tagKeys"], - members: { - resourceArn: {}, - tagKeys: { type: "list", member: {} }, + checksum: { + location: "header", + locationName: "x-amz-sha256-tree-hash", + }, }, }, }, }, shapes: { - S3: { + S5: { type: "map", key: {}, value: {} }, + S9: { type: "structure", - required: ["oldestDate"], members: { - oldestDate: { type: "timestamp" }, - latestDate: { type: "timestamp" }, + location: { location: "header", locationName: "Location" }, + checksum: { + location: "header", + locationName: "x-amz-sha256-tree-hash", + }, + archiveId: { + location: "header", + locationName: "x-amz-archive-id", + }, }, }, - S5: { - type: "structure", - required: ["workflowId"], - members: { workflowId: {} }, - }, - S7: { - type: "structure", - required: ["name"], - members: { name: {}, version: {} }, - }, - Sa: { type: "structure", required: ["tag"], members: { tag: {} } }, - Sc: { - type: "structure", - required: ["status"], - members: { status: {} }, - }, - Se: { + Si: { type: "structure", - required: ["count"], members: { - count: { type: "integer" }, - truncated: { type: "boolean" }, + JobId: {}, + JobDescription: {}, + Action: {}, + ArchiveId: {}, + VaultARN: {}, + CreationDate: {}, + Completed: { type: "boolean" }, + StatusCode: {}, + StatusMessage: {}, + ArchiveSizeInBytes: { type: "long" }, + InventorySizeInBytes: { type: "long" }, + SNSTopic: {}, + CompletionDate: {}, + SHA256TreeHash: {}, + ArchiveSHA256TreeHash: {}, + RetrievalByteRange: {}, + Tier: {}, + InventoryRetrievalParameters: { + type: "structure", + members: { + Format: {}, + StartDate: {}, + EndDate: {}, + Limit: {}, + Marker: {}, + }, + }, + JobOutputPath: {}, + SelectParameters: { shape: "Sp" }, + OutputLocation: { shape: "Sx" }, }, }, - Sj: { type: "structure", required: ["name"], members: { name: {} } }, - Sk: { + Sp: { type: "structure", - required: ["count"], members: { - count: { type: "integer" }, - truncated: { type: "boolean" }, + InputSerialization: { + type: "structure", + members: { + csv: { + type: "structure", + members: { + FileHeaderInfo: {}, + Comments: {}, + QuoteEscapeCharacter: {}, + RecordDelimiter: {}, + FieldDelimiter: {}, + QuoteCharacter: {}, + }, + }, + }, + }, + ExpressionType: {}, + Expression: {}, + OutputSerialization: { + type: "structure", + members: { + csv: { + type: "structure", + members: { + QuoteFields: {}, + QuoteEscapeCharacter: {}, + RecordDelimiter: {}, + FieldDelimiter: {}, + QuoteCharacter: {}, + }, + }, + }, + }, }, }, - Sn: { - type: "structure", - required: ["name", "version"], - members: { name: {}, version: {} }, - }, - Sr: { - type: "structure", - required: ["name", "version"], - members: { name: {}, version: {} }, - }, - Su: { + Sx: { type: "structure", - required: ["activityType", "status", "creationDate"], members: { - activityType: { shape: "Sn" }, - status: {}, - description: {}, - creationDate: { type: "timestamp" }, - deprecationDate: { type: "timestamp" }, + S3: { + type: "structure", + members: { + BucketName: {}, + Prefix: {}, + Encryption: { + type: "structure", + members: { + EncryptionType: {}, + KMSKeyId: {}, + KMSContext: {}, + }, + }, + CannedACL: {}, + AccessControlList: { + type: "list", + member: { + type: "structure", + members: { + Grantee: { + type: "structure", + required: ["Type"], + members: { + Type: {}, + DisplayName: {}, + URI: {}, + ID: {}, + EmailAddress: {}, + }, + }, + Permission: {}, + }, + }, + }, + Tagging: { shape: "S17" }, + UserMetadata: { shape: "S17" }, + StorageClass: {}, + }, + }, }, }, - S12: { - type: "structure", - required: ["name", "status"], - members: { name: {}, status: {}, description: {}, arn: {} }, - }, - S17: { - type: "structure", - required: ["workflowId", "runId"], - members: { workflowId: {}, runId: {} }, - }, + S17: { type: "map", key: {}, value: {} }, S1a: { type: "structure", - required: [ - "execution", - "workflowType", - "startTimestamp", - "executionStatus", - ], members: { - execution: { shape: "S17" }, - workflowType: { shape: "Sr" }, - startTimestamp: { type: "timestamp" }, - closeTimestamp: { type: "timestamp" }, - executionStatus: {}, - closeStatus: {}, - parent: { shape: "S17" }, - tagList: { shape: "S1c" }, - cancelRequested: { type: "boolean" }, + VaultARN: {}, + VaultName: {}, + CreationDate: {}, + LastInventoryDate: {}, + NumberOfArchives: { type: "long" }, + SizeInBytes: { type: "long" }, }, }, - S1c: { type: "list", member: {} }, - S1m: { + S1e: { type: "structure", - required: ["workflowType", "status", "creationDate"], members: { - workflowType: { shape: "Sr" }, - status: {}, - description: {}, - creationDate: { type: "timestamp" }, - deprecationDate: { type: "timestamp" }, - }, - }, - S1t: { - type: "list", - member: { - type: "structure", - required: ["eventTimestamp", "eventType", "eventId"], - members: { - eventTimestamp: { type: "timestamp" }, - eventType: {}, - eventId: { type: "long" }, - workflowExecutionStartedEventAttributes: { - type: "structure", - required: ["childPolicy", "taskList", "workflowType"], - members: { - input: {}, - executionStartToCloseTimeout: {}, - taskStartToCloseTimeout: {}, - childPolicy: {}, - taskList: { shape: "Sj" }, - taskPriority: {}, - workflowType: { shape: "Sr" }, - tagList: { shape: "S1c" }, - continuedExecutionRunId: {}, - parentWorkflowExecution: { shape: "S17" }, - parentInitiatedEventId: { type: "long" }, - lambdaRole: {}, - }, - }, - workflowExecutionCompletedEventAttributes: { - type: "structure", - required: ["decisionTaskCompletedEventId"], - members: { - result: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - completeWorkflowExecutionFailedEventAttributes: { - type: "structure", - required: ["cause", "decisionTaskCompletedEventId"], - members: { - cause: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - workflowExecutionFailedEventAttributes: { - type: "structure", - required: ["decisionTaskCompletedEventId"], - members: { - reason: {}, - details: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - failWorkflowExecutionFailedEventAttributes: { - type: "structure", - required: ["cause", "decisionTaskCompletedEventId"], - members: { - cause: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - workflowExecutionTimedOutEventAttributes: { - type: "structure", - required: ["timeoutType", "childPolicy"], - members: { timeoutType: {}, childPolicy: {} }, - }, - workflowExecutionCanceledEventAttributes: { - type: "structure", - required: ["decisionTaskCompletedEventId"], - members: { - details: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - cancelWorkflowExecutionFailedEventAttributes: { - type: "structure", - required: ["cause", "decisionTaskCompletedEventId"], - members: { - cause: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - workflowExecutionContinuedAsNewEventAttributes: { - type: "structure", - required: [ - "decisionTaskCompletedEventId", - "newExecutionRunId", - "taskList", - "childPolicy", - "workflowType", - ], - members: { - input: {}, - decisionTaskCompletedEventId: { type: "long" }, - newExecutionRunId: {}, - executionStartToCloseTimeout: {}, - taskList: { shape: "Sj" }, - taskPriority: {}, - taskStartToCloseTimeout: {}, - childPolicy: {}, - tagList: { shape: "S1c" }, - workflowType: { shape: "Sr" }, - lambdaRole: {}, - }, - }, - continueAsNewWorkflowExecutionFailedEventAttributes: { - type: "structure", - required: ["cause", "decisionTaskCompletedEventId"], - members: { - cause: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - workflowExecutionTerminatedEventAttributes: { - type: "structure", - required: ["childPolicy"], - members: { - reason: {}, - details: {}, - childPolicy: {}, - cause: {}, - }, - }, - workflowExecutionCancelRequestedEventAttributes: { - type: "structure", - members: { - externalWorkflowExecution: { shape: "S17" }, - externalInitiatedEventId: { type: "long" }, - cause: {}, - }, - }, - decisionTaskScheduledEventAttributes: { - type: "structure", - required: ["taskList"], - members: { - taskList: { shape: "Sj" }, - taskPriority: {}, - startToCloseTimeout: {}, - }, - }, - decisionTaskStartedEventAttributes: { - type: "structure", - required: ["scheduledEventId"], - members: { identity: {}, scheduledEventId: { type: "long" } }, - }, - decisionTaskCompletedEventAttributes: { - type: "structure", - required: ["scheduledEventId", "startedEventId"], - members: { - executionContext: {}, - scheduledEventId: { type: "long" }, - startedEventId: { type: "long" }, - }, - }, - decisionTaskTimedOutEventAttributes: { - type: "structure", - required: [ - "timeoutType", - "scheduledEventId", - "startedEventId", - ], - members: { - timeoutType: {}, - scheduledEventId: { type: "long" }, - startedEventId: { type: "long" }, - }, - }, - activityTaskScheduledEventAttributes: { - type: "structure", - required: [ - "activityType", - "activityId", - "taskList", - "decisionTaskCompletedEventId", - ], - members: { - activityType: { shape: "Sn" }, - activityId: {}, - input: {}, - control: {}, - scheduleToStartTimeout: {}, - scheduleToCloseTimeout: {}, - startToCloseTimeout: {}, - taskList: { shape: "Sj" }, - taskPriority: {}, - decisionTaskCompletedEventId: { type: "long" }, - heartbeatTimeout: {}, - }, - }, - activityTaskStartedEventAttributes: { - type: "structure", - required: ["scheduledEventId"], - members: { identity: {}, scheduledEventId: { type: "long" } }, - }, - activityTaskCompletedEventAttributes: { - type: "structure", - required: ["scheduledEventId", "startedEventId"], - members: { - result: {}, - scheduledEventId: { type: "long" }, - startedEventId: { type: "long" }, - }, - }, - activityTaskFailedEventAttributes: { - type: "structure", - required: ["scheduledEventId", "startedEventId"], - members: { - reason: {}, - details: {}, - scheduledEventId: { type: "long" }, - startedEventId: { type: "long" }, - }, - }, - activityTaskTimedOutEventAttributes: { - type: "structure", - required: [ - "timeoutType", - "scheduledEventId", - "startedEventId", - ], - members: { - timeoutType: {}, - scheduledEventId: { type: "long" }, - startedEventId: { type: "long" }, - details: {}, - }, - }, - activityTaskCanceledEventAttributes: { - type: "structure", - required: ["scheduledEventId", "startedEventId"], - members: { - details: {}, - scheduledEventId: { type: "long" }, - startedEventId: { type: "long" }, - latestCancelRequestedEventId: { type: "long" }, - }, - }, - activityTaskCancelRequestedEventAttributes: { - type: "structure", - required: ["decisionTaskCompletedEventId", "activityId"], - members: { - decisionTaskCompletedEventId: { type: "long" }, - activityId: {}, - }, - }, - workflowExecutionSignaledEventAttributes: { - type: "structure", - required: ["signalName"], - members: { - signalName: {}, - input: {}, - externalWorkflowExecution: { shape: "S17" }, - externalInitiatedEventId: { type: "long" }, - }, - }, - markerRecordedEventAttributes: { - type: "structure", - required: ["markerName", "decisionTaskCompletedEventId"], - members: { - markerName: {}, - details: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - recordMarkerFailedEventAttributes: { - type: "structure", - required: [ - "markerName", - "cause", - "decisionTaskCompletedEventId", - ], - members: { - markerName: {}, - cause: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - timerStartedEventAttributes: { - type: "structure", - required: [ - "timerId", - "startToFireTimeout", - "decisionTaskCompletedEventId", - ], - members: { - timerId: {}, - control: {}, - startToFireTimeout: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - timerFiredEventAttributes: { - type: "structure", - required: ["timerId", "startedEventId"], - members: { timerId: {}, startedEventId: { type: "long" } }, - }, - timerCanceledEventAttributes: { - type: "structure", - required: [ - "timerId", - "startedEventId", - "decisionTaskCompletedEventId", - ], - members: { - timerId: {}, - startedEventId: { type: "long" }, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - startChildWorkflowExecutionInitiatedEventAttributes: { - type: "structure", - required: [ - "workflowId", - "workflowType", - "taskList", - "decisionTaskCompletedEventId", - "childPolicy", - ], - members: { - workflowId: {}, - workflowType: { shape: "Sr" }, - control: {}, - input: {}, - executionStartToCloseTimeout: {}, - taskList: { shape: "Sj" }, - taskPriority: {}, - decisionTaskCompletedEventId: { type: "long" }, - childPolicy: {}, - taskStartToCloseTimeout: {}, - tagList: { shape: "S1c" }, - lambdaRole: {}, - }, - }, - childWorkflowExecutionStartedEventAttributes: { - type: "structure", - required: [ - "workflowExecution", - "workflowType", - "initiatedEventId", - ], - members: { - workflowExecution: { shape: "S17" }, - workflowType: { shape: "Sr" }, - initiatedEventId: { type: "long" }, - }, - }, - childWorkflowExecutionCompletedEventAttributes: { - type: "structure", - required: [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId", - ], - members: { - workflowExecution: { shape: "S17" }, - workflowType: { shape: "Sr" }, - result: {}, - initiatedEventId: { type: "long" }, - startedEventId: { type: "long" }, - }, - }, - childWorkflowExecutionFailedEventAttributes: { - type: "structure", - required: [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId", - ], - members: { - workflowExecution: { shape: "S17" }, - workflowType: { shape: "Sr" }, - reason: {}, - details: {}, - initiatedEventId: { type: "long" }, - startedEventId: { type: "long" }, - }, - }, - childWorkflowExecutionTimedOutEventAttributes: { - type: "structure", - required: [ - "workflowExecution", - "workflowType", - "timeoutType", - "initiatedEventId", - "startedEventId", - ], - members: { - workflowExecution: { shape: "S17" }, - workflowType: { shape: "Sr" }, - timeoutType: {}, - initiatedEventId: { type: "long" }, - startedEventId: { type: "long" }, - }, - }, - childWorkflowExecutionCanceledEventAttributes: { - type: "structure", - required: [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId", - ], - members: { - workflowExecution: { shape: "S17" }, - workflowType: { shape: "Sr" }, - details: {}, - initiatedEventId: { type: "long" }, - startedEventId: { type: "long" }, - }, - }, - childWorkflowExecutionTerminatedEventAttributes: { - type: "structure", - required: [ - "workflowExecution", - "workflowType", - "initiatedEventId", - "startedEventId", - ], - members: { - workflowExecution: { shape: "S17" }, - workflowType: { shape: "Sr" }, - initiatedEventId: { type: "long" }, - startedEventId: { type: "long" }, - }, - }, - signalExternalWorkflowExecutionInitiatedEventAttributes: { - type: "structure", - required: [ - "workflowId", - "signalName", - "decisionTaskCompletedEventId", - ], - members: { - workflowId: {}, - runId: {}, - signalName: {}, - input: {}, - decisionTaskCompletedEventId: { type: "long" }, - control: {}, - }, - }, - externalWorkflowExecutionSignaledEventAttributes: { - type: "structure", - required: ["workflowExecution", "initiatedEventId"], - members: { - workflowExecution: { shape: "S17" }, - initiatedEventId: { type: "long" }, - }, - }, - signalExternalWorkflowExecutionFailedEventAttributes: { - type: "structure", - required: [ - "workflowId", - "cause", - "initiatedEventId", - "decisionTaskCompletedEventId", - ], - members: { - workflowId: {}, - runId: {}, - cause: {}, - initiatedEventId: { type: "long" }, - decisionTaskCompletedEventId: { type: "long" }, - control: {}, - }, - }, - externalWorkflowExecutionCancelRequestedEventAttributes: { - type: "structure", - required: ["workflowExecution", "initiatedEventId"], - members: { - workflowExecution: { shape: "S17" }, - initiatedEventId: { type: "long" }, - }, - }, - requestCancelExternalWorkflowExecutionInitiatedEventAttributes: { - type: "structure", - required: ["workflowId", "decisionTaskCompletedEventId"], - members: { - workflowId: {}, - runId: {}, - decisionTaskCompletedEventId: { type: "long" }, - control: {}, - }, - }, - requestCancelExternalWorkflowExecutionFailedEventAttributes: { - type: "structure", - required: [ - "workflowId", - "cause", - "initiatedEventId", - "decisionTaskCompletedEventId", - ], - members: { - workflowId: {}, - runId: {}, - cause: {}, - initiatedEventId: { type: "long" }, - decisionTaskCompletedEventId: { type: "long" }, - control: {}, - }, - }, - scheduleActivityTaskFailedEventAttributes: { - type: "structure", - required: [ - "activityType", - "activityId", - "cause", - "decisionTaskCompletedEventId", - ], - members: { - activityType: { shape: "Sn" }, - activityId: {}, - cause: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - requestCancelActivityTaskFailedEventAttributes: { - type: "structure", - required: [ - "activityId", - "cause", - "decisionTaskCompletedEventId", - ], - members: { - activityId: {}, - cause: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - startTimerFailedEventAttributes: { - type: "structure", - required: [ - "timerId", - "cause", - "decisionTaskCompletedEventId", - ], - members: { - timerId: {}, - cause: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - cancelTimerFailedEventAttributes: { - type: "structure", - required: [ - "timerId", - "cause", - "decisionTaskCompletedEventId", - ], - members: { - timerId: {}, - cause: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - startChildWorkflowExecutionFailedEventAttributes: { - type: "structure", - required: [ - "workflowType", - "cause", - "workflowId", - "initiatedEventId", - "decisionTaskCompletedEventId", - ], - members: { - workflowType: { shape: "Sr" }, - cause: {}, - workflowId: {}, - initiatedEventId: { type: "long" }, - decisionTaskCompletedEventId: { type: "long" }, - control: {}, - }, - }, - lambdaFunctionScheduledEventAttributes: { - type: "structure", - required: ["id", "name", "decisionTaskCompletedEventId"], - members: { - id: {}, - name: {}, - control: {}, - input: {}, - startToCloseTimeout: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - lambdaFunctionStartedEventAttributes: { - type: "structure", - required: ["scheduledEventId"], - members: { scheduledEventId: { type: "long" } }, - }, - lambdaFunctionCompletedEventAttributes: { - type: "structure", - required: ["scheduledEventId", "startedEventId"], - members: { - scheduledEventId: { type: "long" }, - startedEventId: { type: "long" }, - result: {}, - }, - }, - lambdaFunctionFailedEventAttributes: { - type: "structure", - required: ["scheduledEventId", "startedEventId"], - members: { - scheduledEventId: { type: "long" }, - startedEventId: { type: "long" }, - reason: {}, - details: {}, - }, - }, - lambdaFunctionTimedOutEventAttributes: { - type: "structure", - required: ["scheduledEventId", "startedEventId"], - members: { - scheduledEventId: { type: "long" }, - startedEventId: { type: "long" }, - timeoutType: {}, - }, - }, - scheduleLambdaFunctionFailedEventAttributes: { - type: "structure", - required: [ - "id", - "name", - "cause", - "decisionTaskCompletedEventId", - ], - members: { - id: {}, - name: {}, - cause: {}, - decisionTaskCompletedEventId: { type: "long" }, - }, - }, - startLambdaFunctionFailedEventAttributes: { + Rules: { + type: "list", + member: { type: "structure", - members: { - scheduledEventId: { type: "long" }, - cause: {}, - message: {}, - }, + members: { Strategy: {}, BytesPerHour: { type: "long" } }, }, }, }, }, - S4g: { + S1k: { type: "blob", streaming: true }, + S1o: { type: "structure", members: { Policy: {} } }, + S1t: { type: "structure", - required: ["executionInfos"], - members: { - executionInfos: { type: "list", member: { shape: "S1a" } }, - nextPageToken: {}, - }, - }, - S4o: { - type: "list", - member: { - type: "structure", - required: ["key"], - members: { key: {}, value: {} }, - }, + members: { SNSTopic: {}, Events: { type: "list", member: {} } }, }, }, }; @@ -102669,2427 +105310,2555 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 3642: /***/ function (module) { + /***/ 2862: /***/ function (module) { module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-05-01", - endpointPrefix: "workmailmessageflow", - jsonVersion: "1.1", - protocol: "rest-json", - serviceFullName: "Amazon WorkMail Message Flow", - serviceId: "WorkMailMessageFlow", - signatureVersion: "v4", - uid: "workmailmessageflow-2019-05-01", - }, - operations: { - GetRawMessageContent: { - http: { method: "GET", requestUri: "/messages/{messageId}" }, - input: { - type: "structure", - required: ["messageId"], - members: { - messageId: { location: "uri", locationName: "messageId" }, - }, - }, - output: { - type: "structure", - required: ["messageContent"], - members: { messageContent: { type: "blob", streaming: true } }, - payload: "messageContent", - }, + pagination: { + ListEventSources: { + input_token: "Marker", + output_token: "NextMarker", + limit_key: "MaxItems", + result_key: "EventSources", + }, + ListFunctions: { + input_token: "Marker", + output_token: "NextMarker", + limit_key: "MaxItems", + result_key: "Functions", }, }, - shapes: {}, }; /***/ }, - /***/ 3649: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = getLastPage; - - const getPage = __webpack_require__(3265); + /***/ 2866: /***/ function (module, __unusedexports, __webpack_require__) { + "use strict"; - function getLastPage(octokit, link, headers) { - return getPage(octokit, link, "last", headers); - } + var shebangRegex = __webpack_require__(4816); - /***/ - }, + module.exports = function (str) { + var match = str.match(shebangRegex); - /***/ 3658: /***/ function (module) { - module.exports = { pagination: {} }; + if (!match) { + return null; + } - /***/ - }, + var arr = match[0].replace(/#! ?/, "").split(" "); + var bin = arr[0].split("/").pop(); + var arg = arr[1]; - /***/ 3681: /***/ function (module) { - module.exports = { - pagination: { - ListJournalS3Exports: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListJournalS3ExportsForLedger: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListLedgers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, + return bin === "env" ? arg : bin + (arg ? " " + arg : ""); }; /***/ }, - /***/ 3682: /***/ function (module, __unusedexports, __webpack_require__) { - var Collection = __webpack_require__(1583); + /***/ 2873: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); - var util = __webpack_require__(153); + /** + * @api private + */ + var blobPayloadOutputOps = [ + "deleteThingShadow", + "getThingShadow", + "updateThingShadow", + ]; - function property(obj, name, value) { - if (value !== null && value !== undefined) { - util.property.apply(this, arguments); - } - } + /** + * Constructs a service interface object. Each API operation is exposed as a + * function on service. + * + * ### Sending a Request Using IotData + * + * ```javascript + * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); + * iotdata.getThingShadow(params, function (err, data) { + * if (err) console.log(err, err.stack); // an error occurred + * else console.log(data); // successful response + * }); + * ``` + * + * ### Locking the API Version + * + * In order to ensure that the IotData object uses this specific API, + * you can construct the object by passing the `apiVersion` option to the + * constructor: + * + * ```javascript + * var iotdata = new AWS.IotData({ + * endpoint: 'my.host.tld', + * apiVersion: '2015-05-28' + * }); + * ``` + * + * You can also set the API version globally in `AWS.config.apiVersions` using + * the **iotdata** service identifier: + * + * ```javascript + * AWS.config.apiVersions = { + * iotdata: '2015-05-28', + * // other service API versions + * }; + * + * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); + * ``` + * + * @note You *must* provide an `endpoint` configuration parameter when + * constructing this service. See {constructor} for more information. + * + * @!method constructor(options = {}) + * Constructs a service object. This object has one method for each + * API operation. + * + * @example Constructing a IotData object + * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); + * @note You *must* provide an `endpoint` when constructing this service. + * @option (see AWS.Config.constructor) + * + * @service iotdata + * @version 2015-05-28 + */ + AWS.util.update(AWS.IotData.prototype, { + /** + * @api private + */ + validateService: function validateService() { + if (!this.config.endpoint || this.config.endpoint.indexOf("{") >= 0) { + var msg = + "AWS.IotData requires an explicit " + + "`endpoint' configuration option."; + throw AWS.util.error(new Error(), { + name: "InvalidEndpoint", + message: msg, + }); + } + }, - function memoizedProperty(obj, name) { - if (!obj.constructor.prototype[name]) { - util.memoizedProperty.apply(this, arguments); - } - } + /** + * @api private + */ + setupRequestListeners: function setupRequestListeners(request) { + request.addListener("validateResponse", this.validateResponseBody); + if (blobPayloadOutputOps.indexOf(request.operation) > -1) { + request.addListener("extractData", AWS.util.convertPayloadToString); + } + }, - function Shape(shape, options, memberName) { - options = options || {}; + /** + * @api private + */ + validateResponseBody: function validateResponseBody(resp) { + var body = resp.httpResponse.body.toString() || "{}"; + var bodyCheck = body.trim(); + if (!bodyCheck || bodyCheck.charAt(0) !== "{") { + resp.httpResponse.body = ""; + } + }, + }); - property(this, "shape", shape.shape); - property(this, "api", options.api, false); - property(this, "type", shape.type); - property(this, "enum", shape.enum); - property(this, "min", shape.min); - property(this, "max", shape.max); - property(this, "pattern", shape.pattern); - property(this, "location", shape.location || this.location || "body"); - property( - this, - "name", - this.name || - shape.xmlName || - shape.queryName || - shape.locationName || - memberName - ); - property( - this, - "isStreaming", - shape.streaming || this.isStreaming || false - ); - property(this, "requiresLength", shape.requiresLength, false); - property(this, "isComposite", shape.isComposite || false); - property(this, "isShape", true, false); - property(this, "isQueryName", Boolean(shape.queryName), false); - property(this, "isLocationName", Boolean(shape.locationName), false); - property(this, "isIdempotent", shape.idempotencyToken === true); - property(this, "isJsonValue", shape.jsonvalue === true); - property( - this, - "isSensitive", - shape.sensitive === true || - (shape.prototype && shape.prototype.sensitive === true) - ); - property(this, "isEventStream", Boolean(shape.eventstream), false); - property(this, "isEvent", Boolean(shape.event), false); - property(this, "isEventPayload", Boolean(shape.eventpayload), false); - property(this, "isEventHeader", Boolean(shape.eventheader), false); - property( - this, - "isTimestampFormatSet", - Boolean(shape.timestampFormat) || - (shape.prototype && shape.prototype.isTimestampFormatSet === true), - false - ); - property( - this, - "endpointDiscoveryId", - Boolean(shape.endpointdiscoveryid), - false - ); - property(this, "hostLabel", Boolean(shape.hostLabel), false); + /***/ + }, - if (options.documentation) { - property(this, "documentation", shape.documentation); - property(this, "documentationUrl", shape.documentationUrl); - } + /***/ 2880: /***/ function (module, __unusedexports, __webpack_require__) { + "use strict"; - if (shape.xmlAttribute) { - property(this, "isXmlAttribute", shape.xmlAttribute || false); + const conversions = __webpack_require__(8751); + const utils = __webpack_require__(7120); + const Impl = __webpack_require__(5197); + + const impl = utils.implSymbol; + + function URL(url) { + if (!this || this[impl] || !(this instanceof URL)) { + throw new TypeError( + "Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function." + ); + } + if (arguments.length < 1) { + throw new TypeError( + "Failed to construct 'URL': 1 argument required, but only " + + arguments.length + + " present." + ); + } + const args = []; + for (let i = 0; i < arguments.length && i < 2; ++i) { + args[i] = arguments[i]; + } + args[0] = conversions["USVString"](args[0]); + if (args[1] !== undefined) { + args[1] = conversions["USVString"](args[1]); } - // type conversion and parsing - property(this, "defaultValue", null); - this.toWireFormat = function (value) { - if (value === null || value === undefined) return ""; - return value; - }; - this.toType = function (value) { - return value; - }; + module.exports.setup(this, args); } - /** - * @api private - */ - Shape.normalizedTypes = { - character: "string", - double: "float", - long: "integer", - short: "integer", - biginteger: "integer", - bigdecimal: "float", - blob: "binary", + URL.prototype.toJSON = function toJSON() { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); + } + const args = []; + for (let i = 0; i < arguments.length && i < 0; ++i) { + args[i] = arguments[i]; + } + return this[impl].toJSON.apply(this[impl], args); }; + Object.defineProperty(URL.prototype, "href", { + get() { + return this[impl].href; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].href = V; + }, + enumerable: true, + configurable: true, + }); - /** - * @api private - */ - Shape.types = { - structure: StructureShape, - list: ListShape, - map: MapShape, - boolean: BooleanShape, - timestamp: TimestampShape, - float: FloatShape, - integer: IntegerShape, - string: StringShape, - base64: Base64Shape, - binary: BinaryShape, + URL.prototype.toString = function () { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); + } + return this.href; }; - Shape.resolve = function resolve(shape, options) { - if (shape.shape) { - var refShape = options.api.shapes[shape.shape]; - if (!refShape) { - throw new Error("Cannot find shape reference: " + shape.shape); - } + Object.defineProperty(URL.prototype, "origin", { + get() { + return this[impl].origin; + }, + enumerable: true, + configurable: true, + }); - return refShape; - } else { - return null; - } - }; + Object.defineProperty(URL.prototype, "protocol", { + get() { + return this[impl].protocol; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].protocol = V; + }, + enumerable: true, + configurable: true, + }); - Shape.create = function create(shape, options, memberName) { - if (shape.isShape) return shape; + Object.defineProperty(URL.prototype, "username", { + get() { + return this[impl].username; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].username = V; + }, + enumerable: true, + configurable: true, + }); - var refShape = Shape.resolve(shape, options); - if (refShape) { - var filteredKeys = Object.keys(shape); - if (!options.documentation) { - filteredKeys = filteredKeys.filter(function (name) { - return !name.match(/documentation/); - }); - } + Object.defineProperty(URL.prototype, "password", { + get() { + return this[impl].password; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].password = V; + }, + enumerable: true, + configurable: true, + }); - // create an inline shape with extra members - var InlineShape = function () { - refShape.constructor.call(this, shape, options, memberName); - }; - InlineShape.prototype = refShape; - return new InlineShape(); - } else { - // set type if not set - if (!shape.type) { - if (shape.members) shape.type = "structure"; - else if (shape.member) shape.type = "list"; - else if (shape.key) shape.type = "map"; - else shape.type = "string"; - } + Object.defineProperty(URL.prototype, "host", { + get() { + return this[impl].host; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].host = V; + }, + enumerable: true, + configurable: true, + }); - // normalize types - var origType = shape.type; - if (Shape.normalizedTypes[shape.type]) { - shape.type = Shape.normalizedTypes[shape.type]; - } + Object.defineProperty(URL.prototype, "hostname", { + get() { + return this[impl].hostname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hostname = V; + }, + enumerable: true, + configurable: true, + }); - if (Shape.types[shape.type]) { - return new Shape.types[shape.type](shape, options, memberName); - } else { - throw new Error("Unrecognized shape type: " + origType); - } - } + Object.defineProperty(URL.prototype, "port", { + get() { + return this[impl].port; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].port = V; + }, + enumerable: true, + configurable: true, + }); + + Object.defineProperty(URL.prototype, "pathname", { + get() { + return this[impl].pathname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].pathname = V; + }, + enumerable: true, + configurable: true, + }); + + Object.defineProperty(URL.prototype, "search", { + get() { + return this[impl].search; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].search = V; + }, + enumerable: true, + configurable: true, + }); + + Object.defineProperty(URL.prototype, "hash", { + get() { + return this[impl].hash; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hash = V; + }, + enumerable: true, + configurable: true, + }); + + module.exports = { + is(obj) { + return !!obj && obj[impl] instanceof Impl.implementation; + }, + create(constructorArgs, privateData) { + let obj = Object.create(URL.prototype); + this.setup(obj, constructorArgs, privateData); + return obj; + }, + setup(obj, constructorArgs, privateData) { + if (!privateData) privateData = {}; + privateData.wrapper = obj; + + obj[impl] = new Impl.implementation(constructorArgs, privateData); + obj[impl][utils.wrapperSymbol] = obj; + }, + interface: URL, + expose: { + Window: { URL: URL }, + Worker: { URL: URL }, + }, }; - function CompositeShape(shape) { - Shape.apply(this, arguments); - property(this, "isComposite", true); + /***/ + }, - if (shape.flattened) { - property(this, "flattened", shape.flattened || false); - } - } + /***/ 2881: /***/ function (module) { + "use strict"; - function StructureShape(shape, options) { - var self = this; - var requiredMap = null, - firstInit = !this.isShape; + const isWin = process.platform === "win32"; - CompositeShape.apply(this, arguments); + function notFoundError(original, syscall) { + return Object.assign( + new Error(`${syscall} ${original.command} ENOENT`), + { + code: "ENOENT", + errno: "ENOENT", + syscall: `${syscall} ${original.command}`, + path: original.command, + spawnargs: original.args, + } + ); + } - if (firstInit) { - property(this, "defaultValue", function () { - return {}; - }); - property(this, "members", {}); - property(this, "memberNames", []); - property(this, "required", []); - property(this, "isRequired", function () { - return false; - }); + function hookChildProcess(cp, parsed) { + if (!isWin) { + return; } - if (shape.members) { - property( - this, - "members", - new Collection(shape.members, options, function (name, member) { - return Shape.create(member, options, name); - }) - ); - memoizedProperty(this, "memberNames", function () { - return shape.xmlOrder || Object.keys(shape.members); - }); + const originalEmit = cp.emit; - if (shape.event) { - memoizedProperty(this, "eventPayloadMemberName", function () { - var members = self.members; - var memberNames = self.memberNames; - // iterate over members to find ones that are event payloads - for (var i = 0, iLen = memberNames.length; i < iLen; i++) { - if (members[memberNames[i]].isEventPayload) { - return memberNames[i]; - } - } - }); + cp.emit = function (name, arg1) { + // If emitting "exit" event and exit code is 1, we need to check if + // the command exists and emit an "error" instead + // See https://github.com/IndigoUnited/node-cross-spawn/issues/16 + if (name === "exit") { + const err = verifyENOENT(arg1, parsed, "spawn"); - memoizedProperty(this, "eventHeaderMemberNames", function () { - var members = self.members; - var memberNames = self.memberNames; - var eventHeaderMemberNames = []; - // iterate over members to find ones that are event headers - for (var i = 0, iLen = memberNames.length; i < iLen; i++) { - if (members[memberNames[i]].isEventHeader) { - eventHeaderMemberNames.push(memberNames[i]); - } - } - return eventHeaderMemberNames; - }); + if (err) { + return originalEmit.call(cp, "error", err); + } } - } - if (shape.required) { - property(this, "required", shape.required); - property( - this, - "isRequired", - function (name) { - if (!requiredMap) { - requiredMap = {}; - for (var i = 0; i < shape.required.length; i++) { - requiredMap[shape.required[i]] = true; - } - } + return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params + }; + } - return requiredMap[name]; - }, - false, - true - ); + function verifyENOENT(status, parsed) { + if (isWin && status === 1 && !parsed.file) { + return notFoundError(parsed.original, "spawn"); } - property(this, "resultWrapper", shape.resultWrapper || null); + return null; + } - if (shape.payload) { - property(this, "payload", shape.payload); + function verifyENOENTSync(status, parsed) { + if (isWin && status === 1 && !parsed.file) { + return notFoundError(parsed.original, "spawnSync"); } - if (typeof shape.xmlNamespace === "string") { - property(this, "xmlNamespaceUri", shape.xmlNamespace); - } else if (typeof shape.xmlNamespace === "object") { - property(this, "xmlNamespacePrefix", shape.xmlNamespace.prefix); - property(this, "xmlNamespaceUri", shape.xmlNamespace.uri); - } + return null; } - function ListShape(shape, options) { - var self = this, - firstInit = !this.isShape; - CompositeShape.apply(this, arguments); - - if (firstInit) { - property(this, "defaultValue", function () { - return []; - }); - } + module.exports = { + hookChildProcess, + verifyENOENT, + verifyENOENTSync, + notFoundError, + }; - if (shape.member) { - memoizedProperty(this, "member", function () { - return Shape.create(shape.member, options); - }); - } + /***/ + }, - if (this.flattened) { - var oldName = this.name; - memoizedProperty(this, "name", function () { - return self.member.name || oldName; - }); - } - } + /***/ 2883: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - function MapShape(shape, options) { - var firstInit = !this.isShape; - CompositeShape.apply(this, arguments); + apiLoader.services["ssm"] = {}; + AWS.SSM = Service.defineService("ssm", ["2014-11-06"]); + Object.defineProperty(apiLoader.services["ssm"], "2014-11-06", { + get: function get() { + var model = __webpack_require__(5948); + model.paginators = __webpack_require__(9836).pagination; + model.waiters = __webpack_require__(1418).waiters; + return model; + }, + enumerable: true, + configurable: true, + }); - if (firstInit) { - property(this, "defaultValue", function () { - return {}; - }); - property(this, "key", Shape.create({ type: "string" }, options)); - property(this, "value", Shape.create({ type: "string" }, options)); - } + module.exports = AWS.SSM; - if (shape.key) { - memoizedProperty(this, "key", function () { - return Shape.create(shape.key, options); - }); - } - if (shape.value) { - memoizedProperty(this, "value", function () { - return Shape.create(shape.value, options); - }); - } - } + /***/ + }, - function TimestampShape(shape) { - var self = this; - Shape.apply(this, arguments); + /***/ 2884: /***/ function (module) { + // Generated by CoffeeScript 1.12.7 + (function () { + var XMLAttribute; - if (shape.timestampFormat) { - property(this, "timestampFormat", shape.timestampFormat); - } else if (self.isTimestampFormatSet && this.timestampFormat) { - property(this, "timestampFormat", this.timestampFormat); - } else if (this.location === "header") { - property(this, "timestampFormat", "rfc822"); - } else if (this.location === "querystring") { - property(this, "timestampFormat", "iso8601"); - } else if (this.api) { - switch (this.api.protocol) { - case "json": - case "rest-json": - property(this, "timestampFormat", "unixTimestamp"); - break; - case "rest-xml": - case "query": - case "ec2": - property(this, "timestampFormat", "iso8601"); - break; + module.exports = XMLAttribute = (function () { + function XMLAttribute(parent, name, value) { + this.options = parent.options; + this.stringify = parent.stringify; + if (name == null) { + throw new Error( + "Missing attribute name of element " + parent.name + ); + } + if (value == null) { + throw new Error( + "Missing attribute value for attribute " + + name + + " of element " + + parent.name + ); + } + this.name = this.stringify.attName(name); + this.value = this.stringify.attValue(value); } - } - this.toType = function (value) { - if (value === null || value === undefined) return null; - if (typeof value.toUTCString === "function") return value; - return typeof value === "string" || typeof value === "number" - ? util.date.parseTimestamp(value) - : null; - }; + XMLAttribute.prototype.clone = function () { + return Object.create(this); + }; - this.toWireFormat = function (value) { - return util.date.format(value, self.timestampFormat); - }; - } + XMLAttribute.prototype.toString = function (options) { + return this.options.writer.set(options).attribute(this); + }; - function StringShape() { - Shape.apply(this, arguments); + return XMLAttribute; + })(); + }.call(this)); - var nullLessProtocols = ["rest-xml", "query", "ec2"]; - this.toType = function (value) { - value = - this.api && nullLessProtocols.indexOf(this.api.protocol) > -1 - ? value || "" - : value; - if (this.isJsonValue) { - return JSON.parse(value); - } + /***/ + }, - return value && typeof value.toString === "function" - ? value.toString() - : value; - }; + /***/ 2904: /***/ function (module) { + module.exports = { + pagination: { + DescribeDBEngineVersions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBEngineVersions", + }, + DescribeDBInstances: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBInstances", + }, + DescribeDBParameterGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBParameterGroups", + }, + DescribeDBParameters: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "Parameters", + }, + DescribeDBSecurityGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBSecurityGroups", + }, + DescribeDBSnapshots: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBSnapshots", + }, + DescribeDBSubnetGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBSubnetGroups", + }, + DescribeEngineDefaultParameters: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "EngineDefaults.Marker", + result_key: "EngineDefaults.Parameters", + }, + DescribeEventSubscriptions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "EventSubscriptionsList", + }, + DescribeEvents: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "Events", + }, + DescribeOptionGroupOptions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "OptionGroupOptions", + }, + DescribeOptionGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "OptionGroupsList", + }, + DescribeOrderableDBInstanceOptions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "OrderableDBInstanceOptions", + }, + DescribeReservedDBInstances: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "ReservedDBInstances", + }, + DescribeReservedDBInstancesOfferings: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "ReservedDBInstancesOfferings", + }, + ListTagsForResource: { result_key: "TagList" }, + }, + }; - this.toWireFormat = function (value) { - return this.isJsonValue ? JSON.stringify(value) : value; - }; - } + /***/ + }, - function FloatShape() { - Shape.apply(this, arguments); + /***/ 2906: /***/ function (module, __unusedexports, __webpack_require__) { + var AWS = __webpack_require__(395); + var inherit = AWS.util.inherit; - this.toType = function (value) { - if (value === null || value === undefined) return null; - return parseFloat(value); - }; - this.toWireFormat = this.toType; - } + /** + * @api private + */ + AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, { + addAuthorization: function addAuthorization(credentials, date) { + if (!date) date = AWS.util.date.getDate(); - function IntegerShape() { - Shape.apply(this, arguments); + var r = this.request; - this.toType = function (value) { - if (value === null || value === undefined) return null; - return parseInt(value, 10); - }; - this.toWireFormat = this.toType; - } + r.params.Timestamp = AWS.util.date.iso8601(date); + r.params.SignatureVersion = "2"; + r.params.SignatureMethod = "HmacSHA256"; + r.params.AWSAccessKeyId = credentials.accessKeyId; - function BinaryShape() { - Shape.apply(this, arguments); - this.toType = function (value) { - var buf = util.base64.decode(value); - if ( - this.isSensitive && - util.isNode() && - typeof util.Buffer.alloc === "function" - ) { - /* Node.js can create a Buffer that is not isolated. - * i.e. buf.byteLength !== buf.buffer.byteLength - * This means that the sensitive data is accessible to anyone with access to buf.buffer. - * If this is the node shared Buffer, then other code within this process _could_ find this secret. - * Copy sensitive data to an isolated Buffer and zero the sensitive data. - * While this is safe to do here, copying this code somewhere else may produce unexpected results. - */ - var secureBuf = util.Buffer.alloc(buf.length, buf); - buf.fill(0); - buf = secureBuf; + if (credentials.sessionToken) { + r.params.SecurityToken = credentials.sessionToken; } - return buf; - }; - this.toWireFormat = util.base64.encode; - } - function Base64Shape() { - BinaryShape.apply(this, arguments); - } + delete r.params.Signature; // delete old Signature for re-signing + r.params.Signature = this.signature(credentials); - function BooleanShape() { - Shape.apply(this, arguments); + r.body = AWS.util.queryParamsToString(r.params); + r.headers["Content-Length"] = r.body.length; + }, - this.toType = function (value) { - if (typeof value === "boolean") return value; - if (value === null || value === undefined) return null; - return value === "true"; - }; - } + signature: function signature(credentials) { + return AWS.util.crypto.hmac( + credentials.secretAccessKey, + this.stringToSign(), + "base64" + ); + }, - /** - * @api private - */ - Shape.shapes = { - StructureShape: StructureShape, - ListShape: ListShape, - MapShape: MapShape, - StringShape: StringShape, - BooleanShape: BooleanShape, - Base64Shape: Base64Shape, - }; + stringToSign: function stringToSign() { + var parts = []; + parts.push(this.request.method); + parts.push(this.request.endpoint.host.toLowerCase()); + parts.push(this.request.pathname()); + parts.push(AWS.util.queryParamsToString(this.request.params)); + return parts.join("\n"); + }, + }); /** * @api private */ - module.exports = Shape; + module.exports = AWS.Signers.V2; /***/ }, - /***/ 3691: /***/ function (module) { + /***/ 2907: /***/ function (module) { module.exports = { + version: "2.0", metadata: { - apiVersion: "2009-04-15", - endpointPrefix: "sdb", - serviceFullName: "Amazon SimpleDB", - serviceId: "SimpleDB", - signatureVersion: "v2", - xmlNamespace: "http://sdb.amazonaws.com/doc/2009-04-15/", - protocol: "query", + apiVersion: "2017-07-25", + endpointPrefix: "amplify", + jsonVersion: "1.1", + protocol: "rest-json", + serviceAbbreviation: "Amplify", + serviceFullName: "AWS Amplify", + serviceId: "Amplify", + signatureVersion: "v4", + signingName: "amplify", + uid: "amplify-2017-07-25", }, operations: { - BatchDeleteAttributes: { + CreateApp: { + http: { requestUri: "/apps" }, input: { type: "structure", - required: ["DomainName", "Items"], + required: ["name"], members: { - DomainName: {}, - Items: { - type: "list", - member: { - locationName: "Item", - type: "structure", - required: ["Name"], - members: { - Name: { locationName: "ItemName" }, - Attributes: { shape: "S5" }, - }, - }, - flattened: true, - }, + name: {}, + description: {}, + repository: {}, + platform: {}, + iamServiceRoleArn: {}, + oauthToken: { shape: "S7" }, + accessToken: { shape: "S8" }, + environmentVariables: { shape: "S9" }, + enableBranchAutoBuild: { type: "boolean" }, + enableBranchAutoDeletion: { type: "boolean" }, + enableBasicAuth: { type: "boolean" }, + basicAuthCredentials: { shape: "Sf" }, + customRules: { shape: "Sg" }, + tags: { shape: "Sm" }, + buildSpec: {}, + customHeaders: {}, + enableAutoBranchCreation: { type: "boolean" }, + autoBranchCreationPatterns: { shape: "Ss" }, + autoBranchCreationConfig: { shape: "Su" }, }, }, + output: { + type: "structure", + required: ["app"], + members: { app: { shape: "S12" } }, + }, }, - BatchPutAttributes: { + CreateBackendEnvironment: { + http: { requestUri: "/apps/{appId}/backendenvironments" }, input: { type: "structure", - required: ["DomainName", "Items"], + required: ["appId", "environmentName"], members: { - DomainName: {}, - Items: { - type: "list", - member: { - locationName: "Item", - type: "structure", - required: ["Name", "Attributes"], - members: { - Name: { locationName: "ItemName" }, - Attributes: { shape: "Sa" }, - }, - }, - flattened: true, - }, + appId: { location: "uri", locationName: "appId" }, + environmentName: {}, + stackName: {}, + deploymentArtifacts: {}, }, }, - }, - CreateDomain: { - input: { + output: { type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, + required: ["backendEnvironment"], + members: { backendEnvironment: { shape: "S1h" } }, }, }, - DeleteAttributes: { + CreateBranch: { + http: { requestUri: "/apps/{appId}/branches" }, input: { type: "structure", - required: ["DomainName", "ItemName"], + required: ["appId", "branchName"], members: { - DomainName: {}, - ItemName: {}, - Attributes: { shape: "S5" }, - Expected: { shape: "Sf" }, + appId: { location: "uri", locationName: "appId" }, + branchName: {}, + description: {}, + stage: {}, + framework: {}, + enableNotification: { type: "boolean" }, + enableAutoBuild: { type: "boolean" }, + environmentVariables: { shape: "S9" }, + basicAuthCredentials: { shape: "Sf" }, + enableBasicAuth: { type: "boolean" }, + enablePerformanceMode: { type: "boolean" }, + tags: { shape: "Sm" }, + buildSpec: {}, + ttl: {}, + displayName: {}, + enablePullRequestPreview: { type: "boolean" }, + pullRequestEnvironmentName: {}, + backendEnvironmentArn: {}, }, }, - }, - DeleteDomain: { - input: { + output: { type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, + required: ["branch"], + members: { branch: { shape: "S1o" } }, }, }, - DomainMetadata: { + CreateDeployment: { + http: { + requestUri: "/apps/{appId}/branches/{branchName}/deployments", + }, input: { type: "structure", - required: ["DomainName"], - members: { DomainName: {} }, + required: ["appId", "branchName"], + members: { + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, + fileMap: { type: "map", key: {}, value: {} }, + }, }, output: { - resultWrapper: "DomainMetadataResult", type: "structure", + required: ["fileUploadUrls", "zipUploadUrl"], members: { - ItemCount: { type: "integer" }, - ItemNamesSizeBytes: { type: "long" }, - AttributeNameCount: { type: "integer" }, - AttributeNamesSizeBytes: { type: "long" }, - AttributeValueCount: { type: "integer" }, - AttributeValuesSizeBytes: { type: "long" }, - Timestamp: { type: "integer" }, + jobId: {}, + fileUploadUrls: { type: "map", key: {}, value: {} }, + zipUploadUrl: {}, }, }, }, - GetAttributes: { + CreateDomainAssociation: { + http: { requestUri: "/apps/{appId}/domains" }, input: { type: "structure", - required: ["DomainName", "ItemName"], + required: ["appId", "domainName", "subDomainSettings"], members: { - DomainName: {}, - ItemName: {}, - AttributeNames: { - type: "list", - member: { locationName: "AttributeName" }, - flattened: true, - }, - ConsistentRead: { type: "boolean" }, + appId: { location: "uri", locationName: "appId" }, + domainName: {}, + enableAutoSubDomain: { type: "boolean" }, + subDomainSettings: { shape: "S27" }, + autoSubDomainCreationPatterns: { shape: "S2a" }, + autoSubDomainIAMRole: {}, }, }, output: { - resultWrapper: "GetAttributesResult", type: "structure", - members: { Attributes: { shape: "So" } }, + required: ["domainAssociation"], + members: { domainAssociation: { shape: "S2e" } }, }, }, - ListDomains: { + CreateWebhook: { + http: { requestUri: "/apps/{appId}/webhooks" }, input: { type: "structure", + required: ["appId", "branchName"], members: { - MaxNumberOfDomains: { type: "integer" }, - NextToken: {}, + appId: { location: "uri", locationName: "appId" }, + branchName: {}, + description: {}, }, }, output: { - resultWrapper: "ListDomainsResult", type: "structure", - members: { - DomainNames: { - type: "list", - member: { locationName: "DomainName" }, - flattened: true, - }, - NextToken: {}, - }, + required: ["webhook"], + members: { webhook: { shape: "S2p" } }, }, }, - PutAttributes: { + DeleteApp: { + http: { method: "DELETE", requestUri: "/apps/{appId}" }, input: { type: "structure", - required: ["DomainName", "ItemName", "Attributes"], - members: { - DomainName: {}, - ItemName: {}, - Attributes: { shape: "Sa" }, - Expected: { shape: "Sf" }, - }, + required: ["appId"], + members: { appId: { location: "uri", locationName: "appId" } }, + }, + output: { + type: "structure", + required: ["app"], + members: { app: { shape: "S12" } }, }, }, - Select: { + DeleteBackendEnvironment: { + http: { + method: "DELETE", + requestUri: "/apps/{appId}/backendenvironments/{environmentName}", + }, input: { type: "structure", - required: ["SelectExpression"], + required: ["appId", "environmentName"], members: { - SelectExpression: {}, - NextToken: {}, - ConsistentRead: { type: "boolean" }, + appId: { location: "uri", locationName: "appId" }, + environmentName: { + location: "uri", + locationName: "environmentName", + }, }, }, output: { - resultWrapper: "SelectResult", type: "structure", - members: { - Items: { - type: "list", - member: { - locationName: "Item", - type: "structure", - required: ["Name", "Attributes"], - members: { - Name: {}, - AlternateNameEncoding: {}, - Attributes: { shape: "So" }, - }, - }, - flattened: true, - }, - NextToken: {}, - }, + required: ["backendEnvironment"], + members: { backendEnvironment: { shape: "S1h" } }, }, }, - }, - shapes: { - S5: { - type: "list", - member: { - locationName: "Attribute", - type: "structure", - required: ["Name"], - members: { Name: {}, Value: {} }, - }, - flattened: true, - }, - Sa: { - type: "list", - member: { - locationName: "Attribute", - type: "structure", - required: ["Name", "Value"], - members: { Name: {}, Value: {}, Replace: { type: "boolean" } }, + DeleteBranch: { + http: { + method: "DELETE", + requestUri: "/apps/{appId}/branches/{branchName}", }, - flattened: true, - }, - Sf: { - type: "structure", - members: { Name: {}, Value: {}, Exists: { type: "boolean" } }, - }, - So: { - type: "list", - member: { - locationName: "Attribute", + input: { type: "structure", - required: ["Name", "Value"], + required: ["appId", "branchName"], members: { - Name: {}, - AlternateNameEncoding: {}, - Value: {}, - AlternateValueEncoding: {}, + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, }, }, - flattened: true, - }, - }, - }; - - /***/ - }, - - /***/ 3693: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2011-01-01", - endpointPrefix: "autoscaling", - protocol: "query", - serviceFullName: "Auto Scaling", - serviceId: "Auto Scaling", - signatureVersion: "v4", - uid: "autoscaling-2011-01-01", - xmlNamespace: "http://autoscaling.amazonaws.com/doc/2011-01-01/", - }, - operations: { - AttachInstances: { - input: { + output: { type: "structure", - required: ["AutoScalingGroupName"], - members: { - InstanceIds: { shape: "S2" }, - AutoScalingGroupName: {}, - }, + required: ["branch"], + members: { branch: { shape: "S1o" } }, }, }, - AttachLoadBalancerTargetGroups: { + DeleteDomainAssociation: { + http: { + method: "DELETE", + requestUri: "/apps/{appId}/domains/{domainName}", + }, input: { type: "structure", - required: ["AutoScalingGroupName", "TargetGroupARNs"], + required: ["appId", "domainName"], members: { - AutoScalingGroupName: {}, - TargetGroupARNs: { shape: "S6" }, + appId: { location: "uri", locationName: "appId" }, + domainName: { location: "uri", locationName: "domainName" }, }, }, output: { - resultWrapper: "AttachLoadBalancerTargetGroupsResult", type: "structure", - members: {}, + required: ["domainAssociation"], + members: { domainAssociation: { shape: "S2e" } }, }, }, - AttachLoadBalancers: { + DeleteJob: { + http: { + method: "DELETE", + requestUri: "/apps/{appId}/branches/{branchName}/jobs/{jobId}", + }, input: { type: "structure", - required: ["AutoScalingGroupName", "LoadBalancerNames"], + required: ["appId", "branchName", "jobId"], members: { - AutoScalingGroupName: {}, - LoadBalancerNames: { shape: "Sa" }, + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, + jobId: { location: "uri", locationName: "jobId" }, }, }, output: { - resultWrapper: "AttachLoadBalancersResult", type: "structure", - members: {}, + required: ["jobSummary"], + members: { jobSummary: { shape: "S33" } }, }, }, - BatchDeleteScheduledAction: { + DeleteWebhook: { + http: { method: "DELETE", requestUri: "/webhooks/{webhookId}" }, input: { type: "structure", - required: ["AutoScalingGroupName", "ScheduledActionNames"], + required: ["webhookId"], members: { - AutoScalingGroupName: {}, - ScheduledActionNames: { shape: "Se" }, + webhookId: { location: "uri", locationName: "webhookId" }, }, }, output: { - resultWrapper: "BatchDeleteScheduledActionResult", type: "structure", - members: { FailedScheduledActions: { shape: "Sg" } }, + required: ["webhook"], + members: { webhook: { shape: "S2p" } }, }, }, - BatchPutScheduledUpdateGroupAction: { + GenerateAccessLogs: { + http: { requestUri: "/apps/{appId}/accesslogs" }, input: { type: "structure", - required: ["AutoScalingGroupName", "ScheduledUpdateGroupActions"], + required: ["domainName", "appId"], members: { - AutoScalingGroupName: {}, - ScheduledUpdateGroupActions: { - type: "list", - member: { - type: "structure", - required: ["ScheduledActionName"], - members: { - ScheduledActionName: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Recurrence: {}, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - }, - }, - }, + startTime: { type: "timestamp" }, + endTime: { type: "timestamp" }, + domainName: {}, + appId: { location: "uri", locationName: "appId" }, }, }, - output: { - resultWrapper: "BatchPutScheduledUpdateGroupActionResult", - type: "structure", - members: { FailedScheduledUpdateGroupActions: { shape: "Sg" } }, - }, + output: { type: "structure", members: { logUrl: {} } }, }, - CompleteLifecycleAction: { + GetApp: { + http: { method: "GET", requestUri: "/apps/{appId}" }, input: { type: "structure", - required: [ - "LifecycleHookName", - "AutoScalingGroupName", - "LifecycleActionResult", - ], - members: { - LifecycleHookName: {}, - AutoScalingGroupName: {}, - LifecycleActionToken: {}, - LifecycleActionResult: {}, - InstanceId: {}, - }, + required: ["appId"], + members: { appId: { location: "uri", locationName: "appId" } }, }, output: { - resultWrapper: "CompleteLifecycleActionResult", type: "structure", - members: {}, + required: ["app"], + members: { app: { shape: "S12" } }, }, }, - CreateAutoScalingGroup: { + GetArtifactUrl: { + http: { method: "GET", requestUri: "/artifacts/{artifactId}" }, input: { type: "structure", - required: ["AutoScalingGroupName", "MinSize", "MaxSize"], + required: ["artifactId"], members: { - AutoScalingGroupName: {}, - LaunchConfigurationName: {}, - LaunchTemplate: { shape: "Sy" }, - MixedInstancesPolicy: { shape: "S10" }, - InstanceId: {}, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - DefaultCooldown: { type: "integer" }, - AvailabilityZones: { shape: "S1b" }, - LoadBalancerNames: { shape: "Sa" }, - TargetGroupARNs: { shape: "S6" }, - HealthCheckType: {}, - HealthCheckGracePeriod: { type: "integer" }, - PlacementGroup: {}, - VPCZoneIdentifier: {}, - TerminationPolicies: { shape: "S1e" }, - NewInstancesProtectedFromScaleIn: { type: "boolean" }, - LifecycleHookSpecificationList: { - type: "list", - member: { - type: "structure", - required: ["LifecycleHookName", "LifecycleTransition"], - members: { - LifecycleHookName: {}, - LifecycleTransition: {}, - NotificationMetadata: {}, - HeartbeatTimeout: { type: "integer" }, - DefaultResult: {}, - NotificationTargetARN: {}, - RoleARN: {}, - }, - }, - }, - Tags: { shape: "S1n" }, - ServiceLinkedRoleARN: {}, - MaxInstanceLifetime: { type: "integer" }, + artifactId: { location: "uri", locationName: "artifactId" }, }, }, - }, - CreateLaunchConfiguration: { - input: { + output: { type: "structure", - required: ["LaunchConfigurationName"], - members: { - LaunchConfigurationName: {}, - ImageId: {}, - KeyName: {}, - SecurityGroups: { shape: "S1u" }, - ClassicLinkVPCId: {}, - ClassicLinkVPCSecurityGroups: { shape: "S1v" }, - UserData: {}, - InstanceId: {}, - InstanceType: {}, - KernelId: {}, - RamdiskId: {}, - BlockDeviceMappings: { shape: "S1x" }, - InstanceMonitoring: { shape: "S26" }, - SpotPrice: {}, - IamInstanceProfile: {}, - EbsOptimized: { type: "boolean" }, - AssociatePublicIpAddress: { type: "boolean" }, - PlacementTenancy: {}, - }, + required: ["artifactId", "artifactUrl"], + members: { artifactId: {}, artifactUrl: {} }, }, }, - CreateOrUpdateTags: { - input: { - type: "structure", - required: ["Tags"], - members: { Tags: { shape: "S1n" } }, + GetBackendEnvironment: { + http: { + method: "GET", + requestUri: "/apps/{appId}/backendenvironments/{environmentName}", }, - }, - DeleteAutoScalingGroup: { input: { type: "structure", - required: ["AutoScalingGroupName"], + required: ["appId", "environmentName"], members: { - AutoScalingGroupName: {}, - ForceDelete: { type: "boolean" }, + appId: { location: "uri", locationName: "appId" }, + environmentName: { + location: "uri", + locationName: "environmentName", + }, }, }, - }, - DeleteLaunchConfiguration: { - input: { - type: "structure", - required: ["LaunchConfigurationName"], - members: { LaunchConfigurationName: {} }, - }, - }, - DeleteLifecycleHook: { - input: { - type: "structure", - required: ["LifecycleHookName", "AutoScalingGroupName"], - members: { LifecycleHookName: {}, AutoScalingGroupName: {} }, - }, output: { - resultWrapper: "DeleteLifecycleHookResult", type: "structure", - members: {}, + required: ["backendEnvironment"], + members: { backendEnvironment: { shape: "S1h" } }, }, }, - DeleteNotificationConfiguration: { - input: { - type: "structure", - required: ["AutoScalingGroupName", "TopicARN"], - members: { AutoScalingGroupName: {}, TopicARN: {} }, + GetBranch: { + http: { + method: "GET", + requestUri: "/apps/{appId}/branches/{branchName}", }, - }, - DeletePolicy: { input: { type: "structure", - required: ["PolicyName"], - members: { AutoScalingGroupName: {}, PolicyName: {} }, + required: ["appId", "branchName"], + members: { + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, + }, }, - }, - DeleteScheduledAction: { - input: { + output: { type: "structure", - required: ["AutoScalingGroupName", "ScheduledActionName"], - members: { AutoScalingGroupName: {}, ScheduledActionName: {} }, + required: ["branch"], + members: { branch: { shape: "S1o" } }, }, }, - DeleteTags: { - input: { - type: "structure", - required: ["Tags"], - members: { Tags: { shape: "S1n" } }, + GetDomainAssociation: { + http: { + method: "GET", + requestUri: "/apps/{appId}/domains/{domainName}", }, - }, - DescribeAccountLimits: { - output: { - resultWrapper: "DescribeAccountLimitsResult", + input: { type: "structure", + required: ["appId", "domainName"], members: { - MaxNumberOfAutoScalingGroups: { type: "integer" }, - MaxNumberOfLaunchConfigurations: { type: "integer" }, - NumberOfAutoScalingGroups: { type: "integer" }, - NumberOfLaunchConfigurations: { type: "integer" }, + appId: { location: "uri", locationName: "appId" }, + domainName: { location: "uri", locationName: "domainName" }, }, }, - }, - DescribeAdjustmentTypes: { output: { - resultWrapper: "DescribeAdjustmentTypesResult", type: "structure", - members: { - AdjustmentTypes: { - type: "list", - member: { - type: "structure", - members: { AdjustmentType: {} }, - }, - }, - }, + required: ["domainAssociation"], + members: { domainAssociation: { shape: "S2e" } }, }, }, - DescribeAutoScalingGroups: { + GetJob: { + http: { + method: "GET", + requestUri: "/apps/{appId}/branches/{branchName}/jobs/{jobId}", + }, input: { type: "structure", + required: ["appId", "branchName", "jobId"], members: { - AutoScalingGroupNames: { shape: "S2u" }, - NextToken: {}, - MaxRecords: { type: "integer" }, + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, + jobId: { location: "uri", locationName: "jobId" }, }, }, output: { - resultWrapper: "DescribeAutoScalingGroupsResult", type: "structure", - required: ["AutoScalingGroups"], + required: ["job"], members: { - AutoScalingGroups: { - type: "list", - member: { - type: "structure", - required: [ - "AutoScalingGroupName", - "MinSize", - "MaxSize", - "DesiredCapacity", - "DefaultCooldown", - "AvailabilityZones", - "HealthCheckType", - "CreatedTime", - ], - members: { - AutoScalingGroupName: {}, - AutoScalingGroupARN: {}, - LaunchConfigurationName: {}, - LaunchTemplate: { shape: "Sy" }, - MixedInstancesPolicy: { shape: "S10" }, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - DefaultCooldown: { type: "integer" }, - AvailabilityZones: { shape: "S1b" }, - LoadBalancerNames: { shape: "Sa" }, - TargetGroupARNs: { shape: "S6" }, - HealthCheckType: {}, - HealthCheckGracePeriod: { type: "integer" }, - Instances: { - type: "list", - member: { - type: "structure", - required: [ - "InstanceId", - "AvailabilityZone", - "LifecycleState", - "HealthStatus", - "ProtectedFromScaleIn", - ], - members: { - InstanceId: {}, - InstanceType: {}, - AvailabilityZone: {}, - LifecycleState: {}, - HealthStatus: {}, - LaunchConfigurationName: {}, - LaunchTemplate: { shape: "Sy" }, - ProtectedFromScaleIn: { type: "boolean" }, - WeightedCapacity: {}, - }, - }, - }, - CreatedTime: { type: "timestamp" }, - SuspendedProcesses: { - type: "list", - member: { - type: "structure", - members: { ProcessName: {}, SuspensionReason: {} }, - }, - }, - PlacementGroup: {}, - VPCZoneIdentifier: {}, - EnabledMetrics: { - type: "list", - member: { - type: "structure", - members: { Metric: {}, Granularity: {} }, + job: { + type: "structure", + required: ["summary", "steps"], + members: { + summary: { shape: "S33" }, + steps: { + type: "list", + member: { + type: "structure", + required: [ + "stepName", + "startTime", + "status", + "endTime", + ], + members: { + stepName: {}, + startTime: { type: "timestamp" }, + status: {}, + endTime: { type: "timestamp" }, + logUrl: {}, + artifactsUrl: {}, + testArtifactsUrl: {}, + testConfigUrl: {}, + screenshots: { type: "map", key: {}, value: {} }, + statusReason: {}, + context: {}, }, }, - Status: {}, - Tags: { shape: "S36" }, - TerminationPolicies: { shape: "S1e" }, - NewInstancesProtectedFromScaleIn: { type: "boolean" }, - ServiceLinkedRoleARN: {}, - MaxInstanceLifetime: { type: "integer" }, }, }, }, - NextToken: {}, }, }, }, - DescribeAutoScalingInstances: { + GetWebhook: { + http: { method: "GET", requestUri: "/webhooks/{webhookId}" }, input: { type: "structure", + required: ["webhookId"], members: { - InstanceIds: { shape: "S2" }, - MaxRecords: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - resultWrapper: "DescribeAutoScalingInstancesResult", - type: "structure", - members: { - AutoScalingInstances: { - type: "list", - member: { - type: "structure", - required: [ - "InstanceId", - "AutoScalingGroupName", - "AvailabilityZone", - "LifecycleState", - "HealthStatus", - "ProtectedFromScaleIn", - ], - members: { - InstanceId: {}, - InstanceType: {}, - AutoScalingGroupName: {}, - AvailabilityZone: {}, - LifecycleState: {}, - HealthStatus: {}, - LaunchConfigurationName: {}, - LaunchTemplate: { shape: "Sy" }, - ProtectedFromScaleIn: { type: "boolean" }, - WeightedCapacity: {}, - }, - }, - }, - NextToken: {}, + webhookId: { location: "uri", locationName: "webhookId" }, }, }, - }, - DescribeAutoScalingNotificationTypes: { output: { - resultWrapper: "DescribeAutoScalingNotificationTypesResult", type: "structure", - members: { AutoScalingNotificationTypes: { shape: "S3d" } }, + required: ["webhook"], + members: { webhook: { shape: "S2p" } }, }, }, - DescribeLaunchConfigurations: { + ListApps: { + http: { method: "GET", requestUri: "/apps" }, input: { type: "structure", members: { - LaunchConfigurationNames: { type: "list", member: {} }, - NextToken: {}, - MaxRecords: { type: "integer" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { - resultWrapper: "DescribeLaunchConfigurationsResult", type: "structure", - required: ["LaunchConfigurations"], + required: ["apps"], members: { - LaunchConfigurations: { - type: "list", - member: { - type: "structure", - required: [ - "LaunchConfigurationName", - "ImageId", - "InstanceType", - "CreatedTime", - ], - members: { - LaunchConfigurationName: {}, - LaunchConfigurationARN: {}, - ImageId: {}, - KeyName: {}, - SecurityGroups: { shape: "S1u" }, - ClassicLinkVPCId: {}, - ClassicLinkVPCSecurityGroups: { shape: "S1v" }, - UserData: {}, - InstanceType: {}, - KernelId: {}, - RamdiskId: {}, - BlockDeviceMappings: { shape: "S1x" }, - InstanceMonitoring: { shape: "S26" }, - SpotPrice: {}, - IamInstanceProfile: {}, - CreatedTime: { type: "timestamp" }, - EbsOptimized: { type: "boolean" }, - AssociatePublicIpAddress: { type: "boolean" }, - PlacementTenancy: {}, - }, - }, - }, - NextToken: {}, + apps: { type: "list", member: { shape: "S12" } }, + nextToken: {}, }, }, }, - DescribeLifecycleHookTypes: { - output: { - resultWrapper: "DescribeLifecycleHookTypesResult", - type: "structure", - members: { LifecycleHookTypes: { shape: "S3d" } }, + ListArtifacts: { + http: { + method: "GET", + requestUri: + "/apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts", }, - }, - DescribeLifecycleHooks: { input: { type: "structure", - required: ["AutoScalingGroupName"], + required: ["appId", "branchName", "jobId"], members: { - AutoScalingGroupName: {}, - LifecycleHookNames: { type: "list", member: {} }, + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, + jobId: { location: "uri", locationName: "jobId" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { - resultWrapper: "DescribeLifecycleHooksResult", type: "structure", + required: ["artifacts"], members: { - LifecycleHooks: { + artifacts: { type: "list", member: { type: "structure", - members: { - LifecycleHookName: {}, - AutoScalingGroupName: {}, - LifecycleTransition: {}, - NotificationTargetARN: {}, - RoleARN: {}, - NotificationMetadata: {}, - HeartbeatTimeout: { type: "integer" }, - GlobalTimeout: { type: "integer" }, - DefaultResult: {}, - }, + required: ["artifactFileName", "artifactId"], + members: { artifactFileName: {}, artifactId: {} }, }, }, + nextToken: {}, }, }, }, - DescribeLoadBalancerTargetGroups: { + ListBackendEnvironments: { + http: { + method: "GET", + requestUri: "/apps/{appId}/backendenvironments", + }, input: { type: "structure", - required: ["AutoScalingGroupName"], + required: ["appId"], members: { - AutoScalingGroupName: {}, - NextToken: {}, - MaxRecords: { type: "integer" }, + appId: { location: "uri", locationName: "appId" }, + environmentName: { + location: "querystring", + locationName: "environmentName", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { - resultWrapper: "DescribeLoadBalancerTargetGroupsResult", type: "structure", + required: ["backendEnvironments"], members: { - LoadBalancerTargetGroups: { - type: "list", - member: { - type: "structure", - members: { LoadBalancerTargetGroupARN: {}, State: {} }, - }, - }, - NextToken: {}, + backendEnvironments: { type: "list", member: { shape: "S1h" } }, + nextToken: {}, }, }, }, - DescribeLoadBalancers: { + ListBranches: { + http: { method: "GET", requestUri: "/apps/{appId}/branches" }, input: { type: "structure", - required: ["AutoScalingGroupName"], - members: { - AutoScalingGroupName: {}, - NextToken: {}, - MaxRecords: { type: "integer" }, - }, - }, - output: { - resultWrapper: "DescribeLoadBalancersResult", - type: "structure", + required: ["appId"], members: { - LoadBalancers: { - type: "list", - member: { - type: "structure", - members: { LoadBalancerName: {}, State: {} }, - }, + appId: { location: "uri", locationName: "appId" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", }, - NextToken: {}, }, }, - }, - DescribeMetricCollectionTypes: { output: { - resultWrapper: "DescribeMetricCollectionTypesResult", type: "structure", + required: ["branches"], members: { - Metrics: { - type: "list", - member: { type: "structure", members: { Metric: {} } }, - }, - Granularities: { - type: "list", - member: { type: "structure", members: { Granularity: {} } }, - }, + branches: { type: "list", member: { shape: "S1o" } }, + nextToken: {}, }, }, }, - DescribeNotificationConfigurations: { + ListDomainAssociations: { + http: { method: "GET", requestUri: "/apps/{appId}/domains" }, input: { type: "structure", + required: ["appId"], members: { - AutoScalingGroupNames: { shape: "S2u" }, - NextToken: {}, - MaxRecords: { type: "integer" }, + appId: { location: "uri", locationName: "appId" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { - resultWrapper: "DescribeNotificationConfigurationsResult", type: "structure", - required: ["NotificationConfigurations"], + required: ["domainAssociations"], members: { - NotificationConfigurations: { - type: "list", - member: { - type: "structure", - members: { - AutoScalingGroupName: {}, - TopicARN: {}, - NotificationType: {}, - }, - }, - }, - NextToken: {}, + domainAssociations: { type: "list", member: { shape: "S2e" } }, + nextToken: {}, }, }, }, - DescribePolicies: { + ListJobs: { + http: { + method: "GET", + requestUri: "/apps/{appId}/branches/{branchName}/jobs", + }, input: { type: "structure", + required: ["appId", "branchName"], members: { - AutoScalingGroupName: {}, - PolicyNames: { type: "list", member: {} }, - PolicyTypes: { type: "list", member: {} }, - NextToken: {}, - MaxRecords: { type: "integer" }, + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { - resultWrapper: "DescribePoliciesResult", type: "structure", + required: ["jobSummaries"], members: { - ScalingPolicies: { - type: "list", - member: { - type: "structure", - members: { - AutoScalingGroupName: {}, - PolicyName: {}, - PolicyARN: {}, - PolicyType: {}, - AdjustmentType: {}, - MinAdjustmentStep: { shape: "S4d" }, - MinAdjustmentMagnitude: { type: "integer" }, - ScalingAdjustment: { type: "integer" }, - Cooldown: { type: "integer" }, - StepAdjustments: { shape: "S4g" }, - MetricAggregationType: {}, - EstimatedInstanceWarmup: { type: "integer" }, - Alarms: { shape: "S4k" }, - TargetTrackingConfiguration: { shape: "S4m" }, - Enabled: { type: "boolean" }, - }, - }, - }, - NextToken: {}, + jobSummaries: { type: "list", member: { shape: "S33" } }, + nextToken: {}, }, }, }, - DescribeScalingActivities: { + ListTagsForResource: { + http: { method: "GET", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", + required: ["resourceArn"], members: { - ActivityIds: { type: "list", member: {} }, - AutoScalingGroupName: {}, - MaxRecords: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - resultWrapper: "DescribeScalingActivitiesResult", - type: "structure", - required: ["Activities"], - members: { Activities: { shape: "S53" }, NextToken: {} }, - }, - }, - DescribeScalingProcessTypes: { - output: { - resultWrapper: "DescribeScalingProcessTypesResult", - type: "structure", - members: { - Processes: { - type: "list", - member: { - type: "structure", - required: ["ProcessName"], - members: { ProcessName: {} }, - }, - }, + resourceArn: { location: "uri", locationName: "resourceArn" }, }, }, + output: { type: "structure", members: { tags: { shape: "Sm" } } }, }, - DescribeScheduledActions: { + ListWebhooks: { + http: { method: "GET", requestUri: "/apps/{appId}/webhooks" }, input: { type: "structure", + required: ["appId"], members: { - AutoScalingGroupName: {}, - ScheduledActionNames: { shape: "Se" }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - NextToken: {}, - MaxRecords: { type: "integer" }, + appId: { location: "uri", locationName: "appId" }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, }, }, output: { - resultWrapper: "DescribeScheduledActionsResult", type: "structure", + required: ["webhooks"], members: { - ScheduledUpdateGroupActions: { - type: "list", - member: { - type: "structure", - members: { - AutoScalingGroupName: {}, - ScheduledActionName: {}, - ScheduledActionARN: {}, - Time: { type: "timestamp" }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Recurrence: {}, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - }, - }, - }, - NextToken: {}, + webhooks: { type: "list", member: { shape: "S2p" } }, + nextToken: {}, }, }, }, - DescribeTags: { + StartDeployment: { + http: { + requestUri: + "/apps/{appId}/branches/{branchName}/deployments/start", + }, input: { type: "structure", + required: ["appId", "branchName"], members: { - Filters: { - type: "list", - member: { - type: "structure", - members: { Name: {}, Values: { type: "list", member: {} } }, - }, - }, - NextToken: {}, - MaxRecords: { type: "integer" }, + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, + jobId: {}, + sourceUrl: {}, }, }, output: { - resultWrapper: "DescribeTagsResult", - type: "structure", - members: { Tags: { shape: "S36" }, NextToken: {} }, - }, - }, - DescribeTerminationPolicyTypes: { - output: { - resultWrapper: "DescribeTerminationPolicyTypesResult", type: "structure", - members: { TerminationPolicyTypes: { shape: "S1e" } }, + required: ["jobSummary"], + members: { jobSummary: { shape: "S33" } }, }, }, - DetachInstances: { + StartJob: { + http: { requestUri: "/apps/{appId}/branches/{branchName}/jobs" }, input: { type: "structure", - required: [ - "AutoScalingGroupName", - "ShouldDecrementDesiredCapacity", - ], + required: ["appId", "branchName", "jobType"], members: { - InstanceIds: { shape: "S2" }, - AutoScalingGroupName: {}, - ShouldDecrementDesiredCapacity: { type: "boolean" }, + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, + jobId: {}, + jobType: {}, + jobReason: {}, + commitId: {}, + commitMessage: {}, + commitTime: { type: "timestamp" }, }, }, output: { - resultWrapper: "DetachInstancesResult", type: "structure", - members: { Activities: { shape: "S53" } }, + required: ["jobSummary"], + members: { jobSummary: { shape: "S33" } }, }, }, - DetachLoadBalancerTargetGroups: { + StopJob: { + http: { + method: "DELETE", + requestUri: + "/apps/{appId}/branches/{branchName}/jobs/{jobId}/stop", + }, input: { type: "structure", - required: ["AutoScalingGroupName", "TargetGroupARNs"], + required: ["appId", "branchName", "jobId"], members: { - AutoScalingGroupName: {}, - TargetGroupARNs: { shape: "S6" }, + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, + jobId: { location: "uri", locationName: "jobId" }, }, }, output: { - resultWrapper: "DetachLoadBalancerTargetGroupsResult", type: "structure", - members: {}, + required: ["jobSummary"], + members: { jobSummary: { shape: "S33" } }, }, }, - DetachLoadBalancers: { + TagResource: { + http: { requestUri: "/tags/{resourceArn}" }, input: { type: "structure", - required: ["AutoScalingGroupName", "LoadBalancerNames"], + required: ["resourceArn", "tags"], members: { - AutoScalingGroupName: {}, - LoadBalancerNames: { shape: "Sa" }, + resourceArn: { location: "uri", locationName: "resourceArn" }, + tags: { shape: "Sm" }, }, }, - output: { - resultWrapper: "DetachLoadBalancersResult", - type: "structure", - members: {}, - }, - }, - DisableMetricsCollection: { - input: { - type: "structure", - required: ["AutoScalingGroupName"], - members: { AutoScalingGroupName: {}, Metrics: { shape: "S5s" } }, - }, + output: { type: "structure", members: {} }, }, - EnableMetricsCollection: { + UntagResource: { + http: { method: "DELETE", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", - required: ["AutoScalingGroupName", "Granularity"], + required: ["resourceArn", "tagKeys"], members: { - AutoScalingGroupName: {}, - Metrics: { shape: "S5s" }, - Granularity: {}, + resourceArn: { location: "uri", locationName: "resourceArn" }, + tagKeys: { + location: "querystring", + locationName: "tagKeys", + type: "list", + member: {}, + }, }, }, + output: { type: "structure", members: {} }, }, - EnterStandby: { + UpdateApp: { + http: { requestUri: "/apps/{appId}" }, input: { type: "structure", - required: [ - "AutoScalingGroupName", - "ShouldDecrementDesiredCapacity", - ], + required: ["appId"], members: { - InstanceIds: { shape: "S2" }, - AutoScalingGroupName: {}, - ShouldDecrementDesiredCapacity: { type: "boolean" }, + appId: { location: "uri", locationName: "appId" }, + name: {}, + description: {}, + platform: {}, + iamServiceRoleArn: {}, + environmentVariables: { shape: "S9" }, + enableBranchAutoBuild: { type: "boolean" }, + enableBranchAutoDeletion: { type: "boolean" }, + enableBasicAuth: { type: "boolean" }, + basicAuthCredentials: { shape: "Sf" }, + customRules: { shape: "Sg" }, + buildSpec: {}, + customHeaders: {}, + enableAutoBranchCreation: { type: "boolean" }, + autoBranchCreationPatterns: { shape: "Ss" }, + autoBranchCreationConfig: { shape: "Su" }, + repository: {}, + oauthToken: { shape: "S7" }, + accessToken: { shape: "S8" }, }, }, output: { - resultWrapper: "EnterStandbyResult", - type: "structure", - members: { Activities: { shape: "S53" } }, - }, - }, - ExecutePolicy: { - input: { type: "structure", - required: ["PolicyName"], - members: { - AutoScalingGroupName: {}, - PolicyName: {}, - HonorCooldown: { type: "boolean" }, - MetricValue: { type: "double" }, - BreachThreshold: { type: "double" }, - }, + required: ["app"], + members: { app: { shape: "S12" } }, }, }, - ExitStandby: { + UpdateBranch: { + http: { requestUri: "/apps/{appId}/branches/{branchName}" }, input: { type: "structure", - required: ["AutoScalingGroupName"], + required: ["appId", "branchName"], members: { - InstanceIds: { shape: "S2" }, - AutoScalingGroupName: {}, + appId: { location: "uri", locationName: "appId" }, + branchName: { location: "uri", locationName: "branchName" }, + description: {}, + framework: {}, + stage: {}, + enableNotification: { type: "boolean" }, + enableAutoBuild: { type: "boolean" }, + environmentVariables: { shape: "S9" }, + basicAuthCredentials: { shape: "Sf" }, + enableBasicAuth: { type: "boolean" }, + enablePerformanceMode: { type: "boolean" }, + buildSpec: {}, + ttl: {}, + displayName: {}, + enablePullRequestPreview: { type: "boolean" }, + pullRequestEnvironmentName: {}, + backendEnvironmentArn: {}, }, }, output: { - resultWrapper: "ExitStandbyResult", type: "structure", - members: { Activities: { shape: "S53" } }, + required: ["branch"], + members: { branch: { shape: "S1o" } }, }, }, - PutLifecycleHook: { + UpdateDomainAssociation: { + http: { requestUri: "/apps/{appId}/domains/{domainName}" }, input: { type: "structure", - required: ["LifecycleHookName", "AutoScalingGroupName"], + required: ["appId", "domainName", "subDomainSettings"], members: { - LifecycleHookName: {}, - AutoScalingGroupName: {}, - LifecycleTransition: {}, - RoleARN: {}, - NotificationTargetARN: {}, - NotificationMetadata: {}, - HeartbeatTimeout: { type: "integer" }, - DefaultResult: {}, + appId: { location: "uri", locationName: "appId" }, + domainName: { location: "uri", locationName: "domainName" }, + enableAutoSubDomain: { type: "boolean" }, + subDomainSettings: { shape: "S27" }, + autoSubDomainCreationPatterns: { shape: "S2a" }, + autoSubDomainIAMRole: {}, }, }, output: { - resultWrapper: "PutLifecycleHookResult", - type: "structure", - members: {}, - }, - }, - PutNotificationConfiguration: { - input: { type: "structure", - required: [ - "AutoScalingGroupName", - "TopicARN", - "NotificationTypes", - ], - members: { - AutoScalingGroupName: {}, - TopicARN: {}, - NotificationTypes: { shape: "S3d" }, - }, + required: ["domainAssociation"], + members: { domainAssociation: { shape: "S2e" } }, }, }, - PutScalingPolicy: { + UpdateWebhook: { + http: { requestUri: "/webhooks/{webhookId}" }, input: { type: "structure", - required: ["AutoScalingGroupName", "PolicyName"], + required: ["webhookId"], members: { - AutoScalingGroupName: {}, - PolicyName: {}, - PolicyType: {}, - AdjustmentType: {}, - MinAdjustmentStep: { shape: "S4d" }, - MinAdjustmentMagnitude: { type: "integer" }, - ScalingAdjustment: { type: "integer" }, - Cooldown: { type: "integer" }, - MetricAggregationType: {}, - StepAdjustments: { shape: "S4g" }, - EstimatedInstanceWarmup: { type: "integer" }, - TargetTrackingConfiguration: { shape: "S4m" }, - Enabled: { type: "boolean" }, + webhookId: { location: "uri", locationName: "webhookId" }, + branchName: {}, + description: {}, }, }, output: { - resultWrapper: "PutScalingPolicyResult", type: "structure", - members: { PolicyARN: {}, Alarms: { shape: "S4k" } }, + required: ["webhook"], + members: { webhook: { shape: "S2p" } }, }, }, - PutScheduledUpdateGroupAction: { - input: { + }, + shapes: { + S7: { type: "string", sensitive: true }, + S8: { type: "string", sensitive: true }, + S9: { type: "map", key: {}, value: {} }, + Sf: { type: "string", sensitive: true }, + Sg: { + type: "list", + member: { type: "structure", - required: ["AutoScalingGroupName", "ScheduledActionName"], - members: { - AutoScalingGroupName: {}, - ScheduledActionName: {}, - Time: { type: "timestamp" }, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Recurrence: {}, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, + required: ["source", "target"], + members: { source: {}, target: {}, status: {}, condition: {} }, + }, + }, + Sm: { type: "map", key: {}, value: {} }, + Ss: { type: "list", member: {} }, + Su: { + type: "structure", + members: { + stage: {}, + framework: {}, + enableAutoBuild: { type: "boolean" }, + environmentVariables: { shape: "S9" }, + basicAuthCredentials: { shape: "Sf" }, + enableBasicAuth: { type: "boolean" }, + enablePerformanceMode: { type: "boolean" }, + buildSpec: {}, + enablePullRequestPreview: { type: "boolean" }, + pullRequestEnvironmentName: {}, + }, + }, + S12: { + type: "structure", + required: [ + "appId", + "appArn", + "name", + "description", + "repository", + "platform", + "createTime", + "updateTime", + "environmentVariables", + "defaultDomain", + "enableBranchAutoBuild", + "enableBasicAuth", + ], + members: { + appId: {}, + appArn: {}, + name: {}, + tags: { shape: "Sm" }, + description: {}, + repository: {}, + platform: {}, + createTime: { type: "timestamp" }, + updateTime: { type: "timestamp" }, + iamServiceRoleArn: {}, + environmentVariables: { shape: "S9" }, + defaultDomain: {}, + enableBranchAutoBuild: { type: "boolean" }, + enableBranchAutoDeletion: { type: "boolean" }, + enableBasicAuth: { type: "boolean" }, + basicAuthCredentials: { shape: "Sf" }, + customRules: { shape: "Sg" }, + productionBranch: { + type: "structure", + members: { + lastDeployTime: { type: "timestamp" }, + status: {}, + thumbnailUrl: {}, + branchName: {}, + }, }, + buildSpec: {}, + customHeaders: {}, + enableAutoBranchCreation: { type: "boolean" }, + autoBranchCreationPatterns: { shape: "Ss" }, + autoBranchCreationConfig: { shape: "Su" }, }, }, - RecordLifecycleActionHeartbeat: { + S1h: { + type: "structure", + required: [ + "backendEnvironmentArn", + "environmentName", + "createTime", + "updateTime", + ], + members: { + backendEnvironmentArn: {}, + environmentName: {}, + stackName: {}, + deploymentArtifacts: {}, + createTime: { type: "timestamp" }, + updateTime: { type: "timestamp" }, + }, + }, + S1o: { + type: "structure", + required: [ + "branchArn", + "branchName", + "description", + "stage", + "displayName", + "enableNotification", + "createTime", + "updateTime", + "environmentVariables", + "enableAutoBuild", + "customDomains", + "framework", + "activeJobId", + "totalNumberOfJobs", + "enableBasicAuth", + "ttl", + "enablePullRequestPreview", + ], + members: { + branchArn: {}, + branchName: {}, + description: {}, + tags: { shape: "Sm" }, + stage: {}, + displayName: {}, + enableNotification: { type: "boolean" }, + createTime: { type: "timestamp" }, + updateTime: { type: "timestamp" }, + environmentVariables: { shape: "S9" }, + enableAutoBuild: { type: "boolean" }, + customDomains: { type: "list", member: {} }, + framework: {}, + activeJobId: {}, + totalNumberOfJobs: {}, + enableBasicAuth: { type: "boolean" }, + enablePerformanceMode: { type: "boolean" }, + thumbnailUrl: {}, + basicAuthCredentials: { shape: "Sf" }, + buildSpec: {}, + ttl: {}, + associatedResources: { type: "list", member: {} }, + enablePullRequestPreview: { type: "boolean" }, + pullRequestEnvironmentName: {}, + destinationBranch: {}, + sourceBranch: {}, + backendEnvironmentArn: {}, + }, + }, + S27: { type: "list", member: { shape: "S28" } }, + S28: { + type: "structure", + required: ["prefix", "branchName"], + members: { prefix: {}, branchName: {} }, + }, + S2a: { type: "list", member: {} }, + S2e: { + type: "structure", + required: [ + "domainAssociationArn", + "domainName", + "enableAutoSubDomain", + "domainStatus", + "statusReason", + "subDomains", + ], + members: { + domainAssociationArn: {}, + domainName: {}, + enableAutoSubDomain: { type: "boolean" }, + autoSubDomainCreationPatterns: { shape: "S2a" }, + autoSubDomainIAMRole: {}, + domainStatus: {}, + statusReason: {}, + certificateVerificationDNSRecord: {}, + subDomains: { + type: "list", + member: { + type: "structure", + required: ["subDomainSetting", "verified", "dnsRecord"], + members: { + subDomainSetting: { shape: "S28" }, + verified: { type: "boolean" }, + dnsRecord: {}, + }, + }, + }, + }, + }, + S2p: { + type: "structure", + required: [ + "webhookArn", + "webhookId", + "webhookUrl", + "branchName", + "description", + "createTime", + "updateTime", + ], + members: { + webhookArn: {}, + webhookId: {}, + webhookUrl: {}, + branchName: {}, + description: {}, + createTime: { type: "timestamp" }, + updateTime: { type: "timestamp" }, + }, + }, + S33: { + type: "structure", + required: [ + "jobArn", + "jobId", + "commitId", + "commitMessage", + "commitTime", + "startTime", + "status", + "jobType", + ], + members: { + jobArn: {}, + jobId: {}, + commitId: {}, + commitMessage: {}, + commitTime: { type: "timestamp" }, + startTime: { type: "timestamp" }, + status: {}, + endTime: { type: "timestamp" }, + jobType: {}, + }, + }, + }, + }; + + /***/ + }, + + /***/ 2911: /***/ function (module) { + module.exports = { + pagination: { + GetClassifiers: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetConnections: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetCrawlerMetrics: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetCrawlers: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetDatabases: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetDevEndpoints: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetJobRuns: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetJobs: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetMLTaskRuns: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetMLTransforms: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetPartitionIndexes: { + input_token: "NextToken", + output_token: "NextToken", + result_key: "PartitionIndexDescriptorList", + }, + GetPartitions: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetResourcePolicies: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "GetResourcePoliciesResponseList", + }, + GetSecurityConfigurations: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "SecurityConfigurations", + }, + GetTableVersions: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetTables: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetTriggers: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetUserDefinedFunctions: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + GetWorkflowRuns: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + ListCrawlers: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + ListDevEndpoints: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + ListJobs: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + ListMLTransforms: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + ListRegistries: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Registries", + }, + ListSchemaVersions: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Schemas", + }, + ListSchemas: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Schemas", + }, + ListTriggers: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + ListWorkflows: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + SearchTables: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + }, + }; + + /***/ + }, + + /***/ 2920: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2020-07-01", + endpointPrefix: "featurestore-runtime.sagemaker", + jsonVersion: "1.1", + protocol: "rest-json", + serviceFullName: "Amazon SageMaker Feature Store Runtime", + serviceId: "SageMaker FeatureStore Runtime", + signatureVersion: "v4", + signingName: "sagemaker", + uid: "sagemaker-featurestore-runtime-2020-07-01", + }, + operations: { + DeleteRecord: { + http: { + method: "DELETE", + requestUri: "/FeatureGroup/{FeatureGroupName}", + }, input: { type: "structure", - required: ["LifecycleHookName", "AutoScalingGroupName"], + required: [ + "FeatureGroupName", + "RecordIdentifierValueAsString", + "EventTime", + ], members: { - LifecycleHookName: {}, - AutoScalingGroupName: {}, - LifecycleActionToken: {}, - InstanceId: {}, + FeatureGroupName: { + location: "uri", + locationName: "FeatureGroupName", + }, + RecordIdentifierValueAsString: { + location: "querystring", + locationName: "RecordIdentifierValueAsString", + }, + EventTime: { + location: "querystring", + locationName: "EventTime", + }, }, }, - output: { - resultWrapper: "RecordLifecycleActionHeartbeatResult", + }, + GetRecord: { + http: { + method: "GET", + requestUri: "/FeatureGroup/{FeatureGroupName}", + }, + input: { type: "structure", - members: {}, + required: ["FeatureGroupName", "RecordIdentifierValueAsString"], + members: { + FeatureGroupName: { + location: "uri", + locationName: "FeatureGroupName", + }, + RecordIdentifierValueAsString: { + location: "querystring", + locationName: "RecordIdentifierValueAsString", + }, + FeatureNames: { + location: "querystring", + locationName: "FeatureName", + type: "list", + member: {}, + }, + }, }, + output: { type: "structure", members: { Record: { shape: "S8" } } }, }, - ResumeProcesses: { input: { shape: "S68" } }, - SetDesiredCapacity: { + PutRecord: { + http: { + method: "PUT", + requestUri: "/FeatureGroup/{FeatureGroupName}", + }, input: { type: "structure", - required: ["AutoScalingGroupName", "DesiredCapacity"], + required: ["FeatureGroupName", "Record"], members: { - AutoScalingGroupName: {}, - DesiredCapacity: { type: "integer" }, - HonorCooldown: { type: "boolean" }, + FeatureGroupName: { + location: "uri", + locationName: "FeatureGroupName", + }, + Record: { shape: "S8" }, }, }, }, - SetInstanceHealth: { + }, + shapes: { + S8: { + type: "list", + member: { + type: "structure", + required: ["FeatureName", "ValueAsString"], + members: { FeatureName: {}, ValueAsString: {} }, + }, + }, + }, + }; + + /***/ + }, + + /***/ 2922: /***/ function (module) { + module.exports = { + metadata: { + apiVersion: "2018-05-14", + endpointPrefix: "devices.iot1click", + signingName: "iot1click", + serviceFullName: "AWS IoT 1-Click Devices Service", + serviceId: "IoT 1Click Devices Service", + protocol: "rest-json", + jsonVersion: "1.1", + uid: "devices-2018-05-14", + signatureVersion: "v4", + }, + operations: { + ClaimDevicesByClaimCode: { + http: { + method: "PUT", + requestUri: "/claims/{claimCode}", + responseCode: 200, + }, input: { type: "structure", - required: ["InstanceId", "HealthStatus"], members: { - InstanceId: {}, - HealthStatus: {}, - ShouldRespectGracePeriod: { type: "boolean" }, + ClaimCode: { location: "uri", locationName: "claimCode" }, + }, + required: ["ClaimCode"], + }, + output: { + type: "structure", + members: { + ClaimCode: { locationName: "claimCode" }, + Total: { locationName: "total", type: "integer" }, }, }, }, - SetInstanceProtection: { + DescribeDevice: { + http: { + method: "GET", + requestUri: "/devices/{deviceId}", + responseCode: 200, + }, input: { type: "structure", - required: [ - "InstanceIds", - "AutoScalingGroupName", - "ProtectedFromScaleIn", - ], members: { - InstanceIds: { shape: "S2" }, - AutoScalingGroupName: {}, - ProtectedFromScaleIn: { type: "boolean" }, + DeviceId: { location: "uri", locationName: "deviceId" }, }, + required: ["DeviceId"], }, output: { - resultWrapper: "SetInstanceProtectionResult", type: "structure", - members: {}, + members: { + DeviceDescription: { + shape: "S8", + locationName: "deviceDescription", + }, + }, }, }, - SuspendProcesses: { input: { shape: "S68" } }, - TerminateInstanceInAutoScalingGroup: { + FinalizeDeviceClaim: { + http: { + method: "PUT", + requestUri: "/devices/{deviceId}/finalize-claim", + responseCode: 200, + }, input: { type: "structure", - required: ["InstanceId", "ShouldDecrementDesiredCapacity"], members: { - InstanceId: {}, - ShouldDecrementDesiredCapacity: { type: "boolean" }, + DeviceId: { location: "uri", locationName: "deviceId" }, + Tags: { shape: "Sc", locationName: "tags" }, }, + required: ["DeviceId"], }, output: { - resultWrapper: "TerminateInstanceInAutoScalingGroupResult", type: "structure", - members: { Activity: { shape: "S54" } }, + members: { State: { locationName: "state" } }, }, }, - UpdateAutoScalingGroup: { + GetDeviceMethods: { + http: { + method: "GET", + requestUri: "/devices/{deviceId}/methods", + responseCode: 200, + }, input: { type: "structure", - required: ["AutoScalingGroupName"], members: { - AutoScalingGroupName: {}, - LaunchConfigurationName: {}, - LaunchTemplate: { shape: "Sy" }, - MixedInstancesPolicy: { shape: "S10" }, - MinSize: { type: "integer" }, - MaxSize: { type: "integer" }, - DesiredCapacity: { type: "integer" }, - DefaultCooldown: { type: "integer" }, - AvailabilityZones: { shape: "S1b" }, - HealthCheckType: {}, - HealthCheckGracePeriod: { type: "integer" }, - PlacementGroup: {}, - VPCZoneIdentifier: {}, - TerminationPolicies: { shape: "S1e" }, - NewInstancesProtectedFromScaleIn: { type: "boolean" }, - ServiceLinkedRoleARN: {}, - MaxInstanceLifetime: { type: "integer" }, + DeviceId: { location: "uri", locationName: "deviceId" }, }, + required: ["DeviceId"], }, - }, - }, - shapes: { - S2: { type: "list", member: {} }, - S6: { type: "list", member: {} }, - Sa: { type: "list", member: {} }, - Se: { type: "list", member: {} }, - Sg: { - type: "list", - member: { + output: { type: "structure", - required: ["ScheduledActionName"], members: { - ScheduledActionName: {}, - ErrorCode: {}, - ErrorMessage: {}, + DeviceMethods: { + locationName: "deviceMethods", + type: "list", + member: { shape: "Si" }, + }, }, }, }, - Sy: { - type: "structure", - members: { - LaunchTemplateId: {}, - LaunchTemplateName: {}, - Version: {}, + InitiateDeviceClaim: { + http: { + method: "PUT", + requestUri: "/devices/{deviceId}/initiate-claim", + responseCode: 200, + }, + input: { + type: "structure", + members: { + DeviceId: { location: "uri", locationName: "deviceId" }, + }, + required: ["DeviceId"], + }, + output: { + type: "structure", + members: { State: { locationName: "state" } }, }, }, - S10: { - type: "structure", - members: { - LaunchTemplate: { - type: "structure", - members: { - LaunchTemplateSpecification: { shape: "Sy" }, - Overrides: { - type: "list", - member: { - type: "structure", - members: { InstanceType: {}, WeightedCapacity: {} }, - }, - }, + InvokeDeviceMethod: { + http: { + requestUri: "/devices/{deviceId}/methods", + responseCode: 200, + }, + input: { + type: "structure", + members: { + DeviceId: { location: "uri", locationName: "deviceId" }, + DeviceMethod: { shape: "Si", locationName: "deviceMethod" }, + DeviceMethodParameters: { + locationName: "deviceMethodParameters", }, }, - InstancesDistribution: { - type: "structure", - members: { - OnDemandAllocationStrategy: {}, - OnDemandBaseCapacity: { type: "integer" }, - OnDemandPercentageAboveBaseCapacity: { type: "integer" }, - SpotAllocationStrategy: {}, - SpotInstancePools: { type: "integer" }, - SpotMaxPrice: {}, - }, + required: ["DeviceId"], + }, + output: { + type: "structure", + members: { + DeviceMethodResponse: { locationName: "deviceMethodResponse" }, }, }, }, - S1b: { type: "list", member: {} }, - S1e: { type: "list", member: {} }, - S1n: { - type: "list", - member: { + ListDeviceEvents: { + http: { + method: "GET", + requestUri: "/devices/{deviceId}/events", + responseCode: 200, + }, + input: { type: "structure", - required: ["Key"], members: { - ResourceId: {}, - ResourceType: {}, - Key: {}, - Value: {}, - PropagateAtLaunch: { type: "boolean" }, + DeviceId: { location: "uri", locationName: "deviceId" }, + FromTimeStamp: { + shape: "So", + location: "querystring", + locationName: "fromTimeStamp", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + ToTimeStamp: { + shape: "So", + location: "querystring", + locationName: "toTimeStamp", + }, }, + required: ["DeviceId", "FromTimeStamp", "ToTimeStamp"], }, - }, - S1u: { type: "list", member: {} }, - S1v: { type: "list", member: {} }, - S1x: { - type: "list", - member: { + output: { type: "structure", - required: ["DeviceName"], members: { - VirtualName: {}, - DeviceName: {}, - Ebs: { - type: "structure", - members: { - SnapshotId: {}, - VolumeSize: { type: "integer" }, - VolumeType: {}, - DeleteOnTermination: { type: "boolean" }, - Iops: { type: "integer" }, - Encrypted: { type: "boolean" }, + Events: { + locationName: "events", + type: "list", + member: { + type: "structure", + members: { + Device: { + locationName: "device", + type: "structure", + members: { + Attributes: { + locationName: "attributes", + type: "structure", + members: {}, + }, + DeviceId: { locationName: "deviceId" }, + Type: { locationName: "type" }, + }, + }, + StdEvent: { locationName: "stdEvent" }, + }, }, }, - NoDevice: { type: "boolean" }, + NextToken: { locationName: "nextToken" }, }, }, }, - S26: { type: "structure", members: { Enabled: { type: "boolean" } } }, - S2u: { type: "list", member: {} }, - S36: { - type: "list", - member: { + ListDevices: { + http: { method: "GET", requestUri: "/devices", responseCode: 200 }, + input: { type: "structure", members: { - ResourceId: {}, - ResourceType: {}, - Key: {}, - Value: {}, - PropagateAtLaunch: { type: "boolean" }, + DeviceType: { + location: "querystring", + locationName: "deviceType", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + }, + }, + output: { + type: "structure", + members: { + Devices: { + locationName: "devices", + type: "list", + member: { shape: "S8" }, + }, + NextToken: { locationName: "nextToken" }, }, }, }, - S3d: { type: "list", member: {} }, - S4d: { type: "integer", deprecated: true }, - S4g: { - type: "list", - member: { + ListTagsForResource: { + http: { + method: "GET", + requestUri: "/tags/{resource-arn}", + responseCode: 200, + }, + input: { type: "structure", - required: ["ScalingAdjustment"], members: { - MetricIntervalLowerBound: { type: "double" }, - MetricIntervalUpperBound: { type: "double" }, - ScalingAdjustment: { type: "integer" }, + ResourceArn: { location: "uri", locationName: "resource-arn" }, }, + required: ["ResourceArn"], + }, + output: { + type: "structure", + members: { Tags: { shape: "Sc", locationName: "tags" } }, }, }, - S4k: { - type: "list", - member: { + TagResource: { + http: { requestUri: "/tags/{resource-arn}", responseCode: 204 }, + input: { type: "structure", - members: { AlarmName: {}, AlarmARN: {} }, + members: { + ResourceArn: { location: "uri", locationName: "resource-arn" }, + Tags: { shape: "Sc", locationName: "tags" }, + }, + required: ["ResourceArn", "Tags"], }, }, - S4m: { - type: "structure", - required: ["TargetValue"], - members: { - PredefinedMetricSpecification: { - type: "structure", - required: ["PredefinedMetricType"], - members: { PredefinedMetricType: {}, ResourceLabel: {} }, + UnclaimDevice: { + http: { + method: "PUT", + requestUri: "/devices/{deviceId}/unclaim", + responseCode: 200, + }, + input: { + type: "structure", + members: { + DeviceId: { location: "uri", locationName: "deviceId" }, }, - CustomizedMetricSpecification: { - type: "structure", - required: ["MetricName", "Namespace", "Statistic"], - members: { - MetricName: {}, - Namespace: {}, - Dimensions: { - type: "list", - member: { - type: "structure", - required: ["Name", "Value"], - members: { Name: {}, Value: {} }, - }, - }, - Statistic: {}, - Unit: {}, + required: ["DeviceId"], + }, + output: { + type: "structure", + members: { State: { locationName: "state" } }, + }, + }, + UntagResource: { + http: { + method: "DELETE", + requestUri: "/tags/{resource-arn}", + responseCode: 204, + }, + input: { + type: "structure", + members: { + ResourceArn: { location: "uri", locationName: "resource-arn" }, + TagKeys: { + location: "querystring", + locationName: "tagKeys", + type: "list", + member: {}, }, }, - TargetValue: { type: "double" }, - DisableScaleIn: { type: "boolean" }, + required: ["TagKeys", "ResourceArn"], }, }, - S53: { type: "list", member: { shape: "S54" } }, - S54: { + UpdateDeviceState: { + http: { + method: "PUT", + requestUri: "/devices/{deviceId}/state", + responseCode: 200, + }, + input: { + type: "structure", + members: { + DeviceId: { location: "uri", locationName: "deviceId" }, + Enabled: { locationName: "enabled", type: "boolean" }, + }, + required: ["DeviceId"], + }, + output: { type: "structure", members: {} }, + }, + }, + shapes: { + S8: { type: "structure", - required: [ - "ActivityId", - "AutoScalingGroupName", - "Cause", - "StartTime", - "StatusCode", - ], members: { - ActivityId: {}, - AutoScalingGroupName: {}, - Description: {}, - Cause: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - StatusCode: {}, - StatusMessage: {}, - Progress: { type: "integer" }, - Details: {}, + Arn: { locationName: "arn" }, + Attributes: { + locationName: "attributes", + type: "map", + key: {}, + value: {}, + }, + DeviceId: { locationName: "deviceId" }, + Enabled: { locationName: "enabled", type: "boolean" }, + RemainingLife: { locationName: "remainingLife", type: "double" }, + Type: { locationName: "type" }, + Tags: { shape: "Sc", locationName: "tags" }, }, }, - S5s: { type: "list", member: {} }, - S68: { + Sc: { type: "map", key: {}, value: {} }, + Si: { type: "structure", - required: ["AutoScalingGroupName"], members: { - AutoScalingGroupName: {}, - ScalingProcesses: { type: "list", member: {} }, + DeviceType: { locationName: "deviceType" }, + MethodName: { locationName: "methodName" }, }, }, + So: { type: "timestamp", timestampFormat: "iso8601" }, }, }; /***/ }, - /***/ 3694: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["schemas"] = {}; - AWS.Schemas = Service.defineService("schemas", ["2019-12-02"]); - Object.defineProperty(apiLoader.services["schemas"], "2019-12-02", { - get: function get() { - var model = __webpack_require__(1176); - model.paginators = __webpack_require__(8116).pagination; - model.waiters = __webpack_require__(9999).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Schemas; - - /***/ - }, + /***/ 2950: /***/ function (__unusedmodule, exports, __webpack_require__) { + "use strict"; - /***/ 3696: /***/ function (module) { - function AcceptorStateMachine(states, state) { - this.currentState = state || null; - this.states = states || {}; + Object.defineProperty(exports, "__esModule", { value: true }); + const url = __webpack_require__(8835); + function getProxyUrl(reqUrl) { + let usingSsl = reqUrl.protocol === "https:"; + let proxyUrl; + if (checkBypass(reqUrl)) { + return proxyUrl; + } + let proxyVar; + if (usingSsl) { + proxyVar = process.env["https_proxy"] || process.env["HTTPS_PROXY"]; + } else { + proxyVar = process.env["http_proxy"] || process.env["HTTP_PROXY"]; + } + if (proxyVar) { + proxyUrl = url.parse(proxyVar); + } + return proxyUrl; } - - AcceptorStateMachine.prototype.runTo = function runTo( - finalState, - done, - bindObject, - inputError - ) { - if (typeof finalState === "function") { - inputError = bindObject; - bindObject = done; - done = finalState; - finalState = null; + exports.getProxyUrl = getProxyUrl; + function checkBypass(reqUrl) { + if (!reqUrl.hostname) { + return false; } - - var self = this; - var state = self.states[self.currentState]; - state.fn.call(bindObject || self, inputError, function (err) { - if (err) { - if (state.fail) self.currentState = state.fail; - else return done ? done.call(bindObject, err) : null; - } else { - if (state.accept) self.currentState = state.accept; - else return done ? done.call(bindObject) : null; - } - if (self.currentState === finalState) { - return done ? done.call(bindObject, err) : null; + let noProxy = process.env["no_proxy"] || process.env["NO_PROXY"] || ""; + if (!noProxy) { + return false; + } + // Determine the request port + let reqPort; + if (reqUrl.port) { + reqPort = Number(reqUrl.port); + } else if (reqUrl.protocol === "http:") { + reqPort = 80; + } else if (reqUrl.protocol === "https:") { + reqPort = 443; + } + // Format the request hostname and hostname with port + let upperReqHosts = [reqUrl.hostname.toUpperCase()]; + if (typeof reqPort === "number") { + upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); + } + // Compare request host against noproxy + for (let upperNoProxyItem of noProxy + .split(",") + .map((x) => x.trim().toUpperCase()) + .filter((x) => x)) { + if (upperReqHosts.some((x) => x === upperNoProxyItem)) { + return true; } - - self.runTo(finalState, done, bindObject, err); - }); - }; - - AcceptorStateMachine.prototype.addState = function addState( - name, - acceptState, - failState, - fn - ) { - if (typeof acceptState === "function") { - fn = acceptState; - acceptState = null; - failState = null; - } else if (typeof failState === "function") { - fn = failState; - failState = null; } - - if (!this.currentState) this.currentState = name; - this.states[name] = { accept: acceptState, fail: failState, fn: fn }; - return this; - }; - - /** - * @api private - */ - module.exports = AcceptorStateMachine; + return false; + } + exports.checkBypass = checkBypass; /***/ }, - /***/ 3707: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["kinesisvideo"] = {}; - AWS.KinesisVideo = Service.defineService("kinesisvideo", ["2017-09-30"]); - Object.defineProperty(apiLoader.services["kinesisvideo"], "2017-09-30", { - get: function get() { - var model = __webpack_require__(2766); - model.paginators = __webpack_require__(6207).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.KinesisVideo; - - /***/ - }, - - /***/ 3711: /***/ function ( + /***/ 2966: /***/ function ( __unusedmodule, __unusedexports, __webpack_require__ ) { var AWS = __webpack_require__(395); - var inherit = AWS.util.inherit; + var STS = __webpack_require__(1733); /** - * The endpoint that a service will talk to, for example, - * `'https://ec2.ap-southeast-1.amazonaws.com'`. If - * you need to override an endpoint for a service, you can - * set the endpoint on a service by passing the endpoint - * object with the `endpoint` option key: + * Represents credentials retrieved from STS SAML support. + * + * By default this provider gets credentials using the + * {AWS.STS.assumeRoleWithSAML} service operation. This operation + * requires a `RoleArn` containing the ARN of the IAM trust policy for the + * application for which credentials will be given, as well as a `PrincipalArn` + * representing the ARN for the SAML identity provider. In addition, the + * `SAMLAssertion` must be set to the token provided by the identity + * provider. See {constructor} for an example on creating a credentials + * object with proper `RoleArn`, `PrincipalArn`, and `SAMLAssertion` values. + * + * ## Refreshing Credentials from Identity Service + * + * In addition to AWS credentials expiring after a given amount of time, the + * login token from the identity provider will also expire. Once this token + * expires, it will not be usable to refresh AWS credentials, and another + * token will be needed. The SDK does not manage refreshing of the token value, + * but this can be done through a "refresh token" supported by most identity + * providers. Consult the documentation for the identity provider for refreshing + * tokens. Once the refreshed token is acquired, you should make sure to update + * this new token in the credentials object's {params} property. The following + * code will update the SAMLAssertion, assuming you have retrieved an updated + * token from the identity provider: * * ```javascript - * var ep = new AWS.Endpoint('awsproxy.example.com'); - * var s3 = new AWS.S3({endpoint: ep}); - * s3.service.endpoint.hostname == 'awsproxy.example.com' + * AWS.config.credentials.params.SAMLAssertion = updatedToken; * ``` * - * Note that if you do not specify a protocol, the protocol will - * be selected based on your current {AWS.config} configuration. - * - * @!attribute protocol - * @return [String] the protocol (http or https) of the endpoint - * URL - * @!attribute hostname - * @return [String] the host portion of the endpoint, e.g., - * example.com - * @!attribute host - * @return [String] the host portion of the endpoint including - * the port, e.g., example.com:80 - * @!attribute port - * @return [Integer] the port of the endpoint - * @!attribute href - * @return [String] the full URL of the endpoint - */ - AWS.Endpoint = inherit({ - /** - * @overload Endpoint(endpoint) - * Constructs a new endpoint given an endpoint URL. If the - * URL omits a protocol (http or https), the default protocol - * set in the global {AWS.config} will be used. - * @param endpoint [String] the URL to construct an endpoint from - */ - constructor: function Endpoint(endpoint, config) { - AWS.util.hideProperties(this, [ - "slashes", - "auth", - "hash", - "search", - "query", - ]); - - if (typeof endpoint === "undefined" || endpoint === null) { - throw new Error("Invalid endpoint: " + endpoint); - } else if (typeof endpoint !== "string") { - return AWS.util.copy(endpoint); - } - - if (!endpoint.match(/^http/)) { - var useSSL = - config && config.sslEnabled !== undefined - ? config.sslEnabled - : AWS.config.sslEnabled; - endpoint = (useSSL ? "https" : "http") + "://" + endpoint; - } - - AWS.util.update(this, AWS.util.urlParse(endpoint)); - - // Ensure the port property is set as an integer - if (this.port) { - this.port = parseInt(this.port, 10); - } else { - this.port = this.protocol === "https:" ? 443 : 80; - } - }, - }); - - /** - * The low level HTTP request object, encapsulating all HTTP header - * and body data sent by a service request. + * Future calls to `credentials.refresh()` will now use the new token. * - * @!attribute method - * @return [String] the HTTP method of the request - * @!attribute path - * @return [String] the path portion of the URI, e.g., - * "/list/?start=5&num=10" - * @!attribute headers - * @return [map] - * a map of header keys and their respective values - * @!attribute body - * @return [String] the request body payload - * @!attribute endpoint - * @return [AWS.Endpoint] the endpoint for the request - * @!attribute region - * @api private - * @return [String] the region, for signing purposes only. + * @!attribute params + * @return [map] the map of params passed to + * {AWS.STS.assumeRoleWithSAML}. To update the token, set the + * `params.SAMLAssertion` property. */ - AWS.HttpRequest = inherit({ - /** - * @api private - */ - constructor: function HttpRequest(endpoint, region) { - endpoint = new AWS.Endpoint(endpoint); - this.method = "POST"; - this.path = endpoint.path || "/"; - this.headers = {}; - this.body = ""; - this.endpoint = endpoint; - this.region = region; - this._userAgent = ""; - this.setUserAgent(); - }, - - /** - * @api private - */ - setUserAgent: function setUserAgent() { - this._userAgent = this.headers[ - this.getUserAgentHeaderName() - ] = AWS.util.userAgent(); - }, - - getUserAgentHeaderName: function getUserAgentHeaderName() { - var prefix = AWS.util.isBrowser() ? "X-Amz-" : ""; - return prefix + "User-Agent"; - }, - - /** - * @api private - */ - appendToUserAgent: function appendToUserAgent(agentPartial) { - if (typeof agentPartial === "string" && agentPartial) { - this._userAgent += " " + agentPartial; - } - this.headers[this.getUserAgentHeaderName()] = this._userAgent; - }, - - /** - * @api private - */ - getUserAgent: function getUserAgent() { - return this._userAgent; - }, - + AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, { /** - * @return [String] the part of the {path} excluding the - * query string + * Creates a new credentials object. + * @param (see AWS.STS.assumeRoleWithSAML) + * @example Creating a new credentials object + * AWS.config.credentials = new AWS.SAMLCredentials({ + * RoleArn: 'arn:aws:iam::1234567890:role/SAMLRole', + * PrincipalArn: 'arn:aws:iam::1234567890:role/SAMLPrincipal', + * SAMLAssertion: 'base64-token', // base64-encoded token from IdP + * }); + * @see AWS.STS.assumeRoleWithSAML */ - pathname: function pathname() { - return this.path.split("?", 1)[0]; + constructor: function SAMLCredentials(params) { + AWS.Credentials.call(this); + this.expired = true; + this.params = params; }, /** - * @return [String] the query string portion of the {path} + * Refreshes credentials using {AWS.STS.assumeRoleWithSAML} + * + * @callback callback function(err) + * Called when the STS service responds (or fails). When + * this callback is called with no error, it means that the credentials + * information has been loaded into the object (as the `accessKeyId`, + * `secretAccessKey`, and `sessionToken` properties). + * @param err [Error] if an error occurred, this value will be filled + * @see get */ - search: function search() { - var query = this.path.split("?", 2)[1]; - if (query) { - query = AWS.util.queryStringParse(query); - return AWS.util.queryParamsToString(query); - } - return ""; + refresh: function refresh(callback) { + this.coalesceRefresh(callback || AWS.util.fn.callback); }, /** * @api private - * update httpRequest endpoint with endpoint string */ - updateEndpoint: function updateEndpoint(endpointStr) { - var newEndpoint = new AWS.Endpoint(endpointStr); - this.endpoint = newEndpoint; - this.path = newEndpoint.path || "/"; - if (this.headers["Host"]) { - this.headers["Host"] = newEndpoint.host; - } + load: function load(callback) { + var self = this; + self.createClients(); + self.service.assumeRoleWithSAML(function (err, data) { + if (!err) { + self.service.credentialsFrom(data, self); + } + callback(err); + }); }, - }); - /** - * The low level HTTP response object, encapsulating all HTTP header - * and body data returned from the request. - * - * @!attribute statusCode - * @return [Integer] the HTTP status code of the response (e.g., 200, 404) - * @!attribute headers - * @return [map] - * a map of response header keys and their respective values - * @!attribute body - * @return [String] the response body payload - * @!attribute [r] streaming - * @return [Boolean] whether this response is being streamed at a low-level. - * Defaults to `false` (buffered reads). Do not modify this manually, use - * {createUnbufferedStream} to convert the stream to unbuffered mode - * instead. - */ - AWS.HttpResponse = inherit({ /** * @api private */ - constructor: function HttpResponse() { - this.statusCode = undefined; - this.headers = {}; - this.body = undefined; - this.streaming = false; - this.stream = null; - }, - - /** - * Disables buffering on the HTTP response and returns the stream for reading. - * @return [Stream, XMLHttpRequest, null] the underlying stream object. - * Use this object to directly read data off of the stream. - * @note This object is only available after the {AWS.Request~httpHeaders} - * event has fired. This method must be called prior to - * {AWS.Request~httpData}. - * @example Taking control of a stream - * request.on('httpHeaders', function(statusCode, headers) { - * if (statusCode < 300) { - * if (headers.etag === 'xyz') { - * // pipe the stream, disabling buffering - * var stream = this.response.httpResponse.createUnbufferedStream(); - * stream.pipe(process.stdout); - * } else { // abort this request and set a better error message - * this.abort(); - * this.response.error = new Error('Invalid ETag'); - * } - * } - * }).send(console.log); - */ - createUnbufferedStream: function createUnbufferedStream() { - this.streaming = true; - return this.stream; + createClients: function () { + this.service = this.service || new STS({ params: this.params }); }, }); - AWS.HttpClient = inherit({}); - - /** - * @api private - */ - AWS.HttpClient.getInstance = function getInstance() { - if (this.singleton === undefined) { - this.singleton = new this(); - } - return this.singleton; - }; - - /***/ - }, - - /***/ 3725: /***/ function (module) { - module.exports = { pagination: {} }; - /***/ }, - /***/ 3753: /***/ function (module) { + /***/ 2971: /***/ function (module) { module.exports = { pagination: { - DescribeBackups: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + ListApplicationRevisions: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "revisions", }, - DescribeDataRepositoryTasks: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + ListApplications: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "applications", }, - DescribeFileSystems: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + ListDeploymentConfigs: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "deploymentConfigsList", + }, + ListDeploymentGroups: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "deploymentGroups", + }, + ListDeploymentInstances: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "instancesList", + }, + ListDeployments: { + input_token: "nextToken", + output_token: "nextToken", + result_key: "deployments", }, }, }; @@ -105097,757 +107866,999 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 3754: /***/ function (module, __unusedexports, __webpack_require__) { + /***/ 2982: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { var AWS = __webpack_require__(395); - var v4Credentials = __webpack_require__(9819); - var inherit = AWS.util.inherit; + var proc = __webpack_require__(3129); + var iniLoader = AWS.util.iniLoader; /** - * @api private + * Represents credentials loaded from shared credentials file + * (defaulting to ~/.aws/credentials or defined by the + * `AWS_SHARED_CREDENTIALS_FILE` environment variable). + * + * ## Using process credentials + * + * The credentials file can specify a credential provider that executes + * a given process and attempts to read its stdout to recieve a JSON payload + * containing the credentials: + * + * [default] + * credential_process = /usr/bin/credential_proc + * + * Automatically handles refreshing credentials if an Expiration time is + * provided in the credentials payload. Credentials supplied in the same profile + * will take precedence over the credential_process. + * + * Sourcing credentials from an external process can potentially be dangerous, + * so proceed with caution. Other credential providers should be preferred if + * at all possible. If using this option, you should make sure that the shared + * credentials file is as locked down as possible using security best practices + * for your operating system. + * + * ## Using custom profiles + * + * The SDK supports loading credentials for separate profiles. This can be done + * in two ways: + * + * 1. Set the `AWS_PROFILE` environment variable in your process prior to + * loading the SDK. + * 2. Directly load the AWS.ProcessCredentials provider: + * + * ```javascript + * var creds = new AWS.ProcessCredentials({profile: 'myprofile'}); + * AWS.config.credentials = creds; + * ``` + * + * @!macro nobrowser */ - var expiresHeader = "presigned-expires"; + AWS.ProcessCredentials = AWS.util.inherit(AWS.Credentials, { + /** + * Creates a new ProcessCredentials object. + * + * @param options [map] a set of options + * @option options profile [String] (AWS_PROFILE env var or 'default') + * the name of the profile to load. + * @option options filename [String] ('~/.aws/credentials' or defined by + * AWS_SHARED_CREDENTIALS_FILE process env var) + * the filename to use when loading credentials. + * @option options callback [Function] (err) Credentials are eagerly loaded + * by the constructor. When the callback is called with no error, the + * credentials have been loaded successfully. + */ + constructor: function ProcessCredentials(options) { + AWS.Credentials.call(this); - /** - * @api private - */ - AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, { - constructor: function V4(request, serviceName, options) { - AWS.Signers.RequestSigner.call(this, request); - this.serviceName = serviceName; options = options || {}; - this.signatureCache = - typeof options.signatureCache === "boolean" - ? options.signatureCache - : true; - this.operation = options.operation; - this.signatureVersion = options.signatureVersion; - }, - - algorithm: "AWS4-HMAC-SHA256", - addAuthorization: function addAuthorization(credentials, date) { - var datetime = AWS.util.date - .iso8601(date) - .replace(/[:\-]|\.\d{3}/g, ""); - - if (this.isPresigned()) { - this.updateForPresigned(credentials, datetime); - } else { - this.addHeaders(credentials, datetime); - } - - this.request.headers["Authorization"] = this.authorization( - credentials, - datetime - ); + this.filename = options.filename; + this.profile = + options.profile || + process.env.AWS_PROFILE || + AWS.util.defaultProfile; + this.get(options.callback || AWS.util.fn.noop); }, - addHeaders: function addHeaders(credentials, datetime) { - this.request.headers["X-Amz-Date"] = datetime; - if (credentials.sessionToken) { - this.request.headers["x-amz-security-token"] = - credentials.sessionToken; - } - }, + /** + * @api private + */ + load: function load(callback) { + var self = this; + try { + var profiles = AWS.util.getProfilesFromSharedConfig( + iniLoader, + this.filename + ); + var profile = profiles[this.profile] || {}; - updateForPresigned: function updateForPresigned(credentials, datetime) { - var credString = this.credentialString(datetime); - var qs = { - "X-Amz-Date": datetime, - "X-Amz-Algorithm": this.algorithm, - "X-Amz-Credential": credentials.accessKeyId + "/" + credString, - "X-Amz-Expires": this.request.headers[expiresHeader], - "X-Amz-SignedHeaders": this.signedHeaders(), - }; + if (Object.keys(profile).length === 0) { + throw AWS.util.error( + new Error("Profile " + this.profile + " not found"), + { code: "ProcessCredentialsProviderFailure" } + ); + } - if (credentials.sessionToken) { - qs["X-Amz-Security-Token"] = credentials.sessionToken; + if (profile["credential_process"]) { + this.loadViaCredentialProcess(profile, function (err, data) { + if (err) { + callback(err, null); + } else { + self.expired = false; + self.accessKeyId = data.AccessKeyId; + self.secretAccessKey = data.SecretAccessKey; + self.sessionToken = data.SessionToken; + if (data.Expiration) { + self.expireTime = new Date(data.Expiration); + } + callback(null); + } + }); + } else { + throw AWS.util.error( + new Error( + "Profile " + + this.profile + + " did not include credential process" + ), + { code: "ProcessCredentialsProviderFailure" } + ); + } + } catch (err) { + callback(err); } + }, - if (this.request.headers["Content-Type"]) { - qs["Content-Type"] = this.request.headers["Content-Type"]; - } - if (this.request.headers["Content-MD5"]) { - qs["Content-MD5"] = this.request.headers["Content-MD5"]; - } - if (this.request.headers["Cache-Control"]) { - qs["Cache-Control"] = this.request.headers["Cache-Control"]; - } + /** + * Executes the credential_process and retrieves + * credentials from the output + * @api private + * @param profile [map] credentials profile + * @throws ProcessCredentialsProviderFailure + */ + loadViaCredentialProcess: function loadViaCredentialProcess( + profile, + callback + ) { + proc.exec(profile["credential_process"], function ( + err, + stdOut, + stdErr + ) { + if (err) { + callback( + AWS.util.error(new Error("credential_process returned error"), { + code: "ProcessCredentialsProviderFailure", + }), + null + ); + } else { + try { + var credData = JSON.parse(stdOut); + if (credData.Expiration) { + var currentTime = AWS.util.date.getDate(); + var expireTime = new Date(credData.Expiration); + if (expireTime < currentTime) { + throw Error( + "credential_process returned expired credentials" + ); + } + } - // need to pull in any other X-Amz-* headers - AWS.util.each.call(this, this.request.headers, function (key, value) { - if (key === expiresHeader) return; - if (this.isSignableHeader(key)) { - var lowerKey = key.toLowerCase(); - // Metadata should be normalized - if (lowerKey.indexOf("x-amz-meta-") === 0) { - qs[lowerKey] = value; - } else if (lowerKey.indexOf("x-amz-") === 0) { - qs[key] = value; + if (credData.Version !== 1) { + throw Error( + "credential_process does not return Version == 1" + ); + } + callback(null, credData); + } catch (err) { + callback( + AWS.util.error(new Error(err.message), { + code: "ProcessCredentialsProviderFailure", + }), + null + ); } } }); - - var sep = this.request.path.indexOf("?") >= 0 ? "&" : "?"; - this.request.path += sep + AWS.util.queryParamsToString(qs); }, - authorization: function authorization(credentials, datetime) { - var parts = []; - var credString = this.credentialString(datetime); - parts.push( - this.algorithm + - " Credential=" + - credentials.accessKeyId + - "/" + - credString - ); - parts.push("SignedHeaders=" + this.signedHeaders()); - parts.push("Signature=" + this.signature(credentials, datetime)); - return parts.join(", "); + /** + * Loads the credentials from the credential process + * + * @callback callback function(err) + * Called after the credential process has been executed. When this + * callback is called with no error, it means that the credentials + * information has been loaded into the object (as the `accessKeyId`, + * `secretAccessKey`, and `sessionToken` properties). + * @param err [Error] if an error occurred, this value will be filled + * @see get + */ + refresh: function refresh(callback) { + iniLoader.clearCachedFiles(); + this.coalesceRefresh(callback || AWS.util.fn.callback); }, + }); - signature: function signature(credentials, datetime) { - var signingKey = v4Credentials.getSigningKey( - credentials, - datetime.substr(0, 8), - this.request.region, - this.serviceName, - this.signatureCache - ); - return AWS.util.crypto.hmac( - signingKey, - this.stringToSign(datetime), - "hex" - ); - }, + /***/ + }, - stringToSign: function stringToSign(datetime) { - var parts = []; - parts.push("AWS4-HMAC-SHA256"); - parts.push(datetime); - parts.push(this.credentialString(datetime)); - parts.push(this.hexEncodedHash(this.canonicalString())); - return parts.join("\n"); - }, + /***/ 3009: /***/ function (module, __unusedexports, __webpack_require__) { + var once = __webpack_require__(6049); - canonicalString: function canonicalString() { - var parts = [], - pathname = this.request.pathname(); - if (this.serviceName !== "s3" && this.signatureVersion !== "s3v4") - pathname = AWS.util.uriEscapePath(pathname); + var noop = function () {}; - parts.push(this.request.method); - parts.push(pathname); - parts.push(this.request.search()); - parts.push(this.canonicalHeaders() + "\n"); - parts.push(this.signedHeaders()); - parts.push(this.hexEncodedBodyHash()); - return parts.join("\n"); - }, + var isRequest = function (stream) { + return stream.setHeader && typeof stream.abort === "function"; + }; - canonicalHeaders: function canonicalHeaders() { - var headers = []; - AWS.util.each.call(this, this.request.headers, function (key, item) { - headers.push([key, item]); - }); - headers.sort(function (a, b) { - return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1; - }); - var parts = []; - AWS.util.arrayEach.call(this, headers, function (item) { - var key = item[0].toLowerCase(); - if (this.isSignableHeader(key)) { - var value = item[1]; - if ( - typeof value === "undefined" || - value === null || - typeof value.toString !== "function" - ) { - throw AWS.util.error( - new Error("Header " + key + " contains invalid value"), - { - code: "InvalidHeader", - } - ); - } - parts.push( - key + ":" + this.canonicalHeaderValues(value.toString()) - ); - } - }); - return parts.join("\n"); - }, + var isChildProcess = function (stream) { + return ( + stream.stdio && + Array.isArray(stream.stdio) && + stream.stdio.length === 3 + ); + }; - canonicalHeaderValues: function canonicalHeaderValues(values) { - return values.replace(/\s+/g, " ").replace(/^\s+|\s+$/g, ""); - }, + var eos = function (stream, opts, callback) { + if (typeof opts === "function") return eos(stream, null, opts); + if (!opts) opts = {}; - signedHeaders: function signedHeaders() { - var keys = []; - AWS.util.each.call(this, this.request.headers, function (key) { - key = key.toLowerCase(); - if (this.isSignableHeader(key)) keys.push(key); - }); - return keys.sort().join(";"); - }, + callback = once(callback || noop); - credentialString: function credentialString(datetime) { - return v4Credentials.createScope( - datetime.substr(0, 8), - this.request.region, - this.serviceName + var ws = stream._writableState; + var rs = stream._readableState; + var readable = + opts.readable || (opts.readable !== false && stream.readable); + var writable = + opts.writable || (opts.writable !== false && stream.writable); + var cancelled = false; + + var onlegacyfinish = function () { + if (!stream.writable) onfinish(); + }; + + var onfinish = function () { + writable = false; + if (!readable) callback.call(stream); + }; + + var onend = function () { + readable = false; + if (!writable) callback.call(stream); + }; + + var onexit = function (exitCode) { + callback.call( + stream, + exitCode ? new Error("exited with error code: " + exitCode) : null ); - }, + }; - hexEncodedHash: function hash(string) { - return AWS.util.crypto.sha256(string, "hex"); - }, + var onerror = function (err) { + callback.call(stream, err); + }; - hexEncodedBodyHash: function hexEncodedBodyHash() { - var request = this.request; - if ( - this.isPresigned() && - this.serviceName === "s3" && - !request.body - ) { - return "UNSIGNED-PAYLOAD"; - } else if (request.headers["X-Amz-Content-Sha256"]) { - return request.headers["X-Amz-Content-Sha256"]; - } else { - return this.hexEncodedHash(this.request.body || ""); - } - }, + var onclose = function () { + process.nextTick(onclosenexttick); + }; - unsignableHeaders: [ - "authorization", - "content-type", - "content-length", - "user-agent", - expiresHeader, - "expect", - "x-amzn-trace-id", - ], + var onclosenexttick = function () { + if (cancelled) return; + if (readable && !(rs && rs.ended && !rs.destroyed)) + return callback.call(stream, new Error("premature close")); + if (writable && !(ws && ws.ended && !ws.destroyed)) + return callback.call(stream, new Error("premature close")); + }; - isSignableHeader: function isSignableHeader(key) { - if (key.toLowerCase().indexOf("x-amz-") === 0) return true; - return this.unsignableHeaders.indexOf(key) < 0; - }, + var onrequest = function () { + stream.req.on("finish", onfinish); + }; - isPresigned: function isPresigned() { - return this.request.headers[expiresHeader] ? true : false; - }, - }); + if (isRequest(stream)) { + stream.on("complete", onfinish); + stream.on("abort", onclose); + if (stream.req) onrequest(); + else stream.on("request", onrequest); + } else if (writable && !ws) { + // legacy streams + stream.on("end", onlegacyfinish); + stream.on("close", onlegacyfinish); + } - /** - * @api private - */ - module.exports = AWS.Signers.V4; + if (isChildProcess(stream)) stream.on("exit", onexit); - /***/ - }, + stream.on("end", onend); + stream.on("finish", onfinish); + if (opts.error !== false) stream.on("error", onerror); + stream.on("close", onclose); - /***/ 3756: /***/ function (module) { - module.exports = { - pagination: { - DescribeDBEngineVersions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBEngineVersions", - }, - DescribeDBInstances: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBInstances", - }, - DescribeDBLogFiles: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DescribeDBLogFiles", - }, - DescribeDBParameterGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBParameterGroups", - }, - DescribeDBParameters: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "Parameters", - }, - DescribeDBSecurityGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBSecurityGroups", - }, - DescribeDBSnapshots: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBSnapshots", - }, - DescribeDBSubnetGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBSubnetGroups", - }, - DescribeEngineDefaultParameters: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "EngineDefaults.Marker", - result_key: "EngineDefaults.Parameters", - }, - DescribeEventSubscriptions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "EventSubscriptionsList", - }, - DescribeEvents: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "Events", - }, - DescribeOptionGroupOptions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "OptionGroupOptions", - }, - DescribeOptionGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "OptionGroupsList", - }, - DescribeOrderableDBInstanceOptions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "OrderableDBInstanceOptions", - }, - DescribeReservedDBInstances: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "ReservedDBInstances", - }, - DescribeReservedDBInstancesOfferings: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "ReservedDBInstancesOfferings", - }, - DownloadDBLogFilePortion: { - input_token: "Marker", - limit_key: "NumberOfLines", - more_results: "AdditionalDataPending", - output_token: "Marker", - result_key: "LogFileData", - }, - ListTagsForResource: { result_key: "TagList" }, - }, + return function () { + cancelled = true; + stream.removeListener("complete", onfinish); + stream.removeListener("abort", onclose); + stream.removeListener("request", onrequest); + if (stream.req) stream.req.removeListener("finish", onfinish); + stream.removeListener("end", onlegacyfinish); + stream.removeListener("close", onlegacyfinish); + stream.removeListener("finish", onfinish); + stream.removeListener("exit", onexit); + stream.removeListener("end", onend); + stream.removeListener("error", onerror); + stream.removeListener("close", onclose); + }; }; + module.exports = eos; + /***/ }, - /***/ 3762: /***/ function (module) { + /***/ 3034: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2018-09-24", - endpointPrefix: "managedblockchain", + apiVersion: "2017-04-28", + endpointPrefix: "cloudhsmv2", jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "ManagedBlockchain", - serviceFullName: "Amazon Managed Blockchain", - serviceId: "ManagedBlockchain", + protocol: "json", + serviceAbbreviation: "CloudHSM V2", + serviceFullName: "AWS CloudHSM V2", + serviceId: "CloudHSM V2", signatureVersion: "v4", - signingName: "managedblockchain", - uid: "managedblockchain-2018-09-24", + signingName: "cloudhsm", + targetPrefix: "BaldrApiService", + uid: "cloudhsmv2-2017-04-28", }, operations: { - CreateMember: { - http: { requestUri: "/networks/{networkId}/members" }, + CopyBackupToRegion: { input: { type: "structure", - required: [ - "ClientRequestToken", - "InvitationId", - "NetworkId", - "MemberConfiguration", - ], + required: ["DestinationRegion", "BackupId"], members: { - ClientRequestToken: { idempotencyToken: true }, - InvitationId: {}, - NetworkId: { location: "uri", locationName: "networkId" }, - MemberConfiguration: { shape: "S4" }, + DestinationRegion: {}, + BackupId: {}, + TagList: { shape: "S4" }, }, }, - output: { type: "structure", members: { MemberId: {} } }, - }, - CreateNetwork: { - http: { requestUri: "/networks" }, - input: { + output: { type: "structure", - required: [ - "ClientRequestToken", - "Name", - "Framework", - "FrameworkVersion", - "VotingPolicy", - "MemberConfiguration", - ], members: { - ClientRequestToken: { idempotencyToken: true }, - Name: {}, - Description: {}, - Framework: {}, - FrameworkVersion: {}, - FrameworkConfiguration: { + DestinationBackup: { type: "structure", members: { - Fabric: { - type: "structure", - required: ["Edition"], - members: { Edition: {} }, - }, + CreateTimestamp: { type: "timestamp" }, + SourceRegion: {}, + SourceBackup: {}, + SourceCluster: {}, }, }, - VotingPolicy: { shape: "So" }, - MemberConfiguration: { shape: "S4" }, + }, + }, + }, + CreateCluster: { + input: { + type: "structure", + required: ["HsmType", "SubnetIds"], + members: { + BackupRetentionPolicy: { shape: "Sd" }, + HsmType: {}, + SourceBackupId: {}, + SubnetIds: { type: "list", member: {} }, + TagList: { shape: "S4" }, }, }, output: { type: "structure", - members: { NetworkId: {}, MemberId: {} }, + members: { Cluster: { shape: "Sk" } }, }, }, - CreateNode: { - http: { - requestUri: "/networks/{networkId}/members/{memberId}/nodes", - }, + CreateHsm: { input: { type: "structure", - required: [ - "ClientRequestToken", - "NetworkId", - "MemberId", - "NodeConfiguration", - ], - members: { - ClientRequestToken: { idempotencyToken: true }, - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - NodeConfiguration: { - type: "structure", - required: ["InstanceType", "AvailabilityZone"], - members: { - InstanceType: {}, - AvailabilityZone: {}, - LogPublishingConfiguration: { shape: "Sy" }, - }, - }, - }, + required: ["ClusterId", "AvailabilityZone"], + members: { ClusterId: {}, AvailabilityZone: {}, IpAddress: {} }, }, - output: { type: "structure", members: { NodeId: {} } }, + output: { type: "structure", members: { Hsm: { shape: "Sn" } } }, }, - CreateProposal: { - http: { requestUri: "/networks/{networkId}/proposals" }, + DeleteBackup: { input: { type: "structure", - required: [ - "ClientRequestToken", - "NetworkId", - "MemberId", - "Actions", - ], - members: { - ClientRequestToken: { idempotencyToken: true }, - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: {}, - Actions: { shape: "S12" }, - Description: {}, - }, + required: ["BackupId"], + members: { BackupId: {} }, }, - output: { type: "structure", members: { ProposalId: {} } }, - }, - DeleteMember: { - http: { - method: "DELETE", - requestUri: "/networks/{networkId}/members/{memberId}", + output: { + type: "structure", + members: { Backup: { shape: "S16" } }, }, + }, + DeleteCluster: { input: { type: "structure", - required: ["NetworkId", "MemberId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - }, + required: ["ClusterId"], + members: { ClusterId: {} }, }, - output: { type: "structure", members: {} }, - }, - DeleteNode: { - http: { - method: "DELETE", - requestUri: - "/networks/{networkId}/members/{memberId}/nodes/{nodeId}", + output: { + type: "structure", + members: { Cluster: { shape: "Sk" } }, }, + }, + DeleteHsm: { input: { type: "structure", - required: ["NetworkId", "MemberId", "NodeId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - NodeId: { location: "uri", locationName: "nodeId" }, - }, + required: ["ClusterId"], + members: { ClusterId: {}, HsmId: {}, EniId: {}, EniIp: {} }, }, - output: { type: "structure", members: {} }, + output: { type: "structure", members: { HsmId: {} } }, }, - GetMember: { - http: { - method: "GET", - requestUri: "/networks/{networkId}/members/{memberId}", - }, + DescribeBackups: { input: { type: "structure", - required: ["NetworkId", "MemberId"], members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, + NextToken: {}, + MaxResults: { type: "integer" }, + Filters: { shape: "S1g" }, + SortAscending: { type: "boolean" }, }, }, output: { type: "structure", members: { - Member: { - type: "structure", - members: { - NetworkId: {}, - Id: {}, - Name: {}, - Description: {}, - FrameworkAttributes: { - type: "structure", - members: { - Fabric: { - type: "structure", - members: { AdminUsername: {}, CaEndpoint: {} }, - }, - }, - }, - LogPublishingConfiguration: { shape: "Sb" }, - Status: {}, - CreationDate: { shape: "S1k" }, - }, - }, + Backups: { type: "list", member: { shape: "S16" } }, + NextToken: {}, }, }, }, - GetNetwork: { - http: { method: "GET", requestUri: "/networks/{networkId}" }, + DescribeClusters: { input: { type: "structure", - required: ["NetworkId"], members: { - NetworkId: { location: "uri", locationName: "networkId" }, + Filters: { shape: "S1g" }, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - Network: { - type: "structure", - members: { - Id: {}, - Name: {}, - Description: {}, - Framework: {}, - FrameworkVersion: {}, - FrameworkAttributes: { - type: "structure", - members: { - Fabric: { - type: "structure", - members: { OrderingServiceEndpoint: {}, Edition: {} }, - }, - }, - }, - VpcEndpointServiceName: {}, - VotingPolicy: { shape: "So" }, - Status: {}, - CreationDate: { shape: "S1k" }, - }, - }, + Clusters: { type: "list", member: { shape: "Sk" } }, + NextToken: {}, }, }, }, - GetNode: { - http: { - method: "GET", - requestUri: - "/networks/{networkId}/members/{memberId}/nodes/{nodeId}", + InitializeCluster: { + input: { + type: "structure", + required: ["ClusterId", "SignedCert", "TrustAnchor"], + members: { ClusterId: {}, SignedCert: {}, TrustAnchor: {} }, + }, + output: { + type: "structure", + members: { State: {}, StateMessage: {} }, }, + }, + ListTags: { input: { type: "structure", - required: ["NetworkId", "MemberId", "NodeId"], + required: ["ResourceId"], members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - NodeId: { location: "uri", locationName: "nodeId" }, + ResourceId: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - members: { - Node: { - type: "structure", - members: { - NetworkId: {}, - MemberId: {}, - Id: {}, - InstanceType: {}, - AvailabilityZone: {}, - FrameworkAttributes: { - type: "structure", - members: { - Fabric: { - type: "structure", - members: { PeerEndpoint: {}, PeerEventEndpoint: {} }, - }, - }, - }, - LogPublishingConfiguration: { shape: "Sy" }, - Status: {}, - CreationDate: { shape: "S1k" }, - }, - }, - }, + required: ["TagList"], + members: { TagList: { shape: "S4" }, NextToken: {} }, }, }, - GetProposal: { - http: { - method: "GET", - requestUri: "/networks/{networkId}/proposals/{proposalId}", + ModifyBackupAttributes: { + input: { + type: "structure", + required: ["BackupId", "NeverExpires"], + members: { BackupId: {}, NeverExpires: { type: "boolean" } }, }, + output: { + type: "structure", + members: { Backup: { shape: "S16" } }, + }, + }, + ModifyCluster: { input: { type: "structure", - required: ["NetworkId", "ProposalId"], + required: ["BackupRetentionPolicy", "ClusterId"], members: { - NetworkId: { location: "uri", locationName: "networkId" }, - ProposalId: { location: "uri", locationName: "proposalId" }, + BackupRetentionPolicy: { shape: "Sd" }, + ClusterId: {}, }, }, output: { type: "structure", - members: { - Proposal: { - type: "structure", - members: { - ProposalId: {}, - NetworkId: {}, - Description: {}, - Actions: { shape: "S12" }, - ProposedByMemberId: {}, - ProposedByMemberName: {}, - Status: {}, - CreationDate: { shape: "S1k" }, - ExpirationDate: { shape: "S1k" }, - YesVoteCount: { type: "integer" }, - NoVoteCount: { type: "integer" }, - OutstandingVoteCount: { type: "integer" }, - }, - }, - }, + members: { Cluster: { shape: "Sk" } }, }, }, - ListInvitations: { - http: { method: "GET", requestUri: "/invitations" }, + RestoreBackup: { input: { type: "structure", + required: ["BackupId"], + members: { BackupId: {} }, + }, + output: { + type: "structure", + members: { Backup: { shape: "S16" } }, + }, + }, + TagResource: { + input: { + type: "structure", + required: ["ResourceId", "TagList"], + members: { ResourceId: {}, TagList: { shape: "S4" } }, + }, + output: { type: "structure", members: {} }, + }, + UntagResource: { + input: { + type: "structure", + required: ["ResourceId", "TagKeyList"], members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", + ResourceId: {}, + TagKeyList: { type: "list", member: {} }, + }, + }, + output: { type: "structure", members: {} }, + }, + }, + shapes: { + S4: { + type: "list", + member: { + type: "structure", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, + }, + }, + Sd: { type: "structure", members: { Type: {}, Value: {} } }, + Sk: { + type: "structure", + members: { + BackupPolicy: {}, + BackupRetentionPolicy: { shape: "Sd" }, + ClusterId: {}, + CreateTimestamp: { type: "timestamp" }, + Hsms: { type: "list", member: { shape: "Sn" } }, + HsmType: {}, + PreCoPassword: {}, + SecurityGroup: {}, + SourceBackupId: {}, + State: {}, + StateMessage: {}, + SubnetMapping: { type: "map", key: {}, value: {} }, + VpcId: {}, + Certificates: { + type: "structure", + members: { + ClusterCsr: {}, + HsmCertificate: {}, + AwsHardwareCertificate: {}, + ManufacturerHardwareCertificate: {}, + ClusterCertificate: {}, }, }, + TagList: { shape: "S4" }, }, - output: { + }, + Sn: { + type: "structure", + required: ["HsmId"], + members: { + AvailabilityZone: {}, + ClusterId: {}, + SubnetId: {}, + EniId: {}, + EniIp: {}, + HsmId: {}, + State: {}, + StateMessage: {}, + }, + }, + S16: { + type: "structure", + required: ["BackupId"], + members: { + BackupId: {}, + BackupState: {}, + ClusterId: {}, + CreateTimestamp: { type: "timestamp" }, + CopyTimestamp: { type: "timestamp" }, + NeverExpires: { type: "boolean" }, + SourceRegion: {}, + SourceBackup: {}, + SourceCluster: {}, + DeleteTimestamp: { type: "timestamp" }, + TagList: { shape: "S4" }, + }, + }, + S1g: { type: "map", key: {}, value: { type: "list", member: {} } }, + }, + }; + + /***/ + }, + + /***/ 3042: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["support"] = {}; + AWS.Support = Service.defineService("support", ["2013-04-15"]); + Object.defineProperty(apiLoader.services["support"], "2013-04-15", { + get: function get() { + var model = __webpack_require__(1010); + model.paginators = __webpack_require__(32).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.Support; + + /***/ + }, + + /***/ 3043: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); + var STS = __webpack_require__(1733); + + /** + * Represents temporary credentials retrieved from {AWS.STS}. Without any + * extra parameters, credentials will be fetched from the + * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the + * {AWS.STS.assumeRole} operation will be used to fetch credentials for the + * role instead. + * + * @note AWS.TemporaryCredentials is deprecated, but remains available for + * backwards compatibility. {AWS.ChainableTemporaryCredentials} is the + * preferred class for temporary credentials. + * + * To setup temporary credentials, configure a set of master credentials + * using the standard credentials providers (environment, EC2 instance metadata, + * or from the filesystem), then set the global credentials to a new + * temporary credentials object: + * + * ```javascript + * // Note that environment credentials are loaded by default, + * // the following line is shown for clarity: + * AWS.config.credentials = new AWS.EnvironmentCredentials('AWS'); + * + * // Now set temporary credentials seeded from the master credentials + * AWS.config.credentials = new AWS.TemporaryCredentials(); + * + * // subsequent requests will now use temporary credentials from AWS STS. + * new AWS.S3().listBucket(function(err, data) { ... }); + * ``` + * + * @!attribute masterCredentials + * @return [AWS.Credentials] the master (non-temporary) credentials used to + * get and refresh temporary credentials from AWS STS. + * @note (see constructor) + */ + AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, { + /** + * Creates a new temporary credentials object. + * + * @note In order to create temporary credentials, you first need to have + * "master" credentials configured in {AWS.Config.credentials}. These + * master credentials are necessary to retrieve the temporary credentials, + * as well as refresh the credentials when they expire. + * @param params [map] a map of options that are passed to the + * {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations. + * If a `RoleArn` parameter is passed in, credentials will be based on the + * IAM role. + * @param masterCredentials [AWS.Credentials] the master (non-temporary) credentials + * used to get and refresh temporary credentials from AWS STS. + * @example Creating a new credentials object for generic temporary credentials + * AWS.config.credentials = new AWS.TemporaryCredentials(); + * @example Creating a new credentials object for an IAM role + * AWS.config.credentials = new AWS.TemporaryCredentials({ + * RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials', + * }); + * @see AWS.STS.assumeRole + * @see AWS.STS.getSessionToken + */ + constructor: function TemporaryCredentials(params, masterCredentials) { + AWS.Credentials.call(this); + this.loadMasterCredentials(masterCredentials); + this.expired = true; + + this.params = params || {}; + if (this.params.RoleArn) { + this.params.RoleSessionName = + this.params.RoleSessionName || "temporary-credentials"; + } + }, + + /** + * Refreshes credentials using {AWS.STS.assumeRole} or + * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed + * to the credentials {constructor}. + * + * @callback callback function(err) + * Called when the STS service responds (or fails). When + * this callback is called with no error, it means that the credentials + * information has been loaded into the object (as the `accessKeyId`, + * `secretAccessKey`, and `sessionToken` properties). + * @param err [Error] if an error occurred, this value will be filled + * @see get + */ + refresh: function refresh(callback) { + this.coalesceRefresh(callback || AWS.util.fn.callback); + }, + + /** + * @api private + */ + load: function load(callback) { + var self = this; + self.createClients(); + self.masterCredentials.get(function () { + self.service.config.credentials = self.masterCredentials; + var operation = self.params.RoleArn + ? self.service.assumeRole + : self.service.getSessionToken; + operation.call(self.service, function (err, data) { + if (!err) { + self.service.credentialsFrom(data, self); + } + callback(err); + }); + }); + }, + + /** + * @api private + */ + loadMasterCredentials: function loadMasterCredentials( + masterCredentials + ) { + this.masterCredentials = masterCredentials || AWS.config.credentials; + while (this.masterCredentials.masterCredentials) { + this.masterCredentials = this.masterCredentials.masterCredentials; + } + + if (typeof this.masterCredentials.get !== "function") { + this.masterCredentials = new AWS.Credentials( + this.masterCredentials + ); + } + }, + + /** + * @api private + */ + createClients: function () { + this.service = this.service || new STS({ params: this.params }); + }, + }); + + /***/ + }, + + /***/ 3080: /***/ function (module) { + module.exports = { + pagination: { + ListApplicationVersions: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxItems", + }, + ListApplications: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxItems", + }, + ListApplicationDependencies: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxItems", + }, + }, + }; + + /***/ + }, + + /***/ 3087: /***/ function (module) { + module.exports = { + pagination: { + ListRealtimeContactAnalysisSegments: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + }, + }; + + /***/ + }, + + /***/ 3091: /***/ function (module) { + module.exports = { + pagination: { + ListComplianceStatus: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "PolicyComplianceStatusList", + }, + ListMemberAccounts: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "MemberAccounts", + }, + ListPolicies: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "PolicyList", + }, + }, + }; + + /***/ + }, + + /***/ 3099: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["autoscalingplans"] = {}; + AWS.AutoScalingPlans = Service.defineService("autoscalingplans", [ + "2018-01-06", + ]); + Object.defineProperty( + apiLoader.services["autoscalingplans"], + "2018-01-06", + { + get: function get() { + var model = __webpack_require__(6631); + model.paginators = __webpack_require__(4344).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.AutoScalingPlans; + + /***/ + }, + + /***/ 3109: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["iotdeviceadvisor"] = {}; + AWS.IotDeviceAdvisor = Service.defineService("iotdeviceadvisor", [ + "2020-09-18", + ]); + Object.defineProperty( + apiLoader.services["iotdeviceadvisor"], + "2020-09-18", + { + get: function get() { + var model = __webpack_require__(2463); + model.paginators = __webpack_require__(4121).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.IotDeviceAdvisor; + + /***/ + }, + + /***/ 3110: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["licensemanager"] = {}; + AWS.LicenseManager = Service.defineService("licensemanager", [ + "2018-08-01", + ]); + Object.defineProperty( + apiLoader.services["licensemanager"], + "2018-08-01", + { + get: function get() { + var model = __webpack_require__(3605); + model.paginators = __webpack_require__(3209).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.LicenseManager; + + /***/ + }, + + /***/ 3129: /***/ function (module) { + module.exports = require("child_process"); + + /***/ + }, + + /***/ 3132: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2016-06-10", + endpointPrefix: "polly", + protocol: "rest-json", + serviceFullName: "Amazon Polly", + serviceId: "Polly", + signatureVersion: "v4", + uid: "polly-2016-06-10", + }, + operations: { + DeleteLexicon: { + http: { + method: "DELETE", + requestUri: "/v1/lexicons/{LexiconName}", + responseCode: 200, + }, + input: { type: "structure", + required: ["Name"], members: { - Invitations: { - type: "list", - member: { - type: "structure", - members: { - InvitationId: {}, - CreationDate: { shape: "S1k" }, - ExpirationDate: { shape: "S1k" }, - Status: {}, - NetworkSummary: { shape: "S29" }, - }, - }, - }, - NextToken: {}, + Name: { location: "uri", locationName: "LexiconName" }, }, }, + output: { type: "structure", members: {} }, }, - ListMembers: { + DescribeVoices: { http: { method: "GET", - requestUri: "/networks/{networkId}/members", + requestUri: "/v1/voices", + responseCode: 200, }, input: { type: "structure", - required: ["NetworkId"], members: { - NetworkId: { location: "uri", locationName: "networkId" }, - Name: { location: "querystring", locationName: "name" }, - Status: { location: "querystring", locationName: "status" }, - IsOwned: { + Engine: { location: "querystring", locationName: "Engine" }, + LanguageCode: { location: "querystring", - locationName: "isOwned", - type: "boolean", + locationName: "LanguageCode", }, - MaxResults: { + IncludeAdditionalLanguageCodes: { location: "querystring", - locationName: "maxResults", - type: "integer", + locationName: "IncludeAdditionalLanguageCodes", + type: "boolean", }, NextToken: { location: "querystring", - locationName: "nextToken", + locationName: "NextToken", }, }, }, output: { type: "structure", members: { - Members: { + Voices: { type: "list", member: { type: "structure", members: { + Gender: {}, Id: {}, + LanguageCode: {}, + LanguageName: {}, Name: {}, - Description: {}, - Status: {}, - CreationDate: { shape: "S1k" }, - IsOwned: { type: "boolean" }, + AdditionalLanguageCodes: { type: "list", member: {} }, + SupportedEngines: { type: "list", member: {} }, }, }, }, @@ -105855,5281 +108866,3812 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - ListNetworks: { - http: { method: "GET", requestUri: "/networks" }, + GetLexicon: { + http: { + method: "GET", + requestUri: "/v1/lexicons/{LexiconName}", + responseCode: 200, + }, input: { type: "structure", + required: ["Name"], members: { - Name: { location: "querystring", locationName: "name" }, - Framework: { - location: "querystring", - locationName: "framework", - }, - Status: { location: "querystring", locationName: "status" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, + Name: { location: "uri", locationName: "LexiconName" }, }, }, output: { type: "structure", members: { - Networks: { type: "list", member: { shape: "S29" } }, - NextToken: {}, + Lexicon: { + type: "structure", + members: { Content: { shape: "Sl" }, Name: {} }, + }, + LexiconAttributes: { shape: "Sm" }, }, }, }, - ListNodes: { + GetSpeechSynthesisTask: { http: { method: "GET", - requestUri: "/networks/{networkId}/members/{memberId}/nodes", + requestUri: "/v1/synthesisTasks/{TaskId}", + responseCode: 200, }, input: { type: "structure", - required: ["NetworkId", "MemberId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - Status: { location: "querystring", locationName: "status" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, + required: ["TaskId"], + members: { TaskId: { location: "uri", locationName: "TaskId" } }, }, output: { type: "structure", - members: { - Nodes: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Status: {}, - CreationDate: { shape: "S1k" }, - AvailabilityZone: {}, - InstanceType: {}, - }, - }, - }, - NextToken: {}, - }, + members: { SynthesisTask: { shape: "Sv" } }, }, }, - ListProposalVotes: { + ListLexicons: { http: { method: "GET", - requestUri: "/networks/{networkId}/proposals/{proposalId}/votes", + requestUri: "/v1/lexicons", + responseCode: 200, }, input: { type: "structure", - required: ["NetworkId", "ProposalId"], members: { - NetworkId: { location: "uri", locationName: "networkId" }, - ProposalId: { location: "uri", locationName: "proposalId" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, NextToken: { location: "querystring", - locationName: "nextToken", + locationName: "NextToken", }, }, }, output: { type: "structure", members: { - ProposalVotes: { + Lexicons: { type: "list", member: { type: "structure", - members: { Vote: {}, MemberName: {}, MemberId: {} }, + members: { Name: {}, Attributes: { shape: "Sm" } }, }, }, NextToken: {}, }, }, }, - ListProposals: { + ListSpeechSynthesisTasks: { http: { method: "GET", - requestUri: "/networks/{networkId}/proposals", + requestUri: "/v1/synthesisTasks", + responseCode: 200, }, input: { type: "structure", - required: ["NetworkId"], members: { - NetworkId: { location: "uri", locationName: "networkId" }, MaxResults: { location: "querystring", - locationName: "maxResults", + locationName: "MaxResults", type: "integer", }, NextToken: { location: "querystring", - locationName: "nextToken", + locationName: "NextToken", }, + Status: { location: "querystring", locationName: "Status" }, }, }, output: { type: "structure", members: { - Proposals: { - type: "list", - member: { - type: "structure", - members: { - ProposalId: {}, - Description: {}, - ProposedByMemberId: {}, - ProposedByMemberName: {}, - Status: {}, - CreationDate: { shape: "S1k" }, - ExpirationDate: { shape: "S1k" }, - }, - }, - }, NextToken: {}, + SynthesisTasks: { type: "list", member: { shape: "Sv" } }, }, }, }, - RejectInvitation: { + PutLexicon: { http: { - method: "DELETE", - requestUri: "/invitations/{invitationId}", + method: "PUT", + requestUri: "/v1/lexicons/{LexiconName}", + responseCode: 200, }, input: { type: "structure", - required: ["InvitationId"], + required: ["Name", "Content"], members: { - InvitationId: { location: "uri", locationName: "invitationId" }, + Name: { location: "uri", locationName: "LexiconName" }, + Content: { shape: "Sl" }, }, }, output: { type: "structure", members: {} }, }, - UpdateMember: { - http: { - method: "PATCH", - requestUri: "/networks/{networkId}/members/{memberId}", - }, + StartSpeechSynthesisTask: { + http: { requestUri: "/v1/synthesisTasks", responseCode: 200 }, input: { type: "structure", - required: ["NetworkId", "MemberId"], + required: [ + "OutputFormat", + "OutputS3BucketName", + "Text", + "VoiceId", + ], members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - LogPublishingConfiguration: { shape: "Sb" }, + Engine: {}, + LanguageCode: {}, + LexiconNames: { shape: "S12" }, + OutputFormat: {}, + OutputS3BucketName: {}, + OutputS3KeyPrefix: {}, + SampleRate: {}, + SnsTopicArn: {}, + SpeechMarkTypes: { shape: "S15" }, + Text: {}, + TextType: {}, + VoiceId: {}, }, }, - output: { type: "structure", members: {} }, - }, - UpdateNode: { - http: { - method: "PATCH", - requestUri: - "/networks/{networkId}/members/{memberId}/nodes/{nodeId}", - }, - input: { + output: { type: "structure", - required: ["NetworkId", "MemberId", "NodeId"], - members: { - NetworkId: { location: "uri", locationName: "networkId" }, - MemberId: { location: "uri", locationName: "memberId" }, - NodeId: { location: "uri", locationName: "nodeId" }, - LogPublishingConfiguration: { shape: "Sy" }, - }, + members: { SynthesisTask: { shape: "Sv" } }, }, - output: { type: "structure", members: {} }, }, - VoteOnProposal: { - http: { - requestUri: "/networks/{networkId}/proposals/{proposalId}/votes", - }, + SynthesizeSpeech: { + http: { requestUri: "/v1/speech", responseCode: 200 }, input: { type: "structure", - required: ["NetworkId", "ProposalId", "VoterMemberId", "Vote"], + required: ["OutputFormat", "Text", "VoiceId"], members: { - NetworkId: { location: "uri", locationName: "networkId" }, - ProposalId: { location: "uri", locationName: "proposalId" }, - VoterMemberId: {}, - Vote: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - }, - shapes: { - S4: { - type: "structure", - required: ["Name", "FrameworkConfiguration"], - members: { - Name: {}, - Description: {}, - FrameworkConfiguration: { - type: "structure", - members: { - Fabric: { - type: "structure", - required: ["AdminUsername", "AdminPassword"], - members: { - AdminUsername: {}, - AdminPassword: { type: "string", sensitive: true }, - }, - }, - }, - }, - LogPublishingConfiguration: { shape: "Sb" }, - }, - }, - Sb: { - type: "structure", - members: { - Fabric: { - type: "structure", - members: { CaLogs: { shape: "Sd" } }, - }, - }, - }, - Sd: { - type: "structure", - members: { - Cloudwatch: { - type: "structure", - members: { Enabled: { type: "boolean" } }, + Engine: {}, + LanguageCode: {}, + LexiconNames: { shape: "S12" }, + OutputFormat: {}, + SampleRate: {}, + SpeechMarkTypes: { shape: "S15" }, + Text: {}, + TextType: {}, + VoiceId: {}, }, }, - }, - So: { - type: "structure", - members: { - ApprovalThresholdPolicy: { - type: "structure", - members: { - ThresholdPercentage: { type: "integer" }, - ProposalDurationInHours: { type: "integer" }, - ThresholdComparator: {}, + output: { + type: "structure", + members: { + AudioStream: { type: "blob", streaming: true }, + ContentType: { + location: "header", + locationName: "Content-Type", }, - }, - }, - }, - Sy: { - type: "structure", - members: { - Fabric: { - type: "structure", - members: { - ChaincodeLogs: { shape: "Sd" }, - PeerLogs: { shape: "Sd" }, + RequestCharacters: { + location: "header", + locationName: "x-amzn-RequestCharacters", + type: "integer", }, }, + payload: "AudioStream", }, }, - S12: { + }, + shapes: { + Sl: { type: "string", sensitive: true }, + Sm: { type: "structure", members: { - Invitations: { - type: "list", - member: { - type: "structure", - required: ["Principal"], - members: { Principal: {} }, - }, - }, - Removals: { - type: "list", - member: { - type: "structure", - required: ["MemberId"], - members: { MemberId: {} }, - }, - }, + Alphabet: {}, + LanguageCode: {}, + LastModified: { type: "timestamp" }, + LexiconArn: {}, + LexemesCount: { type: "integer" }, + Size: { type: "integer" }, }, }, - S1k: { type: "timestamp", timestampFormat: "iso8601" }, - S29: { + Sv: { type: "structure", members: { - Id: {}, - Name: {}, - Description: {}, - Framework: {}, - FrameworkVersion: {}, - Status: {}, - CreationDate: { shape: "S1k" }, + Engine: {}, + TaskId: {}, + TaskStatus: {}, + TaskStatusReason: {}, + OutputUri: {}, + CreationTime: { type: "timestamp" }, + RequestCharacters: { type: "integer" }, + SnsTopicArn: {}, + LexiconNames: { shape: "S12" }, + OutputFormat: {}, + SampleRate: {}, + SpeechMarkTypes: { shape: "S15" }, + TextType: {}, + VoiceId: {}, + LanguageCode: {}, }, }, + S12: { type: "list", member: {} }, + S15: { type: "list", member: {} }, }, }; /***/ }, - /***/ 3763: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, - - /***/ 3768: /***/ function (module) { - "use strict"; - - module.exports = function (x) { - var lf = typeof x === "string" ? "\n" : "\n".charCodeAt(); - var cr = typeof x === "string" ? "\r" : "\r".charCodeAt(); - - if (x[x.length - 1] === lf) { - x = x.slice(0, x.length - 1); - } - - if (x[x.length - 1] === cr) { - x = x.slice(0, x.length - 1); - } - - return x; - }; - - /***/ - }, - - /***/ 3773: /***/ function (module, __unusedexports, __webpack_require__) { - var rng = __webpack_require__(1881); - var bytesToUuid = __webpack_require__(2390); - - // **`v1()` - Generate time-based UUID** - // - // Inspired by https://github.com/LiosK/UUID.js - // and http://docs.python.org/library/uuid.html - - var _nodeId; - var _clockseq; - - // Previous uuid creation time - var _lastMSecs = 0; - var _lastNSecs = 0; - - // See https://github.com/broofa/node-uuid for API details - function v1(options, buf, offset) { - var i = (buf && offset) || 0; - var b = buf || []; - - options = options || {}; - var node = options.node || _nodeId; - var clockseq = - options.clockseq !== undefined ? options.clockseq : _clockseq; - - // node and clockseq need to be initialized to random values if they're not - // specified. We do this lazily to minimize issues related to insufficient - // system entropy. See #189 - if (node == null || clockseq == null) { - var seedBytes = rng(); - if (node == null) { - // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) - node = _nodeId = [ - seedBytes[0] | 0x01, - seedBytes[1], - seedBytes[2], - seedBytes[3], - seedBytes[4], - seedBytes[5], - ]; - } - if (clockseq == null) { - // Per 4.2.2, randomize (14 bit) clockseq - clockseq = _clockseq = - ((seedBytes[6] << 8) | seedBytes[7]) & 0x3fff; - } - } - - // UUID timestamps are 100 nano-second units since the Gregorian epoch, - // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so - // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' - // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. - var msecs = - options.msecs !== undefined ? options.msecs : new Date().getTime(); - - // Per 4.2.1.2, use count of uuid's generated during the current clock - // cycle to simulate higher resolution clock - var nsecs = - options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; - - // Time since last uuid creation (in msecs) - var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; - - // Per 4.2.1.2, Bump clockseq on clock regression - if (dt < 0 && options.clockseq === undefined) { - clockseq = (clockseq + 1) & 0x3fff; - } - - // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new - // time interval - if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { - nsecs = 0; - } - - // Per 4.2.1.2 Throw error if too many uuids are requested - if (nsecs >= 10000) { - throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); - } - - _lastMSecs = msecs; - _lastNSecs = nsecs; - _clockseq = clockseq; - - // Per 4.1.4 - Convert from unix epoch to Gregorian epoch - msecs += 12219292800000; - - // `time_low` - var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; - b[i++] = (tl >>> 24) & 0xff; - b[i++] = (tl >>> 16) & 0xff; - b[i++] = (tl >>> 8) & 0xff; - b[i++] = tl & 0xff; - - // `time_mid` - var tmh = ((msecs / 0x100000000) * 10000) & 0xfffffff; - b[i++] = (tmh >>> 8) & 0xff; - b[i++] = tmh & 0xff; - - // `time_high_and_version` - b[i++] = ((tmh >>> 24) & 0xf) | 0x10; // include version - b[i++] = (tmh >>> 16) & 0xff; - - // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) - b[i++] = (clockseq >>> 8) | 0x80; - - // `clock_seq_low` - b[i++] = clockseq & 0xff; - - // `node` - for (var n = 0; n < 6; ++n) { - b[i + n] = node[n]; - } - - return buf ? buf : bytesToUuid(b); - } - - module.exports = v1; - - /***/ - }, - - /***/ 3777: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = getFirstPage; - - const getPage = __webpack_require__(3265); - - function getFirstPage(octokit, link, headers) { - return getPage(octokit, link, "first", headers); - } - - /***/ - }, - - /***/ 3788: /***/ function (module) { + /***/ 3137: /***/ function (module) { module.exports = { pagination: { - GetComplianceSummary: { - input_token: "PaginationToken", - limit_key: "MaxResults", - output_token: "PaginationToken", - result_key: "SummaryList", + DescribeModelVersions: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - GetResources: { - input_token: "PaginationToken", - limit_key: "ResourcesPerPage", - output_token: "PaginationToken", - result_key: "ResourceTagMappingList", + GetDetectors: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - GetTagKeys: { - input_token: "PaginationToken", - output_token: "PaginationToken", - result_key: "TagKeys", + GetEntityTypes: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - GetTagValues: { - input_token: "PaginationToken", - output_token: "PaginationToken", - result_key: "TagValues", + GetEventTypes: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - }, - }; - - /***/ - }, - - /***/ 3801: /***/ function (module, __unusedexports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - var XMLDTDAttList, - XMLNode, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; + GetExternalModels: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - hasProp = {}.hasOwnProperty; - - XMLNode = __webpack_require__(6855); - - module.exports = XMLDTDAttList = (function (superClass) { - extend(XMLDTDAttList, superClass); - - function XMLDTDAttList( - parent, - elementName, - attributeName, - attributeType, - defaultValueType, - defaultValue - ) { - XMLDTDAttList.__super__.constructor.call(this, parent); - if (elementName == null) { - throw new Error("Missing DTD element name"); - } - if (attributeName == null) { - throw new Error("Missing DTD attribute name"); - } - if (!attributeType) { - throw new Error("Missing DTD attribute type"); - } - if (!defaultValueType) { - throw new Error("Missing DTD attribute default"); - } - if (defaultValueType.indexOf("#") !== 0) { - defaultValueType = "#" + defaultValueType; - } - if ( - !defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/) - ) { - throw new Error( - "Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT" - ); - } - if ( - defaultValue && - !defaultValueType.match(/^(#FIXED|#DEFAULT)$/) - ) { - throw new Error( - "Default value only applies to #FIXED or #DEFAULT" - ); - } - this.elementName = this.stringify.eleName(elementName); - this.attributeName = this.stringify.attName(attributeName); - this.attributeType = this.stringify.dtdAttType(attributeType); - this.defaultValue = this.stringify.dtdAttDefault(defaultValue); - this.defaultValueType = defaultValueType; - } - - XMLDTDAttList.prototype.toString = function (options) { - return this.options.writer.set(options).dtdAttList(this); - }; - - return XMLDTDAttList; - })(XMLNode); - }.call(this)); - - /***/ - }, - - /***/ 3814: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = which; - which.sync = whichSync; - - var isWindows = - process.platform === "win32" || - process.env.OSTYPE === "cygwin" || - process.env.OSTYPE === "msys"; - - var path = __webpack_require__(5622); - var COLON = isWindows ? ";" : ":"; - var isexe = __webpack_require__(8742); - - function getNotFoundError(cmd) { - var er = new Error("not found: " + cmd); - er.code = "ENOENT"; - - return er; - } - - function getPathInfo(cmd, opt) { - var colon = opt.colon || COLON; - var pathEnv = opt.path || process.env.PATH || ""; - var pathExt = [""]; - - pathEnv = pathEnv.split(colon); - - var pathExtExe = ""; - if (isWindows) { - pathEnv.unshift(process.cwd()); - pathExtExe = - opt.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM"; - pathExt = pathExtExe.split(colon); - - // Always test the cmd itself first. isexe will check to make sure - // it's found in the pathExt set. - if (cmd.indexOf(".") !== -1 && pathExt[0] !== "") pathExt.unshift(""); - } - - // If it has a slash, then we don't bother searching the pathenv. - // just check the file itself, and that's it. - if (cmd.match(/\//) || (isWindows && cmd.match(/\\/))) pathEnv = [""]; - - return { - env: pathEnv, - ext: pathExt, - extExe: pathExtExe, - }; - } - - function which(cmd, opt, cb) { - if (typeof opt === "function") { - cb = opt; - opt = {}; - } - - var info = getPathInfo(cmd, opt); - var pathEnv = info.env; - var pathExt = info.ext; - var pathExtExe = info.extExe; - var found = []; - - (function F(i, l) { - if (i === l) { - if (opt.all && found.length) return cb(null, found); - else return cb(getNotFoundError(cmd)); - } - - var pathPart = pathEnv[i]; - if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') - pathPart = pathPart.slice(1, -1); - - var p = path.join(pathPart, cmd); - if (!pathPart && /^\.[\\\/]/.test(cmd)) { - p = cmd.slice(0, 2) + p; - } - (function E(ii, ll) { - if (ii === ll) return F(i + 1, l); - var ext = pathExt[ii]; - isexe(p + ext, { pathExt: pathExtExe }, function (er, is) { - if (!er && is) { - if (opt.all) found.push(p + ext); - else return cb(null, p + ext); - } - return E(ii + 1, ll); - }); - })(0, pathExt.length); - })(0, pathEnv.length); - } - - function whichSync(cmd, opt) { - opt = opt || {}; - - var info = getPathInfo(cmd, opt); - var pathEnv = info.env; - var pathExt = info.ext; - var pathExtExe = info.extExe; - var found = []; - - for (var i = 0, l = pathEnv.length; i < l; i++) { - var pathPart = pathEnv[i]; - if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') - pathPart = pathPart.slice(1, -1); - - var p = path.join(pathPart, cmd); - if (!pathPart && /^\.[\\\/]/.test(cmd)) { - p = cmd.slice(0, 2) + p; - } - for (var j = 0, ll = pathExt.length; j < ll; j++) { - var cur = p + pathExt[j]; - var is; - try { - is = isexe.sync(cur, { pathExt: pathExtExe }); - if (is) { - if (opt.all) found.push(cur); - else return cur; - } - } catch (ex) {} - } - } - - if (opt.all && found.length) return found; - - if (opt.nothrow) return null; - - throw getNotFoundError(cmd); - } - - /***/ - }, - - /***/ 3815: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(395).util; - var typeOf = __webpack_require__(8194).typeOf; - - /** - * @api private - */ - var memberTypeToSetType = { - String: "String", - Number: "Number", - NumberValue: "Number", - Binary: "Binary", - }; - - /** - * @api private - */ - var DynamoDBSet = util.inherit({ - constructor: function Set(list, options) { - options = options || {}; - this.wrapperName = "Set"; - this.initialize(list, options.validate); - }, - - initialize: function (list, validate) { - var self = this; - self.values = [].concat(list); - self.detectType(); - if (validate) { - self.validate(); - } - }, - - detectType: function () { - this.type = memberTypeToSetType[typeOf(this.values[0])]; - if (!this.type) { - throw util.error(new Error(), { - code: "InvalidSetType", - message: "Sets can contain string, number, or binary values", - }); - } - }, - - validate: function () { - var self = this; - var length = self.values.length; - var values = self.values; - for (var i = 0; i < length; i++) { - if (memberTypeToSetType[typeOf(values[i])] !== self.type) { - throw util.error(new Error(), { - code: "InvalidType", - message: - self.type + " Set contains " + typeOf(values[i]) + " value", - }); - } - } - }, - - /** - * Render the underlying values only when converting to JSON. - */ - toJSON: function () { - var self = this; - return self.values; - }, - }); - - /** - * @api private - */ - module.exports = DynamoDBSet; - - /***/ - }, - - /***/ 3824: /***/ function (module) { - module.exports = { - pagination: { - ListMedicalTranscriptionJobs: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + GetLabels: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - ListTranscriptionJobs: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + GetModels: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - ListVocabularies: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + GetOutcomes: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - ListVocabularyFilters: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + GetRules: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - }, - }; - - /***/ - }, - - /***/ 3853: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["codestarnotifications"] = {}; - AWS.CodeStarNotifications = Service.defineService( - "codestarnotifications", - ["2019-10-15"] - ); - Object.defineProperty( - apiLoader.services["codestarnotifications"], - "2019-10-15", - { - get: function get() { - var model = __webpack_require__(7913); - model.paginators = __webpack_require__(4409).pagination; - return model; + GetVariables: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListTagsForResource: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.CodeStarNotifications; - - /***/ - }, - - /***/ 3861: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var resolveRegionalEndpointsFlag = __webpack_require__(6232); - var ENV_REGIONAL_ENDPOINT_ENABLED = "AWS_STS_REGIONAL_ENDPOINTS"; - var CONFIG_REGIONAL_ENDPOINT_ENABLED = "sts_regional_endpoints"; - - AWS.util.update(AWS.STS.prototype, { - /** - * @overload credentialsFrom(data, credentials = null) - * Creates a credentials object from STS response data containing - * credentials information. Useful for quickly setting AWS credentials. - * - * @note This is a low-level utility function. If you want to load temporary - * credentials into your process for subsequent requests to AWS resources, - * you should use {AWS.TemporaryCredentials} instead. - * @param data [map] data retrieved from a call to {getFederatedToken}, - * {getSessionToken}, {assumeRole}, or {assumeRoleWithWebIdentity}. - * @param credentials [AWS.Credentials] an optional credentials object to - * fill instead of creating a new object. Useful when modifying an - * existing credentials object from a refresh call. - * @return [AWS.TemporaryCredentials] the set of temporary credentials - * loaded from a raw STS operation response. - * @example Using credentialsFrom to load global AWS credentials - * var sts = new AWS.STS(); - * sts.getSessionToken(function (err, data) { - * if (err) console.log("Error getting credentials"); - * else { - * AWS.config.credentials = sts.credentialsFrom(data); - * } - * }); - * @see AWS.TemporaryCredentials - */ - credentialsFrom: function credentialsFrom(data, credentials) { - if (!data) return null; - if (!credentials) credentials = new AWS.TemporaryCredentials(); - credentials.expired = false; - credentials.accessKeyId = data.Credentials.AccessKeyId; - credentials.secretAccessKey = data.Credentials.SecretAccessKey; - credentials.sessionToken = data.Credentials.SessionToken; - credentials.expireTime = data.Credentials.Expiration; - return credentials; - }, - - assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity( - params, - callback - ) { - return this.makeUnauthenticatedRequest( - "assumeRoleWithWebIdentity", - params, - callback - ); - }, - - assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) { - return this.makeUnauthenticatedRequest( - "assumeRoleWithSAML", - params, - callback - ); - }, - - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener("validate", this.optInRegionalEndpoint, true); - }, - - /** - * @api private - */ - optInRegionalEndpoint: function optInRegionalEndpoint(req) { - var service = req.service; - var config = service.config; - config.stsRegionalEndpoints = resolveRegionalEndpointsFlag( - service._originalConfig, - { - env: ENV_REGIONAL_ENDPOINT_ENABLED, - sharedConfig: CONFIG_REGIONAL_ENDPOINT_ENABLED, - clientConfig: "stsRegionalEndpoints", - } - ); - if ( - config.stsRegionalEndpoints === "regional" && - service.isGlobalEndpoint - ) { - //client will throw if region is not supplied; request will be signed with specified region - if (!config.region) { - throw AWS.util.error(new Error(), { - code: "ConfigError", - message: "Missing region in config", - }); - } - var insertPoint = config.endpoint.indexOf(".amazonaws.com"); - var regionalEndpoint = - config.endpoint.substring(0, insertPoint) + - "." + - config.region + - config.endpoint.substring(insertPoint); - req.httpRequest.updateEndpoint(regionalEndpoint); - req.httpRequest.region = config.region; - } }, - }); + }; /***/ }, - /***/ 3862: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(395).util; - var Transform = __webpack_require__(2413).Transform; - var allocBuffer = util.buffer.alloc; - - /** @type {Transform} */ - function EventMessageChunkerStream(options) { - Transform.call(this, options); - - this.currentMessageTotalLength = 0; - this.currentMessagePendingLength = 0; - /** @type {Buffer} */ - this.currentMessage = null; - - /** @type {Buffer} */ - this.messageLengthBuffer = null; - } - - EventMessageChunkerStream.prototype = Object.create(Transform.prototype); - - /** - * - * @param {Buffer} chunk - * @param {string} encoding - * @param {*} callback - */ - EventMessageChunkerStream.prototype._transform = function ( - chunk, - encoding, - callback - ) { - var chunkLength = chunk.length; - var currentOffset = 0; - - while (currentOffset < chunkLength) { - // create new message if necessary - if (!this.currentMessage) { - // working on a new message, determine total length - var bytesRemaining = chunkLength - currentOffset; - // prevent edge case where total length spans 2 chunks - if (!this.messageLengthBuffer) { - this.messageLengthBuffer = allocBuffer(4); - } - var numBytesForTotal = Math.min( - 4 - this.currentMessagePendingLength, // remaining bytes to fill the messageLengthBuffer - bytesRemaining // bytes left in chunk - ); - - chunk.copy( - this.messageLengthBuffer, - this.currentMessagePendingLength, - currentOffset, - currentOffset + numBytesForTotal - ); - - this.currentMessagePendingLength += numBytesForTotal; - currentOffset += numBytesForTotal; + /***/ 3143: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = withAuthorizationPrefix; - if (this.currentMessagePendingLength < 4) { - // not enough information to create the current message - break; - } - this.allocateMessage(this.messageLengthBuffer.readUInt32BE(0)); - this.messageLengthBuffer = null; - } + const atob = __webpack_require__(1368); - // write data into current message - var numBytesToWrite = Math.min( - this.currentMessageTotalLength - this.currentMessagePendingLength, // number of bytes left to complete message - chunkLength - currentOffset // number of bytes left in the original chunk - ); - chunk.copy( - this.currentMessage, // target buffer - this.currentMessagePendingLength, // target offset - currentOffset, // chunk offset - currentOffset + numBytesToWrite // chunk end to write - ); - this.currentMessagePendingLength += numBytesToWrite; - currentOffset += numBytesToWrite; + const REGEX_IS_BASIC_AUTH = /^[\w-]+:/; - // check if a message is ready to be pushed - if ( - this.currentMessageTotalLength && - this.currentMessageTotalLength === this.currentMessagePendingLength - ) { - // push out the message - this.push(this.currentMessage); - // cleanup - this.currentMessage = null; - this.currentMessageTotalLength = 0; - this.currentMessagePendingLength = 0; - } + function withAuthorizationPrefix(authorization) { + if (/^(basic|bearer|token) /i.test(authorization)) { + return authorization; } - callback(); - }; - - EventMessageChunkerStream.prototype._flush = function (callback) { - if (this.currentMessageTotalLength) { - if ( - this.currentMessageTotalLength === this.currentMessagePendingLength - ) { - callback(null, this.currentMessage); - } else { - callback(new Error("Truncated event message received.")); + try { + if (REGEX_IS_BASIC_AUTH.test(atob(authorization))) { + return `basic ${authorization}`; } - } else { - callback(); - } - }; + } catch (error) {} - /** - * @param {number} size Size of the message to be allocated. - * @api private - */ - EventMessageChunkerStream.prototype.allocateMessage = function (size) { - if (typeof size !== "number") { - throw new Error( - "Attempted to allocate an event message where size was not a number: " + - size - ); + if (authorization.split(/\./).length === 3) { + return `bearer ${authorization}`; } - this.currentMessageTotalLength = size; - this.currentMessagePendingLength = 4; - this.currentMessage = allocBuffer(size); - this.currentMessage.writeUInt32BE(size, 0); - }; - /** - * @api private - */ - module.exports = { - EventMessageChunkerStream: EventMessageChunkerStream, - }; + return `token ${authorization}`; + } /***/ }, - /***/ 3877: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + /***/ 3158: /***/ function (module, __unusedexports, __webpack_require__) { + var v1 = __webpack_require__(3773); + var v4 = __webpack_require__(1740); - apiLoader.services["ec2"] = {}; - AWS.EC2 = Service.defineService("ec2", [ - "2013-06-15*", - "2013-10-15*", - "2014-02-01*", - "2014-05-01*", - "2014-06-15*", - "2014-09-01*", - "2014-10-01*", - "2015-03-01*", - "2015-04-15*", - "2015-10-01*", - "2016-04-01*", - "2016-09-15*", - "2016-11-15", - ]); - __webpack_require__(6925); - Object.defineProperty(apiLoader.services["ec2"], "2016-11-15", { - get: function get() { - var model = __webpack_require__(9206); - model.paginators = __webpack_require__(47).pagination; - model.waiters = __webpack_require__(1511).waiters; - return model; - }, - enumerable: true, - configurable: true, - }); + var uuid = v4; + uuid.v1 = v1; + uuid.v4 = v4; - module.exports = AWS.EC2; + module.exports = uuid; /***/ }, - /***/ 3881: /***/ function (module) { + /***/ 3165: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2019-06-10", - endpointPrefix: "portal.sso", - jsonVersion: "1.1", - protocol: "rest-json", - serviceAbbreviation: "SSO", - serviceFullName: "AWS Single Sign-On", - serviceId: "SSO", + apiVersion: "2019-11-01", + endpointPrefix: "compute-optimizer", + jsonVersion: "1.0", + protocol: "json", + serviceFullName: "AWS Compute Optimizer", + serviceId: "Compute Optimizer", signatureVersion: "v4", - signingName: "awsssoportal", - uid: "sso-2019-06-10", + signingName: "compute-optimizer", + targetPrefix: "ComputeOptimizerService", + uid: "compute-optimizer-2019-11-01", }, operations: { - GetRoleCredentials: { - http: { method: "GET", requestUri: "/federation/credentials" }, + DescribeRecommendationExportJobs: { input: { type: "structure", - required: ["roleName", "accountId", "accessToken"], members: { - roleName: { - location: "querystring", - locationName: "role_name", - }, - accountId: { - location: "querystring", - locationName: "account_id", - }, - accessToken: { - shape: "S4", - location: "header", - locationName: "x-amz-sso_bearer_token", + jobIds: { type: "list", member: {} }, + filters: { + type: "list", + member: { + type: "structure", + members: { name: {}, values: { shape: "S7" } }, + }, }, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - roleCredentials: { - type: "structure", - members: { - accessKeyId: {}, - secretAccessKey: { type: "string", sensitive: true }, - sessionToken: { type: "string", sensitive: true }, - expiration: { type: "long" }, + recommendationExportJobs: { + type: "list", + member: { + type: "structure", + members: { + jobId: {}, + destination: { + type: "structure", + members: { s3: { shape: "Sf" } }, + }, + resourceType: {}, + status: {}, + creationTimestamp: { type: "timestamp" }, + lastUpdatedTimestamp: { type: "timestamp" }, + failureReason: {}, + }, }, }, + nextToken: {}, }, }, - authtype: "none", }, - ListAccountRoles: { - http: { method: "GET", requestUri: "/assignment/roles" }, + ExportAutoScalingGroupRecommendations: { input: { type: "structure", - required: ["accessToken", "accountId"], + required: ["s3DestinationConfig"], members: { - nextToken: { - location: "querystring", - locationName: "next_token", - }, - maxResults: { - location: "querystring", - locationName: "max_result", - type: "integer", - }, - accessToken: { - shape: "S4", - location: "header", - locationName: "x-amz-sso_bearer_token", - }, - accountId: { - location: "querystring", - locationName: "account_id", - }, + accountIds: { shape: "Sp" }, + filters: { shape: "Sr" }, + fieldsToExport: { type: "list", member: {} }, + s3DestinationConfig: { shape: "Sw" }, + fileFormat: {}, + includeMemberAccounts: { type: "boolean" }, }, }, output: { type: "structure", + members: { jobId: {}, s3Destination: { shape: "Sf" } }, + }, + }, + ExportEC2InstanceRecommendations: { + input: { + type: "structure", + required: ["s3DestinationConfig"], members: { - nextToken: {}, - roleList: { - type: "list", - member: { - type: "structure", - members: { roleName: {}, accountId: {} }, - }, - }, + accountIds: { shape: "Sp" }, + filters: { shape: "Sr" }, + fieldsToExport: { type: "list", member: {} }, + s3DestinationConfig: { shape: "Sw" }, + fileFormat: {}, + includeMemberAccounts: { type: "boolean" }, }, }, - authtype: "none", + output: { + type: "structure", + members: { jobId: {}, s3Destination: { shape: "Sf" } }, + }, }, - ListAccounts: { - http: { method: "GET", requestUri: "/assignment/accounts" }, + GetAutoScalingGroupRecommendations: { input: { type: "structure", - required: ["accessToken"], members: { - nextToken: { - location: "querystring", - locationName: "next_token", - }, - maxResults: { - location: "querystring", - locationName: "max_result", - type: "integer", - }, - accessToken: { - shape: "S4", - location: "header", - locationName: "x-amz-sso_bearer_token", - }, + accountIds: { shape: "Sp" }, + autoScalingGroupArns: { type: "list", member: {} }, + nextToken: {}, + maxResults: { type: "integer" }, + filters: { shape: "Sr" }, }, }, output: { type: "structure", members: { nextToken: {}, - accountList: { + autoScalingGroupRecommendations: { type: "list", member: { type: "structure", members: { accountId: {}, - accountName: {}, - emailAddress: {}, + autoScalingGroupArn: {}, + autoScalingGroupName: {}, + finding: {}, + utilizationMetrics: { shape: "S1d" }, + lookBackPeriodInDays: { type: "double" }, + currentConfiguration: { shape: "S1j" }, + recommendationOptions: { + type: "list", + member: { + type: "structure", + members: { + configuration: { shape: "S1j" }, + projectedUtilizationMetrics: { shape: "S1q" }, + performanceRisk: { type: "double" }, + rank: { type: "integer" }, + }, + }, + }, + lastRefreshTimestamp: { type: "timestamp" }, }, }, }, + errors: { shape: "S1u" }, }, }, - authtype: "none", }, - Logout: { - http: { requestUri: "/logout" }, + GetEBSVolumeRecommendations: { input: { type: "structure", - required: ["accessToken"], members: { - accessToken: { - shape: "S4", - location: "header", - locationName: "x-amz-sso_bearer_token", + volumeArns: { type: "list", member: {} }, + nextToken: {}, + maxResults: { type: "integer" }, + filters: { + type: "list", + member: { + type: "structure", + members: { name: {}, values: { shape: "S7" } }, + }, }, + accountIds: { shape: "Sp" }, }, }, - authtype: "none", - }, - }, - shapes: { S4: { type: "string", sensitive: true } }, - }; - - /***/ - }, - - /***/ 3889: /***/ function (module) { - module.exports = { - pagination: { - DescribeApplicationVersions: { result_key: "ApplicationVersions" }, - DescribeApplications: { result_key: "Applications" }, - DescribeConfigurationOptions: { result_key: "Options" }, - DescribeEnvironments: { result_key: "Environments" }, - DescribeEvents: { - input_token: "NextToken", - limit_key: "MaxRecords", - output_token: "NextToken", - result_key: "Events", - }, - ListAvailableSolutionStacks: { result_key: "SolutionStacks" }, - ListPlatformBranches: { - input_token: "NextToken", - limit_key: "MaxRecords", - output_token: "NextToken", - }, - }, - }; - - /***/ - }, - - /***/ 3916: /***/ function (module) { - module.exports = { - pagination: { - DescribeDBEngineVersions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBEngineVersions", - }, - DescribeDBInstances: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBInstances", - }, - DescribeDBParameterGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBParameterGroups", - }, - DescribeDBParameters: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "Parameters", - }, - DescribeDBSubnetGroups: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "DBSubnetGroups", - }, - DescribeEngineDefaultParameters: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "EngineDefaults.Marker", - result_key: "EngineDefaults.Parameters", - }, - DescribeEventSubscriptions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "EventSubscriptionsList", - }, - DescribeEvents: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "Events", - }, - DescribeOrderableDBInstanceOptions: { - input_token: "Marker", - limit_key: "MaxRecords", - output_token: "Marker", - result_key: "OrderableDBInstanceOptions", - }, - ListTagsForResource: { result_key: "TagList" }, - }, - }; - - /***/ - }, - - /***/ 3929: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = hasNextPage; - - const deprecate = __webpack_require__(6370); - const getPageLinks = __webpack_require__(4577); - - function hasNextPage(link) { - deprecate( - `octokit.hasNextPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` - ); - return getPageLinks(link).next; - } - - /***/ - }, - - /***/ 3964: /***/ function (module, __unusedexports, __webpack_require__) { - var Shape = __webpack_require__(3682); - - var util = __webpack_require__(153); - var property = util.property; - var memoizedProperty = util.memoizedProperty; - - function Operation(name, operation, options) { - var self = this; - options = options || {}; - - property(this, "name", operation.name || name); - property(this, "api", options.api, false); - - operation.http = operation.http || {}; - property(this, "endpoint", operation.endpoint); - property(this, "httpMethod", operation.http.method || "POST"); - property(this, "httpPath", operation.http.requestUri || "/"); - property(this, "authtype", operation.authtype || ""); - property( - this, - "endpointDiscoveryRequired", - operation.endpointdiscovery - ? operation.endpointdiscovery.required - ? "REQUIRED" - : "OPTIONAL" - : "NULL" - ); - - memoizedProperty(this, "input", function () { - if (!operation.input) { - return new Shape.create({ type: "structure" }, options); - } - return Shape.create(operation.input, options); - }); - - memoizedProperty(this, "output", function () { - if (!operation.output) { - return new Shape.create({ type: "structure" }, options); - } - return Shape.create(operation.output, options); - }); - - memoizedProperty(this, "errors", function () { - var list = []; - if (!operation.errors) return null; - - for (var i = 0; i < operation.errors.length; i++) { - list.push(Shape.create(operation.errors[i], options)); - } - - return list; - }); - - memoizedProperty(this, "paginator", function () { - return options.api.paginators[name]; - }); - - if (options.documentation) { - property(this, "documentation", operation.documentation); - property(this, "documentationUrl", operation.documentationUrl); - } - - // idempotentMembers only tracks top-level input shapes - memoizedProperty(this, "idempotentMembers", function () { - var idempotentMembers = []; - var input = self.input; - var members = input.members; - if (!input.members) { - return idempotentMembers; - } - for (var name in members) { - if (!members.hasOwnProperty(name)) { - continue; - } - if (members[name].isIdempotent === true) { - idempotentMembers.push(name); - } - } - return idempotentMembers; - }); - - memoizedProperty(this, "hasEventOutput", function () { - var output = self.output; - return hasEventStream(output); - }); - } - - function hasEventStream(topLevelShape) { - var members = topLevelShape.members; - var payload = topLevelShape.payload; - - if (!topLevelShape.members) { - return false; - } - - if (payload) { - var payloadMember = members[payload]; - return payloadMember.isEventStream; - } - - // check if any member is an event stream - for (var name in members) { - if (!members.hasOwnProperty(name)) { - if (members[name].isEventStream === true) { - return true; - } - } - } - return false; - } - - /** - * @api private - */ - module.exports = Operation; - - /***/ - }, - - /***/ 3977: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - /** - * @api private - */ - AWS.ParamValidator = AWS.util.inherit({ - /** - * Create a new validator object. - * - * @param validation [Boolean|map] whether input parameters should be - * validated against the operation description before sending the - * request. Pass a map to enable any of the following specific - * validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - */ - constructor: function ParamValidator(validation) { - if (validation === true || validation === undefined) { - validation = { min: true }; - } - this.validation = validation; - }, - - validate: function validate(shape, params, context) { - this.errors = []; - this.validateMember(shape, params || {}, context || "params"); - - if (this.errors.length > 1) { - var msg = this.errors.join("\n* "); - msg = - "There were " + - this.errors.length + - " validation errors:\n* " + - msg; - throw AWS.util.error(new Error(msg), { - code: "MultipleValidationErrors", - errors: this.errors, - }); - } else if (this.errors.length === 1) { - throw this.errors[0]; - } else { - return true; - } - }, - - fail: function fail(code, message) { - this.errors.push(AWS.util.error(new Error(message), { code: code })); - }, - - validateStructure: function validateStructure(shape, params, context) { - this.validateType(params, context, ["object"], "structure"); - - var paramName; - for (var i = 0; shape.required && i < shape.required.length; i++) { - paramName = shape.required[i]; - var value = params[paramName]; - if (value === undefined || value === null) { - this.fail( - "MissingRequiredParameter", - "Missing required key '" + paramName + "' in " + context - ); - } - } - - // validate hash members - for (paramName in params) { - if (!Object.prototype.hasOwnProperty.call(params, paramName)) - continue; - - var paramValue = params[paramName], - memberShape = shape.members[paramName]; - - if (memberShape !== undefined) { - var memberContext = [context, paramName].join("."); - this.validateMember(memberShape, paramValue, memberContext); - } else { - this.fail( - "UnexpectedParameter", - "Unexpected key '" + paramName + "' found in " + context - ); - } - } - - return true; - }, - - validateMember: function validateMember(shape, param, context) { - switch (shape.type) { - case "structure": - return this.validateStructure(shape, param, context); - case "list": - return this.validateList(shape, param, context); - case "map": - return this.validateMap(shape, param, context); - default: - return this.validateScalar(shape, param, context); - } - }, - - validateList: function validateList(shape, params, context) { - if (this.validateType(params, context, [Array])) { - this.validateRange( - shape, - params.length, - context, - "list member count" - ); - // validate array members - for (var i = 0; i < params.length; i++) { - this.validateMember( - shape.member, - params[i], - context + "[" + i + "]" - ); - } - } - }, - - validateMap: function validateMap(shape, params, context) { - if (this.validateType(params, context, ["object"], "map")) { - // Build up a count of map members to validate range traits. - var mapCount = 0; - for (var param in params) { - if (!Object.prototype.hasOwnProperty.call(params, param)) - continue; - // Validate any map key trait constraints - this.validateMember( - shape.key, - param, - context + "[key='" + param + "']" - ); - this.validateMember( - shape.value, - params[param], - context + "['" + param + "']" - ); - mapCount++; - } - this.validateRange(shape, mapCount, context, "map member count"); - } - }, - - validateScalar: function validateScalar(shape, value, context) { - switch (shape.type) { - case null: - case undefined: - case "string": - return this.validateString(shape, value, context); - case "base64": - case "binary": - return this.validatePayload(value, context); - case "integer": - case "float": - return this.validateNumber(shape, value, context); - case "boolean": - return this.validateType(value, context, ["boolean"]); - case "timestamp": - return this.validateType( - value, - context, - [ - Date, - /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, - "number", - ], - "Date object, ISO-8601 string, or a UNIX timestamp" - ); - default: - return this.fail( - "UnkownType", - "Unhandled type " + shape.type + " for " + context - ); - } - }, - - validateString: function validateString(shape, value, context) { - var validTypes = ["string"]; - if (shape.isJsonValue) { - validTypes = validTypes.concat(["number", "object", "boolean"]); - } - if (value !== null && this.validateType(value, context, validTypes)) { - this.validateEnum(shape, value, context); - this.validateRange(shape, value.length, context, "string length"); - this.validatePattern(shape, value, context); - this.validateUri(shape, value, context); - } - }, - - validateUri: function validateUri(shape, value, context) { - if (shape["location"] === "uri") { - if (value.length === 0) { - this.fail( - "UriParameterError", - "Expected uri parameter to have length >= 1," + - ' but found "' + - value + - '" for ' + - context - ); - } - } - }, - - validatePattern: function validatePattern(shape, value, context) { - if (this.validation["pattern"] && shape["pattern"] !== undefined) { - if (!new RegExp(shape["pattern"]).test(value)) { - this.fail( - "PatternMatchError", - 'Provided value "' + - value + - '" ' + - "does not match regex pattern /" + - shape["pattern"] + - "/ for " + - context - ); - } - } - }, - - validateRange: function validateRange( - shape, - value, - context, - descriptor - ) { - if (this.validation["min"]) { - if (shape["min"] !== undefined && value < shape["min"]) { - this.fail( - "MinRangeError", - "Expected " + - descriptor + - " >= " + - shape["min"] + - ", but found " + - value + - " for " + - context - ); - } - } - if (this.validation["max"]) { - if (shape["max"] !== undefined && value > shape["max"]) { - this.fail( - "MaxRangeError", - "Expected " + - descriptor + - " <= " + - shape["max"] + - ", but found " + - value + - " for " + - context - ); - } - } - }, - - validateEnum: function validateRange(shape, value, context) { - if (this.validation["enum"] && shape["enum"] !== undefined) { - // Fail if the string value is not present in the enum list - if (shape["enum"].indexOf(value) === -1) { - this.fail( - "EnumError", - "Found string value of " + - value + - ", but " + - "expected " + - shape["enum"].join("|") + - " for " + - context - ); - } - } - }, - - validateType: function validateType( - value, - context, - acceptedTypes, - type - ) { - // We will not log an error for null or undefined, but we will return - // false so that callers know that the expected type was not strictly met. - if (value === null || value === undefined) return false; - - var foundInvalidType = false; - for (var i = 0; i < acceptedTypes.length; i++) { - if (typeof acceptedTypes[i] === "string") { - if (typeof value === acceptedTypes[i]) return true; - } else if (acceptedTypes[i] instanceof RegExp) { - if ((value || "").toString().match(acceptedTypes[i])) return true; - } else { - if (value instanceof acceptedTypes[i]) return true; - if (AWS.util.isType(value, acceptedTypes[i])) return true; - if (!type && !foundInvalidType) - acceptedTypes = acceptedTypes.slice(); - acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]); - } - foundInvalidType = true; - } - - var acceptedType = type; - if (!acceptedType) { - acceptedType = acceptedTypes - .join(", ") - .replace(/,([^,]+)$/, ", or$1"); - } - - var vowel = acceptedType.match(/^[aeiou]/i) ? "n" : ""; - this.fail( - "InvalidParameterType", - "Expected " + context + " to be a" + vowel + " " + acceptedType - ); - return false; - }, - - validateNumber: function validateNumber(shape, value, context) { - if (value === null || value === undefined) return; - if (typeof value === "string") { - var castedValue = parseFloat(value); - if (castedValue.toString() === value) value = castedValue; - } - if (this.validateType(value, context, ["number"])) { - this.validateRange(shape, value, context, "numeric value"); - } - }, - - validatePayload: function validatePayload(value, context) { - if (value === null || value === undefined) return; - if (typeof value === "string") return; - if (value && typeof value.byteLength === "number") return; // typed arrays - if (AWS.util.isNode()) { - // special check for buffer/stream in Node.js - var Stream = AWS.util.stream.Stream; - if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) - return; - } else { - if (typeof Blob !== void 0 && value instanceof Blob) return; - } - - var types = [ - "Buffer", - "Stream", - "File", - "Blob", - "ArrayBuffer", - "DataView", - ]; - if (value) { - for (var i = 0; i < types.length; i++) { - if (AWS.util.isType(value, types[i])) return; - if (AWS.util.typeName(value.constructor) === types[i]) return; - } - } - - this.fail( - "InvalidParameterType", - "Expected " + - context + - " to be a " + - "string, Buffer, Stream, Blob, or typed array object" - ); - }, - }); - - /***/ - }, - - /***/ 3985: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2010-03-31", - endpointPrefix: "sns", - protocol: "query", - serviceAbbreviation: "Amazon SNS", - serviceFullName: "Amazon Simple Notification Service", - serviceId: "SNS", - signatureVersion: "v4", - uid: "sns-2010-03-31", - xmlNamespace: "http://sns.amazonaws.com/doc/2010-03-31/", - }, - operations: { - AddPermission: { - input: { + output: { type: "structure", - required: ["TopicArn", "Label", "AWSAccountId", "ActionName"], members: { - TopicArn: {}, - Label: {}, - AWSAccountId: { type: "list", member: {} }, - ActionName: { type: "list", member: {} }, + nextToken: {}, + volumeRecommendations: { + type: "list", + member: { + type: "structure", + members: { + volumeArn: {}, + accountId: {}, + currentConfiguration: { shape: "S28" }, + finding: {}, + utilizationMetrics: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + statistic: {}, + value: { type: "double" }, + }, + }, + }, + lookBackPeriodInDays: { type: "double" }, + volumeRecommendationOptions: { + type: "list", + member: { + type: "structure", + members: { + configuration: { shape: "S28" }, + performanceRisk: { type: "double" }, + rank: { type: "integer" }, + }, + }, + }, + lastRefreshTimestamp: { type: "timestamp" }, + }, + }, + }, + errors: { shape: "S1u" }, }, }, }, - CheckIfPhoneNumberIsOptedOut: { + GetEC2InstanceRecommendations: { input: { type: "structure", - required: ["phoneNumber"], - members: { phoneNumber: {} }, + members: { + instanceArns: { type: "list", member: {} }, + nextToken: {}, + maxResults: { type: "integer" }, + filters: { shape: "Sr" }, + accountIds: { shape: "Sp" }, + }, }, output: { - resultWrapper: "CheckIfPhoneNumberIsOptedOutResult", type: "structure", - members: { isOptedOut: { type: "boolean" } }, + members: { + nextToken: {}, + instanceRecommendations: { + type: "list", + member: { + type: "structure", + members: { + instanceArn: {}, + accountId: {}, + instanceName: {}, + currentInstanceType: {}, + finding: {}, + utilizationMetrics: { shape: "S1d" }, + lookBackPeriodInDays: { type: "double" }, + recommendationOptions: { + type: "list", + member: { + type: "structure", + members: { + instanceType: {}, + projectedUtilizationMetrics: { shape: "S1q" }, + performanceRisk: { type: "double" }, + rank: { type: "integer" }, + }, + }, + }, + recommendationSources: { + type: "list", + member: { + type: "structure", + members: { + recommendationSourceArn: {}, + recommendationSourceType: {}, + }, + }, + }, + lastRefreshTimestamp: { type: "timestamp" }, + }, + }, + }, + errors: { shape: "S1u" }, + }, }, }, - ConfirmSubscription: { + GetEC2RecommendationProjectedMetrics: { input: { type: "structure", - required: ["TopicArn", "Token"], + required: [ + "instanceArn", + "stat", + "period", + "startTime", + "endTime", + ], members: { - TopicArn: {}, - Token: {}, - AuthenticateOnUnsubscribe: {}, + instanceArn: {}, + stat: {}, + period: { type: "integer" }, + startTime: { type: "timestamp" }, + endTime: { type: "timestamp" }, }, }, output: { - resultWrapper: "ConfirmSubscriptionResult", type: "structure", - members: { SubscriptionArn: {} }, + members: { + recommendedOptionProjectedMetrics: { + type: "list", + member: { + type: "structure", + members: { + recommendedInstanceType: {}, + rank: { type: "integer" }, + projectedMetrics: { + type: "list", + member: { + type: "structure", + members: { + name: {}, + timestamps: { + type: "list", + member: { type: "timestamp" }, + }, + values: { + type: "list", + member: { type: "double" }, + }, + }, + }, + }, + }, + }, + }, + }, }, }, - CreatePlatformApplication: { - input: { - type: "structure", - required: ["Name", "Platform", "Attributes"], - members: { Name: {}, Platform: {}, Attributes: { shape: "Sj" } }, - }, + GetEnrollmentStatus: { + input: { type: "structure", members: {} }, output: { - resultWrapper: "CreatePlatformApplicationResult", type: "structure", - members: { PlatformApplicationArn: {} }, + members: { + status: {}, + statusReason: {}, + memberAccountsEnrolled: { type: "boolean" }, + }, }, }, - CreatePlatformEndpoint: { + GetRecommendationSummaries: { input: { type: "structure", - required: ["PlatformApplicationArn", "Token"], members: { - PlatformApplicationArn: {}, - Token: {}, - CustomUserData: {}, - Attributes: { shape: "Sj" }, + accountIds: { shape: "Sp" }, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { - resultWrapper: "CreatePlatformEndpointResult", type: "structure", - members: { EndpointArn: {} }, + members: { + nextToken: {}, + recommendationSummaries: { + type: "list", + member: { + type: "structure", + members: { + summaries: { + type: "list", + member: { + type: "structure", + members: { name: {}, value: { type: "double" } }, + }, + }, + recommendationResourceType: {}, + accountId: {}, + }, + }, + }, + }, }, }, - CreateTopic: { + UpdateEnrollmentStatus: { input: { type: "structure", - required: ["Name"], + required: ["status"], members: { - Name: {}, - Attributes: { shape: "Sp" }, - Tags: { shape: "Ss" }, + status: {}, + includeMemberAccounts: { type: "boolean" }, }, }, output: { - resultWrapper: "CreateTopicResult", type: "structure", - members: { TopicArn: {} }, + members: { status: {}, statusReason: {} }, }, }, - DeleteEndpoint: { - input: { - type: "structure", - required: ["EndpointArn"], - members: { EndpointArn: {} }, - }, + }, + shapes: { + S7: { type: "list", member: {} }, + Sf: { + type: "structure", + members: { bucket: {}, key: {}, metadataKey: {} }, }, - DeletePlatformApplication: { - input: { + Sp: { type: "list", member: {} }, + Sr: { + type: "list", + member: { type: "structure", - required: ["PlatformApplicationArn"], - members: { PlatformApplicationArn: {} }, + members: { name: {}, values: { shape: "S7" } }, }, }, - DeleteTopic: { - input: { - type: "structure", - required: ["TopicArn"], - members: { TopicArn: {} }, - }, + Sw: { type: "structure", members: { bucket: {}, keyPrefix: {} } }, + S1d: { type: "list", member: { shape: "S1e" } }, + S1e: { + type: "structure", + members: { name: {}, statistic: {}, value: { type: "double" } }, }, - GetEndpointAttributes: { - input: { - type: "structure", - required: ["EndpointArn"], - members: { EndpointArn: {} }, - }, - output: { - resultWrapper: "GetEndpointAttributesResult", - type: "structure", - members: { Attributes: { shape: "Sj" } }, + S1j: { + type: "structure", + members: { + desiredCapacity: { type: "integer" }, + minSize: { type: "integer" }, + maxSize: { type: "integer" }, + instanceType: {}, }, }, - GetPlatformApplicationAttributes: { - input: { + S1q: { type: "list", member: { shape: "S1e" } }, + S1u: { + type: "list", + member: { type: "structure", - required: ["PlatformApplicationArn"], - members: { PlatformApplicationArn: {} }, + members: { identifier: {}, code: {}, message: {} }, }, - output: { - resultWrapper: "GetPlatformApplicationAttributesResult", - type: "structure", - members: { Attributes: { shape: "Sj" } }, + }, + S28: { + type: "structure", + members: { + volumeType: {}, + volumeSize: { type: "integer" }, + volumeBaselineIOPS: { type: "integer" }, + volumeBurstIOPS: { type: "integer" }, + volumeBaselineThroughput: { type: "integer" }, + volumeBurstThroughput: { type: "integer" }, }, }, - GetSMSAttributes: { + }, + }; + + /***/ + }, + + /***/ 3173: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2017-11-27", + endpointPrefix: "comprehend", + jsonVersion: "1.1", + protocol: "json", + serviceFullName: "Amazon Comprehend", + serviceId: "Comprehend", + signatureVersion: "v4", + signingName: "comprehend", + targetPrefix: "Comprehend_20171127", + uid: "comprehend-2017-11-27", + }, + operations: { + BatchDetectDominantLanguage: { input: { type: "structure", - members: { attributes: { type: "list", member: {} } }, + required: ["TextList"], + members: { TextList: { shape: "S2" } }, }, output: { - resultWrapper: "GetSMSAttributesResult", type: "structure", - members: { attributes: { shape: "Sj" } }, + required: ["ResultList", "ErrorList"], + members: { + ResultList: { + type: "list", + member: { + type: "structure", + members: { + Index: { type: "integer" }, + Languages: { shape: "S8" }, + }, + }, + }, + ErrorList: { shape: "Sc" }, + }, + sensitive: true, }, }, - GetSubscriptionAttributes: { + BatchDetectEntities: { input: { type: "structure", - required: ["SubscriptionArn"], - members: { SubscriptionArn: {} }, + required: ["TextList", "LanguageCode"], + members: { TextList: { shape: "S2" }, LanguageCode: {} }, }, output: { - resultWrapper: "GetSubscriptionAttributesResult", type: "structure", - members: { Attributes: { shape: "S19" } }, + required: ["ResultList", "ErrorList"], + members: { + ResultList: { + type: "list", + member: { + type: "structure", + members: { + Index: { type: "integer" }, + Entities: { shape: "Sj" }, + }, + }, + }, + ErrorList: { shape: "Sc" }, + }, + sensitive: true, }, }, - GetTopicAttributes: { + BatchDetectKeyPhrases: { input: { type: "structure", - required: ["TopicArn"], - members: { TopicArn: {} }, + required: ["TextList", "LanguageCode"], + members: { TextList: { shape: "S2" }, LanguageCode: {} }, }, output: { - resultWrapper: "GetTopicAttributesResult", type: "structure", - members: { Attributes: { shape: "Sp" } }, + required: ["ResultList", "ErrorList"], + members: { + ResultList: { + type: "list", + member: { + type: "structure", + members: { + Index: { type: "integer" }, + KeyPhrases: { shape: "Sq" }, + }, + }, + }, + ErrorList: { shape: "Sc" }, + }, + sensitive: true, }, }, - ListEndpointsByPlatformApplication: { + BatchDetectSentiment: { input: { type: "structure", - required: ["PlatformApplicationArn"], - members: { PlatformApplicationArn: {}, NextToken: {} }, + required: ["TextList", "LanguageCode"], + members: { TextList: { shape: "S2" }, LanguageCode: {} }, }, output: { - resultWrapper: "ListEndpointsByPlatformApplicationResult", type: "structure", + required: ["ResultList", "ErrorList"], members: { - Endpoints: { + ResultList: { type: "list", member: { type: "structure", - members: { EndpointArn: {}, Attributes: { shape: "Sj" } }, + members: { + Index: { type: "integer" }, + Sentiment: {}, + SentimentScore: { shape: "Sx" }, + }, }, }, - NextToken: {}, + ErrorList: { shape: "Sc" }, }, + sensitive: true, }, }, - ListPhoneNumbersOptedOut: { - input: { type: "structure", members: { nextToken: {} } }, - output: { - resultWrapper: "ListPhoneNumbersOptedOutResult", + BatchDetectSyntax: { + input: { type: "structure", - members: { - phoneNumbers: { type: "list", member: {} }, - nextToken: {}, - }, + required: ["TextList", "LanguageCode"], + members: { TextList: { shape: "S2" }, LanguageCode: {} }, }, - }, - ListPlatformApplications: { - input: { type: "structure", members: { NextToken: {} } }, output: { - resultWrapper: "ListPlatformApplicationsResult", type: "structure", + required: ["ResultList", "ErrorList"], members: { - PlatformApplications: { + ResultList: { type: "list", member: { type: "structure", members: { - PlatformApplicationArn: {}, - Attributes: { shape: "Sj" }, + Index: { type: "integer" }, + SyntaxTokens: { shape: "S13" }, }, }, }, - NextToken: {}, + ErrorList: { shape: "Sc" }, }, + sensitive: true, }, }, - ListSubscriptions: { - input: { type: "structure", members: { NextToken: {} } }, - output: { - resultWrapper: "ListSubscriptionsResult", - type: "structure", - members: { Subscriptions: { shape: "S1r" }, NextToken: {} }, - }, - }, - ListSubscriptionsByTopic: { + ClassifyDocument: { input: { type: "structure", - required: ["TopicArn"], - members: { TopicArn: {}, NextToken: {} }, + required: ["Text", "EndpointArn"], + members: { Text: { shape: "S3" }, EndpointArn: {} }, }, output: { - resultWrapper: "ListSubscriptionsByTopicResult", - type: "structure", - members: { Subscriptions: { shape: "S1r" }, NextToken: {} }, - }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, - }, - output: { - resultWrapper: "ListTagsForResourceResult", - type: "structure", - members: { Tags: { shape: "Ss" } }, - }, - }, - ListTopics: { - input: { type: "structure", members: { NextToken: {} } }, - output: { - resultWrapper: "ListTopicsResult", type: "structure", members: { - Topics: { + Classes: { type: "list", - member: { type: "structure", members: { TopicArn: {} } }, + member: { + type: "structure", + members: { Name: {}, Score: { type: "float" } }, + }, + }, + Labels: { + type: "list", + member: { + type: "structure", + members: { Name: {}, Score: { type: "float" } }, + }, }, - NextToken: {}, }, + sensitive: true, }, }, - OptInPhoneNumber: { + CreateDocumentClassifier: { input: { type: "structure", - required: ["phoneNumber"], - members: { phoneNumber: {} }, + required: [ + "DocumentClassifierName", + "DataAccessRoleArn", + "InputDataConfig", + "LanguageCode", + ], + members: { + DocumentClassifierName: {}, + DataAccessRoleArn: {}, + Tags: { shape: "S1h" }, + InputDataConfig: { shape: "S1l" }, + OutputDataConfig: { shape: "S1t" }, + ClientRequestToken: { idempotencyToken: true }, + LanguageCode: {}, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, + Mode: {}, + }, }, output: { - resultWrapper: "OptInPhoneNumberResult", type: "structure", - members: {}, + members: { DocumentClassifierArn: {} }, }, }, - Publish: { + CreateEndpoint: { input: { type: "structure", - required: ["Message"], + required: ["EndpointName", "ModelArn", "DesiredInferenceUnits"], members: { - TopicArn: {}, - TargetArn: {}, - PhoneNumber: {}, - Message: {}, - Subject: {}, - MessageStructure: {}, - MessageAttributes: { - type: "map", - key: { locationName: "Name" }, - value: { - locationName: "Value", - type: "structure", - required: ["DataType"], - members: { - DataType: {}, - StringValue: {}, - BinaryValue: { type: "blob" }, - }, - }, - }, + EndpointName: {}, + ModelArn: {}, + DesiredInferenceUnits: { type: "integer" }, + ClientRequestToken: { idempotencyToken: true }, + Tags: { shape: "S1h" }, }, }, - output: { - resultWrapper: "PublishResult", + output: { type: "structure", members: { EndpointArn: {} } }, + }, + CreateEntityRecognizer: { + input: { type: "structure", - members: { MessageId: {} }, + required: [ + "RecognizerName", + "DataAccessRoleArn", + "InputDataConfig", + "LanguageCode", + ], + members: { + RecognizerName: {}, + DataAccessRoleArn: {}, + Tags: { shape: "S1h" }, + InputDataConfig: { shape: "S2b" }, + ClientRequestToken: { idempotencyToken: true }, + LanguageCode: {}, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, + }, }, + output: { type: "structure", members: { EntityRecognizerArn: {} } }, }, - RemovePermission: { + DeleteDocumentClassifier: { input: { type: "structure", - required: ["TopicArn", "Label"], - members: { TopicArn: {}, Label: {} }, + required: ["DocumentClassifierArn"], + members: { DocumentClassifierArn: {} }, }, + output: { type: "structure", members: {} }, }, - SetEndpointAttributes: { + DeleteEndpoint: { input: { type: "structure", - required: ["EndpointArn", "Attributes"], - members: { EndpointArn: {}, Attributes: { shape: "Sj" } }, + required: ["EndpointArn"], + members: { EndpointArn: {} }, }, + output: { type: "structure", members: {} }, }, - SetPlatformApplicationAttributes: { + DeleteEntityRecognizer: { input: { type: "structure", - required: ["PlatformApplicationArn", "Attributes"], + required: ["EntityRecognizerArn"], + members: { EntityRecognizerArn: {} }, + }, + output: { type: "structure", members: {} }, + }, + DescribeDocumentClassificationJob: { + input: { + type: "structure", + required: ["JobId"], + members: { JobId: {} }, + }, + output: { + type: "structure", members: { - PlatformApplicationArn: {}, - Attributes: { shape: "Sj" }, + DocumentClassificationJobProperties: { shape: "S2v" }, }, }, }, - SetSMSAttributes: { + DescribeDocumentClassifier: { input: { type: "structure", - required: ["attributes"], - members: { attributes: { shape: "Sj" } }, + required: ["DocumentClassifierArn"], + members: { DocumentClassifierArn: {} }, }, output: { - resultWrapper: "SetSMSAttributesResult", type: "structure", - members: {}, + members: { DocumentClassifierProperties: { shape: "S35" } }, }, }, - SetSubscriptionAttributes: { + DescribeDominantLanguageDetectionJob: { input: { type: "structure", - required: ["SubscriptionArn", "AttributeName"], + required: ["JobId"], + members: { JobId: {} }, + }, + output: { + type: "structure", members: { - SubscriptionArn: {}, - AttributeName: {}, - AttributeValue: {}, + DominantLanguageDetectionJobProperties: { shape: "S3c" }, }, }, }, - SetTopicAttributes: { + DescribeEndpoint: { input: { type: "structure", - required: ["TopicArn", "AttributeName"], - members: { TopicArn: {}, AttributeName: {}, AttributeValue: {} }, + required: ["EndpointArn"], + members: { EndpointArn: {} }, + }, + output: { + type: "structure", + members: { EndpointProperties: { shape: "S3f" } }, }, }, - Subscribe: { + DescribeEntitiesDetectionJob: { input: { type: "structure", - required: ["TopicArn", "Protocol"], - members: { - TopicArn: {}, - Protocol: {}, - Endpoint: {}, - Attributes: { shape: "S19" }, - ReturnSubscriptionArn: { type: "boolean" }, - }, + required: ["JobId"], + members: { JobId: {} }, }, output: { - resultWrapper: "SubscribeResult", type: "structure", - members: { SubscriptionArn: {} }, + members: { EntitiesDetectionJobProperties: { shape: "S3j" } }, }, }, - TagResource: { + DescribeEntityRecognizer: { input: { type: "structure", - required: ["ResourceArn", "Tags"], - members: { ResourceArn: {}, Tags: { shape: "Ss" } }, + required: ["EntityRecognizerArn"], + members: { EntityRecognizerArn: {} }, }, output: { - resultWrapper: "TagResourceResult", type: "structure", - members: {}, + members: { EntityRecognizerProperties: { shape: "S3m" } }, }, }, - Unsubscribe: { + DescribeEventsDetectionJob: { input: { type: "structure", - required: ["SubscriptionArn"], - members: { SubscriptionArn: {} }, + required: ["JobId"], + members: { JobId: {} }, + }, + output: { + type: "structure", + members: { EventsDetectionJobProperties: { shape: "S3u" } }, }, }, - UntagResource: { + DescribeKeyPhrasesDetectionJob: { input: { type: "structure", - required: ["ResourceArn", "TagKeys"], - members: { - ResourceArn: {}, - TagKeys: { type: "list", member: {} }, - }, + required: ["JobId"], + members: { JobId: {} }, }, output: { - resultWrapper: "UntagResourceResult", type: "structure", - members: {}, + members: { KeyPhrasesDetectionJobProperties: { shape: "S3z" } }, }, }, - }, - shapes: { - Sj: { type: "map", key: {}, value: {} }, - Sp: { type: "map", key: {}, value: {} }, - Ss: { - type: "list", - member: { + DescribePiiEntitiesDetectionJob: { + input: { type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, + required: ["JobId"], + members: { JobId: {} }, }, - }, - S19: { type: "map", key: {}, value: {} }, - S1r: { - type: "list", - member: { + output: { type: "structure", - members: { - SubscriptionArn: {}, - Owner: {}, - Protocol: {}, - Endpoint: {}, - TopicArn: {}, - }, + members: { PiiEntitiesDetectionJobProperties: { shape: "S42" } }, }, }, - }, - }; - - /***/ - }, - - /***/ 3989: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["pricing"] = {}; - AWS.Pricing = Service.defineService("pricing", ["2017-10-15"]); - Object.defineProperty(apiLoader.services["pricing"], "2017-10-15", { - get: function get() { - var model = __webpack_require__(2760); - model.paginators = __webpack_require__(5437).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Pricing; - - /***/ - }, - - /***/ 3992: /***/ function (__unusedmodule, exports, __webpack_require__) { - // Generated by CoffeeScript 1.12.7 - (function () { - "use strict"; - var builder, - defaults, - parser, - processors, - extend = function (child, parent) { - for (var key in parent) { - if (hasProp.call(parent, key)) child[key] = parent[key]; - } - function ctor() { - this.constructor = child; - } - ctor.prototype = parent.prototype; - child.prototype = new ctor(); - child.__super__ = parent.prototype; - return child; - }, - hasProp = {}.hasOwnProperty; - - defaults = __webpack_require__(1514); - - builder = __webpack_require__(2476); - - parser = __webpack_require__(1885); - - processors = __webpack_require__(5350); - - exports.defaults = defaults.defaults; - - exports.processors = processors; - - exports.ValidationError = (function (superClass) { - extend(ValidationError, superClass); - - function ValidationError(message) { - this.message = message; - } - - return ValidationError; - })(Error); - - exports.Builder = builder.Builder; - - exports.Parser = parser.Parser; - - exports.parseString = parser.parseString; - }.call(this)); - - /***/ - }, - - /***/ 3998: /***/ function (module) { - module.exports = { - pagination: { - DescribeActionTargets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - DescribeProducts: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - DescribeStandards: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - DescribeStandardsControls: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - GetEnabledStandards: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - GetFindings: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - GetInsights: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListEnabledProductsForImport: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListInvitations: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - ListMembers: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, - }, - }; - - /***/ - }, - - /***/ 4008: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2015-12-10", - endpointPrefix: "servicecatalog", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Service Catalog", - serviceId: "Service Catalog", - signatureVersion: "v4", - targetPrefix: "AWS242ServiceCatalogService", - uid: "servicecatalog-2015-12-10", - }, - operations: { - AcceptPortfolioShare: { + DescribeSentimentDetectionJob: { input: { type: "structure", - required: ["PortfolioId"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - PortfolioShareType: {}, - }, + required: ["JobId"], + members: { JobId: {} }, }, - output: { type: "structure", members: {} }, - }, - AssociateBudgetWithResource: { - input: { + output: { type: "structure", - required: ["BudgetName", "ResourceId"], - members: { BudgetName: {}, ResourceId: {} }, + members: { SentimentDetectionJobProperties: { shape: "S4c" } }, }, - output: { type: "structure", members: {} }, }, - AssociatePrincipalWithPortfolio: { + DescribeTopicsDetectionJob: { input: { type: "structure", - required: ["PortfolioId", "PrincipalARN", "PrincipalType"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - PrincipalARN: {}, - PrincipalType: {}, - }, + required: ["JobId"], + members: { JobId: {} }, }, - output: { type: "structure", members: {} }, - }, - AssociateProductWithPortfolio: { - input: { + output: { type: "structure", - required: ["ProductId", "PortfolioId"], - members: { - AcceptLanguage: {}, - ProductId: {}, - PortfolioId: {}, - SourcePortfolioId: {}, - }, + members: { TopicsDetectionJobProperties: { shape: "S4f" } }, }, - output: { type: "structure", members: {} }, }, - AssociateServiceActionWithProvisioningArtifact: { + DetectDominantLanguage: { input: { type: "structure", - required: [ - "ProductId", - "ProvisioningArtifactId", - "ServiceActionId", - ], - members: { - ProductId: {}, - ProvisioningArtifactId: {}, - ServiceActionId: {}, - AcceptLanguage: {}, - }, + required: ["Text"], + members: { Text: { shape: "S3" } }, }, - output: { type: "structure", members: {} }, - }, - AssociateTagOptionWithResource: { - input: { + output: { type: "structure", - required: ["ResourceId", "TagOptionId"], - members: { ResourceId: {}, TagOptionId: {} }, + members: { Languages: { shape: "S8" } }, + sensitive: true, }, - output: { type: "structure", members: {} }, }, - BatchAssociateServiceActionWithProvisioningArtifact: { + DetectEntities: { input: { type: "structure", - required: ["ServiceActionAssociations"], + required: ["Text"], members: { - ServiceActionAssociations: { shape: "Sm" }, - AcceptLanguage: {}, + Text: { shape: "S3" }, + LanguageCode: {}, + EndpointArn: {}, }, }, output: { type: "structure", - members: { FailedServiceActionAssociations: { shape: "Sp" } }, + members: { Entities: { shape: "Sj" } }, + sensitive: true, }, }, - BatchDisassociateServiceActionFromProvisioningArtifact: { + DetectKeyPhrases: { input: { type: "structure", - required: ["ServiceActionAssociations"], - members: { - ServiceActionAssociations: { shape: "Sm" }, - AcceptLanguage: {}, - }, + required: ["Text", "LanguageCode"], + members: { Text: { shape: "S3" }, LanguageCode: {} }, }, output: { type: "structure", - members: { FailedServiceActionAssociations: { shape: "Sp" } }, + members: { KeyPhrases: { shape: "Sq" } }, + sensitive: true, }, }, - CopyProduct: { + DetectPiiEntities: { input: { type: "structure", - required: ["SourceProductArn", "IdempotencyToken"], + required: ["Text", "LanguageCode"], + members: { Text: {}, LanguageCode: {} }, + }, + output: { + type: "structure", members: { - AcceptLanguage: {}, - SourceProductArn: {}, - TargetProductId: {}, - TargetProductName: {}, - SourceProvisioningArtifactIdentifiers: { + Entities: { type: "list", - member: { type: "map", key: {}, value: {} }, + member: { + type: "structure", + members: { + Score: { type: "float" }, + Type: {}, + BeginOffset: { type: "integer" }, + EndOffset: { type: "integer" }, + }, + }, }, - CopyOptions: { type: "list", member: {} }, - IdempotencyToken: { idempotencyToken: true }, }, }, - output: { type: "structure", members: { CopyProductToken: {} } }, }, - CreateConstraint: { + DetectSentiment: { input: { type: "structure", - required: [ - "PortfolioId", - "ProductId", - "Parameters", - "Type", - "IdempotencyToken", - ], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - ProductId: {}, - Parameters: {}, - Type: {}, - Description: {}, - IdempotencyToken: { idempotencyToken: true }, - }, + required: ["Text", "LanguageCode"], + members: { Text: { shape: "S3" }, LanguageCode: {} }, }, output: { type: "structure", - members: { - ConstraintDetail: { shape: "S1b" }, - ConstraintParameters: {}, - Status: {}, - }, + members: { Sentiment: {}, SentimentScore: { shape: "Sx" } }, + sensitive: true, }, }, - CreatePortfolio: { + DetectSyntax: { input: { type: "structure", - required: ["DisplayName", "ProviderName", "IdempotencyToken"], - members: { - AcceptLanguage: {}, - DisplayName: {}, - Description: {}, - ProviderName: {}, - Tags: { shape: "S1i" }, - IdempotencyToken: { idempotencyToken: true }, - }, + required: ["Text", "LanguageCode"], + members: { Text: { shape: "S3" }, LanguageCode: {} }, }, output: { type: "structure", - members: { - PortfolioDetail: { shape: "S1n" }, - Tags: { shape: "S1q" }, - }, - }, - }, - CreatePortfolioShare: { - input: { - type: "structure", - required: ["PortfolioId"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - AccountId: {}, - OrganizationNode: { shape: "S1s" }, - }, + members: { SyntaxTokens: { shape: "S13" } }, + sensitive: true, }, - output: { type: "structure", members: { PortfolioShareToken: {} } }, }, - CreateProduct: { + ListDocumentClassificationJobs: { input: { type: "structure", - required: [ - "Name", - "Owner", - "ProductType", - "ProvisioningArtifactParameters", - "IdempotencyToken", - ], members: { - AcceptLanguage: {}, - Name: {}, - Owner: {}, - Description: {}, - Distributor: {}, - SupportDescription: {}, - SupportEmail: {}, - SupportUrl: {}, - ProductType: {}, - Tags: { shape: "S1i" }, - ProvisioningArtifactParameters: { shape: "S23" }, - IdempotencyToken: { idempotencyToken: true }, + Filter: { + type: "structure", + members: { + JobName: {}, + JobStatus: {}, + SubmitTimeBefore: { type: "timestamp" }, + SubmitTimeAfter: { type: "timestamp" }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - ProductViewDetail: { shape: "S2c" }, - ProvisioningArtifactDetail: { shape: "S2h" }, - Tags: { shape: "S1q" }, + DocumentClassificationJobPropertiesList: { + type: "list", + member: { shape: "S2v" }, + }, + NextToken: {}, }, }, }, - CreateProvisionedProductPlan: { + ListDocumentClassifiers: { input: { type: "structure", - required: [ - "PlanName", - "PlanType", - "ProductId", - "ProvisionedProductName", - "ProvisioningArtifactId", - "IdempotencyToken", - ], members: { - AcceptLanguage: {}, - PlanName: {}, - PlanType: {}, - NotificationArns: { shape: "S2n" }, - PathId: {}, - ProductId: {}, - ProvisionedProductName: {}, - ProvisioningArtifactId: {}, - ProvisioningParameters: { shape: "S2q" }, - IdempotencyToken: { idempotencyToken: true }, - Tags: { shape: "S1q" }, + Filter: { + type: "structure", + members: { + Status: {}, + SubmitTimeBefore: { type: "timestamp" }, + SubmitTimeAfter: { type: "timestamp" }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - PlanName: {}, - PlanId: {}, - ProvisionProductId: {}, - ProvisionedProductName: {}, - ProvisioningArtifactId: {}, + DocumentClassifierPropertiesList: { + type: "list", + member: { shape: "S35" }, + }, + NextToken: {}, }, }, }, - CreateProvisioningArtifact: { + ListDominantLanguageDetectionJobs: { input: { type: "structure", - required: ["ProductId", "Parameters", "IdempotencyToken"], members: { - AcceptLanguage: {}, - ProductId: {}, - Parameters: { shape: "S23" }, - IdempotencyToken: { idempotencyToken: true }, + Filter: { + type: "structure", + members: { + JobName: {}, + JobStatus: {}, + SubmitTimeBefore: { type: "timestamp" }, + SubmitTimeAfter: { type: "timestamp" }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - ProvisioningArtifactDetail: { shape: "S2h" }, - Info: { shape: "S26" }, - Status: {}, + DominantLanguageDetectionJobPropertiesList: { + type: "list", + member: { shape: "S3c" }, + }, + NextToken: {}, }, }, }, - CreateServiceAction: { + ListEndpoints: { input: { type: "structure", - required: [ - "Name", - "DefinitionType", - "Definition", - "IdempotencyToken", - ], members: { - Name: {}, - DefinitionType: {}, - Definition: { shape: "S31" }, - Description: {}, - AcceptLanguage: {}, - IdempotencyToken: { idempotencyToken: true }, + Filter: { + type: "structure", + members: { + ModelArn: {}, + Status: {}, + CreationTimeBefore: { type: "timestamp" }, + CreationTimeAfter: { type: "timestamp" }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, output: { type: "structure", - members: { ServiceActionDetail: { shape: "S36" } }, - }, - }, - CreateTagOption: { - input: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - output: { - type: "structure", - members: { TagOptionDetail: { shape: "S3c" } }, - }, - }, - DeleteConstraint: { - input: { - type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeletePortfolio: { - input: { - type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeletePortfolioShare: { - input: { - type: "structure", - required: ["PortfolioId"], members: { - AcceptLanguage: {}, - PortfolioId: {}, - AccountId: {}, - OrganizationNode: { shape: "S1s" }, + EndpointPropertiesList: { + type: "list", + member: { shape: "S3f" }, + }, + NextToken: {}, }, }, - output: { type: "structure", members: { PortfolioShareToken: {} } }, - }, - DeleteProduct: { - input: { - type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, - }, - output: { type: "structure", members: {} }, }, - DeleteProvisionedProductPlan: { + ListEntitiesDetectionJobs: { input: { type: "structure", - required: ["PlanId"], members: { - AcceptLanguage: {}, - PlanId: {}, - IgnoreErrors: { type: "boolean" }, + Filter: { + type: "structure", + members: { + JobName: {}, + JobStatus: {}, + SubmitTimeBefore: { type: "timestamp" }, + SubmitTimeAfter: { type: "timestamp" }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, - output: { type: "structure", members: {} }, - }, - DeleteProvisioningArtifact: { - input: { + output: { type: "structure", - required: ["ProductId", "ProvisioningArtifactId"], members: { - AcceptLanguage: {}, - ProductId: {}, - ProvisioningArtifactId: {}, + EntitiesDetectionJobPropertiesList: { + type: "list", + member: { shape: "S3j" }, + }, + NextToken: {}, }, }, - output: { type: "structure", members: {} }, - }, - DeleteServiceAction: { - input: { - type: "structure", - required: ["Id"], - members: { Id: {}, AcceptLanguage: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteTagOption: { - input: { type: "structure", required: ["Id"], members: { Id: {} } }, - output: { type: "structure", members: {} }, }, - DescribeConstraint: { + ListEntityRecognizers: { input: { type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, + members: { + Filter: { + type: "structure", + members: { + Status: {}, + SubmitTimeBefore: { type: "timestamp" }, + SubmitTimeAfter: { type: "timestamp" }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, }, output: { type: "structure", members: { - ConstraintDetail: { shape: "S1b" }, - ConstraintParameters: {}, - Status: {}, + EntityRecognizerPropertiesList: { + type: "list", + member: { shape: "S3m" }, + }, + NextToken: {}, }, }, }, - DescribeCopyProductStatus: { + ListEventsDetectionJobs: { input: { type: "structure", - required: ["CopyProductToken"], - members: { AcceptLanguage: {}, CopyProductToken: {} }, + members: { + Filter: { + type: "structure", + members: { + JobName: {}, + JobStatus: {}, + SubmitTimeBefore: { type: "timestamp" }, + SubmitTimeAfter: { type: "timestamp" }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, }, output: { type: "structure", members: { - CopyProductStatus: {}, - TargetProductId: {}, - StatusDetail: {}, + EventsDetectionJobPropertiesList: { + type: "list", + member: { shape: "S3u" }, + }, + NextToken: {}, }, }, }, - DescribePortfolio: { + ListKeyPhrasesDetectionJobs: { input: { type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, + members: { + Filter: { + type: "structure", + members: { + JobName: {}, + JobStatus: {}, + SubmitTimeBefore: { type: "timestamp" }, + SubmitTimeAfter: { type: "timestamp" }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, }, output: { type: "structure", members: { - PortfolioDetail: { shape: "S1n" }, - Tags: { shape: "S1q" }, - TagOptions: { shape: "S43" }, - Budgets: { shape: "S44" }, + KeyPhrasesDetectionJobPropertiesList: { + type: "list", + member: { shape: "S3z" }, + }, + NextToken: {}, }, }, }, - DescribePortfolioShareStatus: { + ListPiiEntitiesDetectionJobs: { input: { - type: "structure", - required: ["PortfolioShareToken"], - members: { PortfolioShareToken: {} }, - }, - output: { type: "structure", members: { - PortfolioShareToken: {}, - PortfolioId: {}, - OrganizationNodeValue: {}, - Status: {}, - ShareDetails: { + Filter: { type: "structure", members: { - SuccessfulShares: { type: "list", member: {} }, - ShareErrors: { - type: "list", - member: { - type: "structure", - members: { - Accounts: { type: "list", member: {} }, - Message: {}, - Error: {}, - }, - }, - }, + JobName: {}, + JobStatus: {}, + SubmitTimeBefore: { type: "timestamp" }, + SubmitTimeAfter: { type: "timestamp" }, }, }, + NextToken: {}, + MaxResults: { type: "integer" }, }, }, - }, - DescribeProduct: { - input: { - type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, - }, output: { type: "structure", members: { - ProductViewSummary: { shape: "S2d" }, - ProvisioningArtifacts: { shape: "S4i" }, - Budgets: { shape: "S44" }, + PiiEntitiesDetectionJobPropertiesList: { + type: "list", + member: { shape: "S42" }, + }, + NextToken: {}, }, }, }, - DescribeProductAsAdmin: { + ListSentimentDetectionJobs: { input: { type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, + members: { + Filter: { + type: "structure", + members: { + JobName: {}, + JobStatus: {}, + SubmitTimeBefore: { type: "timestamp" }, + SubmitTimeAfter: { type: "timestamp" }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, }, output: { type: "structure", members: { - ProductViewDetail: { shape: "S2c" }, - ProvisioningArtifactSummaries: { + SentimentDetectionJobPropertiesList: { type: "list", - member: { - type: "structure", - members: { - Id: {}, - Name: {}, - Description: {}, - CreatedTime: { type: "timestamp" }, - ProvisioningArtifactMetadata: { shape: "S26" }, - }, - }, + member: { shape: "S4c" }, }, - Tags: { shape: "S1q" }, - TagOptions: { shape: "S43" }, - Budgets: { shape: "S44" }, + NextToken: {}, }, }, }, - DescribeProductView: { + ListTagsForResource: { input: { type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, + required: ["ResourceArn"], + members: { ResourceArn: {} }, }, output: { type: "structure", - members: { - ProductViewSummary: { shape: "S2d" }, - ProvisioningArtifacts: { shape: "S4i" }, - }, + members: { ResourceArn: {}, Tags: { shape: "S1h" } }, }, }, - DescribeProvisionedProduct: { + ListTopicsDetectionJobs: { input: { type: "structure", - required: ["Id"], - members: { AcceptLanguage: {}, Id: {} }, + members: { + Filter: { + type: "structure", + members: { + JobName: {}, + JobStatus: {}, + SubmitTimeBefore: { type: "timestamp" }, + SubmitTimeAfter: { type: "timestamp" }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, }, output: { type: "structure", members: { - ProvisionedProductDetail: { shape: "S4t" }, - CloudWatchDashboards: { + TopicsDetectionJobPropertiesList: { type: "list", - member: { type: "structure", members: { Name: {} } }, + member: { shape: "S4f" }, }, + NextToken: {}, }, }, }, - DescribeProvisionedProductPlan: { + StartDocumentClassificationJob: { input: { type: "structure", - required: ["PlanId"], + required: [ + "DocumentClassifierArn", + "InputDataConfig", + "OutputDataConfig", + "DataAccessRoleArn", + ], members: { - AcceptLanguage: {}, - PlanId: {}, - PageSize: { type: "integer" }, - PageToken: {}, + JobName: {}, + DocumentClassifierArn: {}, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + DataAccessRoleArn: {}, + ClientRequestToken: { idempotencyToken: true }, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, }, output: { type: "structure", - members: { - ProvisionedProductPlanDetails: { - type: "structure", - members: { - CreatedTime: { type: "timestamp" }, - PathId: {}, - ProductId: {}, - PlanName: {}, - PlanId: {}, - ProvisionProductId: {}, - ProvisionProductName: {}, - PlanType: {}, - ProvisioningArtifactId: {}, - Status: {}, - UpdatedTime: { type: "timestamp" }, - NotificationArns: { shape: "S2n" }, - ProvisioningParameters: { shape: "S2q" }, - Tags: { shape: "S1q" }, - StatusMessage: {}, - }, - }, - ResourceChanges: { - type: "list", - member: { - type: "structure", - members: { - Action: {}, - LogicalResourceId: {}, - PhysicalResourceId: {}, - ResourceType: {}, - Replacement: {}, - Scope: { type: "list", member: {} }, - Details: { - type: "list", - member: { - type: "structure", - members: { - Target: { - type: "structure", - members: { - Attribute: {}, - Name: {}, - RequiresRecreation: {}, - }, - }, - Evaluation: {}, - CausingEntity: {}, - }, - }, - }, - }, - }, - }, - NextPageToken: {}, - }, + members: { JobId: {}, JobStatus: {} }, }, }, - DescribeProvisioningArtifact: { + StartDominantLanguageDetectionJob: { input: { type: "structure", - required: ["ProvisioningArtifactId", "ProductId"], + required: [ + "InputDataConfig", + "OutputDataConfig", + "DataAccessRoleArn", + ], members: { - AcceptLanguage: {}, - ProvisioningArtifactId: {}, - ProductId: {}, - Verbose: { type: "boolean" }, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + DataAccessRoleArn: {}, + JobName: {}, + ClientRequestToken: { idempotencyToken: true }, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, }, output: { type: "structure", - members: { - ProvisioningArtifactDetail: { shape: "S2h" }, - Info: { shape: "S26" }, - Status: {}, - }, + members: { JobId: {}, JobStatus: {} }, }, }, - DescribeProvisioningParameters: { + StartEntitiesDetectionJob: { input: { type: "structure", - required: ["ProductId", "ProvisioningArtifactId"], + required: [ + "InputDataConfig", + "OutputDataConfig", + "DataAccessRoleArn", + "LanguageCode", + ], members: { - AcceptLanguage: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - PathId: {}, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + DataAccessRoleArn: {}, + JobName: {}, + EntityRecognizerArn: {}, + LanguageCode: {}, + ClientRequestToken: { idempotencyToken: true }, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, }, output: { type: "structure", - members: { - ProvisioningArtifactParameters: { - type: "list", - member: { - type: "structure", - members: { - ParameterKey: {}, - DefaultValue: {}, - ParameterType: {}, - IsNoEcho: { type: "boolean" }, - Description: {}, - ParameterConstraints: { - type: "structure", - members: { - AllowedValues: { type: "list", member: {} }, - }, - }, - }, - }, - }, - ConstraintSummaries: { shape: "S65" }, - UsageInstructions: { - type: "list", - member: { - type: "structure", - members: { Type: {}, Value: {} }, - }, - }, - TagOptions: { - type: "list", - member: { - type: "structure", - members: { Key: {}, Values: { type: "list", member: {} } }, - }, - }, - ProvisioningArtifactPreferences: { - type: "structure", - members: { - StackSetAccounts: { shape: "S6f" }, - StackSetRegions: { shape: "S6g" }, - }, - }, - }, + members: { JobId: {}, JobStatus: {} }, }, }, - DescribeRecord: { + StartEventsDetectionJob: { input: { type: "structure", - required: ["Id"], - members: { - AcceptLanguage: {}, - Id: {}, - PageToken: {}, - PageSize: { type: "integer" }, - }, - }, - output: { - type: "structure", + required: [ + "InputDataConfig", + "OutputDataConfig", + "DataAccessRoleArn", + "LanguageCode", + "TargetEventTypes", + ], members: { - RecordDetail: { shape: "S6k" }, - RecordOutputs: { - type: "list", - member: { - type: "structure", - members: { - OutputKey: {}, - OutputValue: {}, - Description: {}, - }, - }, - }, - NextPageToken: {}, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + DataAccessRoleArn: {}, + JobName: {}, + LanguageCode: {}, + ClientRequestToken: { idempotencyToken: true }, + TargetEventTypes: { shape: "S3v" }, }, }, - }, - DescribeServiceAction: { - input: { - type: "structure", - required: ["Id"], - members: { Id: {}, AcceptLanguage: {} }, - }, output: { type: "structure", - members: { ServiceActionDetail: { shape: "S36" } }, + members: { JobId: {}, JobStatus: {} }, }, }, - DescribeServiceActionExecutionParameters: { + StartKeyPhrasesDetectionJob: { input: { type: "structure", - required: ["ProvisionedProductId", "ServiceActionId"], - members: { - ProvisionedProductId: {}, - ServiceActionId: {}, - AcceptLanguage: {}, - }, - }, - output: { - type: "structure", + required: [ + "InputDataConfig", + "OutputDataConfig", + "DataAccessRoleArn", + "LanguageCode", + ], members: { - ServiceActionParameters: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - Type: {}, - DefaultValues: { shape: "S77" }, - }, - }, - }, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + DataAccessRoleArn: {}, + JobName: {}, + LanguageCode: {}, + ClientRequestToken: { idempotencyToken: true }, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, }, - }, - DescribeTagOption: { - input: { type: "structure", required: ["Id"], members: { Id: {} } }, output: { type: "structure", - members: { TagOptionDetail: { shape: "S3c" } }, - }, - }, - DisableAWSOrganizationsAccess: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: {} }, - }, - DisassociateBudgetFromResource: { - input: { - type: "structure", - required: ["BudgetName", "ResourceId"], - members: { BudgetName: {}, ResourceId: {} }, - }, - output: { type: "structure", members: {} }, - }, - DisassociatePrincipalFromPortfolio: { - input: { - type: "structure", - required: ["PortfolioId", "PrincipalARN"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - PrincipalARN: {}, - }, - }, - output: { type: "structure", members: {} }, - }, - DisassociateProductFromPortfolio: { - input: { - type: "structure", - required: ["ProductId", "PortfolioId"], - members: { AcceptLanguage: {}, ProductId: {}, PortfolioId: {} }, + members: { JobId: {}, JobStatus: {} }, }, - output: { type: "structure", members: {} }, }, - DisassociateServiceActionFromProvisioningArtifact: { + StartPiiEntitiesDetectionJob: { input: { type: "structure", required: [ - "ProductId", - "ProvisioningArtifactId", - "ServiceActionId", + "InputDataConfig", + "OutputDataConfig", + "Mode", + "DataAccessRoleArn", + "LanguageCode", ], members: { - ProductId: {}, - ProvisioningArtifactId: {}, - ServiceActionId: {}, - AcceptLanguage: {}, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + Mode: {}, + RedactionConfig: { shape: "S44" }, + DataAccessRoleArn: {}, + JobName: {}, + LanguageCode: {}, + ClientRequestToken: { idempotencyToken: true }, }, }, - output: { type: "structure", members: {} }, - }, - DisassociateTagOptionFromResource: { - input: { + output: { type: "structure", - required: ["ResourceId", "TagOptionId"], - members: { ResourceId: {}, TagOptionId: {} }, + members: { JobId: {}, JobStatus: {} }, }, - output: { type: "structure", members: {} }, - }, - EnableAWSOrganizationsAccess: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: {} }, }, - ExecuteProvisionedProductPlan: { + StartSentimentDetectionJob: { input: { type: "structure", - required: ["PlanId", "IdempotencyToken"], + required: [ + "InputDataConfig", + "OutputDataConfig", + "DataAccessRoleArn", + "LanguageCode", + ], members: { - AcceptLanguage: {}, - PlanId: {}, - IdempotencyToken: { idempotencyToken: true }, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + DataAccessRoleArn: {}, + JobName: {}, + LanguageCode: {}, + ClientRequestToken: { idempotencyToken: true }, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, }, output: { type: "structure", - members: { RecordDetail: { shape: "S6k" } }, + members: { JobId: {}, JobStatus: {} }, }, }, - ExecuteProvisionedProductServiceAction: { + StartTopicsDetectionJob: { input: { type: "structure", required: [ - "ProvisionedProductId", - "ServiceActionId", - "ExecuteToken", + "InputDataConfig", + "OutputDataConfig", + "DataAccessRoleArn", ], members: { - ProvisionedProductId: {}, - ServiceActionId: {}, - ExecuteToken: { idempotencyToken: true }, - AcceptLanguage: {}, - Parameters: { type: "map", key: {}, value: { shape: "S77" } }, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + DataAccessRoleArn: {}, + JobName: {}, + NumberOfTopics: { type: "integer" }, + ClientRequestToken: { idempotencyToken: true }, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, }, output: { type: "structure", - members: { RecordDetail: { shape: "S6k" } }, + members: { JobId: {}, JobStatus: {} }, }, }, - GetAWSOrganizationsAccessStatus: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: { AccessStatus: {} } }, - }, - ListAcceptedPortfolioShares: { + StopDominantLanguageDetectionJob: { input: { type: "structure", - members: { - AcceptLanguage: {}, - PageToken: {}, - PageSize: { type: "integer" }, - PortfolioShareType: {}, - }, + required: ["JobId"], + members: { JobId: {} }, }, output: { type: "structure", - members: { - PortfolioDetails: { shape: "S7z" }, - NextPageToken: {}, - }, + members: { JobId: {}, JobStatus: {} }, }, }, - ListBudgetsForResource: { + StopEntitiesDetectionJob: { input: { type: "structure", - required: ["ResourceId"], - members: { - AcceptLanguage: {}, - ResourceId: {}, - PageSize: { type: "integer" }, - PageToken: {}, - }, + required: ["JobId"], + members: { JobId: {} }, }, output: { type: "structure", - members: { Budgets: { shape: "S44" }, NextPageToken: {} }, + members: { JobId: {}, JobStatus: {} }, }, }, - ListConstraintsForPortfolio: { + StopEventsDetectionJob: { input: { type: "structure", - required: ["PortfolioId"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - ProductId: {}, - PageSize: { type: "integer" }, - PageToken: {}, - }, + required: ["JobId"], + members: { JobId: {} }, }, output: { type: "structure", - members: { - ConstraintDetails: { type: "list", member: { shape: "S1b" } }, - NextPageToken: {}, - }, + members: { JobId: {}, JobStatus: {} }, }, }, - ListLaunchPaths: { + StopKeyPhrasesDetectionJob: { input: { type: "structure", - required: ["ProductId"], - members: { - AcceptLanguage: {}, - ProductId: {}, - PageSize: { type: "integer" }, - PageToken: {}, - }, + required: ["JobId"], + members: { JobId: {} }, }, output: { type: "structure", - members: { - LaunchPathSummaries: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - ConstraintSummaries: { shape: "S65" }, - Tags: { shape: "S1q" }, - Name: {}, - }, - }, - }, - NextPageToken: {}, - }, + members: { JobId: {}, JobStatus: {} }, }, }, - ListOrganizationPortfolioAccess: { + StopPiiEntitiesDetectionJob: { input: { type: "structure", - required: ["PortfolioId", "OrganizationNodeType"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - OrganizationNodeType: {}, - PageToken: {}, - PageSize: { type: "integer" }, - }, + required: ["JobId"], + members: { JobId: {} }, }, output: { type: "structure", - members: { - OrganizationNodes: { type: "list", member: { shape: "S1s" } }, - NextPageToken: {}, - }, + members: { JobId: {}, JobStatus: {} }, }, }, - ListPortfolioAccess: { + StopSentimentDetectionJob: { input: { type: "structure", - required: ["PortfolioId"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - OrganizationParentId: {}, - PageToken: {}, - PageSize: { type: "integer" }, - }, + required: ["JobId"], + members: { JobId: {} }, }, output: { type: "structure", - members: { - AccountIds: { type: "list", member: {} }, - NextPageToken: {}, - }, + members: { JobId: {}, JobStatus: {} }, }, }, - ListPortfolios: { + StopTrainingDocumentClassifier: { input: { type: "structure", - members: { - AcceptLanguage: {}, - PageToken: {}, - PageSize: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - PortfolioDetails: { shape: "S7z" }, - NextPageToken: {}, - }, + required: ["DocumentClassifierArn"], + members: { DocumentClassifierArn: {} }, }, + output: { type: "structure", members: {} }, }, - ListPortfoliosForProduct: { + StopTrainingEntityRecognizer: { input: { type: "structure", - required: ["ProductId"], - members: { - AcceptLanguage: {}, - ProductId: {}, - PageToken: {}, - PageSize: { type: "integer" }, - }, - }, - output: { - type: "structure", - members: { - PortfolioDetails: { shape: "S7z" }, - NextPageToken: {}, - }, + required: ["EntityRecognizerArn"], + members: { EntityRecognizerArn: {} }, }, + output: { type: "structure", members: {} }, }, - ListPrincipalsForPortfolio: { + TagResource: { input: { type: "structure", - required: ["PortfolioId"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - PageSize: { type: "integer" }, - PageToken: {}, - }, - }, - output: { - type: "structure", - members: { - Principals: { - type: "list", - member: { - type: "structure", - members: { PrincipalARN: {}, PrincipalType: {} }, - }, - }, - NextPageToken: {}, - }, + required: ["ResourceArn", "Tags"], + members: { ResourceArn: {}, Tags: { shape: "S1h" } }, }, + output: { type: "structure", members: {} }, }, - ListProvisionedProductPlans: { + UntagResource: { input: { type: "structure", + required: ["ResourceArn", "TagKeys"], members: { - AcceptLanguage: {}, - ProvisionProductId: {}, - PageSize: { type: "integer" }, - PageToken: {}, - AccessLevelFilter: { shape: "S8p" }, - }, - }, - output: { - type: "structure", - members: { - ProvisionedProductPlans: { - type: "list", - member: { - type: "structure", - members: { - PlanName: {}, - PlanId: {}, - ProvisionProductId: {}, - ProvisionProductName: {}, - PlanType: {}, - ProvisioningArtifactId: {}, - }, - }, - }, - NextPageToken: {}, + ResourceArn: {}, + TagKeys: { type: "list", member: {} }, }, }, + output: { type: "structure", members: {} }, }, - ListProvisioningArtifacts: { + UpdateEndpoint: { input: { type: "structure", - required: ["ProductId"], - members: { AcceptLanguage: {}, ProductId: {} }, - }, - output: { - type: "structure", + required: ["EndpointArn", "DesiredInferenceUnits"], members: { - ProvisioningArtifactDetails: { - type: "list", - member: { shape: "S2h" }, - }, - NextPageToken: {}, + EndpointArn: {}, + DesiredInferenceUnits: { type: "integer" }, }, }, + output: { type: "structure", members: {} }, }, - ListProvisioningArtifactsForServiceAction: { - input: { + }, + shapes: { + S2: { type: "list", member: { shape: "S3" }, sensitive: true }, + S3: { type: "string", sensitive: true }, + S8: { + type: "list", + member: { type: "structure", - required: ["ServiceActionId"], - members: { - ServiceActionId: {}, - PageSize: { type: "integer" }, - PageToken: {}, - AcceptLanguage: {}, - }, + members: { LanguageCode: {}, Score: { type: "float" } }, }, - output: { + }, + Sc: { + type: "list", + member: { type: "structure", members: { - ProvisioningArtifactViews: { - type: "list", - member: { - type: "structure", - members: { - ProductViewSummary: { shape: "S2d" }, - ProvisioningArtifact: { shape: "S4j" }, - }, - }, - }, - NextPageToken: {}, + Index: { type: "integer" }, + ErrorCode: {}, + ErrorMessage: {}, }, }, }, - ListRecordHistory: { - input: { + Sj: { + type: "list", + member: { type: "structure", members: { - AcceptLanguage: {}, - AccessLevelFilter: { shape: "S8p" }, - SearchFilter: { - type: "structure", - members: { Key: {}, Value: {} }, - }, - PageSize: { type: "integer" }, - PageToken: {}, + Score: { type: "float" }, + Type: {}, + Text: {}, + BeginOffset: { type: "integer" }, + EndOffset: { type: "integer" }, }, }, - output: { + }, + Sq: { + type: "list", + member: { type: "structure", members: { - RecordDetails: { type: "list", member: { shape: "S6k" } }, - NextPageToken: {}, + Score: { type: "float" }, + Text: {}, + BeginOffset: { type: "integer" }, + EndOffset: { type: "integer" }, }, }, }, - ListResourcesForTagOption: { - input: { - type: "structure", - required: ["TagOptionId"], - members: { - TagOptionId: {}, - ResourceType: {}, - PageSize: { type: "integer" }, - PageToken: {}, - }, + Sx: { + type: "structure", + members: { + Positive: { type: "float" }, + Negative: { type: "float" }, + Neutral: { type: "float" }, + Mixed: { type: "float" }, }, - output: { + }, + S13: { + type: "list", + member: { type: "structure", members: { - ResourceDetails: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - ARN: {}, - Name: {}, - Description: {}, - CreatedTime: { type: "timestamp" }, - }, - }, + TokenId: { type: "integer" }, + Text: {}, + BeginOffset: { type: "integer" }, + EndOffset: { type: "integer" }, + PartOfSpeech: { + type: "structure", + members: { Tag: {}, Score: { type: "float" } }, }, - PageToken: {}, }, }, }, - ListServiceActions: { - input: { - type: "structure", - members: { - AcceptLanguage: {}, - PageSize: { type: "integer" }, - PageToken: {}, - }, - }, - output: { + S1h: { + type: "list", + member: { type: "structure", - members: { - ServiceActionSummaries: { shape: "S9k" }, - NextPageToken: {}, - }, + required: ["Key"], + members: { Key: {}, Value: {} }, }, }, - ListServiceActionsForProvisioningArtifact: { - input: { - type: "structure", - required: ["ProductId", "ProvisioningArtifactId"], - members: { - ProductId: {}, - ProvisioningArtifactId: {}, - PageSize: { type: "integer" }, - PageToken: {}, - AcceptLanguage: {}, - }, - }, - output: { - type: "structure", - members: { - ServiceActionSummaries: { shape: "S9k" }, - NextPageToken: {}, - }, + S1l: { + type: "structure", + members: { + DataFormat: {}, + S3Uri: {}, + LabelDelimiter: {}, + AugmentedManifests: { type: "list", member: { shape: "S1q" } }, }, }, - ListStackInstancesForProvisionedProduct: { - input: { - type: "structure", - required: ["ProvisionedProductId"], - members: { - AcceptLanguage: {}, - ProvisionedProductId: {}, - PageToken: {}, - PageSize: { type: "integer" }, - }, + S1q: { + type: "structure", + required: ["S3Uri", "AttributeNames"], + members: { + S3Uri: {}, + AttributeNames: { type: "list", member: {} }, }, - output: { - type: "structure", - members: { - StackInstances: { - type: "list", - member: { - type: "structure", - members: { - Account: {}, - Region: {}, - StackInstanceStatus: {}, - }, - }, - }, - NextPageToken: {}, - }, + }, + S1t: { type: "structure", members: { S3Uri: {}, KmsKeyId: {} } }, + S1w: { + type: "structure", + required: ["SecurityGroupIds", "Subnets"], + members: { + SecurityGroupIds: { type: "list", member: {} }, + Subnets: { type: "list", member: {} }, }, }, - ListTagOptions: { - input: { - type: "structure", - members: { - Filters: { + S2b: { + type: "structure", + required: ["EntityTypes"], + members: { + DataFormat: {}, + EntityTypes: { + type: "list", + member: { type: "structure", - members: { Key: {}, Value: {}, Active: { type: "boolean" } }, + required: ["Type"], + members: { Type: {} }, }, - PageSize: { type: "integer" }, - PageToken: {}, }, + Documents: { + type: "structure", + required: ["S3Uri"], + members: { S3Uri: {} }, + }, + Annotations: { + type: "structure", + required: ["S3Uri"], + members: { S3Uri: {} }, + }, + EntityList: { + type: "structure", + required: ["S3Uri"], + members: { S3Uri: {} }, + }, + AugmentedManifests: { type: "list", member: { shape: "S1q" } }, }, - output: { - type: "structure", - members: { TagOptionDetails: { shape: "S43" }, PageToken: {} }, + }, + S2v: { + type: "structure", + members: { + JobId: {}, + JobName: {}, + JobStatus: {}, + Message: {}, + SubmitTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + DocumentClassifierArn: {}, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + DataAccessRoleArn: {}, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, }, - ProvisionProduct: { - input: { - type: "structure", - required: [ - "ProductId", - "ProvisioningArtifactId", - "ProvisionedProductName", - "ProvisionToken", - ], - members: { - AcceptLanguage: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - PathId: {}, - ProvisionedProductName: {}, - ProvisioningParameters: { - type: "list", - member: { + S30: { + type: "structure", + required: ["S3Uri"], + members: { S3Uri: {}, InputFormat: {} }, + }, + S32: { + type: "structure", + required: ["S3Uri"], + members: { S3Uri: {}, KmsKeyId: {} }, + }, + S35: { + type: "structure", + members: { + DocumentClassifierArn: {}, + LanguageCode: {}, + Status: {}, + Message: {}, + SubmitTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + TrainingStartTime: { type: "timestamp" }, + TrainingEndTime: { type: "timestamp" }, + InputDataConfig: { shape: "S1l" }, + OutputDataConfig: { shape: "S1t" }, + ClassifierMetadata: { + type: "structure", + members: { + NumberOfLabels: { type: "integer" }, + NumberOfTrainedDocuments: { type: "integer" }, + NumberOfTestDocuments: { type: "integer" }, + EvaluationMetrics: { type: "structure", - members: { Key: {}, Value: {} }, - }, - }, - ProvisioningPreferences: { - type: "structure", - members: { - StackSetAccounts: { shape: "S6f" }, - StackSetRegions: { shape: "S6g" }, - StackSetFailureToleranceCount: { type: "integer" }, - StackSetFailureTolerancePercentage: { type: "integer" }, - StackSetMaxConcurrencyCount: { type: "integer" }, - StackSetMaxConcurrencyPercentage: { type: "integer" }, + members: { + Accuracy: { type: "double" }, + Precision: { type: "double" }, + Recall: { type: "double" }, + F1Score: { type: "double" }, + MicroPrecision: { type: "double" }, + MicroRecall: { type: "double" }, + MicroF1Score: { type: "double" }, + HammingLoss: { type: "double" }, + }, }, }, - Tags: { shape: "S1q" }, - NotificationArns: { shape: "S2n" }, - ProvisionToken: { idempotencyToken: true }, + sensitive: true, }, - }, - output: { - type: "structure", - members: { RecordDetail: { shape: "S6k" } }, + DataAccessRoleArn: {}, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, + Mode: {}, }, }, - RejectPortfolioShare: { - input: { - type: "structure", - required: ["PortfolioId"], - members: { - AcceptLanguage: {}, - PortfolioId: {}, - PortfolioShareType: {}, - }, + S3c: { + type: "structure", + members: { + JobId: {}, + JobName: {}, + JobStatus: {}, + Message: {}, + SubmitTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + DataAccessRoleArn: {}, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, - output: { type: "structure", members: {} }, }, - ScanProvisionedProducts: { - input: { - type: "structure", - members: { - AcceptLanguage: {}, - AccessLevelFilter: { shape: "S8p" }, - PageSize: { type: "integer" }, - PageToken: {}, - }, - }, - output: { - type: "structure", - members: { - ProvisionedProducts: { type: "list", member: { shape: "S4t" } }, - NextPageToken: {}, - }, + S3f: { + type: "structure", + members: { + EndpointArn: {}, + Status: {}, + Message: {}, + ModelArn: {}, + DesiredInferenceUnits: { type: "integer" }, + CurrentInferenceUnits: { type: "integer" }, + CreationTime: { type: "timestamp" }, + LastModifiedTime: { type: "timestamp" }, }, }, - SearchProducts: { - input: { - type: "structure", - members: { - AcceptLanguage: {}, - Filters: { shape: "Saa" }, - PageSize: { type: "integer" }, - SortBy: {}, - SortOrder: {}, - PageToken: {}, - }, + S3j: { + type: "structure", + members: { + JobId: {}, + JobName: {}, + JobStatus: {}, + Message: {}, + SubmitTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + EntityRecognizerArn: {}, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + LanguageCode: {}, + DataAccessRoleArn: {}, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, - output: { - type: "structure", - members: { - ProductViewSummaries: { - type: "list", - member: { shape: "S2d" }, - }, - ProductViewAggregations: { - type: "map", - key: {}, - value: { + }, + S3m: { + type: "structure", + members: { + EntityRecognizerArn: {}, + LanguageCode: {}, + Status: {}, + Message: {}, + SubmitTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + TrainingStartTime: { type: "timestamp" }, + TrainingEndTime: { type: "timestamp" }, + InputDataConfig: { shape: "S2b" }, + RecognizerMetadata: { + type: "structure", + members: { + NumberOfTrainedDocuments: { type: "integer" }, + NumberOfTestDocuments: { type: "integer" }, + EvaluationMetrics: { + type: "structure", + members: { + Precision: { type: "double" }, + Recall: { type: "double" }, + F1Score: { type: "double" }, + }, + }, + EntityTypes: { type: "list", member: { type: "structure", members: { - Value: {}, - ApproximateCount: { type: "integer" }, + Type: {}, + EvaluationMetrics: { + type: "structure", + members: { + Precision: { type: "double" }, + Recall: { type: "double" }, + F1Score: { type: "double" }, + }, + }, + NumberOfTrainMentions: { type: "integer" }, }, }, }, }, - NextPageToken: {}, + sensitive: true, }, + DataAccessRoleArn: {}, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, }, - SearchProductsAsAdmin: { - input: { - type: "structure", - members: { - AcceptLanguage: {}, - PortfolioId: {}, - Filters: { shape: "Saa" }, - SortBy: {}, - SortOrder: {}, - PageToken: {}, - PageSize: { type: "integer" }, - ProductSource: {}, - }, - }, - output: { - type: "structure", - members: { - ProductViewDetails: { type: "list", member: { shape: "S2c" } }, - NextPageToken: {}, - }, + S3u: { + type: "structure", + members: { + JobId: {}, + JobName: {}, + JobStatus: {}, + Message: {}, + SubmitTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + LanguageCode: {}, + DataAccessRoleArn: {}, + TargetEventTypes: { shape: "S3v" }, }, }, - SearchProvisionedProducts: { - input: { - type: "structure", - members: { - AcceptLanguage: {}, - AccessLevelFilter: { shape: "S8p" }, - Filters: { - type: "map", - key: {}, - value: { type: "list", member: {} }, - }, - SortBy: {}, - SortOrder: {}, - PageSize: { type: "integer" }, - PageToken: {}, - }, - }, - output: { - type: "structure", - members: { - ProvisionedProducts: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - Arn: {}, - Type: {}, - Id: {}, - Status: {}, - StatusMessage: {}, - CreatedTime: { type: "timestamp" }, - IdempotencyToken: {}, - LastRecordId: {}, - Tags: { shape: "S1q" }, - PhysicalId: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - UserArn: {}, - UserArnSession: {}, - }, - }, - }, - TotalResultsCount: { type: "integer" }, - NextPageToken: {}, - }, + S3v: { type: "list", member: {} }, + S3z: { + type: "structure", + members: { + JobId: {}, + JobName: {}, + JobStatus: {}, + Message: {}, + SubmitTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + LanguageCode: {}, + DataAccessRoleArn: {}, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, }, - TerminateProvisionedProduct: { - input: { - type: "structure", - required: ["TerminateToken"], - members: { - ProvisionedProductName: {}, - ProvisionedProductId: {}, - TerminateToken: { idempotencyToken: true }, - IgnoreErrors: { type: "boolean" }, - AcceptLanguage: {}, + S42: { + type: "structure", + members: { + JobId: {}, + JobName: {}, + JobStatus: {}, + Message: {}, + SubmitTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { + type: "structure", + required: ["S3Uri"], + members: { S3Uri: {}, KmsKeyId: {} }, }, - }, - output: { - type: "structure", - members: { RecordDetail: { shape: "S6k" } }, + RedactionConfig: { shape: "S44" }, + LanguageCode: {}, + DataAccessRoleArn: {}, + Mode: {}, }, }, - UpdateConstraint: { - input: { - type: "structure", - required: ["Id"], - members: { - AcceptLanguage: {}, - Id: {}, - Description: {}, - Parameters: {}, - }, - }, - output: { - type: "structure", - members: { - ConstraintDetail: { shape: "S1b" }, - ConstraintParameters: {}, - Status: {}, - }, + S44: { + type: "structure", + members: { + PiiEntityTypes: { type: "list", member: {} }, + MaskMode: {}, + MaskCharacter: {}, }, }, - UpdatePortfolio: { - input: { - type: "structure", - required: ["Id"], - members: { - AcceptLanguage: {}, - Id: {}, - DisplayName: {}, - Description: {}, - ProviderName: {}, - AddTags: { shape: "S1i" }, - RemoveTags: { shape: "Sbb" }, - }, - }, - output: { - type: "structure", - members: { - PortfolioDetail: { shape: "S1n" }, - Tags: { shape: "S1q" }, - }, + S4c: { + type: "structure", + members: { + JobId: {}, + JobName: {}, + JobStatus: {}, + Message: {}, + SubmitTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + LanguageCode: {}, + DataAccessRoleArn: {}, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, }, }, - UpdateProduct: { + S4f: { + type: "structure", + members: { + JobId: {}, + JobName: {}, + JobStatus: {}, + Message: {}, + SubmitTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + InputDataConfig: { shape: "S30" }, + OutputDataConfig: { shape: "S32" }, + NumberOfTopics: { type: "integer" }, + DataAccessRoleArn: {}, + VolumeKmsKeyId: {}, + VpcConfig: { shape: "S1w" }, + }, + }, + }, + }; + + /***/ + }, + + /***/ 3187: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); + __webpack_require__(4923); + __webpack_require__(4906); + var PromisesDependency; + + /** + * The main configuration class used by all service objects to set + * the region, credentials, and other options for requests. + * + * By default, credentials and region settings are left unconfigured. + * This should be configured by the application before using any + * AWS service APIs. + * + * In order to set global configuration options, properties should + * be assigned to the global {AWS.config} object. + * + * @see AWS.config + * + * @!group General Configuration Options + * + * @!attribute credentials + * @return [AWS.Credentials] the AWS credentials to sign requests with. + * + * @!attribute region + * @example Set the global region setting to us-west-2 + * AWS.config.update({region: 'us-west-2'}); + * @return [AWS.Credentials] The region to send service requests to. + * @see http://docs.amazonwebservices.com/general/latest/gr/rande.html + * A list of available endpoints for each AWS service + * + * @!attribute maxRetries + * @return [Integer] the maximum amount of retries to perform for a + * service request. By default this value is calculated by the specific + * service object that the request is being made to. + * + * @!attribute maxRedirects + * @return [Integer] the maximum amount of redirects to follow for a + * service request. Defaults to 10. + * + * @!attribute paramValidation + * @return [Boolean|map] whether input parameters should be validated against + * the operation description before sending the request. Defaults to true. + * Pass a map to enable any of the following specific validation features: + * + * * **min** [Boolean] — Validates that a value meets the min + * constraint. This is enabled by default when paramValidation is set + * to `true`. + * * **max** [Boolean] — Validates that a value meets the max + * constraint. + * * **pattern** [Boolean] — Validates that a string value matches a + * regular expression. + * * **enum** [Boolean] — Validates that a string value matches one + * of the allowable enum values. + * + * @!attribute computeChecksums + * @return [Boolean] whether to compute checksums for payload bodies when + * the service accepts it (currently supported in S3 only). + * + * @!attribute convertResponseTypes + * @return [Boolean] whether types are converted when parsing response data. + * Currently only supported for JSON based services. Turning this off may + * improve performance on large response payloads. Defaults to `true`. + * + * @!attribute correctClockSkew + * @return [Boolean] whether to apply a clock skew correction and retry + * requests that fail because of an skewed client clock. Defaults to + * `false`. + * + * @!attribute sslEnabled + * @return [Boolean] whether SSL is enabled for requests + * + * @!attribute s3ForcePathStyle + * @return [Boolean] whether to force path style URLs for S3 objects + * + * @!attribute s3BucketEndpoint + * @note Setting this configuration option requires an `endpoint` to be + * provided explicitly to the service constructor. + * @return [Boolean] whether the provided endpoint addresses an individual + * bucket (false if it addresses the root API endpoint). + * + * @!attribute s3DisableBodySigning + * @return [Boolean] whether to disable S3 body signing when using signature version `v4`. + * Body signing can only be disabled when using https. Defaults to `true`. + * + * @!attribute s3UsEast1RegionalEndpoint + * @return ['legacy'|'regional'] when region is set to 'us-east-1', whether to send s3 + * request to global endpoints or 'us-east-1' regional endpoints. This config is only + * applicable to S3 client; + * Defaults to 'legacy' + * @!attribute s3UseArnRegion + * @return [Boolean] whether to override the request region with the region inferred + * from requested resource's ARN. Only available for S3 buckets + * Defaults to `true` + * + * @!attribute useAccelerateEndpoint + * @note This configuration option is only compatible with S3 while accessing + * dns-compatible buckets. + * @return [Boolean] Whether to use the Accelerate endpoint with the S3 service. + * Defaults to `false`. + * + * @!attribute retryDelayOptions + * @example Set the base retry delay for all services to 300 ms + * AWS.config.update({retryDelayOptions: {base: 300}}); + * // Delays with maxRetries = 3: 300, 600, 1200 + * @example Set a custom backoff function to provide delay values on retries + * AWS.config.update({retryDelayOptions: {customBackoff: function(retryCount, err) { + * // returns delay in ms + * }}}); + * @return [map] A set of options to configure the retry delay on retryable errors. + * Currently supported options are: + * + * * **base** [Integer] — The base number of milliseconds to use in the + * exponential backoff for operation retries. Defaults to 100 ms for all services except + * DynamoDB, where it defaults to 50ms. + * + * * **customBackoff ** [function] — A custom function that accepts a + * retry count and error and returns the amount of time to delay in + * milliseconds. If the result is a non-zero negative value, no further + * retry attempts will be made. The `base` option will be ignored if this + * option is supplied. The function is only called for retryable errors. + * + * @!attribute httpOptions + * @return [map] A set of options to pass to the low-level HTTP request. + * Currently supported options are: + * + * * **proxy** [String] — the URL to proxy requests through + * * **agent** [http.Agent, https.Agent] — the Agent object to perform + * HTTP requests with. Used for connection pooling. Note that for + * SSL connections, a special Agent object is used in order to enable + * peer certificate verification. This feature is only supported in the + * Node.js environment. + * * **connectTimeout** [Integer] — Sets the socket to timeout after + * failing to establish a connection with the server after + * `connectTimeout` milliseconds. This timeout has no effect once a socket + * connection has been established. + * * **timeout** [Integer] — The number of milliseconds a request can + * take before automatically being terminated. + * Defaults to two minutes (120000). + * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous + * HTTP requests. Used in the browser environment only. Set to false to + * send requests synchronously. Defaults to true (async on). + * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" + * property of an XMLHttpRequest object. Used in the browser environment + * only. Defaults to false. + * @!attribute logger + * @return [#write,#log] an object that responds to .write() (like a stream) + * or .log() (like the console object) in order to log information about + * requests + * + * @!attribute systemClockOffset + * @return [Number] an offset value in milliseconds to apply to all signing + * times. Use this to compensate for clock skew when your system may be + * out of sync with the service time. Note that this configuration option + * can only be applied to the global `AWS.config` object and cannot be + * overridden in service-specific configuration. Defaults to 0 milliseconds. + * + * @!attribute signatureVersion + * @return [String] the signature version to sign requests with (overriding + * the API configuration). Possible values are: 'v2', 'v3', 'v4'. + * + * @!attribute signatureCache + * @return [Boolean] whether the signature to sign requests with (overriding + * the API configuration) is cached. Only applies to the signature version 'v4'. + * Defaults to `true`. + * + * @!attribute endpointDiscoveryEnabled + * @return [Boolean|undefined] whether to call operations with endpoints + * given by service dynamically. Setting this config to `true` will enable + * endpoint discovery for all applicable operations. Setting it to `false` + * will explicitly disable endpoint discovery even though operations that + * require endpoint discovery will presumably fail. Leaving it to + * `undefined` means SDK only do endpoint discovery when it's required. + * Defaults to `undefined` + * + * @!attribute endpointCacheSize + * @return [Number] the size of the global cache storing endpoints from endpoint + * discovery operations. Once endpoint cache is created, updating this setting + * cannot change existing cache size. + * Defaults to 1000 + * + * @!attribute hostPrefixEnabled + * @return [Boolean] whether to marshal request parameters to the prefix of + * hostname. Defaults to `true`. + * + * @!attribute stsRegionalEndpoints + * @return ['legacy'|'regional'] whether to send sts request to global endpoints or + * regional endpoints. + * Defaults to 'legacy' + */ + AWS.Config = AWS.util.inherit({ + /** + * @!endgroup + */ + + /** + * Creates a new configuration object. This is the object that passes + * option data along to service requests, including credentials, security, + * region information, and some service specific settings. + * + * @example Creating a new configuration object with credentials and region + * var config = new AWS.Config({ + * accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-west-2' + * }); + * @option options accessKeyId [String] your AWS access key ID. + * @option options secretAccessKey [String] your AWS secret access key. + * @option options sessionToken [AWS.Credentials] the optional AWS + * session token to sign requests with. + * @option options credentials [AWS.Credentials] the AWS credentials + * to sign requests with. You can either specify this object, or + * specify the accessKeyId and secretAccessKey options directly. + * @option options credentialProvider [AWS.CredentialProviderChain] the + * provider chain used to resolve credentials if no static `credentials` + * property is set. + * @option options region [String] the region to send service requests to. + * See {region} for more information. + * @option options maxRetries [Integer] the maximum amount of retries to + * attempt with a request. See {maxRetries} for more information. + * @option options maxRedirects [Integer] the maximum amount of redirects to + * follow with a request. See {maxRedirects} for more information. + * @option options sslEnabled [Boolean] whether to enable SSL for + * requests. + * @option options paramValidation [Boolean|map] whether input parameters + * should be validated against the operation description before sending + * the request. Defaults to true. Pass a map to enable any of the + * following specific validation features: + * + * * **min** [Boolean] — Validates that a value meets the min + * constraint. This is enabled by default when paramValidation is set + * to `true`. + * * **max** [Boolean] — Validates that a value meets the max + * constraint. + * * **pattern** [Boolean] — Validates that a string value matches a + * regular expression. + * * **enum** [Boolean] — Validates that a string value matches one + * of the allowable enum values. + * @option options computeChecksums [Boolean] whether to compute checksums + * for payload bodies when the service accepts it (currently supported + * in S3 only) + * @option options convertResponseTypes [Boolean] whether types are converted + * when parsing response data. Currently only supported for JSON based + * services. Turning this off may improve performance on large response + * payloads. Defaults to `true`. + * @option options correctClockSkew [Boolean] whether to apply a clock skew + * correction and retry requests that fail because of an skewed client + * clock. Defaults to `false`. + * @option options s3ForcePathStyle [Boolean] whether to force path + * style URLs for S3 objects. + * @option options s3BucketEndpoint [Boolean] whether the provided endpoint + * addresses an individual bucket (false if it addresses the root API + * endpoint). Note that setting this configuration option requires an + * `endpoint` to be provided explicitly to the service constructor. + * @option options s3DisableBodySigning [Boolean] whether S3 body signing + * should be disabled when using signature version `v4`. Body signing + * can only be disabled when using https. Defaults to `true`. + * @option options s3UsEast1RegionalEndpoint ['legacy'|'regional'] when region + * is set to 'us-east-1', whether to send s3 request to global endpoints or + * 'us-east-1' regional endpoints. This config is only applicable to S3 client. + * Defaults to `legacy` + * @option options s3UseArnRegion [Boolean] whether to override the request region + * with the region inferred from requested resource's ARN. Only available for S3 buckets + * Defaults to `true` + * + * @option options retryDelayOptions [map] A set of options to configure + * the retry delay on retryable errors. Currently supported options are: + * + * * **base** [Integer] — The base number of milliseconds to use in the + * exponential backoff for operation retries. Defaults to 100 ms for all + * services except DynamoDB, where it defaults to 50ms. + * * **customBackoff ** [function] — A custom function that accepts a + * retry count and error and returns the amount of time to delay in + * milliseconds. If the result is a non-zero negative value, no further + * retry attempts will be made. The `base` option will be ignored if this + * option is supplied. The function is only called for retryable errors. + * @option options httpOptions [map] A set of options to pass to the low-level + * HTTP request. Currently supported options are: + * + * * **proxy** [String] — the URL to proxy requests through + * * **agent** [http.Agent, https.Agent] — the Agent object to perform + * HTTP requests with. Used for connection pooling. Defaults to the global + * agent (`http.globalAgent`) for non-SSL connections. Note that for + * SSL connections, a special Agent object is used in order to enable + * peer certificate verification. This feature is only available in the + * Node.js environment. + * * **connectTimeout** [Integer] — Sets the socket to timeout after + * failing to establish a connection with the server after + * `connectTimeout` milliseconds. This timeout has no effect once a socket + * connection has been established. + * * **timeout** [Integer] — Sets the socket to timeout after timeout + * milliseconds of inactivity on the socket. Defaults to two minutes + * (120000). + * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous + * HTTP requests. Used in the browser environment only. Set to false to + * send requests synchronously. Defaults to true (async on). + * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" + * property of an XMLHttpRequest object. Used in the browser environment + * only. Defaults to false. + * @option options apiVersion [String, Date] a String in YYYY-MM-DD format + * (or a date) that represents the latest possible API version that can be + * used in all services (unless overridden by `apiVersions`). Specify + * 'latest' to use the latest possible version. + * @option options apiVersions [map] a map of service + * identifiers (the lowercase service class name) with the API version to + * use when instantiating a service. Specify 'latest' for each individual + * that can use the latest available version. + * @option options logger [#write,#log] an object that responds to .write() + * (like a stream) or .log() (like the console object) in order to log + * information about requests + * @option options systemClockOffset [Number] an offset value in milliseconds + * to apply to all signing times. Use this to compensate for clock skew + * when your system may be out of sync with the service time. Note that + * this configuration option can only be applied to the global `AWS.config` + * object and cannot be overridden in service-specific configuration. + * Defaults to 0 milliseconds. + * @option options signatureVersion [String] the signature version to sign + * requests with (overriding the API configuration). Possible values are: + * 'v2', 'v3', 'v4'. + * @option options signatureCache [Boolean] whether the signature to sign + * requests with (overriding the API configuration) is cached. Only applies + * to the signature version 'v4'. Defaults to `true`. + * @option options dynamoDbCrc32 [Boolean] whether to validate the CRC32 + * checksum of HTTP response bodies returned by DynamoDB. Default: `true`. + * @option options useAccelerateEndpoint [Boolean] Whether to use the + * S3 Transfer Acceleration endpoint with the S3 service. Default: `false`. + * @option options clientSideMonitoring [Boolean] whether to collect and + * publish this client's performance metrics of all its API requests. + * @option options endpointDiscoveryEnabled [Boolean|undefined] whether to + * call operations with endpoints given by service dynamically. Setting this + * config to `true` will enable endpoint discovery for all applicable operations. + * Setting it to `false` will explicitly disable endpoint discovery even though + * operations that require endpoint discovery will presumably fail. Leaving it + * to `undefined` means SDK will only do endpoint discovery when it's required. + * Defaults to `undefined` + * @option options endpointCacheSize [Number] the size of the global cache storing + * endpoints from endpoint discovery operations. Once endpoint cache is created, + * updating this setting cannot change existing cache size. + * Defaults to 1000 + * @option options hostPrefixEnabled [Boolean] whether to marshal request + * parameters to the prefix of hostname. + * Defaults to `true`. + * @option options stsRegionalEndpoints ['legacy'|'regional'] whether to send sts request + * to global endpoints or regional endpoints. + * Defaults to 'legacy'. + */ + constructor: function Config(options) { + if (options === undefined) options = {}; + options = this.extractCredentials(options); + + AWS.util.each.call(this, this.keys, function (key, value) { + this.set(key, options[key], value); + }); + }, + + /** + * @!group Managing Credentials + */ + + /** + * Loads credentials from the configuration object. This is used internally + * by the SDK to ensure that refreshable {Credentials} objects are properly + * refreshed and loaded when sending a request. If you want to ensure that + * your credentials are loaded prior to a request, you can use this method + * directly to provide accurate credential data stored in the object. + * + * @note If you configure the SDK with static or environment credentials, + * the credential data should already be present in {credentials} attribute. + * This method is primarily necessary to load credentials from asynchronous + * sources, or sources that can refresh credentials periodically. + * @example Getting your access key + * AWS.config.getCredentials(function(err) { + * if (err) console.log(err.stack); // credentials not loaded + * else console.log("Access Key:", AWS.config.credentials.accessKeyId); + * }) + * @callback callback function(err) + * Called when the {credentials} have been properly set on the configuration + * object. + * + * @param err [Error] if this is set, credentials were not successfully + * loaded and this error provides information why. + * @see credentials + * @see Credentials + */ + getCredentials: function getCredentials(callback) { + var self = this; + + function finish(err) { + callback(err, err ? null : self.credentials); + } + + function credError(msg, err) { + return new AWS.util.error(err || new Error(), { + code: "CredentialsError", + message: msg, + name: "CredentialsError", + }); + } + + function getAsyncCredentials() { + self.credentials.get(function (err) { + if (err) { + var msg = + "Could not load credentials from " + + self.credentials.constructor.name; + err = credError(msg, err); + } + finish(err); + }); + } + + function getStaticCredentials() { + var err = null; + if ( + !self.credentials.accessKeyId || + !self.credentials.secretAccessKey + ) { + err = credError("Missing credentials"); + } + finish(err); + } + + if (self.credentials) { + if (typeof self.credentials.get === "function") { + getAsyncCredentials(); + } else { + // static credentials + getStaticCredentials(); + } + } else if (self.credentialProvider) { + self.credentialProvider.resolve(function (err, creds) { + if (err) { + err = credError( + "Could not load credentials from any providers", + err + ); + } + self.credentials = creds; + finish(err); + }); + } else { + finish(credError("No credentials to load")); + } + }, + + /** + * @!group Loading and Setting Configuration Options + */ + + /** + * @overload update(options, allowUnknownKeys = false) + * Updates the current configuration object with new options. + * + * @example Update maxRetries property of a configuration object + * config.update({maxRetries: 10}); + * @param [Object] options a map of option keys and values. + * @param [Boolean] allowUnknownKeys whether unknown keys can be set on + * the configuration object. Defaults to `false`. + * @see constructor + */ + update: function update(options, allowUnknownKeys) { + allowUnknownKeys = allowUnknownKeys || false; + options = this.extractCredentials(options); + AWS.util.each.call(this, options, function (key, value) { + if ( + allowUnknownKeys || + Object.prototype.hasOwnProperty.call(this.keys, key) || + AWS.Service.hasService(key) + ) { + this.set(key, value); + } + }); + }, + + /** + * Loads configuration data from a JSON file into this config object. + * @note Loading configuration will reset all existing configuration + * on the object. + * @!macro nobrowser + * @param path [String] the path relative to your process's current + * working directory to load configuration from. + * @return [AWS.Config] the same configuration object + */ + loadFromPath: function loadFromPath(path) { + this.clear(); + + var options = JSON.parse(AWS.util.readFileSync(path)); + var fileSystemCreds = new AWS.FileSystemCredentials(path); + var chain = new AWS.CredentialProviderChain(); + chain.providers.unshift(fileSystemCreds); + chain.resolve(function (err, creds) { + if (err) throw err; + else options.credentials = creds; + }); + + this.constructor(options); + + return this; + }, + + /** + * Clears configuration data on this object + * + * @api private + */ + clear: function clear() { + /*jshint forin:false */ + AWS.util.each.call(this, this.keys, function (key) { + delete this[key]; + }); + + // reset credential provider + this.set("credentials", undefined); + this.set("credentialProvider", undefined); + }, + + /** + * Sets a property on the configuration object, allowing for a + * default value + * @api private + */ + set: function set(property, value, defaultValue) { + if (value === undefined) { + if (defaultValue === undefined) { + defaultValue = this.keys[property]; + } + if (typeof defaultValue === "function") { + this[property] = defaultValue.call(this); + } else { + this[property] = defaultValue; + } + } else if (property === "httpOptions" && this[property]) { + // deep merge httpOptions + this[property] = AWS.util.merge(this[property], value); + } else { + this[property] = value; + } + }, + + /** + * All of the keys with their default values. + * + * @constant + * @api private + */ + keys: { + credentials: null, + credentialProvider: null, + region: null, + logger: null, + apiVersions: {}, + apiVersion: null, + endpoint: undefined, + httpOptions: { + timeout: 120000, + }, + maxRetries: undefined, + maxRedirects: 10, + paramValidation: true, + sslEnabled: true, + s3ForcePathStyle: false, + s3BucketEndpoint: false, + s3DisableBodySigning: true, + s3UsEast1RegionalEndpoint: "legacy", + s3UseArnRegion: undefined, + computeChecksums: true, + convertResponseTypes: true, + correctClockSkew: false, + customUserAgent: null, + dynamoDbCrc32: true, + systemClockOffset: 0, + signatureVersion: null, + signatureCache: true, + retryDelayOptions: {}, + useAccelerateEndpoint: false, + clientSideMonitoring: false, + endpointDiscoveryEnabled: undefined, + endpointCacheSize: 1000, + hostPrefixEnabled: true, + stsRegionalEndpoints: "legacy", + }, + + /** + * Extracts accessKeyId, secretAccessKey and sessionToken + * from a configuration hash. + * + * @api private + */ + extractCredentials: function extractCredentials(options) { + if (options.accessKeyId && options.secretAccessKey) { + options = AWS.util.copy(options); + options.credentials = new AWS.Credentials(options); + } + return options; + }, + + /** + * Sets the promise dependency the SDK will use wherever Promises are returned. + * Passing `null` will force the SDK to use native Promises if they are available. + * If native Promises are not available, passing `null` will have no effect. + * @param [Constructor] dep A reference to a Promise constructor + */ + setPromisesDependency: function setPromisesDependency(dep) { + PromisesDependency = dep; + // if null was passed in, we should try to use native promises + if (dep === null && typeof Promise === "function") { + PromisesDependency = Promise; + } + var constructors = [ + AWS.Request, + AWS.Credentials, + AWS.CredentialProviderChain, + ]; + if (AWS.S3) { + constructors.push(AWS.S3); + if (AWS.S3.ManagedUpload) { + constructors.push(AWS.S3.ManagedUpload); + } + } + AWS.util.addPromises(constructors, PromisesDependency); + }, + + /** + * Gets the promise dependency set by `AWS.config.setPromisesDependency`. + */ + getPromisesDependency: function getPromisesDependency() { + return PromisesDependency; + }, + }); + + /** + * @return [AWS.Config] The global configuration object singleton instance + * @readonly + * @see AWS.Config + */ + AWS.config = new AWS.Config(); + + /***/ + }, + + /***/ 3204: /***/ function (__unusedmodule, exports, __webpack_require__) { + "use strict"; + + Object.defineProperty(exports, "__esModule", { + value: true, + }); + exports.default = void 0; + + var _validate = _interopRequireDefault(__webpack_require__(6634)); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + function parse(uuid) { + if (!(0, _validate.default)(uuid)) { + throw TypeError("Invalid UUID"); + } + + let v; + const arr = new Uint8Array(16); // Parse ########-....-....-....-............ + + arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24; + arr[1] = (v >>> 16) & 0xff; + arr[2] = (v >>> 8) & 0xff; + arr[3] = v & 0xff; // Parse ........-####-....-....-............ + + arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8; + arr[5] = v & 0xff; // Parse ........-....-####-....-............ + + arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8; + arr[7] = v & 0xff; // Parse ........-....-....-####-............ + + arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8; + arr[9] = v & 0xff; // Parse ........-....-....-....-############ + // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes) + + arr[10] = + ((v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000) & 0xff; + arr[11] = (v / 0x100000000) & 0xff; + arr[12] = (v >>> 24) & 0xff; + arr[13] = (v >>> 16) & 0xff; + arr[14] = (v >>> 8) & 0xff; + arr[15] = v & 0xff; + return arr; + } + + var _default = parse; + exports.default = _default; + + /***/ + }, + + /***/ 3206: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["route53domains"] = {}; + AWS.Route53Domains = Service.defineService("route53domains", [ + "2014-05-15", + ]); + Object.defineProperty( + apiLoader.services["route53domains"], + "2014-05-15", + { + get: function get() { + var model = __webpack_require__(7591); + model.paginators = __webpack_require__(9983).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.Route53Domains; + + /***/ + }, + + /***/ 3209: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 3220: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["managedblockchain"] = {}; + AWS.ManagedBlockchain = Service.defineService("managedblockchain", [ + "2018-09-24", + ]); + Object.defineProperty( + apiLoader.services["managedblockchain"], + "2018-09-24", + { + get: function get() { + var model = __webpack_require__(3762); + model.paginators = __webpack_require__(2816).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.ManagedBlockchain; + + /***/ + }, + + /***/ 3222: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["iotevents"] = {}; + AWS.IoTEvents = Service.defineService("iotevents", ["2018-07-27"]); + Object.defineProperty(apiLoader.services["iotevents"], "2018-07-27", { + get: function get() { + var model = __webpack_require__(7430); + model.paginators = __webpack_require__(3658).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.IoTEvents; + + /***/ + }, + + /***/ 3223: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["textract"] = {}; + AWS.Textract = Service.defineService("textract", ["2018-06-27"]); + Object.defineProperty(apiLoader.services["textract"], "2018-06-27", { + get: function get() { + var model = __webpack_require__(918); + model.paginators = __webpack_require__(2449).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.Textract; + + /***/ + }, + + /***/ 3224: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2014-11-01", + endpointPrefix: "kms", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "KMS", + serviceFullName: "AWS Key Management Service", + serviceId: "KMS", + signatureVersion: "v4", + targetPrefix: "TrentService", + uid: "kms-2014-11-01", + }, + operations: { + CancelKeyDeletion: { input: { type: "structure", - required: ["Id"], - members: { - AcceptLanguage: {}, - Id: {}, - Name: {}, - Owner: {}, - Description: {}, - Distributor: {}, - SupportDescription: {}, - SupportEmail: {}, - SupportUrl: {}, - AddTags: { shape: "S1i" }, - RemoveTags: { shape: "Sbb" }, - }, + required: ["KeyId"], + members: { KeyId: {} }, }, - output: { + output: { type: "structure", members: { KeyId: {} } }, + }, + ConnectCustomKeyStore: { + input: { + type: "structure", + required: ["CustomKeyStoreId"], + members: { CustomKeyStoreId: {} }, + }, + output: { type: "structure", members: {} }, + }, + CreateAlias: { + input: { + type: "structure", + required: ["AliasName", "TargetKeyId"], + members: { AliasName: {}, TargetKeyId: {} }, + }, + }, + CreateCustomKeyStore: { + input: { type: "structure", + required: [ + "CustomKeyStoreName", + "CloudHsmClusterId", + "TrustAnchorCertificate", + "KeyStorePassword", + ], members: { - ProductViewDetail: { shape: "S2c" }, - Tags: { shape: "S1q" }, + CustomKeyStoreName: {}, + CloudHsmClusterId: {}, + TrustAnchorCertificate: {}, + KeyStorePassword: { shape: "Sd" }, }, }, + output: { type: "structure", members: { CustomKeyStoreId: {} } }, }, - UpdateProvisionedProduct: { + CreateGrant: { input: { type: "structure", - required: ["UpdateToken"], + required: ["KeyId", "GranteePrincipal", "Operations"], members: { - AcceptLanguage: {}, - ProvisionedProductName: {}, - ProvisionedProductId: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - PathId: {}, - ProvisioningParameters: { shape: "S2q" }, - ProvisioningPreferences: { - type: "structure", - members: { - StackSetAccounts: { shape: "S6f" }, - StackSetRegions: { shape: "S6g" }, - StackSetFailureToleranceCount: { type: "integer" }, - StackSetFailureTolerancePercentage: { type: "integer" }, - StackSetMaxConcurrencyCount: { type: "integer" }, - StackSetMaxConcurrencyPercentage: { type: "integer" }, - StackSetOperationType: {}, - }, - }, - Tags: { shape: "S1q" }, - UpdateToken: { idempotencyToken: true }, + KeyId: {}, + GranteePrincipal: {}, + RetiringPrincipal: {}, + Operations: { shape: "Sh" }, + Constraints: { shape: "Sj" }, + GrantTokens: { shape: "Sn" }, + Name: {}, }, }, output: { type: "structure", - members: { RecordDetail: { shape: "S6k" } }, + members: { GrantToken: {}, GrantId: {} }, }, }, - UpdateProvisionedProductProperties: { + CreateKey: { input: { type: "structure", - required: [ - "ProvisionedProductId", - "ProvisionedProductProperties", - "IdempotencyToken", - ], members: { - AcceptLanguage: {}, - ProvisionedProductId: {}, - ProvisionedProductProperties: { shape: "Sbk" }, - IdempotencyToken: { idempotencyToken: true }, + Policy: {}, + Description: {}, + KeyUsage: {}, + CustomerMasterKeySpec: {}, + Origin: {}, + CustomKeyStoreId: {}, + BypassPolicyLockoutSafetyCheck: { type: "boolean" }, + Tags: { shape: "Sz" }, }, }, output: { type: "structure", - members: { - ProvisionedProductId: {}, - ProvisionedProductProperties: { shape: "Sbk" }, - RecordId: {}, - Status: {}, - }, + members: { KeyMetadata: { shape: "S14" } }, }, }, - UpdateProvisioningArtifact: { + Decrypt: { input: { type: "structure", - required: ["ProductId", "ProvisioningArtifactId"], + required: ["CiphertextBlob"], members: { - AcceptLanguage: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - Name: {}, - Description: {}, - Active: { type: "boolean" }, - Guidance: {}, + CiphertextBlob: { type: "blob" }, + EncryptionContext: { shape: "Sk" }, + GrantTokens: { shape: "Sn" }, + KeyId: {}, + EncryptionAlgorithm: {}, }, }, output: { type: "structure", members: { - ProvisioningArtifactDetail: { shape: "S2h" }, - Info: { shape: "S26" }, - Status: {}, + KeyId: {}, + Plaintext: { shape: "S1i" }, + EncryptionAlgorithm: {}, }, }, }, - UpdateServiceAction: { + DeleteAlias: { + input: { + type: "structure", + required: ["AliasName"], + members: { AliasName: {} }, + }, + }, + DeleteCustomKeyStore: { + input: { + type: "structure", + required: ["CustomKeyStoreId"], + members: { CustomKeyStoreId: {} }, + }, + output: { type: "structure", members: {} }, + }, + DeleteImportedKeyMaterial: { + input: { + type: "structure", + required: ["KeyId"], + members: { KeyId: {} }, + }, + }, + DescribeCustomKeyStores: { input: { type: "structure", - required: ["Id"], members: { - Id: {}, - Name: {}, - Definition: { shape: "S31" }, - Description: {}, - AcceptLanguage: {}, + CustomKeyStoreId: {}, + CustomKeyStoreName: {}, + Limit: { type: "integer" }, + Marker: {}, }, }, output: { type: "structure", - members: { ServiceActionDetail: { shape: "S36" } }, + members: { + CustomKeyStores: { + type: "list", + member: { + type: "structure", + members: { + CustomKeyStoreId: {}, + CustomKeyStoreName: {}, + CloudHsmClusterId: {}, + TrustAnchorCertificate: {}, + ConnectionState: {}, + ConnectionErrorCode: {}, + CreationDate: { type: "timestamp" }, + }, + }, + }, + NextMarker: {}, + Truncated: { type: "boolean" }, + }, }, }, - UpdateTagOption: { + DescribeKey: { input: { type: "structure", - required: ["Id"], - members: { Id: {}, Value: {}, Active: { type: "boolean" } }, + required: ["KeyId"], + members: { KeyId: {}, GrantTokens: { shape: "Sn" } }, }, output: { type: "structure", - members: { TagOptionDetail: { shape: "S3c" } }, + members: { KeyMetadata: { shape: "S14" } }, }, }, - }, - shapes: { - Sm: { - type: "list", - member: { + DisableKey: { + input: { type: "structure", - required: [ - "ServiceActionId", - "ProductId", - "ProvisioningArtifactId", - ], - members: { - ServiceActionId: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - }, + required: ["KeyId"], + members: { KeyId: {} }, }, }, - Sp: { - type: "list", - member: { + DisableKeyRotation: { + input: { type: "structure", - members: { - ServiceActionId: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - ErrorCode: {}, - ErrorMessage: {}, - }, + required: ["KeyId"], + members: { KeyId: {} }, }, }, - S1b: { - type: "structure", - members: { - ConstraintId: {}, - Type: {}, - Description: {}, - Owner: {}, - ProductId: {}, - PortfolioId: {}, + DisconnectCustomKeyStore: { + input: { + type: "structure", + required: ["CustomKeyStoreId"], + members: { CustomKeyStoreId: {} }, }, + output: { type: "structure", members: {} }, }, - S1i: { type: "list", member: { shape: "S1j" } }, - S1j: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - S1n: { - type: "structure", - members: { - Id: {}, - ARN: {}, - DisplayName: {}, - Description: {}, - CreatedTime: { type: "timestamp" }, - ProviderName: {}, - }, - }, - S1q: { type: "list", member: { shape: "S1j" } }, - S1s: { type: "structure", members: { Type: {}, Value: {} } }, - S23: { - type: "structure", - required: ["Info"], - members: { - Name: {}, - Description: {}, - Info: { shape: "S26" }, - Type: {}, - DisableTemplateValidation: { type: "boolean" }, - }, - }, - S26: { type: "map", key: {}, value: {} }, - S2c: { - type: "structure", - members: { - ProductViewSummary: { shape: "S2d" }, - Status: {}, - ProductARN: {}, - CreatedTime: { type: "timestamp" }, - }, - }, - S2d: { - type: "structure", - members: { - Id: {}, - ProductId: {}, - Name: {}, - Owner: {}, - ShortDescription: {}, - Type: {}, - Distributor: {}, - HasDefaultPath: { type: "boolean" }, - SupportEmail: {}, - SupportDescription: {}, - SupportUrl: {}, + EnableKey: { + input: { + type: "structure", + required: ["KeyId"], + members: { KeyId: {} }, }, }, - S2h: { - type: "structure", - members: { - Id: {}, - Name: {}, - Description: {}, - Type: {}, - CreatedTime: { type: "timestamp" }, - Active: { type: "boolean" }, - Guidance: {}, + EnableKeyRotation: { + input: { + type: "structure", + required: ["KeyId"], + members: { KeyId: {} }, }, }, - S2n: { type: "list", member: {} }, - S2q: { - type: "list", - member: { + Encrypt: { + input: { type: "structure", + required: ["KeyId", "Plaintext"], members: { - Key: {}, - Value: {}, - UsePreviousValue: { type: "boolean" }, + KeyId: {}, + Plaintext: { shape: "S1i" }, + EncryptionContext: { shape: "Sk" }, + GrantTokens: { shape: "Sn" }, + EncryptionAlgorithm: {}, }, }, - }, - S31: { type: "map", key: {}, value: {} }, - S36: { - type: "structure", - members: { - ServiceActionSummary: { shape: "S37" }, - Definition: { shape: "S31" }, - }, - }, - S37: { - type: "structure", - members: { Id: {}, Name: {}, Description: {}, DefinitionType: {} }, - }, - S3c: { - type: "structure", - members: { - Key: {}, - Value: {}, - Active: { type: "boolean" }, - Id: {}, - }, - }, - S43: { type: "list", member: { shape: "S3c" } }, - S44: { - type: "list", - member: { type: "structure", members: { BudgetName: {} } }, - }, - S4i: { type: "list", member: { shape: "S4j" } }, - S4j: { - type: "structure", - members: { - Id: {}, - Name: {}, - Description: {}, - CreatedTime: { type: "timestamp" }, - Guidance: {}, - }, - }, - S4t: { - type: "structure", - members: { - Name: {}, - Arn: {}, - Type: {}, - Id: {}, - Status: {}, - StatusMessage: {}, - CreatedTime: { type: "timestamp" }, - IdempotencyToken: {}, - LastRecordId: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - }, - }, - S65: { - type: "list", - member: { + output: { type: "structure", - members: { Type: {}, Description: {} }, - }, - }, - S6f: { type: "list", member: {} }, - S6g: { type: "list", member: {} }, - S6k: { - type: "structure", - members: { - RecordId: {}, - ProvisionedProductName: {}, - Status: {}, - CreatedTime: { type: "timestamp" }, - UpdatedTime: { type: "timestamp" }, - ProvisionedProductType: {}, - RecordType: {}, - ProvisionedProductId: {}, - ProductId: {}, - ProvisioningArtifactId: {}, - PathId: {}, - RecordErrors: { - type: "list", - member: { - type: "structure", - members: { Code: {}, Description: {} }, - }, - }, - RecordTags: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, + members: { + CiphertextBlob: { type: "blob" }, + KeyId: {}, + EncryptionAlgorithm: {}, }, }, }, - S77: { type: "list", member: {} }, - S7z: { type: "list", member: { shape: "S1n" } }, - S8p: { type: "structure", members: { Key: {}, Value: {} } }, - S9k: { type: "list", member: { shape: "S37" } }, - Saa: { type: "map", key: {}, value: { type: "list", member: {} } }, - Sbb: { type: "list", member: {} }, - Sbk: { type: "map", key: {}, value: {} }, - }, - }; - - /***/ - }, - - /***/ 4016: /***/ function (module) { - module.exports = require("tls"); - - /***/ - }, - - /***/ 4068: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["forecastqueryservice"] = {}; - AWS.ForecastQueryService = Service.defineService("forecastqueryservice", [ - "2018-06-26", - ]); - Object.defineProperty( - apiLoader.services["forecastqueryservice"], - "2018-06-26", - { - get: function get() { - var model = __webpack_require__(890); - model.paginators = __webpack_require__(520).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.ForecastQueryService; - - /***/ - }, - - /***/ 4074: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2017-11-27", - endpointPrefix: "mq", - signingName: "mq", - serviceFullName: "AmazonMQ", - serviceId: "mq", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "mq-2017-11-27", - signatureVersion: "v4", - }, - operations: { - CreateBroker: { - http: { requestUri: "/v1/brokers", responseCode: 200 }, + GenerateDataKey: { input: { type: "structure", + required: ["KeyId"], members: { - AutoMinorVersionUpgrade: { - locationName: "autoMinorVersionUpgrade", - type: "boolean", - }, - BrokerName: { locationName: "brokerName" }, - Configuration: { shape: "S4", locationName: "configuration" }, - CreatorRequestId: { - locationName: "creatorRequestId", - idempotencyToken: true, - }, - DeploymentMode: { locationName: "deploymentMode" }, - EncryptionOptions: { - shape: "S7", - locationName: "encryptionOptions", - }, - EngineType: { locationName: "engineType" }, - EngineVersion: { locationName: "engineVersion" }, - HostInstanceType: { locationName: "hostInstanceType" }, - Logs: { shape: "S9", locationName: "logs" }, - MaintenanceWindowStartTime: { - shape: "Sa", - locationName: "maintenanceWindowStartTime", - }, - PubliclyAccessible: { - locationName: "publiclyAccessible", - type: "boolean", - }, - SecurityGroups: { shape: "Sc", locationName: "securityGroups" }, - StorageType: { locationName: "storageType" }, - SubnetIds: { shape: "Sc", locationName: "subnetIds" }, - Tags: { shape: "Se", locationName: "tags" }, - Users: { - locationName: "users", - type: "list", - member: { - type: "structure", - members: { - ConsoleAccess: { - locationName: "consoleAccess", - type: "boolean", - }, - Groups: { shape: "Sc", locationName: "groups" }, - Password: { locationName: "password" }, - Username: { locationName: "username" }, - }, - }, - }, + KeyId: {}, + EncryptionContext: { shape: "Sk" }, + NumberOfBytes: { type: "integer" }, + KeySpec: {}, + GrantTokens: { shape: "Sn" }, }, }, output: { type: "structure", members: { - BrokerArn: { locationName: "brokerArn" }, - BrokerId: { locationName: "brokerId" }, + CiphertextBlob: { type: "blob" }, + Plaintext: { shape: "S1i" }, + KeyId: {}, }, }, }, - CreateConfiguration: { - http: { requestUri: "/v1/configurations", responseCode: 200 }, + GenerateDataKeyPair: { input: { type: "structure", + required: ["KeyId", "KeyPairSpec"], members: { - EngineType: { locationName: "engineType" }, - EngineVersion: { locationName: "engineVersion" }, - Name: { locationName: "name" }, - Tags: { shape: "Se", locationName: "tags" }, + EncryptionContext: { shape: "Sk" }, + KeyId: {}, + KeyPairSpec: {}, + GrantTokens: { shape: "Sn" }, }, }, output: { type: "structure", members: { - Arn: { locationName: "arn" }, - Created: { shape: "Sk", locationName: "created" }, - Id: { locationName: "id" }, - LatestRevision: { shape: "Sl", locationName: "latestRevision" }, - Name: { locationName: "name" }, + PrivateKeyCiphertextBlob: { type: "blob" }, + PrivateKeyPlaintext: { shape: "S1i" }, + PublicKey: { type: "blob" }, + KeyId: {}, + KeyPairSpec: {}, }, }, }, - CreateTags: { - http: { requestUri: "/v1/tags/{resource-arn}", responseCode: 204 }, + GenerateDataKeyPairWithoutPlaintext: { input: { type: "structure", + required: ["KeyId", "KeyPairSpec"], members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - Tags: { shape: "Se", locationName: "tags" }, + EncryptionContext: { shape: "Sk" }, + KeyId: {}, + KeyPairSpec: {}, + GrantTokens: { shape: "Sn" }, }, - required: ["ResourceArn"], - }, - }, - CreateUser: { - http: { - requestUri: "/v1/brokers/{broker-id}/users/{username}", - responseCode: 200, }, - input: { + output: { type: "structure", members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - ConsoleAccess: { - locationName: "consoleAccess", - type: "boolean", - }, - Groups: { shape: "Sc", locationName: "groups" }, - Password: { locationName: "password" }, - Username: { location: "uri", locationName: "username" }, + PrivateKeyCiphertextBlob: { type: "blob" }, + PublicKey: { type: "blob" }, + KeyId: {}, + KeyPairSpec: {}, }, - required: ["Username", "BrokerId"], }, - output: { type: "structure", members: {} }, }, - DeleteBroker: { - http: { - method: "DELETE", - requestUri: "/v1/brokers/{broker-id}", - responseCode: 200, - }, + GenerateDataKeyWithoutPlaintext: { input: { type: "structure", + required: ["KeyId"], members: { - BrokerId: { location: "uri", locationName: "broker-id" }, + KeyId: {}, + EncryptionContext: { shape: "Sk" }, + KeySpec: {}, + NumberOfBytes: { type: "integer" }, + GrantTokens: { shape: "Sn" }, }, - required: ["BrokerId"], }, output: { type: "structure", - members: { BrokerId: { locationName: "brokerId" } }, + members: { CiphertextBlob: { type: "blob" }, KeyId: {} }, }, }, - DeleteTags: { - http: { - method: "DELETE", - requestUri: "/v1/tags/{resource-arn}", - responseCode: 204, - }, + GenerateRandom: { input: { type: "structure", members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - TagKeys: { - shape: "Sc", - location: "querystring", - locationName: "tagKeys", - }, + NumberOfBytes: { type: "integer" }, + CustomKeyStoreId: {}, }, - required: ["TagKeys", "ResourceArn"], }, - }, - DeleteUser: { - http: { - method: "DELETE", - requestUri: "/v1/brokers/{broker-id}/users/{username}", - responseCode: 200, + output: { + type: "structure", + members: { Plaintext: { shape: "S1i" } }, }, + }, + GetKeyPolicy: { input: { type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - Username: { location: "uri", locationName: "username" }, - }, - required: ["Username", "BrokerId"], + required: ["KeyId", "PolicyName"], + members: { KeyId: {}, PolicyName: {} }, }, - output: { type: "structure", members: {} }, + output: { type: "structure", members: { Policy: {} } }, }, - DescribeBroker: { - http: { - method: "GET", - requestUri: "/v1/brokers/{broker-id}", - responseCode: 200, + GetKeyRotationStatus: { + input: { + type: "structure", + required: ["KeyId"], + members: { KeyId: {} }, + }, + output: { + type: "structure", + members: { KeyRotationEnabled: { type: "boolean" } }, }, + }, + GetParametersForImport: { input: { type: "structure", + required: ["KeyId", "WrappingAlgorithm", "WrappingKeySpec"], members: { - BrokerId: { location: "uri", locationName: "broker-id" }, + KeyId: {}, + WrappingAlgorithm: {}, + WrappingKeySpec: {}, }, - required: ["BrokerId"], }, output: { type: "structure", members: { - AutoMinorVersionUpgrade: { - locationName: "autoMinorVersionUpgrade", - type: "boolean", - }, - BrokerArn: { locationName: "brokerArn" }, - BrokerId: { locationName: "brokerId" }, - BrokerInstances: { - locationName: "brokerInstances", - type: "list", - member: { - type: "structure", - members: { - ConsoleURL: { locationName: "consoleURL" }, - Endpoints: { shape: "Sc", locationName: "endpoints" }, - IpAddress: { locationName: "ipAddress" }, - }, - }, - }, - BrokerName: { locationName: "brokerName" }, - BrokerState: { locationName: "brokerState" }, - Configurations: { - locationName: "configurations", - type: "structure", - members: { - Current: { shape: "S4", locationName: "current" }, - History: { - locationName: "history", - type: "list", - member: { shape: "S4" }, - }, - Pending: { shape: "S4", locationName: "pending" }, - }, - }, - Created: { shape: "Sk", locationName: "created" }, - DeploymentMode: { locationName: "deploymentMode" }, - EncryptionOptions: { - shape: "S7", - locationName: "encryptionOptions", - }, - EngineType: { locationName: "engineType" }, - EngineVersion: { locationName: "engineVersion" }, - HostInstanceType: { locationName: "hostInstanceType" }, - Logs: { - locationName: "logs", - type: "structure", - members: { - Audit: { locationName: "audit", type: "boolean" }, - AuditLogGroup: { locationName: "auditLogGroup" }, - General: { locationName: "general", type: "boolean" }, - GeneralLogGroup: { locationName: "generalLogGroup" }, - Pending: { - locationName: "pending", - type: "structure", - members: { - Audit: { locationName: "audit", type: "boolean" }, - General: { locationName: "general", type: "boolean" }, - }, - }, - }, - }, - MaintenanceWindowStartTime: { - shape: "Sa", - locationName: "maintenanceWindowStartTime", - }, - PendingEngineVersion: { locationName: "pendingEngineVersion" }, - PendingHostInstanceType: { - locationName: "pendingHostInstanceType", - }, - PendingSecurityGroups: { - shape: "Sc", - locationName: "pendingSecurityGroups", - }, - PubliclyAccessible: { - locationName: "publiclyAccessible", - type: "boolean", - }, - SecurityGroups: { shape: "Sc", locationName: "securityGroups" }, - StorageType: { locationName: "storageType" }, - SubnetIds: { shape: "Sc", locationName: "subnetIds" }, - Tags: { shape: "Se", locationName: "tags" }, - Users: { shape: "S13", locationName: "users" }, + KeyId: {}, + ImportToken: { type: "blob" }, + PublicKey: { shape: "S1i" }, + ParametersValidTo: { type: "timestamp" }, }, }, }, - DescribeBrokerEngineTypes: { - http: { - method: "GET", - requestUri: "/v1/broker-engine-types", - responseCode: 200, - }, + GetPublicKey: { input: { type: "structure", - members: { - EngineType: { - location: "querystring", - locationName: "engineType", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, + required: ["KeyId"], + members: { KeyId: {}, GrantTokens: { shape: "Sn" } }, }, output: { type: "structure", members: { - BrokerEngineTypes: { - locationName: "brokerEngineTypes", - type: "list", - member: { - type: "structure", - members: { - EngineType: { locationName: "engineType" }, - EngineVersions: { - locationName: "engineVersions", - type: "list", - member: { - type: "structure", - members: { Name: { locationName: "name" } }, - }, - }, - }, - }, - }, - MaxResults: { locationName: "maxResults", type: "integer" }, - NextToken: { locationName: "nextToken" }, + KeyId: {}, + PublicKey: { type: "blob" }, + CustomerMasterKeySpec: {}, + KeyUsage: {}, + EncryptionAlgorithms: { shape: "S1b" }, + SigningAlgorithms: { shape: "S1d" }, }, }, }, - DescribeBrokerInstanceOptions: { - http: { - method: "GET", - requestUri: "/v1/broker-instance-options", - responseCode: 200, - }, + ImportKeyMaterial: { input: { type: "structure", + required: ["KeyId", "ImportToken", "EncryptedKeyMaterial"], members: { - EngineType: { - location: "querystring", - locationName: "engineType", - }, - HostInstanceType: { - location: "querystring", - locationName: "hostInstanceType", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - StorageType: { - location: "querystring", - locationName: "storageType", - }, + KeyId: {}, + ImportToken: { type: "blob" }, + EncryptedKeyMaterial: { type: "blob" }, + ValidTo: { type: "timestamp" }, + ExpirationModel: {}, }, }, + output: { type: "structure", members: {} }, + }, + ListAliases: { + input: { + type: "structure", + members: { KeyId: {}, Limit: { type: "integer" }, Marker: {} }, + }, output: { type: "structure", members: { - BrokerInstanceOptions: { - locationName: "brokerInstanceOptions", + Aliases: { type: "list", member: { type: "structure", members: { - AvailabilityZones: { - locationName: "availabilityZones", - type: "list", - member: { - type: "structure", - members: { Name: { locationName: "name" } }, - }, - }, - EngineType: { locationName: "engineType" }, - HostInstanceType: { locationName: "hostInstanceType" }, - StorageType: { locationName: "storageType" }, - SupportedDeploymentModes: { - locationName: "supportedDeploymentModes", - type: "list", - member: {}, - }, - SupportedEngineVersions: { - shape: "Sc", - locationName: "supportedEngineVersions", - }, + AliasName: {}, + AliasArn: {}, + TargetKeyId: {}, + CreationDate: { type: "timestamp" }, + LastUpdatedDate: { type: "timestamp" }, }, }, }, - MaxResults: { locationName: "maxResults", type: "integer" }, - NextToken: { locationName: "nextToken" }, + NextMarker: {}, + Truncated: { type: "boolean" }, }, }, }, - DescribeConfiguration: { - http: { - method: "GET", - requestUri: "/v1/configurations/{configuration-id}", - responseCode: 200, - }, + ListGrants: { input: { type: "structure", - members: { - ConfigurationId: { - location: "uri", - locationName: "configuration-id", - }, - }, - required: ["ConfigurationId"], - }, - output: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Created: { shape: "Sk", locationName: "created" }, - Description: { locationName: "description" }, - EngineType: { locationName: "engineType" }, - EngineVersion: { locationName: "engineVersion" }, - Id: { locationName: "id" }, - LatestRevision: { shape: "Sl", locationName: "latestRevision" }, - Name: { locationName: "name" }, - Tags: { shape: "Se", locationName: "tags" }, - }, + required: ["KeyId"], + members: { Limit: { type: "integer" }, Marker: {}, KeyId: {} }, }, + output: { shape: "S31" }, }, - DescribeConfigurationRevision: { - http: { - method: "GET", - requestUri: - "/v1/configurations/{configuration-id}/revisions/{configuration-revision}", - responseCode: 200, - }, + ListKeyPolicies: { input: { type: "structure", - members: { - ConfigurationId: { - location: "uri", - locationName: "configuration-id", - }, - ConfigurationRevision: { - location: "uri", - locationName: "configuration-revision", - }, - }, - required: ["ConfigurationRevision", "ConfigurationId"], + required: ["KeyId"], + members: { KeyId: {}, Limit: { type: "integer" }, Marker: {} }, }, output: { type: "structure", members: { - ConfigurationId: { locationName: "configurationId" }, - Created: { shape: "Sk", locationName: "created" }, - Data: { locationName: "data" }, - Description: { locationName: "description" }, + PolicyNames: { type: "list", member: {} }, + NextMarker: {}, + Truncated: { type: "boolean" }, }, }, }, - DescribeUser: { - http: { - method: "GET", - requestUri: "/v1/brokers/{broker-id}/users/{username}", - responseCode: 200, - }, + ListKeys: { input: { type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - Username: { location: "uri", locationName: "username" }, - }, - required: ["Username", "BrokerId"], + members: { Limit: { type: "integer" }, Marker: {} }, }, output: { type: "structure", members: { - BrokerId: { locationName: "brokerId" }, - ConsoleAccess: { - locationName: "consoleAccess", - type: "boolean", - }, - Groups: { shape: "Sc", locationName: "groups" }, - Pending: { - locationName: "pending", - type: "structure", - members: { - ConsoleAccess: { - locationName: "consoleAccess", - type: "boolean", - }, - Groups: { shape: "Sc", locationName: "groups" }, - PendingChange: { locationName: "pendingChange" }, + Keys: { + type: "list", + member: { + type: "structure", + members: { KeyId: {}, KeyArn: {} }, }, }, - Username: { locationName: "username" }, + NextMarker: {}, + Truncated: { type: "boolean" }, }, }, }, - ListBrokers: { - http: { - method: "GET", - requestUri: "/v1/brokers", - responseCode: 200, - }, + ListResourceTags: { input: { type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, + required: ["KeyId"], + members: { KeyId: {}, Limit: { type: "integer" }, Marker: {} }, }, output: { type: "structure", members: { - BrokerSummaries: { - locationName: "brokerSummaries", - type: "list", - member: { - type: "structure", - members: { - BrokerArn: { locationName: "brokerArn" }, - BrokerId: { locationName: "brokerId" }, - BrokerName: { locationName: "brokerName" }, - BrokerState: { locationName: "brokerState" }, - Created: { shape: "Sk", locationName: "created" }, - DeploymentMode: { locationName: "deploymentMode" }, - HostInstanceType: { locationName: "hostInstanceType" }, - }, - }, - }, - NextToken: { locationName: "nextToken" }, + Tags: { shape: "Sz" }, + NextMarker: {}, + Truncated: { type: "boolean" }, }, }, }, - ListConfigurationRevisions: { - http: { - method: "GET", - requestUri: "/v1/configurations/{configuration-id}/revisions", - responseCode: 200, - }, + ListRetirableGrants: { input: { type: "structure", + required: ["RetiringPrincipal"], members: { - ConfigurationId: { - location: "uri", - locationName: "configuration-id", - }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, + Limit: { type: "integer" }, + Marker: {}, + RetiringPrincipal: {}, }, - required: ["ConfigurationId"], }, - output: { + output: { shape: "S31" }, + }, + PutKeyPolicy: { + input: { type: "structure", + required: ["KeyId", "PolicyName", "Policy"], members: { - ConfigurationId: { locationName: "configurationId" }, - MaxResults: { locationName: "maxResults", type: "integer" }, - NextToken: { locationName: "nextToken" }, - Revisions: { - locationName: "revisions", - type: "list", - member: { shape: "Sl" }, - }, + KeyId: {}, + PolicyName: {}, + Policy: {}, + BypassPolicyLockoutSafetyCheck: { type: "boolean" }, }, }, }, - ListConfigurations: { - http: { - method: "GET", - requestUri: "/v1/configurations", - responseCode: 200, - }, + ReEncrypt: { input: { type: "structure", + required: ["CiphertextBlob", "DestinationKeyId"], members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, + CiphertextBlob: { type: "blob" }, + SourceEncryptionContext: { shape: "Sk" }, + SourceKeyId: {}, + DestinationKeyId: {}, + DestinationEncryptionContext: { shape: "Sk" }, + SourceEncryptionAlgorithm: {}, + DestinationEncryptionAlgorithm: {}, + GrantTokens: { shape: "Sn" }, }, }, output: { type: "structure", members: { - Configurations: { - locationName: "configurations", - type: "list", - member: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Created: { shape: "Sk", locationName: "created" }, - Description: { locationName: "description" }, - EngineType: { locationName: "engineType" }, - EngineVersion: { locationName: "engineVersion" }, - Id: { locationName: "id" }, - LatestRevision: { - shape: "Sl", - locationName: "latestRevision", - }, - Name: { locationName: "name" }, - Tags: { shape: "Se", locationName: "tags" }, - }, - }, - }, - MaxResults: { locationName: "maxResults", type: "integer" }, - NextToken: { locationName: "nextToken" }, + CiphertextBlob: { type: "blob" }, + SourceKeyId: {}, + KeyId: {}, + SourceEncryptionAlgorithm: {}, + DestinationEncryptionAlgorithm: {}, }, }, }, - ListTags: { - http: { - method: "GET", - requestUri: "/v1/tags/{resource-arn}", - responseCode: 200, + RetireGrant: { + input: { + type: "structure", + members: { GrantToken: {}, KeyId: {}, GrantId: {} }, }, + }, + RevokeGrant: { input: { type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - }, - required: ["ResourceArn"], + required: ["KeyId", "GrantId"], + members: { KeyId: {}, GrantId: {} }, + }, + }, + ScheduleKeyDeletion: { + input: { + type: "structure", + required: ["KeyId"], + members: { KeyId: {}, PendingWindowInDays: { type: "integer" } }, }, output: { type: "structure", - members: { Tags: { shape: "Se", locationName: "tags" } }, + members: { KeyId: {}, DeletionDate: { type: "timestamp" } }, }, }, - ListUsers: { - http: { - method: "GET", - requestUri: "/v1/brokers/{broker-id}/users", - responseCode: 200, - }, + Sign: { input: { type: "structure", + required: ["KeyId", "Message", "SigningAlgorithm"], members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, + KeyId: {}, + Message: { shape: "S1i" }, + MessageType: {}, + GrantTokens: { shape: "Sn" }, + SigningAlgorithm: {}, }, - required: ["BrokerId"], }, output: { type: "structure", members: { - BrokerId: { locationName: "brokerId" }, - MaxResults: { locationName: "maxResults", type: "integer" }, - NextToken: { locationName: "nextToken" }, - Users: { shape: "S13", locationName: "users" }, + KeyId: {}, + Signature: { type: "blob" }, + SigningAlgorithm: {}, }, }, }, - RebootBroker: { - http: { - requestUri: "/v1/brokers/{broker-id}/reboot", - responseCode: 200, - }, + TagResource: { input: { type: "structure", - members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - }, - required: ["BrokerId"], + required: ["KeyId", "Tags"], + members: { KeyId: {}, Tags: { shape: "Sz" } }, }, - output: { type: "structure", members: {} }, }, - UpdateBroker: { - http: { - method: "PUT", - requestUri: "/v1/brokers/{broker-id}", - responseCode: 200, + UntagResource: { + input: { + type: "structure", + required: ["KeyId", "TagKeys"], + members: { KeyId: {}, TagKeys: { type: "list", member: {} } }, }, + }, + UpdateAlias: { input: { type: "structure", - members: { - AutoMinorVersionUpgrade: { - locationName: "autoMinorVersionUpgrade", - type: "boolean", - }, - BrokerId: { location: "uri", locationName: "broker-id" }, - Configuration: { shape: "S4", locationName: "configuration" }, - EngineVersion: { locationName: "engineVersion" }, - HostInstanceType: { locationName: "hostInstanceType" }, - Logs: { shape: "S9", locationName: "logs" }, - SecurityGroups: { shape: "Sc", locationName: "securityGroups" }, - }, - required: ["BrokerId"], + required: ["AliasName", "TargetKeyId"], + members: { AliasName: {}, TargetKeyId: {} }, }, - output: { + }, + UpdateCustomKeyStore: { + input: { type: "structure", + required: ["CustomKeyStoreId"], members: { - AutoMinorVersionUpgrade: { - locationName: "autoMinorVersionUpgrade", - type: "boolean", - }, - BrokerId: { locationName: "brokerId" }, - Configuration: { shape: "S4", locationName: "configuration" }, - EngineVersion: { locationName: "engineVersion" }, - HostInstanceType: { locationName: "hostInstanceType" }, - Logs: { shape: "S9", locationName: "logs" }, - SecurityGroups: { shape: "Sc", locationName: "securityGroups" }, + CustomKeyStoreId: {}, + NewCustomKeyStoreName: {}, + KeyStorePassword: { shape: "Sd" }, + CloudHsmClusterId: {}, }, }, + output: { type: "structure", members: {} }, }, - UpdateConfiguration: { - http: { - method: "PUT", - requestUri: "/v1/configurations/{configuration-id}", - responseCode: 200, - }, + UpdateKeyDescription: { input: { type: "structure", - members: { - ConfigurationId: { - location: "uri", - locationName: "configuration-id", - }, - Data: { locationName: "data" }, - Description: { locationName: "description" }, - }, - required: ["ConfigurationId"], + required: ["KeyId", "Description"], + members: { KeyId: {}, Description: {} }, }, - output: { + }, + Verify: { + input: { type: "structure", + required: ["KeyId", "Message", "Signature", "SigningAlgorithm"], members: { - Arn: { locationName: "arn" }, - Created: { shape: "Sk", locationName: "created" }, - Id: { locationName: "id" }, - LatestRevision: { shape: "Sl", locationName: "latestRevision" }, - Name: { locationName: "name" }, - Warnings: { - locationName: "warnings", - type: "list", - member: { - type: "structure", - members: { - AttributeName: { locationName: "attributeName" }, - ElementName: { locationName: "elementName" }, - Reason: { locationName: "reason" }, - }, - }, - }, + KeyId: {}, + Message: { shape: "S1i" }, + MessageType: {}, + Signature: { type: "blob" }, + SigningAlgorithm: {}, + GrantTokens: { shape: "Sn" }, }, }, - }, - UpdateUser: { - http: { - method: "PUT", - requestUri: "/v1/brokers/{broker-id}/users/{username}", - responseCode: 200, - }, - input: { + output: { type: "structure", members: { - BrokerId: { location: "uri", locationName: "broker-id" }, - ConsoleAccess: { - locationName: "consoleAccess", - type: "boolean", - }, - Groups: { shape: "Sc", locationName: "groups" }, - Password: { locationName: "password" }, - Username: { location: "uri", locationName: "username" }, + KeyId: {}, + SignatureValid: { type: "boolean" }, + SigningAlgorithm: {}, }, - required: ["Username", "BrokerId"], }, - output: { type: "structure", members: {} }, }, }, shapes: { - S4: { + Sd: { type: "string", sensitive: true }, + Sh: { type: "list", member: {} }, + Sj: { type: "structure", members: { - Id: { locationName: "id" }, - Revision: { locationName: "revision", type: "integer" }, + EncryptionContextSubset: { shape: "Sk" }, + EncryptionContextEquals: { shape: "Sk" }, }, }, - S7: { - type: "structure", - members: { - KmsKeyId: { locationName: "kmsKeyId" }, - UseAwsOwnedKey: { - locationName: "useAwsOwnedKey", - type: "boolean", - }, + Sk: { type: "map", key: {}, value: {} }, + Sn: { type: "list", member: {} }, + Sz: { + type: "list", + member: { + type: "structure", + required: ["TagKey", "TagValue"], + members: { TagKey: {}, TagValue: {} }, }, - required: ["UseAwsOwnedKey"], }, - S9: { + S14: { type: "structure", + required: ["KeyId"], members: { - Audit: { locationName: "audit", type: "boolean" }, - General: { locationName: "general", type: "boolean" }, - }, - }, - Sa: { - type: "structure", - members: { - DayOfWeek: { locationName: "dayOfWeek" }, - TimeOfDay: { locationName: "timeOfDay" }, - TimeZone: { locationName: "timeZone" }, + AWSAccountId: {}, + KeyId: {}, + Arn: {}, + CreationDate: { type: "timestamp" }, + Enabled: { type: "boolean" }, + Description: {}, + KeyUsage: {}, + KeyState: {}, + DeletionDate: { type: "timestamp" }, + ValidTo: { type: "timestamp" }, + Origin: {}, + CustomKeyStoreId: {}, + CloudHsmClusterId: {}, + ExpirationModel: {}, + KeyManager: {}, + CustomerMasterKeySpec: {}, + EncryptionAlgorithms: { shape: "S1b" }, + SigningAlgorithms: { shape: "S1d" }, }, }, - Sc: { type: "list", member: {} }, - Se: { type: "map", key: {}, value: {} }, - Sk: { type: "timestamp", timestampFormat: "iso8601" }, - Sl: { + S1b: { type: "list", member: {} }, + S1d: { type: "list", member: {} }, + S1i: { type: "blob", sensitive: true }, + S31: { type: "structure", members: { - Created: { shape: "Sk", locationName: "created" }, - Description: { locationName: "description" }, - Revision: { locationName: "revision", type: "integer" }, - }, - }, - S13: { - type: "list", - member: { - type: "structure", - members: { - PendingChange: { locationName: "pendingChange" }, - Username: { locationName: "username" }, + Grants: { + type: "list", + member: { + type: "structure", + members: { + KeyId: {}, + GrantId: {}, + Name: {}, + CreationDate: { type: "timestamp" }, + GranteePrincipal: {}, + RetiringPrincipal: {}, + IssuingAccount: {}, + Operations: { shape: "Sh" }, + Constraints: { shape: "Sj" }, + }, + }, }, + NextMarker: {}, + Truncated: { type: "boolean" }, }, }, }, - authorizers: { - authorization_strategy: { - name: "authorization_strategy", - type: "provided", - placement: { location: "header", name: "Authorization" }, + }; + + /***/ + }, + + /***/ 3229: /***/ function (module) { + module.exports = { + pagination: { + ListChannels: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListDatasetContents: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListDatasets: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListDatastores: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListPipelines: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, }, }; @@ -111137,450 +112679,793 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 4080: /***/ function (module) { + /***/ 3234: /***/ function (module, __unusedexports, __webpack_require__) { + var util = __webpack_require__(153); + + util.isBrowser = function () { + return false; + }; + util.isNode = function () { + return true; + }; + + // node.js specific modules + util.crypto.lib = __webpack_require__(6417); + util.Buffer = __webpack_require__(4293).Buffer; + util.domain = __webpack_require__(5229); + util.stream = __webpack_require__(2413); + util.url = __webpack_require__(8835); + util.querystring = __webpack_require__(1191); + util.environment = "nodejs"; + util.createEventStream = util.stream.Readable + ? __webpack_require__(445).createEventStream + : __webpack_require__(1661).createEventStream; + util.realClock = __webpack_require__(6693); + util.clientSideMonitoring = { + Publisher: __webpack_require__(1701).Publisher, + configProvider: __webpack_require__(1762), + }; + util.iniLoader = __webpack_require__(5892).iniLoader; + util.getSystemErrorName = __webpack_require__(1669).getSystemErrorName; + + var AWS; + + /** + * @api private + */ + module.exports = AWS = __webpack_require__(395); + + __webpack_require__(4923); + __webpack_require__(4906); + __webpack_require__(3043); + __webpack_require__(9543); + __webpack_require__(747); + __webpack_require__(7170); + __webpack_require__(2966); + __webpack_require__(2982); + + // Load the xml2js XML parser + AWS.XML.Parser = __webpack_require__(9810); + + // Load Node HTTP client + __webpack_require__(6888); + + __webpack_require__(7960); + + // Load custom credential providers + __webpack_require__(8868); + __webpack_require__(6103); + __webpack_require__(7426); + __webpack_require__(9316); + __webpack_require__(872); + __webpack_require__(634); + __webpack_require__(6431); + __webpack_require__(2982); + + // Setup default chain providers + // If this changes, please update documentation for + // AWS.CredentialProviderChain.defaultProviders in + // credentials/credential_provider_chain.js + AWS.CredentialProviderChain.defaultProviders = [ + function () { + return new AWS.EnvironmentCredentials("AWS"); + }, + function () { + return new AWS.EnvironmentCredentials("AMAZON"); + }, + function () { + return new AWS.SharedIniFileCredentials(); + }, + function () { + return new AWS.ECSCredentials(); + }, + function () { + return new AWS.ProcessCredentials(); + }, + function () { + return new AWS.TokenFileWebIdentityCredentials(); + }, + function () { + return new AWS.EC2MetadataCredentials(); + }, + ]; + + // Update configuration keys + AWS.util.update(AWS.Config.prototype.keys, { + credentials: function () { + var credentials = null; + new AWS.CredentialProviderChain([ + function () { + return new AWS.EnvironmentCredentials("AWS"); + }, + function () { + return new AWS.EnvironmentCredentials("AMAZON"); + }, + function () { + return new AWS.SharedIniFileCredentials({ + disableAssumeRole: true, + }); + }, + ]).resolve(function (err, creds) { + if (!err) credentials = creds; + }); + return credentials; + }, + credentialProvider: function () { + return new AWS.CredentialProviderChain(); + }, + logger: function () { + return process.env.AWSJS_DEBUG ? console : null; + }, + region: function () { + var env = process.env; + var region = env.AWS_REGION || env.AMAZON_REGION; + if (env[AWS.util.configOptInEnv]) { + var toCheck = [ + { filename: env[AWS.util.sharedCredentialsFileEnv] }, + { isConfig: true, filename: env[AWS.util.sharedConfigFileEnv] }, + ]; + var iniLoader = AWS.util.iniLoader; + while (!region && toCheck.length) { + var configFile = iniLoader.loadFrom(toCheck.shift()); + var profile = + configFile[env.AWS_PROFILE || AWS.util.defaultProfile]; + region = profile && profile.region; + } + } + return region; + }, + }); + + // Reset configuration + AWS.config = new AWS.Config(); + + /***/ + }, + + /***/ 3252: /***/ function (module) { module.exports = { - version: "2.0", metadata: { - apiVersion: "2017-04-19", - endpointPrefix: "dax", + apiVersion: "2017-09-08", + endpointPrefix: "serverlessrepo", + signingName: "serverlessrepo", + serviceFullName: "AWSServerlessApplicationRepository", + serviceId: "ServerlessApplicationRepository", + protocol: "rest-json", jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "Amazon DAX", - serviceFullName: "Amazon DynamoDB Accelerator (DAX)", - serviceId: "DAX", + uid: "serverlessrepo-2017-09-08", signatureVersion: "v4", - targetPrefix: "AmazonDAXV3", - uid: "dax-2017-04-19", }, operations: { - CreateCluster: { + CreateApplication: { + http: { requestUri: "/applications", responseCode: 201 }, input: { type: "structure", - required: [ - "ClusterName", - "NodeType", - "ReplicationFactor", - "IamRoleArn", - ], members: { - ClusterName: {}, - NodeType: {}, - Description: {}, - ReplicationFactor: { type: "integer" }, - AvailabilityZones: { shape: "S4" }, - SubnetGroupName: {}, - SecurityGroupIds: { shape: "S5" }, - PreferredMaintenanceWindow: {}, - NotificationTopicArn: {}, - IamRoleArn: {}, - ParameterGroupName: {}, - Tags: { shape: "S6" }, - SSESpecification: { - type: "structure", - required: ["Enabled"], - members: { Enabled: { type: "boolean" } }, - }, + Author: { locationName: "author" }, + Description: { locationName: "description" }, + HomePageUrl: { locationName: "homePageUrl" }, + Labels: { shape: "S3", locationName: "labels" }, + LicenseBody: { locationName: "licenseBody" }, + LicenseUrl: { locationName: "licenseUrl" }, + Name: { locationName: "name" }, + ReadmeBody: { locationName: "readmeBody" }, + ReadmeUrl: { locationName: "readmeUrl" }, + SemanticVersion: { locationName: "semanticVersion" }, + SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, + SourceCodeUrl: { locationName: "sourceCodeUrl" }, + SpdxLicenseId: { locationName: "spdxLicenseId" }, + TemplateBody: { locationName: "templateBody" }, + TemplateUrl: { locationName: "templateUrl" }, }, + required: ["Description", "Name", "Author"], }, output: { type: "structure", - members: { Cluster: { shape: "Sb" } }, + members: { + ApplicationId: { locationName: "applicationId" }, + Author: { locationName: "author" }, + CreationTime: { locationName: "creationTime" }, + Description: { locationName: "description" }, + HomePageUrl: { locationName: "homePageUrl" }, + IsVerifiedAuthor: { + locationName: "isVerifiedAuthor", + type: "boolean", + }, + Labels: { shape: "S3", locationName: "labels" }, + LicenseUrl: { locationName: "licenseUrl" }, + Name: { locationName: "name" }, + ReadmeUrl: { locationName: "readmeUrl" }, + SpdxLicenseId: { locationName: "spdxLicenseId" }, + VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" }, + Version: { shape: "S6", locationName: "version" }, + }, }, }, - CreateParameterGroup: { + CreateApplicationVersion: { + http: { + method: "PUT", + requestUri: + "/applications/{applicationId}/versions/{semanticVersion}", + responseCode: 201, + }, input: { type: "structure", - required: ["ParameterGroupName"], - members: { ParameterGroupName: {}, Description: {} }, + members: { + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, + SemanticVersion: { + location: "uri", + locationName: "semanticVersion", + }, + SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, + SourceCodeUrl: { locationName: "sourceCodeUrl" }, + TemplateBody: { locationName: "templateBody" }, + TemplateUrl: { locationName: "templateUrl" }, + }, + required: ["ApplicationId", "SemanticVersion"], }, output: { type: "structure", - members: { ParameterGroup: { shape: "Sq" } }, + members: { + ApplicationId: { locationName: "applicationId" }, + CreationTime: { locationName: "creationTime" }, + ParameterDefinitions: { + shape: "S7", + locationName: "parameterDefinitions", + }, + RequiredCapabilities: { + shape: "Sa", + locationName: "requiredCapabilities", + }, + ResourcesSupported: { + locationName: "resourcesSupported", + type: "boolean", + }, + SemanticVersion: { locationName: "semanticVersion" }, + SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, + SourceCodeUrl: { locationName: "sourceCodeUrl" }, + TemplateUrl: { locationName: "templateUrl" }, + }, }, }, - CreateSubnetGroup: { + CreateCloudFormationChangeSet: { + http: { + requestUri: "/applications/{applicationId}/changesets", + responseCode: 201, + }, input: { type: "structure", - required: ["SubnetGroupName", "SubnetIds"], members: { - SubnetGroupName: {}, - Description: {}, - SubnetIds: { shape: "Ss" }, + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, + Capabilities: { shape: "S3", locationName: "capabilities" }, + ChangeSetName: { locationName: "changeSetName" }, + ClientToken: { locationName: "clientToken" }, + Description: { locationName: "description" }, + NotificationArns: { + shape: "S3", + locationName: "notificationArns", + }, + ParameterOverrides: { + locationName: "parameterOverrides", + type: "list", + member: { + type: "structure", + members: { + Name: { locationName: "name" }, + Value: { locationName: "value" }, + }, + required: ["Value", "Name"], + }, + }, + ResourceTypes: { shape: "S3", locationName: "resourceTypes" }, + RollbackConfiguration: { + locationName: "rollbackConfiguration", + type: "structure", + members: { + MonitoringTimeInMinutes: { + locationName: "monitoringTimeInMinutes", + type: "integer", + }, + RollbackTriggers: { + locationName: "rollbackTriggers", + type: "list", + member: { + type: "structure", + members: { + Arn: { locationName: "arn" }, + Type: { locationName: "type" }, + }, + required: ["Type", "Arn"], + }, + }, + }, + }, + SemanticVersion: { locationName: "semanticVersion" }, + StackName: { locationName: "stackName" }, + Tags: { + locationName: "tags", + type: "list", + member: { + type: "structure", + members: { + Key: { locationName: "key" }, + Value: { locationName: "value" }, + }, + required: ["Value", "Key"], + }, + }, + TemplateId: { locationName: "templateId" }, }, + required: ["ApplicationId", "StackName"], }, output: { type: "structure", - members: { SubnetGroup: { shape: "Su" } }, + members: { + ApplicationId: { locationName: "applicationId" }, + ChangeSetId: { locationName: "changeSetId" }, + SemanticVersion: { locationName: "semanticVersion" }, + StackId: { locationName: "stackId" }, + }, }, }, - DecreaseReplicationFactor: { + CreateCloudFormationTemplate: { + http: { + requestUri: "/applications/{applicationId}/templates", + responseCode: 201, + }, input: { type: "structure", - required: ["ClusterName", "NewReplicationFactor"], members: { - ClusterName: {}, - NewReplicationFactor: { type: "integer" }, - AvailabilityZones: { shape: "S4" }, - NodeIdsToRemove: { shape: "Se" }, + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, + SemanticVersion: { locationName: "semanticVersion" }, }, + required: ["ApplicationId"], }, output: { type: "structure", - members: { Cluster: { shape: "Sb" } }, + members: { + ApplicationId: { locationName: "applicationId" }, + CreationTime: { locationName: "creationTime" }, + ExpirationTime: { locationName: "expirationTime" }, + SemanticVersion: { locationName: "semanticVersion" }, + Status: { locationName: "status" }, + TemplateId: { locationName: "templateId" }, + TemplateUrl: { locationName: "templateUrl" }, + }, }, }, - DeleteCluster: { - input: { - type: "structure", - required: ["ClusterName"], - members: { ClusterName: {} }, + DeleteApplication: { + http: { + method: "DELETE", + requestUri: "/applications/{applicationId}", + responseCode: 204, }, - output: { + input: { type: "structure", - members: { Cluster: { shape: "Sb" } }, + members: { + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, + }, + required: ["ApplicationId"], }, }, - DeleteParameterGroup: { + GetApplication: { + http: { + method: "GET", + requestUri: "/applications/{applicationId}", + responseCode: 200, + }, input: { type: "structure", - required: ["ParameterGroupName"], - members: { ParameterGroupName: {} }, + members: { + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, + SemanticVersion: { + location: "querystring", + locationName: "semanticVersion", + }, + }, + required: ["ApplicationId"], }, - output: { type: "structure", members: { DeletionMessage: {} } }, - }, - DeleteSubnetGroup: { - input: { + output: { type: "structure", - required: ["SubnetGroupName"], - members: { SubnetGroupName: {} }, + members: { + ApplicationId: { locationName: "applicationId" }, + Author: { locationName: "author" }, + CreationTime: { locationName: "creationTime" }, + Description: { locationName: "description" }, + HomePageUrl: { locationName: "homePageUrl" }, + IsVerifiedAuthor: { + locationName: "isVerifiedAuthor", + type: "boolean", + }, + Labels: { shape: "S3", locationName: "labels" }, + LicenseUrl: { locationName: "licenseUrl" }, + Name: { locationName: "name" }, + ReadmeUrl: { locationName: "readmeUrl" }, + SpdxLicenseId: { locationName: "spdxLicenseId" }, + VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" }, + Version: { shape: "S6", locationName: "version" }, + }, }, - output: { type: "structure", members: { DeletionMessage: {} } }, }, - DescribeClusters: { + GetApplicationPolicy: { + http: { + method: "GET", + requestUri: "/applications/{applicationId}/policy", + responseCode: 200, + }, input: { type: "structure", members: { - ClusterNames: { type: "list", member: {} }, - MaxResults: { type: "integer" }, - NextToken: {}, + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, }, + required: ["ApplicationId"], }, output: { type: "structure", members: { - NextToken: {}, - Clusters: { type: "list", member: { shape: "Sb" } }, + Statements: { shape: "Sv", locationName: "statements" }, }, }, }, - DescribeDefaultParameters: { + GetCloudFormationTemplate: { + http: { + method: "GET", + requestUri: + "/applications/{applicationId}/templates/{templateId}", + responseCode: 200, + }, input: { type: "structure", - members: { MaxResults: { type: "integer" }, NextToken: {} }, + members: { + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, + TemplateId: { location: "uri", locationName: "templateId" }, + }, + required: ["ApplicationId", "TemplateId"], }, output: { type: "structure", - members: { NextToken: {}, Parameters: { shape: "S1b" } }, + members: { + ApplicationId: { locationName: "applicationId" }, + CreationTime: { locationName: "creationTime" }, + ExpirationTime: { locationName: "expirationTime" }, + SemanticVersion: { locationName: "semanticVersion" }, + Status: { locationName: "status" }, + TemplateId: { locationName: "templateId" }, + TemplateUrl: { locationName: "templateUrl" }, + }, }, }, - DescribeEvents: { + ListApplicationDependencies: { + http: { + method: "GET", + requestUri: "/applications/{applicationId}/dependencies", + responseCode: 200, + }, input: { type: "structure", members: { - SourceName: {}, - SourceType: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Duration: { type: "integer" }, - MaxResults: { type: "integer" }, - NextToken: {}, + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, + MaxItems: { + location: "querystring", + locationName: "maxItems", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + SemanticVersion: { + location: "querystring", + locationName: "semanticVersion", + }, }, + required: ["ApplicationId"], }, output: { type: "structure", members: { - NextToken: {}, - Events: { + Dependencies: { + locationName: "dependencies", type: "list", member: { type: "structure", members: { - SourceName: {}, - SourceType: {}, - Message: {}, - Date: { type: "timestamp" }, + ApplicationId: { locationName: "applicationId" }, + SemanticVersion: { locationName: "semanticVersion" }, }, + required: ["ApplicationId", "SemanticVersion"], }, }, + NextToken: { locationName: "nextToken" }, }, }, }, - DescribeParameterGroups: { + ListApplicationVersions: { + http: { + method: "GET", + requestUri: "/applications/{applicationId}/versions", + responseCode: 200, + }, input: { type: "structure", members: { - ParameterGroupNames: { type: "list", member: {} }, - MaxResults: { type: "integer" }, - NextToken: {}, + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, + MaxItems: { + location: "querystring", + locationName: "maxItems", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, }, + required: ["ApplicationId"], }, output: { type: "structure", members: { - NextToken: {}, - ParameterGroups: { type: "list", member: { shape: "Sq" } }, + NextToken: { locationName: "nextToken" }, + Versions: { + locationName: "versions", + type: "list", + member: { + type: "structure", + members: { + ApplicationId: { locationName: "applicationId" }, + CreationTime: { locationName: "creationTime" }, + SemanticVersion: { locationName: "semanticVersion" }, + SourceCodeUrl: { locationName: "sourceCodeUrl" }, + }, + required: [ + "CreationTime", + "ApplicationId", + "SemanticVersion", + ], + }, + }, }, }, }, - DescribeParameters: { - input: { - type: "structure", - required: ["ParameterGroupName"], - members: { - ParameterGroupName: {}, - Source: {}, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { NextToken: {}, Parameters: { shape: "S1b" } }, + ListApplications: { + http: { + method: "GET", + requestUri: "/applications", + responseCode: 200, }, - }, - DescribeSubnetGroups: { input: { type: "structure", members: { - SubnetGroupNames: { type: "list", member: {} }, - MaxResults: { type: "integer" }, - NextToken: {}, + MaxItems: { + location: "querystring", + locationName: "maxItems", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, }, }, output: { type: "structure", members: { - NextToken: {}, - SubnetGroups: { type: "list", member: { shape: "Su" } }, + Applications: { + locationName: "applications", + type: "list", + member: { + type: "structure", + members: { + ApplicationId: { locationName: "applicationId" }, + Author: { locationName: "author" }, + CreationTime: { locationName: "creationTime" }, + Description: { locationName: "description" }, + HomePageUrl: { locationName: "homePageUrl" }, + Labels: { shape: "S3", locationName: "labels" }, + Name: { locationName: "name" }, + SpdxLicenseId: { locationName: "spdxLicenseId" }, + }, + required: [ + "Description", + "Author", + "ApplicationId", + "Name", + ], + }, + }, + NextToken: { locationName: "nextToken" }, }, }, }, - IncreaseReplicationFactor: { + PutApplicationPolicy: { + http: { + method: "PUT", + requestUri: "/applications/{applicationId}/policy", + responseCode: 200, + }, input: { type: "structure", - required: ["ClusterName", "NewReplicationFactor"], members: { - ClusterName: {}, - NewReplicationFactor: { type: "integer" }, - AvailabilityZones: { shape: "S4" }, + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, + Statements: { shape: "Sv", locationName: "statements" }, }, + required: ["ApplicationId", "Statements"], }, output: { type: "structure", - members: { Cluster: { shape: "Sb" } }, - }, - }, - ListTags: { - input: { - type: "structure", - required: ["ResourceName"], - members: { ResourceName: {}, NextToken: {} }, - }, - output: { - type: "structure", - members: { Tags: { shape: "S6" }, NextToken: {} }, - }, - }, - RebootNode: { - input: { - type: "structure", - required: ["ClusterName", "NodeId"], - members: { ClusterName: {}, NodeId: {} }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sb" } }, - }, - }, - TagResource: { - input: { - type: "structure", - required: ["ResourceName", "Tags"], - members: { ResourceName: {}, Tags: { shape: "S6" } }, - }, - output: { type: "structure", members: { Tags: { shape: "S6" } } }, - }, - UntagResource: { - input: { - type: "structure", - required: ["ResourceName", "TagKeys"], members: { - ResourceName: {}, - TagKeys: { type: "list", member: {} }, + Statements: { shape: "Sv", locationName: "statements" }, }, }, - output: { type: "structure", members: { Tags: { shape: "S6" } } }, }, - UpdateCluster: { + UnshareApplication: { + http: { + requestUri: "/applications/{applicationId}/unshare", + responseCode: 204, + }, input: { type: "structure", - required: ["ClusterName"], members: { - ClusterName: {}, - Description: {}, - PreferredMaintenanceWindow: {}, - NotificationTopicArn: {}, - NotificationTopicStatus: {}, - ParameterGroupName: {}, - SecurityGroupIds: { shape: "S5" }, + ApplicationId: { + location: "uri", + locationName: "applicationId", + }, + OrganizationId: { locationName: "organizationId" }, }, - }, - output: { - type: "structure", - members: { Cluster: { shape: "Sb" } }, + required: ["ApplicationId", "OrganizationId"], }, }, - UpdateParameterGroup: { + UpdateApplication: { + http: { + method: "PATCH", + requestUri: "/applications/{applicationId}", + responseCode: 200, + }, input: { type: "structure", - required: ["ParameterGroupName", "ParameterNameValues"], members: { - ParameterGroupName: {}, - ParameterNameValues: { - type: "list", - member: { - type: "structure", - members: { ParameterName: {}, ParameterValue: {} }, - }, + ApplicationId: { + location: "uri", + locationName: "applicationId", }, + Author: { locationName: "author" }, + Description: { locationName: "description" }, + HomePageUrl: { locationName: "homePageUrl" }, + Labels: { shape: "S3", locationName: "labels" }, + ReadmeBody: { locationName: "readmeBody" }, + ReadmeUrl: { locationName: "readmeUrl" }, }, + required: ["ApplicationId"], }, output: { type: "structure", - members: { ParameterGroup: { shape: "Sq" } }, - }, - }, - UpdateSubnetGroup: { - input: { - type: "structure", - required: ["SubnetGroupName"], members: { - SubnetGroupName: {}, - Description: {}, - SubnetIds: { shape: "Ss" }, + ApplicationId: { locationName: "applicationId" }, + Author: { locationName: "author" }, + CreationTime: { locationName: "creationTime" }, + Description: { locationName: "description" }, + HomePageUrl: { locationName: "homePageUrl" }, + IsVerifiedAuthor: { + locationName: "isVerifiedAuthor", + type: "boolean", + }, + Labels: { shape: "S3", locationName: "labels" }, + LicenseUrl: { locationName: "licenseUrl" }, + Name: { locationName: "name" }, + ReadmeUrl: { locationName: "readmeUrl" }, + SpdxLicenseId: { locationName: "spdxLicenseId" }, + VerifiedAuthorUrl: { locationName: "verifiedAuthorUrl" }, + Version: { shape: "S6", locationName: "version" }, }, }, - output: { - type: "structure", - members: { SubnetGroup: { shape: "Su" } }, - }, }, }, shapes: { - S4: { type: "list", member: {} }, - S5: { type: "list", member: {} }, + S3: { type: "list", member: {} }, S6: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, - }, - Sb: { type: "structure", members: { - ClusterName: {}, - Description: {}, - ClusterArn: {}, - TotalNodes: { type: "integer" }, - ActiveNodes: { type: "integer" }, - NodeType: {}, - Status: {}, - ClusterDiscoveryEndpoint: { shape: "Sd" }, - NodeIdsToRemove: { shape: "Se" }, - Nodes: { - type: "list", - member: { - type: "structure", - members: { - NodeId: {}, - Endpoint: { shape: "Sd" }, - NodeCreateTime: { type: "timestamp" }, - AvailabilityZone: {}, - NodeStatus: {}, - ParameterGroupStatus: {}, - }, - }, - }, - PreferredMaintenanceWindow: {}, - NotificationConfiguration: { - type: "structure", - members: { TopicArn: {}, TopicStatus: {} }, + ApplicationId: { locationName: "applicationId" }, + CreationTime: { locationName: "creationTime" }, + ParameterDefinitions: { + shape: "S7", + locationName: "parameterDefinitions", }, - SubnetGroup: {}, - SecurityGroups: { - type: "list", - member: { - type: "structure", - members: { SecurityGroupIdentifier: {}, Status: {} }, - }, + RequiredCapabilities: { + shape: "Sa", + locationName: "requiredCapabilities", }, - IamRoleArn: {}, - ParameterGroup: { - type: "structure", - members: { - ParameterGroupName: {}, - ParameterApplyStatus: {}, - NodeIdsToReboot: { shape: "Se" }, - }, + ResourcesSupported: { + locationName: "resourcesSupported", + type: "boolean", }, - SSEDescription: { type: "structure", members: { Status: {} } }, + SemanticVersion: { locationName: "semanticVersion" }, + SourceCodeArchiveUrl: { locationName: "sourceCodeArchiveUrl" }, + SourceCodeUrl: { locationName: "sourceCodeUrl" }, + TemplateUrl: { locationName: "templateUrl" }, }, + required: [ + "TemplateUrl", + "ParameterDefinitions", + "ResourcesSupported", + "CreationTime", + "RequiredCapabilities", + "ApplicationId", + "SemanticVersion", + ], }, - Sd: { - type: "structure", - members: { Address: {}, Port: { type: "integer" } }, - }, - Se: { type: "list", member: {} }, - Sq: { - type: "structure", - members: { ParameterGroupName: {}, Description: {} }, - }, - Ss: { type: "list", member: {} }, - Su: { - type: "structure", - members: { - SubnetGroupName: {}, - Description: {}, - VpcId: {}, - Subnets: { - type: "list", - member: { - type: "structure", - members: { SubnetIdentifier: {}, SubnetAvailabilityZone: {} }, + S7: { + type: "list", + member: { + type: "structure", + members: { + AllowedPattern: { locationName: "allowedPattern" }, + AllowedValues: { shape: "S3", locationName: "allowedValues" }, + ConstraintDescription: { + locationName: "constraintDescription", + }, + DefaultValue: { locationName: "defaultValue" }, + Description: { locationName: "description" }, + MaxLength: { locationName: "maxLength", type: "integer" }, + MaxValue: { locationName: "maxValue", type: "integer" }, + MinLength: { locationName: "minLength", type: "integer" }, + MinValue: { locationName: "minValue", type: "integer" }, + Name: { locationName: "name" }, + NoEcho: { locationName: "noEcho", type: "boolean" }, + ReferencedByResources: { + shape: "S3", + locationName: "referencedByResources", }, + Type: { locationName: "type" }, }, + required: ["ReferencedByResources", "Name"], }, }, - S1b: { + Sa: { type: "list", member: {} }, + Sv: { type: "list", member: { type: "structure", members: { - ParameterName: {}, - ParameterType: {}, - ParameterValue: {}, - NodeTypeSpecificValues: { - type: "list", - member: { - type: "structure", - members: { NodeType: {}, Value: {} }, - }, + Actions: { shape: "S3", locationName: "actions" }, + PrincipalOrgIDs: { + shape: "S3", + locationName: "principalOrgIDs", }, - Description: {}, - Source: {}, - DataType: {}, - AllowedValues: {}, - IsModifiable: {}, - ChangeType: {}, + Principals: { shape: "S3", locationName: "principals" }, + StatementId: { locationName: "statementId" }, }, + required: ["Principals", "Actions"], }, }, }, @@ -111589,224 +113474,51 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 4086: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["codecommit"] = {}; - AWS.CodeCommit = Service.defineService("codecommit", ["2015-04-13"]); - Object.defineProperty(apiLoader.services["codecommit"], "2015-04-13", { - get: function get() { - var model = __webpack_require__(4208); - model.paginators = __webpack_require__(1327).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.CodeCommit; - - /***/ - }, - - /***/ 4105: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["eventbridge"] = {}; - AWS.EventBridge = Service.defineService("eventbridge", ["2015-10-07"]); - Object.defineProperty(apiLoader.services["eventbridge"], "2015-10-07", { - get: function get() { - var model = __webpack_require__(887); - model.paginators = __webpack_require__(6257).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.EventBridge; - - /***/ - }, - - /***/ 4112: /***/ function (module) { - module.exports = { pagination: {} }; - - /***/ - }, - - /***/ 4120: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); - var LRU_1 = __webpack_require__(8629); - var CACHE_SIZE = 1000; - /** - * Inspired node-lru-cache[https://github.com/isaacs/node-lru-cache] - */ - var EndpointCache = /** @class */ (function () { - function EndpointCache(maxSize) { - if (maxSize === void 0) { - maxSize = CACHE_SIZE; - } - this.maxSize = maxSize; - this.cache = new LRU_1.LRUCache(maxSize); - } - Object.defineProperty(EndpointCache.prototype, "size", { - get: function () { - return this.cache.length; - }, - enumerable: true, - configurable: true, - }); - EndpointCache.prototype.put = function (key, value) { - var keyString = - typeof key !== "string" ? EndpointCache.getKeyString(key) : key; - var endpointRecord = this.populateValue(value); - this.cache.put(keyString, endpointRecord); - }; - EndpointCache.prototype.get = function (key) { - var keyString = - typeof key !== "string" ? EndpointCache.getKeyString(key) : key; - var now = Date.now(); - var records = this.cache.get(keyString); - if (records) { - for (var i = 0; i < records.length; i++) { - var record = records[i]; - if (record.Expire < now) { - this.cache.remove(keyString); - return undefined; - } - } - } - return records; - }; - EndpointCache.getKeyString = function (key) { - var identifiers = []; - var identifierNames = Object.keys(key).sort(); - for (var i = 0; i < identifierNames.length; i++) { - var identifierName = identifierNames[i]; - if (key[identifierName] === undefined) continue; - identifiers.push(key[identifierName]); - } - return identifiers.join(" "); - }; - EndpointCache.prototype.populateValue = function (endpoints) { - var now = Date.now(); - return endpoints.map(function (endpoint) { - return { - Address: endpoint.Address || "", - Expire: now + (endpoint.CachePeriodInMinutes || 1) * 60 * 1000, - }; - }); - }; - EndpointCache.prototype.empty = function () { - this.cache.empty(); - }; - EndpointCache.prototype.remove = function (key) { - var keyString = - typeof key !== "string" ? EndpointCache.getKeyString(key) : key; - this.cache.remove(keyString); - }; - return EndpointCache; - })(); - exports.EndpointCache = EndpointCache; - - /***/ - }, - - /***/ 4122: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["connectparticipant"] = {}; - AWS.ConnectParticipant = Service.defineService("connectparticipant", [ - "2018-09-07", - ]); - Object.defineProperty( - apiLoader.services["connectparticipant"], - "2018-09-07", - { - get: function get() { - var model = __webpack_require__(8301); - model.paginators = __webpack_require__(4371).pagination; - return model; - }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.ConnectParticipant; - - /***/ - }, - - /***/ 4126: /***/ function (module) { + /***/ 3253: /***/ function (module) { module.exports = { - pagination: { - ListJobs: { - input_token: "Marker", - output_token: "Jobs[-1].JobId", - more_results: "IsTruncated", - limit_key: "MaxJobs", - result_key: "Jobs", - }, - }, - }; - - /***/ - }, - - /***/ 4128: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["networkmanager"] = {}; - AWS.NetworkManager = Service.defineService("networkmanager", [ - "2019-07-05", - ]); - Object.defineProperty( - apiLoader.services["networkmanager"], - "2019-07-05", - { - get: function get() { - var model = __webpack_require__(8424); - model.paginators = __webpack_require__(8934).pagination; - return model; + version: 2, + waiters: { + DistributionDeployed: { + delay: 60, + operation: "GetDistribution", + maxAttempts: 25, + description: "Wait until a distribution is deployed.", + acceptors: [ + { + expected: "Deployed", + matcher: "path", + state: "success", + argument: "Distribution.Status", + }, + ], }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.NetworkManager; - - /***/ - }, - - /***/ 4136: /***/ function (module) { - module.exports = { - pagination: { - DescribeInstanceHealth: { result_key: "InstanceStates" }, - DescribeLoadBalancerPolicies: { result_key: "PolicyDescriptions" }, - DescribeLoadBalancerPolicyTypes: { - result_key: "PolicyTypeDescriptions", + InvalidationCompleted: { + delay: 20, + operation: "GetInvalidation", + maxAttempts: 30, + description: "Wait until an invalidation has completed.", + acceptors: [ + { + expected: "Completed", + matcher: "path", + state: "success", + argument: "Invalidation.Status", + }, + ], }, - DescribeLoadBalancers: { - input_token: "Marker", - output_token: "NextMarker", - result_key: "LoadBalancerDescriptions", + StreamingDistributionDeployed: { + delay: 60, + operation: "GetStreamingDistribution", + maxAttempts: 25, + description: "Wait until a streaming distribution is deployed.", + acceptors: [ + { + expected: "Deployed", + matcher: "path", + state: "success", + argument: "StreamingDistribution.Status", + }, + ], }, }, }; @@ -111814,2920 +113526,3860 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 4155: /***/ function (module) { + /***/ 3260: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2014-05-30", - endpointPrefix: "cloudhsm", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "CloudHSM", - serviceFullName: "Amazon CloudHSM", - serviceId: "CloudHSM", + apiVersion: "2018-04-01", + endpointPrefix: "quicksight", + jsonVersion: "1.0", + protocol: "rest-json", + serviceFullName: "Amazon QuickSight", + serviceId: "QuickSight", signatureVersion: "v4", - targetPrefix: "CloudHsmFrontendService", - uid: "cloudhsm-2014-05-30", + uid: "quicksight-2018-04-01", }, operations: { - AddTagsToResource: { + CancelIngestion: { + http: { + method: "DELETE", + requestUri: + "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", + }, input: { type: "structure", - required: ["ResourceArn", "TagList"], - members: { ResourceArn: {}, TagList: { shape: "S3" } }, + required: ["AwsAccountId", "DataSetId", "IngestionId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSetId: { location: "uri", locationName: "DataSetId" }, + IngestionId: { location: "uri", locationName: "IngestionId" }, + }, }, output: { type: "structure", - required: ["Status"], - members: { Status: {} }, + members: { + Arn: {}, + IngestionId: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - CreateHapg: { + CreateAccountCustomization: { + http: { requestUri: "/accounts/{AwsAccountId}/customizations" }, input: { type: "structure", - required: ["Label"], - members: { Label: {} }, + required: ["AwsAccountId", "AccountCustomization"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { + location: "querystring", + locationName: "namespace", + }, + AccountCustomization: { shape: "Sa" }, + Tags: { shape: "Sb" }, + }, }, - output: { type: "structure", members: { HapgArn: {} } }, - }, - CreateHsm: { - input: { + output: { type: "structure", - required: [ - "SubnetId", - "SshKey", - "IamRoleArn", - "SubscriptionType", - ], members: { - SubnetId: { locationName: "SubnetId" }, - SshKey: { locationName: "SshKey" }, - EniIp: { locationName: "EniIp" }, - IamRoleArn: { locationName: "IamRoleArn" }, - ExternalId: { locationName: "ExternalId" }, - SubscriptionType: { locationName: "SubscriptionType" }, - ClientToken: { locationName: "ClientToken" }, - SyslogIp: { locationName: "SyslogIp" }, + Arn: {}, + AwsAccountId: {}, + Namespace: {}, + AccountCustomization: { shape: "Sa" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, - locationName: "CreateHsmRequest", }, - output: { type: "structure", members: { HsmArn: {} } }, }, - CreateLunaClient: { - input: { - type: "structure", - required: ["Certificate"], - members: { Label: {}, Certificate: {} }, + CreateAnalysis: { + http: { + requestUri: "/accounts/{AwsAccountId}/analyses/{AnalysisId}", }, - output: { type: "structure", members: { ClientArn: {} } }, - }, - DeleteHapg: { input: { type: "structure", - required: ["HapgArn"], - members: { HapgArn: {} }, + required: ["AwsAccountId", "AnalysisId", "Name", "SourceEntity"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AnalysisId: { location: "uri", locationName: "AnalysisId" }, + Name: {}, + Parameters: { shape: "Sk" }, + Permissions: { shape: "S11" }, + SourceEntity: { shape: "S15" }, + ThemeArn: {}, + Tags: { shape: "Sb" }, + }, }, output: { type: "structure", - required: ["Status"], - members: { Status: {} }, + members: { + Arn: {}, + AnalysisId: {}, + CreationStatus: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - DeleteHsm: { + CreateDashboard: { + http: { + requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", + }, input: { type: "structure", - required: ["HsmArn"], - members: { HsmArn: { locationName: "HsmArn" } }, - locationName: "DeleteHsmRequest", + required: ["AwsAccountId", "DashboardId", "Name", "SourceEntity"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DashboardId: { location: "uri", locationName: "DashboardId" }, + Name: {}, + Parameters: { shape: "Sk" }, + Permissions: { shape: "S11" }, + SourceEntity: { shape: "S1d" }, + Tags: { shape: "Sb" }, + VersionDescription: {}, + DashboardPublishOptions: { shape: "S1g" }, + ThemeArn: {}, + }, }, output: { type: "structure", - required: ["Status"], - members: { Status: {} }, + members: { + Arn: {}, + VersionArn: {}, + DashboardId: {}, + CreationStatus: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - DeleteLunaClient: { + CreateDataSet: { + http: { requestUri: "/accounts/{AwsAccountId}/data-sets" }, input: { type: "structure", - required: ["ClientArn"], - members: { ClientArn: {} }, + required: [ + "AwsAccountId", + "DataSetId", + "Name", + "PhysicalTableMap", + "ImportMode", + ], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSetId: {}, + Name: {}, + PhysicalTableMap: { shape: "S1q" }, + LogicalTableMap: { shape: "S2b" }, + ImportMode: {}, + ColumnGroups: { shape: "S35" }, + Permissions: { shape: "S11" }, + RowLevelPermissionDataSet: { shape: "S3b" }, + ColumnLevelPermissionRules: { shape: "S3d" }, + Tags: { shape: "Sb" }, + }, }, output: { type: "structure", - required: ["Status"], - members: { Status: {} }, + members: { + Arn: {}, + DataSetId: {}, + IngestionArn: {}, + IngestionId: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - DescribeHapg: { + CreateDataSource: { + http: { requestUri: "/accounts/{AwsAccountId}/data-sources" }, input: { type: "structure", - required: ["HapgArn"], - members: { HapgArn: {} }, + required: ["AwsAccountId", "DataSourceId", "Name", "Type"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSourceId: {}, + Name: {}, + Type: {}, + DataSourceParameters: { shape: "S3k" }, + Credentials: { shape: "S4l" }, + Permissions: { shape: "S11" }, + VpcConnectionProperties: { shape: "S4r" }, + SslProperties: { shape: "S4s" }, + Tags: { shape: "Sb" }, + }, }, output: { type: "structure", members: { - HapgArn: {}, - HapgSerial: {}, - HsmsLastActionFailed: { shape: "Sz" }, - HsmsPendingDeletion: { shape: "Sz" }, - HsmsPendingRegistration: { shape: "Sz" }, - Label: {}, - LastModifiedTimestamp: {}, - PartitionSerialList: { shape: "S11" }, - State: {}, + Arn: {}, + DataSourceId: {}, + CreationStatus: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - DescribeHsm: { + CreateGroup: { + http: { + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups", + }, input: { type: "structure", - members: { HsmArn: {}, HsmSerialNumber: {} }, + required: ["GroupName", "AwsAccountId", "Namespace"], + members: { + GroupName: {}, + Description: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, output: { type: "structure", members: { - HsmArn: {}, - Status: {}, - StatusDetails: {}, - AvailabilityZone: {}, - EniId: {}, - EniIp: {}, - SubscriptionType: {}, - SubscriptionStartDate: {}, - SubscriptionEndDate: {}, - VpcId: {}, - SubnetId: {}, - IamRoleArn: {}, - SerialNumber: {}, - VendorName: {}, - HsmType: {}, - SoftwareVersion: {}, - SshPublicKey: {}, - SshKeyLastUpdated: {}, - ServerCertUri: {}, - ServerCertLastUpdated: {}, - Partitions: { type: "list", member: {} }, + Group: { shape: "S4y" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - DescribeLunaClient: { + CreateGroupMembership: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}", + }, input: { type: "structure", - members: { ClientArn: {}, CertificateFingerprint: {} }, + required: [ + "MemberName", + "GroupName", + "AwsAccountId", + "Namespace", + ], + members: { + MemberName: { location: "uri", locationName: "MemberName" }, + GroupName: { location: "uri", locationName: "GroupName" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, output: { type: "structure", members: { - ClientArn: {}, - Certificate: {}, - CertificateFingerprint: {}, - LastModifiedTimestamp: {}, - Label: {}, + GroupMember: { shape: "S52" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - GetConfig: { + CreateIAMPolicyAssignment: { + http: { + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/", + }, input: { type: "structure", - required: ["ClientArn", "ClientVersion", "HapgList"], + required: [ + "AwsAccountId", + "AssignmentName", + "AssignmentStatus", + "Namespace", + ], members: { - ClientArn: {}, - ClientVersion: {}, - HapgList: { shape: "S1i" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AssignmentName: {}, + AssignmentStatus: {}, + PolicyArn: {}, + Identities: { shape: "S56" }, + Namespace: { location: "uri", locationName: "Namespace" }, }, }, output: { type: "structure", - members: { ConfigType: {}, ConfigFile: {}, ConfigCred: {} }, + members: { + AssignmentName: {}, + AssignmentId: {}, + AssignmentStatus: {}, + PolicyArn: {}, + Identities: { shape: "S56" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - ListAvailableZones: { - input: { type: "structure", members: {} }, - output: { + CreateIngestion: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", + }, + input: { type: "structure", - members: { AZList: { type: "list", member: {} } }, + required: ["DataSetId", "IngestionId", "AwsAccountId"], + members: { + DataSetId: { location: "uri", locationName: "DataSetId" }, + IngestionId: { location: "uri", locationName: "IngestionId" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + }, }, - }, - ListHapgs: { - input: { type: "structure", members: { NextToken: {} } }, output: { type: "structure", - required: ["HapgList"], - members: { HapgList: { shape: "S1i" }, NextToken: {} }, + members: { + Arn: {}, + IngestionId: {}, + IngestionStatus: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - ListHsms: { - input: { type: "structure", members: { NextToken: {} } }, - output: { + CreateNamespace: { + http: { requestUri: "/accounts/{AwsAccountId}" }, + input: { type: "structure", - members: { HsmList: { shape: "Sz" }, NextToken: {} }, + required: ["AwsAccountId", "Namespace", "IdentityStore"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: {}, + IdentityStore: {}, + Tags: { shape: "Sb" }, + }, }, - }, - ListLunaClients: { - input: { type: "structure", members: { NextToken: {} } }, output: { type: "structure", - required: ["ClientList"], members: { - ClientList: { type: "list", member: {} }, - NextToken: {}, + Arn: {}, + Name: {}, + CapacityRegion: {}, + CreationStatus: {}, + IdentityStore: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - ListTagsForResource: { + CreateTemplate: { + http: { + requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", + }, input: { type: "structure", - required: ["ResourceArn"], - members: { ResourceArn: {} }, + required: ["AwsAccountId", "TemplateId", "SourceEntity"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + Name: {}, + Permissions: { shape: "S11" }, + SourceEntity: { shape: "S5j" }, + Tags: { shape: "Sb" }, + VersionDescription: {}, + }, }, output: { type: "structure", - required: ["TagList"], - members: { TagList: { shape: "S3" } }, + members: { + Arn: {}, + VersionArn: {}, + TemplateId: {}, + CreationStatus: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - ModifyHapg: { + CreateTemplateAlias: { + http: { + requestUri: + "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", + }, input: { type: "structure", - required: ["HapgArn"], + required: [ + "AwsAccountId", + "TemplateId", + "AliasName", + "TemplateVersionNumber", + ], members: { - HapgArn: {}, - Label: {}, - PartitionSerialList: { shape: "S11" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + AliasName: { location: "uri", locationName: "AliasName" }, + TemplateVersionNumber: { type: "long" }, }, }, - output: { type: "structure", members: { HapgArn: {} } }, - }, - ModifyHsm: { - input: { + output: { type: "structure", - required: ["HsmArn"], members: { - HsmArn: { locationName: "HsmArn" }, - SubnetId: { locationName: "SubnetId" }, - EniIp: { locationName: "EniIp" }, - IamRoleArn: { locationName: "IamRoleArn" }, - ExternalId: { locationName: "ExternalId" }, - SyslogIp: { locationName: "SyslogIp" }, + TemplateAlias: { shape: "S5r" }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, - locationName: "ModifyHsmRequest", }, - output: { type: "structure", members: { HsmArn: {} } }, }, - ModifyLunaClient: { + CreateTheme: { + http: { requestUri: "/accounts/{AwsAccountId}/themes/{ThemeId}" }, input: { type: "structure", - required: ["ClientArn", "Certificate"], - members: { ClientArn: {}, Certificate: {} }, + required: [ + "AwsAccountId", + "ThemeId", + "Name", + "BaseThemeId", + "Configuration", + ], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + Name: {}, + BaseThemeId: {}, + VersionDescription: {}, + Configuration: { shape: "S5u" }, + Permissions: { shape: "S11" }, + Tags: { shape: "Sb" }, + }, + }, + output: { + type: "structure", + members: { + Arn: {}, + VersionArn: {}, + ThemeId: {}, + CreationStatus: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, - output: { type: "structure", members: { ClientArn: {} } }, }, - RemoveTagsFromResource: { + CreateThemeAlias: { + http: { + requestUri: + "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}", + }, input: { type: "structure", - required: ["ResourceArn", "TagKeyList"], + required: [ + "AwsAccountId", + "ThemeId", + "AliasName", + "ThemeVersionNumber", + ], members: { - ResourceArn: {}, - TagKeyList: { type: "list", member: {} }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + AliasName: { location: "uri", locationName: "AliasName" }, + ThemeVersionNumber: { type: "long" }, }, }, output: { type: "structure", - required: ["Status"], - members: { Status: {} }, + members: { + ThemeAlias: { shape: "S69" }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - }, - shapes: { - S3: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, + DeleteAccountCustomization: { + http: { + method: "DELETE", + requestUri: "/accounts/{AwsAccountId}/customizations", }, - }, - Sz: { type: "list", member: {} }, - S11: { type: "list", member: {} }, - S1i: { type: "list", member: {} }, - }, - }; - - /***/ - }, - - /***/ 4190: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = authenticationPlugin; - - const { createTokenAuth } = __webpack_require__(9813); - const { Deprecation } = __webpack_require__(7692); - const once = __webpack_require__(6049); - - const beforeRequest = __webpack_require__(6863); - const requestError = __webpack_require__(7293); - const validate = __webpack_require__(6489); - const withAuthorizationPrefix = __webpack_require__(3143); - - const deprecateAuthBasic = once((log, deprecation) => - log.warn(deprecation) - ); - const deprecateAuthObject = once((log, deprecation) => - log.warn(deprecation) - ); - - function authenticationPlugin(octokit, options) { - // If `options.authStrategy` is set then use it and pass in `options.auth` - if (options.authStrategy) { - const auth = options.authStrategy(options.auth); - octokit.hook.wrap("request", auth.hook); - octokit.auth = auth; - return; - } - - // If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance - // is unauthenticated. The `octokit.auth()` method is a no-op and no request hook is registred. - if (!options.auth) { - octokit.auth = () => - Promise.resolve({ - type: "unauthenticated", - }); - return; - } - - const isBasicAuthString = - typeof options.auth === "string" && - /^basic/.test(withAuthorizationPrefix(options.auth)); - - // If only `options.auth` is set to a string, use the default token authentication strategy. - if (typeof options.auth === "string" && !isBasicAuthString) { - const auth = createTokenAuth(options.auth); - octokit.hook.wrap("request", auth.hook); - octokit.auth = auth; - return; - } - - // Otherwise log a deprecation message - const [deprecationMethod, deprecationMessapge] = isBasicAuthString - ? [ - deprecateAuthBasic, - 'Setting the "new Octokit({ auth })" option to a Basic Auth string is deprecated. Use https://github.com/octokit/auth-basic.js instead. See (https://octokit.github.io/rest.js/#authentication)', - ] - : [ - deprecateAuthObject, - 'Setting the "new Octokit({ auth })" option to an object without also setting the "authStrategy" option is deprecated and will be removed in v17. See (https://octokit.github.io/rest.js/#authentication)', - ]; - deprecationMethod( - octokit.log, - new Deprecation("[@octokit/rest] " + deprecationMessapge) - ); - - octokit.auth = () => - Promise.resolve({ - type: "deprecated", - message: deprecationMessapge, - }); - - validate(options.auth); - - const state = { - octokit, - auth: options.auth, - }; - - octokit.hook.before("request", beforeRequest.bind(null, state)); - octokit.hook.error("request", requestError.bind(null, state)); - } - - /***/ - }, - - /***/ 4208: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2015-04-13", - endpointPrefix: "codecommit", - jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "CodeCommit", - serviceFullName: "AWS CodeCommit", - serviceId: "CodeCommit", - signatureVersion: "v4", - targetPrefix: "CodeCommit_20150413", - uid: "codecommit-2015-04-13", - }, - operations: { - AssociateApprovalRuleTemplateWithRepository: { input: { type: "structure", - required: ["approvalRuleTemplateName", "repositoryName"], - members: { approvalRuleTemplateName: {}, repositoryName: {} }, + required: ["AwsAccountId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { + location: "querystring", + locationName: "namespace", + }, + }, + }, + output: { + type: "structure", + members: { + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - BatchAssociateApprovalRuleTemplateWithRepositories: { + DeleteAnalysis: { + http: { + method: "DELETE", + requestUri: "/accounts/{AwsAccountId}/analyses/{AnalysisId}", + }, input: { type: "structure", - required: ["approvalRuleTemplateName", "repositoryNames"], + required: ["AwsAccountId", "AnalysisId"], members: { - approvalRuleTemplateName: {}, - repositoryNames: { shape: "S5" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AnalysisId: { location: "uri", locationName: "AnalysisId" }, + RecoveryWindowInDays: { + location: "querystring", + locationName: "recovery-window-in-days", + type: "long", + }, + ForceDeleteWithoutRecovery: { + location: "querystring", + locationName: "force-delete-without-recovery", + type: "boolean", + }, }, }, output: { type: "structure", - required: ["associatedRepositoryNames", "errors"], members: { - associatedRepositoryNames: { shape: "S5" }, - errors: { - type: "list", - member: { - type: "structure", - members: { - repositoryName: {}, - errorCode: {}, - errorMessage: {}, - }, - }, - }, + Status: { location: "statusCode", type: "integer" }, + Arn: {}, + AnalysisId: {}, + DeletionTime: { type: "timestamp" }, + RequestId: {}, }, }, }, - BatchDescribeMergeConflicts: { + DeleteDashboard: { + http: { + method: "DELETE", + requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", + }, input: { type: "structure", - required: [ - "repositoryName", - "destinationCommitSpecifier", - "sourceCommitSpecifier", - "mergeOption", - ], + required: ["AwsAccountId", "DashboardId"], members: { - repositoryName: {}, - destinationCommitSpecifier: {}, - sourceCommitSpecifier: {}, - mergeOption: {}, - maxMergeHunks: { type: "integer" }, - maxConflictFiles: { type: "integer" }, - filePaths: { type: "list", member: {} }, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - nextToken: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DashboardId: { location: "uri", locationName: "DashboardId" }, + VersionNumber: { + location: "querystring", + locationName: "version-number", + type: "long", + }, }, }, output: { type: "structure", - required: ["conflicts", "destinationCommitId", "sourceCommitId"], members: { - conflicts: { - type: "list", - member: { - type: "structure", - members: { - conflictMetadata: { shape: "Sn" }, - mergeHunks: { shape: "S12" }, - }, - }, - }, - nextToken: {}, - errors: { - type: "list", - member: { - type: "structure", - required: ["filePath", "exceptionName", "message"], - members: { filePath: {}, exceptionName: {}, message: {} }, - }, - }, - destinationCommitId: {}, - sourceCommitId: {}, - baseCommitId: {}, + Status: { location: "statusCode", type: "integer" }, + Arn: {}, + DashboardId: {}, + RequestId: {}, }, }, }, - BatchDisassociateApprovalRuleTemplateFromRepositories: { + DeleteDataSet: { + http: { + method: "DELETE", + requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}", + }, input: { type: "structure", - required: ["approvalRuleTemplateName", "repositoryNames"], + required: ["AwsAccountId", "DataSetId"], members: { - approvalRuleTemplateName: {}, - repositoryNames: { shape: "S5" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSetId: { location: "uri", locationName: "DataSetId" }, }, }, output: { type: "structure", - required: ["disassociatedRepositoryNames", "errors"], members: { - disassociatedRepositoryNames: { shape: "S5" }, - errors: { - type: "list", - member: { - type: "structure", - members: { - repositoryName: {}, - errorCode: {}, - errorMessage: {}, - }, - }, - }, + Arn: {}, + DataSetId: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - BatchGetCommits: { + DeleteDataSource: { + http: { + method: "DELETE", + requestUri: + "/accounts/{AwsAccountId}/data-sources/{DataSourceId}", + }, input: { type: "structure", - required: ["commitIds", "repositoryName"], + required: ["AwsAccountId", "DataSourceId"], members: { - commitIds: { type: "list", member: {} }, - repositoryName: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSourceId: { location: "uri", locationName: "DataSourceId" }, }, }, output: { type: "structure", members: { - commits: { type: "list", member: { shape: "S1l" } }, - errors: { - type: "list", - member: { - type: "structure", - members: { commitId: {}, errorCode: {}, errorMessage: {} }, - }, - }, + Arn: {}, + DataSourceId: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - BatchGetRepositories: { + DeleteGroup: { + http: { + method: "DELETE", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", + }, input: { type: "structure", - required: ["repositoryNames"], - members: { repositoryNames: { shape: "S5" } }, + required: ["GroupName", "AwsAccountId", "Namespace"], + members: { + GroupName: { location: "uri", locationName: "GroupName" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, output: { type: "structure", members: { - repositories: { type: "list", member: { shape: "S1x" } }, - repositoriesNotFound: { type: "list", member: {} }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - CreateApprovalRuleTemplate: { + DeleteGroupMembership: { + http: { + method: "DELETE", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}", + }, input: { type: "structure", required: [ - "approvalRuleTemplateName", - "approvalRuleTemplateContent", + "MemberName", + "GroupName", + "AwsAccountId", + "Namespace", ], members: { - approvalRuleTemplateName: {}, - approvalRuleTemplateContent: {}, - approvalRuleTemplateDescription: {}, + MemberName: { location: "uri", locationName: "MemberName" }, + GroupName: { location: "uri", locationName: "GroupName" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, }, }, output: { type: "structure", - required: ["approvalRuleTemplate"], - members: { approvalRuleTemplate: { shape: "S2c" } }, + members: { + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - CreateBranch: { + DeleteIAMPolicyAssignment: { + http: { + method: "DELETE", + requestUri: + "/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}", + }, input: { type: "structure", - required: ["repositoryName", "branchName", "commitId"], - members: { repositoryName: {}, branchName: {}, commitId: {} }, + required: ["AwsAccountId", "AssignmentName", "Namespace"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AssignmentName: { + location: "uri", + locationName: "AssignmentName", + }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, - }, - CreateCommit: { - input: { + output: { type: "structure", - required: ["repositoryName", "branchName"], members: { - repositoryName: {}, - branchName: {}, - parentCommitId: {}, - authorName: {}, - email: {}, - commitMessage: {}, - keepEmptyFolders: { type: "boolean" }, - putFiles: { - type: "list", - member: { - type: "structure", - required: ["filePath"], - members: { - filePath: {}, - fileMode: {}, - fileContent: { type: "blob" }, - sourceFile: { - type: "structure", - required: ["filePath"], - members: { filePath: {}, isMove: { type: "boolean" } }, - }, - }, - }, - }, - deleteFiles: { shape: "S2o" }, - setFileModes: { shape: "S2q" }, + AssignmentName: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, + }, + }, + DeleteNamespace: { + http: { + method: "DELETE", + requestUri: "/accounts/{AwsAccountId}/namespaces/{Namespace}", + }, + input: { + type: "structure", + required: ["AwsAccountId", "Namespace"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, }, }, output: { type: "structure", members: { - commitId: {}, - treeId: {}, - filesAdded: { shape: "S2t" }, - filesUpdated: { shape: "S2t" }, - filesDeleted: { shape: "S2t" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - CreatePullRequest: { + DeleteTemplate: { + http: { + method: "DELETE", + requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", + }, input: { type: "structure", - required: ["title", "targets"], + required: ["AwsAccountId", "TemplateId"], members: { - title: {}, - description: {}, - targets: { - type: "list", - member: { - type: "structure", - required: ["repositoryName", "sourceReference"], - members: { - repositoryName: {}, - sourceReference: {}, - destinationReference: {}, - }, - }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + VersionNumber: { + location: "querystring", + locationName: "version-number", + type: "long", }, - clientRequestToken: { idempotencyToken: true }, }, }, output: { type: "structure", - required: ["pullRequest"], - members: { pullRequest: { shape: "S33" } }, + members: { + RequestId: {}, + Arn: {}, + TemplateId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - CreatePullRequestApprovalRule: { + DeleteTemplateAlias: { + http: { + method: "DELETE", + requestUri: + "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", + }, input: { type: "structure", - required: [ - "pullRequestId", - "approvalRuleName", - "approvalRuleContent", - ], + required: ["AwsAccountId", "TemplateId", "AliasName"], members: { - pullRequestId: {}, - approvalRuleName: {}, - approvalRuleContent: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + AliasName: { location: "uri", locationName: "AliasName" }, }, }, output: { type: "structure", - required: ["approvalRule"], - members: { approvalRule: { shape: "S3c" } }, + members: { + Status: { location: "statusCode", type: "integer" }, + TemplateId: {}, + AliasName: {}, + Arn: {}, + RequestId: {}, + }, }, }, - CreateRepository: { + DeleteTheme: { + http: { + method: "DELETE", + requestUri: "/accounts/{AwsAccountId}/themes/{ThemeId}", + }, input: { type: "structure", - required: ["repositoryName"], + required: ["AwsAccountId", "ThemeId"], members: { - repositoryName: {}, - repositoryDescription: {}, - tags: { shape: "S3k" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + VersionNumber: { + location: "querystring", + locationName: "version-number", + type: "long", + }, }, }, output: { type: "structure", - members: { repositoryMetadata: { shape: "S1x" } }, + members: { + Arn: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + ThemeId: {}, + }, }, }, - CreateUnreferencedMergeCommit: { + DeleteThemeAlias: { + http: { + method: "DELETE", + requestUri: + "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}", + }, input: { type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - "mergeOption", - ], + required: ["AwsAccountId", "ThemeId", "AliasName"], members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - mergeOption: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - authorName: {}, - email: {}, - commitMessage: {}, - keepEmptyFolders: { type: "boolean" }, - conflictResolution: { shape: "S3p" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + AliasName: { location: "uri", locationName: "AliasName" }, }, }, output: { type: "structure", - members: { commitId: {}, treeId: {} }, + members: { + AliasName: {}, + Arn: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + ThemeId: {}, + }, }, }, - DeleteApprovalRuleTemplate: { + DeleteUser: { + http: { + method: "DELETE", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", + }, input: { type: "structure", - required: ["approvalRuleTemplateName"], - members: { approvalRuleTemplateName: {} }, + required: ["UserName", "AwsAccountId", "Namespace"], + members: { + UserName: { location: "uri", locationName: "UserName" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, output: { type: "structure", - required: ["approvalRuleTemplateId"], - members: { approvalRuleTemplateId: {} }, + members: { + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - DeleteBranch: { + DeleteUserByPrincipalId: { + http: { + method: "DELETE", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}", + }, input: { type: "structure", - required: ["repositoryName", "branchName"], - members: { repositoryName: {}, branchName: {} }, + required: ["PrincipalId", "AwsAccountId", "Namespace"], + members: { + PrincipalId: { location: "uri", locationName: "PrincipalId" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, output: { type: "structure", - members: { deletedBranch: { shape: "S3y" } }, + members: { + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - DeleteCommentContent: { + DescribeAccountCustomization: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/customizations", + }, input: { type: "structure", - required: ["commentId"], - members: { commentId: {} }, + required: ["AwsAccountId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { + location: "querystring", + locationName: "namespace", + }, + Resolved: { + location: "querystring", + locationName: "resolved", + type: "boolean", + }, + }, }, output: { type: "structure", - members: { comment: { shape: "S42" } }, + members: { + Arn: {}, + AwsAccountId: {}, + Namespace: {}, + AccountCustomization: { shape: "Sa" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - DeleteFile: { + DescribeAccountSettings: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/settings", + }, input: { type: "structure", - required: [ - "repositoryName", - "branchName", - "filePath", - "parentCommitId", - ], + required: ["AwsAccountId"], members: { - repositoryName: {}, - branchName: {}, - filePath: {}, - parentCommitId: {}, - keepEmptyFolders: { type: "boolean" }, - commitMessage: {}, - name: {}, - email: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, }, }, output: { type: "structure", - required: ["commitId", "blobId", "treeId", "filePath"], - members: { commitId: {}, blobId: {}, treeId: {}, filePath: {} }, + members: { + AccountSettings: { + type: "structure", + members: { + AccountName: {}, + Edition: {}, + DefaultNamespace: {}, + NotificationEmail: {}, + }, + }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - DeletePullRequestApprovalRule: { + DescribeAnalysis: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/analyses/{AnalysisId}", + }, input: { type: "structure", - required: ["pullRequestId", "approvalRuleName"], - members: { pullRequestId: {}, approvalRuleName: {} }, + required: ["AwsAccountId", "AnalysisId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AnalysisId: { location: "uri", locationName: "AnalysisId" }, + }, }, output: { type: "structure", - required: ["approvalRuleId"], - members: { approvalRuleId: {} }, + members: { + Analysis: { + type: "structure", + members: { + AnalysisId: {}, + Arn: {}, + Name: {}, + Status: {}, + Errors: { + type: "list", + member: { + type: "structure", + members: { Type: {}, Message: {} }, + }, + }, + DataSetArns: { shape: "S7i" }, + ThemeArn: {}, + CreatedTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + Sheets: { shape: "S7j" }, + }, + }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - DeleteRepository: { - input: { - type: "structure", - required: ["repositoryName"], - members: { repositoryName: {} }, + DescribeAnalysisPermissions: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions", }, - output: { type: "structure", members: { repositoryId: {} } }, - }, - DescribeMergeConflicts: { input: { type: "structure", - required: [ - "repositoryName", - "destinationCommitSpecifier", - "sourceCommitSpecifier", - "mergeOption", - "filePath", - ], + required: ["AwsAccountId", "AnalysisId"], members: { - repositoryName: {}, - destinationCommitSpecifier: {}, - sourceCommitSpecifier: {}, - mergeOption: {}, - maxMergeHunks: { type: "integer" }, - filePath: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - nextToken: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AnalysisId: { location: "uri", locationName: "AnalysisId" }, }, }, output: { type: "structure", - required: [ - "conflictMetadata", - "mergeHunks", - "destinationCommitId", - "sourceCommitId", - ], members: { - conflictMetadata: { shape: "Sn" }, - mergeHunks: { shape: "S12" }, - nextToken: {}, - destinationCommitId: {}, - sourceCommitId: {}, - baseCommitId: {}, + AnalysisId: {}, + AnalysisArn: {}, + Permissions: { shape: "S11" }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, }, - DescribePullRequestEvents: { + DescribeDashboard: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", + }, input: { type: "structure", - required: ["pullRequestId"], + required: ["AwsAccountId", "DashboardId"], members: { - pullRequestId: {}, - pullRequestEventType: {}, - actorArn: {}, - nextToken: {}, - maxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DashboardId: { location: "uri", locationName: "DashboardId" }, + VersionNumber: { + location: "querystring", + locationName: "version-number", + type: "long", + }, + AliasName: { + location: "querystring", + locationName: "alias-name", + }, }, }, output: { type: "structure", - required: ["pullRequestEvents"], members: { - pullRequestEvents: { - type: "list", - member: { - type: "structure", - members: { - pullRequestId: {}, - eventDate: { type: "timestamp" }, - pullRequestEventType: {}, - actorArn: {}, - pullRequestCreatedEventMetadata: { - type: "structure", - members: { - repositoryName: {}, - sourceCommitId: {}, - destinationCommitId: {}, - mergeBase: {}, - }, - }, - pullRequestStatusChangedEventMetadata: { - type: "structure", - members: { pullRequestStatus: {} }, - }, - pullRequestSourceReferenceUpdatedEventMetadata: { - type: "structure", - members: { - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - mergeBase: {}, - }, - }, - pullRequestMergedStateChangedEventMetadata: { - type: "structure", - members: { - repositoryName: {}, - destinationReference: {}, - mergeMetadata: { shape: "S38" }, - }, - }, - approvalRuleEventMetadata: { - type: "structure", - members: { - approvalRuleName: {}, - approvalRuleId: {}, - approvalRuleContent: {}, + Dashboard: { + type: "structure", + members: { + DashboardId: {}, + Arn: {}, + Name: {}, + Version: { + type: "structure", + members: { + CreatedTime: { type: "timestamp" }, + Errors: { + type: "list", + member: { + type: "structure", + members: { Type: {}, Message: {} }, + }, }, - }, - approvalStateChangedEventMetadata: { - type: "structure", - members: { revisionId: {}, approvalStatus: {} }, - }, - approvalRuleOverriddenEventMetadata: { - type: "structure", - members: { revisionId: {}, overrideStatus: {} }, + VersionNumber: { type: "long" }, + Status: {}, + Arn: {}, + SourceEntityArn: {}, + DataSetArns: { shape: "S7i" }, + Description: {}, + ThemeArn: {}, + Sheets: { shape: "S7j" }, }, }, + CreatedTime: { type: "timestamp" }, + LastPublishedTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, }, }, - nextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, }, - DisassociateApprovalRuleTemplateFromRepository: { + DescribeDashboardPermissions: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions", + }, input: { type: "structure", - required: ["approvalRuleTemplateName", "repositoryName"], - members: { approvalRuleTemplateName: {}, repositoryName: {} }, + required: ["AwsAccountId", "DashboardId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DashboardId: { location: "uri", locationName: "DashboardId" }, + }, + }, + output: { + type: "structure", + members: { + DashboardId: {}, + DashboardArn: {}, + Permissions: { shape: "S11" }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - EvaluatePullRequestApprovalRules: { + DescribeDataSet: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}", + }, input: { type: "structure", - required: ["pullRequestId", "revisionId"], - members: { pullRequestId: {}, revisionId: {} }, + required: ["AwsAccountId", "DataSetId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSetId: { location: "uri", locationName: "DataSetId" }, + }, }, output: { type: "structure", - required: ["evaluation"], members: { - evaluation: { + DataSet: { type: "structure", members: { - approved: { type: "boolean" }, - overridden: { type: "boolean" }, - approvalRulesSatisfied: { type: "list", member: {} }, - approvalRulesNotSatisfied: { type: "list", member: {} }, + Arn: {}, + DataSetId: {}, + Name: {}, + CreatedTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + PhysicalTableMap: { shape: "S1q" }, + LogicalTableMap: { shape: "S2b" }, + OutputColumns: { + type: "list", + member: { + type: "structure", + members: { Name: {}, Description: {}, Type: {} }, + }, + }, + ImportMode: {}, + ConsumedSpiceCapacityInBytes: { type: "long" }, + ColumnGroups: { shape: "S35" }, + RowLevelPermissionDataSet: { shape: "S3b" }, + ColumnLevelPermissionRules: { shape: "S3d" }, }, }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - GetApprovalRuleTemplate: { + DescribeDataSetPermissions: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions", + }, input: { type: "structure", - required: ["approvalRuleTemplateName"], - members: { approvalRuleTemplateName: {} }, + required: ["AwsAccountId", "DataSetId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSetId: { location: "uri", locationName: "DataSetId" }, + }, }, output: { type: "structure", - required: ["approvalRuleTemplate"], - members: { approvalRuleTemplate: { shape: "S2c" } }, + members: { + DataSetArn: {}, + DataSetId: {}, + Permissions: { shape: "S11" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - GetBlob: { + DescribeDataSource: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/data-sources/{DataSourceId}", + }, input: { type: "structure", - required: ["repositoryName", "blobId"], - members: { repositoryName: {}, blobId: {} }, + required: ["AwsAccountId", "DataSourceId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSourceId: { location: "uri", locationName: "DataSourceId" }, + }, }, output: { type: "structure", - required: ["content"], - members: { content: { type: "blob" } }, + members: { + DataSource: { shape: "S85" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - GetBranch: { + DescribeDataSourcePermissions: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions", + }, input: { type: "structure", - members: { repositoryName: {}, branchName: {} }, + required: ["AwsAccountId", "DataSourceId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSourceId: { location: "uri", locationName: "DataSourceId" }, + }, }, output: { type: "structure", - members: { branch: { shape: "S3y" } }, + members: { + DataSourceArn: {}, + DataSourceId: {}, + Permissions: { shape: "S11" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - GetComment: { + DescribeGroup: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", + }, input: { type: "structure", - required: ["commentId"], - members: { commentId: {} }, + required: ["GroupName", "AwsAccountId", "Namespace"], + members: { + GroupName: { location: "uri", locationName: "GroupName" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, output: { type: "structure", - members: { comment: { shape: "S42" } }, + members: { + Group: { shape: "S4y" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - GetCommentsForComparedCommit: { + DescribeIAMPolicyAssignment: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}", + }, input: { type: "structure", - required: ["repositoryName", "afterCommitId"], + required: ["AwsAccountId", "AssignmentName", "Namespace"], members: { - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - nextToken: {}, - maxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AssignmentName: { + location: "uri", + locationName: "AssignmentName", + }, + Namespace: { location: "uri", locationName: "Namespace" }, }, }, output: { type: "structure", members: { - commentsForComparedCommitData: { - type: "list", - member: { - type: "structure", - members: { - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - beforeBlobId: {}, - afterBlobId: {}, - location: { shape: "S5d" }, - comments: { shape: "S5g" }, - }, + IAMPolicyAssignment: { + type: "structure", + members: { + AwsAccountId: {}, + AssignmentId: {}, + AssignmentName: {}, + PolicyArn: {}, + Identities: { shape: "S56" }, + AssignmentStatus: {}, }, }, - nextToken: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - GetCommentsForPullRequest: { + DescribeIngestion: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", + }, input: { type: "structure", - required: ["pullRequestId"], + required: ["AwsAccountId", "DataSetId", "IngestionId"], members: { - pullRequestId: {}, - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - nextToken: {}, - maxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSetId: { location: "uri", locationName: "DataSetId" }, + IngestionId: { location: "uri", locationName: "IngestionId" }, }, }, output: { type: "structure", members: { - commentsForPullRequestData: { - type: "list", - member: { - type: "structure", - members: { - pullRequestId: {}, - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - beforeBlobId: {}, - afterBlobId: {}, - location: { shape: "S5d" }, - comments: { shape: "S5g" }, - }, - }, - }, - nextToken: {}, + Ingestion: { shape: "S8h" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - GetCommit: { + DescribeNamespace: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/namespaces/{Namespace}", + }, input: { type: "structure", - required: ["repositoryName", "commitId"], - members: { repositoryName: {}, commitId: {} }, + required: ["AwsAccountId", "Namespace"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, output: { type: "structure", - required: ["commit"], - members: { commit: { shape: "S1l" } }, + members: { + Namespace: { shape: "S8s" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - GetDifferences: { + DescribeTemplate: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", + }, input: { type: "structure", - required: ["repositoryName", "afterCommitSpecifier"], + required: ["AwsAccountId", "TemplateId"], members: { - repositoryName: {}, - beforeCommitSpecifier: {}, - afterCommitSpecifier: {}, - beforePath: {}, - afterPath: {}, - MaxResults: { type: "integer" }, - NextToken: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + VersionNumber: { + location: "querystring", + locationName: "version-number", + type: "long", + }, + AliasName: { + location: "querystring", + locationName: "alias-name", + }, }, }, output: { type: "structure", members: { - differences: { - type: "list", - member: { - type: "structure", - members: { - beforeBlob: { shape: "S5s" }, - afterBlob: { shape: "S5s" }, - changeType: {}, + Template: { + type: "structure", + members: { + Arn: {}, + Name: {}, + Version: { + type: "structure", + members: { + CreatedTime: { type: "timestamp" }, + Errors: { + type: "list", + member: { + type: "structure", + members: { Type: {}, Message: {} }, + }, + }, + VersionNumber: { type: "long" }, + Status: {}, + DataSetConfigurations: { + type: "list", + member: { + type: "structure", + members: { + Placeholder: {}, + DataSetSchema: { + type: "structure", + members: { + ColumnSchemaList: { + type: "list", + member: { + type: "structure", + members: { + Name: {}, + DataType: {}, + GeographicRole: {}, + }, + }, + }, + }, + }, + ColumnGroupSchemaList: { + type: "list", + member: { + type: "structure", + members: { + Name: {}, + ColumnGroupColumnSchemaList: { + type: "list", + member: { + type: "structure", + members: { Name: {} }, + }, + }, + }, + }, + }, + }, + }, + }, + Description: {}, + SourceEntityArn: {}, + ThemeArn: {}, + Sheets: { shape: "S7j" }, + }, }, + TemplateId: {}, + LastUpdatedTime: { type: "timestamp" }, + CreatedTime: { type: "timestamp" }, }, }, - NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, }, - GetFile: { + DescribeTemplateAlias: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", + }, input: { type: "structure", - required: ["repositoryName", "filePath"], + required: ["AwsAccountId", "TemplateId", "AliasName"], members: { - repositoryName: {}, - commitSpecifier: {}, - filePath: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + AliasName: { location: "uri", locationName: "AliasName" }, }, }, output: { type: "structure", - required: [ - "commitId", - "blobId", - "filePath", - "fileMode", - "fileSize", - "fileContent", - ], members: { - commitId: {}, - blobId: {}, - filePath: {}, - fileMode: {}, - fileSize: { type: "long" }, - fileContent: { type: "blob" }, + TemplateAlias: { shape: "S5r" }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, }, - GetFolder: { + DescribeTemplatePermissions: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions", + }, input: { type: "structure", - required: ["repositoryName", "folderPath"], + required: ["AwsAccountId", "TemplateId"], members: { - repositoryName: {}, - commitSpecifier: {}, - folderPath: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, }, }, output: { type: "structure", - required: ["commitId", "folderPath"], members: { - commitId: {}, - folderPath: {}, - treeId: {}, - subFolders: { - type: "list", - member: { - type: "structure", - members: { treeId: {}, absolutePath: {}, relativePath: {} }, - }, - }, - files: { - type: "list", - member: { - type: "structure", - members: { - blobId: {}, - absolutePath: {}, - relativePath: {}, - fileMode: {}, - }, - }, - }, - symbolicLinks: { - type: "list", - member: { - type: "structure", - members: { - blobId: {}, - absolutePath: {}, - relativePath: {}, - fileMode: {}, - }, - }, - }, - subModules: { - type: "list", - member: { - type: "structure", - members: { - commitId: {}, - absolutePath: {}, - relativePath: {}, - }, - }, - }, + TemplateId: {}, + TemplateArn: {}, + Permissions: { shape: "S11" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - GetMergeCommit: { + DescribeTheme: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/themes/{ThemeId}", + }, input: { type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - ], + required: ["AwsAccountId", "ThemeId"], members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + VersionNumber: { + location: "querystring", + locationName: "version-number", + type: "long", + }, + AliasName: { + location: "querystring", + locationName: "alias-name", + }, }, }, output: { type: "structure", members: { - sourceCommitId: {}, - destinationCommitId: {}, - baseCommitId: {}, - mergedCommitId: {}, + Theme: { + type: "structure", + members: { + Arn: {}, + Name: {}, + ThemeId: {}, + Version: { + type: "structure", + members: { + VersionNumber: { type: "long" }, + Arn: {}, + Description: {}, + BaseThemeId: {}, + CreatedTime: { type: "timestamp" }, + Configuration: { shape: "S5u" }, + Errors: { + type: "list", + member: { + type: "structure", + members: { Type: {}, Message: {} }, + }, + }, + Status: {}, + }, + }, + CreatedTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + Type: {}, + }, + }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, }, - GetMergeConflicts: { + DescribeThemeAlias: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}", + }, input: { type: "structure", - required: [ - "repositoryName", - "destinationCommitSpecifier", - "sourceCommitSpecifier", - "mergeOption", - ], + required: ["AwsAccountId", "ThemeId", "AliasName"], members: { - repositoryName: {}, - destinationCommitSpecifier: {}, - sourceCommitSpecifier: {}, - mergeOption: {}, - conflictDetailLevel: {}, - maxConflictFiles: { type: "integer" }, - conflictResolutionStrategy: {}, - nextToken: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + AliasName: { location: "uri", locationName: "AliasName" }, }, }, output: { type: "structure", - required: [ - "mergeable", - "destinationCommitId", - "sourceCommitId", - "conflictMetadataList", - ], members: { - mergeable: { type: "boolean" }, - destinationCommitId: {}, - sourceCommitId: {}, - baseCommitId: {}, - conflictMetadataList: { type: "list", member: { shape: "Sn" } }, - nextToken: {}, + ThemeAlias: { shape: "S69" }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, }, - GetMergeOptions: { + DescribeThemePermissions: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions", + }, input: { type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - ], + required: ["AwsAccountId", "ThemeId"], members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, }, }, output: { type: "structure", - required: [ - "mergeOptions", - "sourceCommitId", - "destinationCommitId", - "baseCommitId", - ], members: { - mergeOptions: { type: "list", member: {} }, - sourceCommitId: {}, - destinationCommitId: {}, - baseCommitId: {}, + ThemeId: {}, + ThemeArn: {}, + Permissions: { shape: "S11" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - GetPullRequest: { - input: { - type: "structure", - required: ["pullRequestId"], - members: { pullRequestId: {} }, - }, - output: { - type: "structure", - required: ["pullRequest"], - members: { pullRequest: { shape: "S33" } }, + DescribeUser: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", }, - }, - GetPullRequestApprovalStates: { input: { type: "structure", - required: ["pullRequestId", "revisionId"], - members: { pullRequestId: {}, revisionId: {} }, + required: ["UserName", "AwsAccountId", "Namespace"], + members: { + UserName: { location: "uri", locationName: "UserName" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, output: { type: "structure", members: { - approvals: { - type: "list", - member: { - type: "structure", - members: { userArn: {}, approvalState: {} }, - }, - }, + User: { shape: "S9u" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - GetPullRequestOverrideState: { - input: { - type: "structure", - required: ["pullRequestId", "revisionId"], - members: { pullRequestId: {}, revisionId: {} }, - }, - output: { - type: "structure", - members: { overridden: { type: "boolean" }, overrider: {} }, + GetDashboardEmbedUrl: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url", }, - }, - GetRepository: { input: { type: "structure", - required: ["repositoryName"], - members: { repositoryName: {} }, + required: ["AwsAccountId", "DashboardId", "IdentityType"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DashboardId: { location: "uri", locationName: "DashboardId" }, + IdentityType: { + location: "querystring", + locationName: "creds-type", + }, + SessionLifetimeInMinutes: { + location: "querystring", + locationName: "session-lifetime", + type: "long", + }, + UndoRedoDisabled: { + location: "querystring", + locationName: "undo-redo-disabled", + type: "boolean", + }, + ResetDisabled: { + location: "querystring", + locationName: "reset-disabled", + type: "boolean", + }, + StatePersistenceEnabled: { + location: "querystring", + locationName: "state-persistence-enabled", + type: "boolean", + }, + UserArn: { location: "querystring", locationName: "user-arn" }, + Namespace: { + location: "querystring", + locationName: "namespace", + }, + AdditionalDashboardIds: { + location: "querystring", + locationName: "additional-dashboard-ids", + type: "list", + member: {}, + }, + }, }, output: { type: "structure", - members: { repositoryMetadata: { shape: "S1x" } }, + members: { + EmbedUrl: { shape: "Sa3" }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - GetRepositoryTriggers: { - input: { - type: "structure", - required: ["repositoryName"], - members: { repositoryName: {} }, - }, - output: { - type: "structure", - members: { configurationId: {}, triggers: { shape: "S6t" } }, + GetSessionEmbedUrl: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/session-embed-url", }, - }, - ListApprovalRuleTemplates: { input: { type: "structure", - members: { nextToken: {}, maxResults: { type: "integer" } }, + required: ["AwsAccountId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + EntryPoint: { + location: "querystring", + locationName: "entry-point", + }, + SessionLifetimeInMinutes: { + location: "querystring", + locationName: "session-lifetime", + type: "long", + }, + UserArn: { location: "querystring", locationName: "user-arn" }, + }, }, output: { type: "structure", members: { - approvalRuleTemplateNames: { shape: "S72" }, - nextToken: {}, + EmbedUrl: { shape: "Sa3" }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, }, - ListAssociatedApprovalRuleTemplatesForRepository: { + ListAnalyses: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/analyses", + }, input: { type: "structure", - required: ["repositoryName"], + required: ["AwsAccountId"], members: { - repositoryName: {}, - nextToken: {}, - maxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, }, }, output: { type: "structure", members: { - approvalRuleTemplateNames: { shape: "S72" }, - nextToken: {}, + AnalysisSummaryList: { shape: "Saa" }, + NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, }, - ListBranches: { + ListDashboardVersions: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions", + }, input: { type: "structure", - required: ["repositoryName"], - members: { repositoryName: {}, nextToken: {} }, + required: ["AwsAccountId", "DashboardId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DashboardId: { location: "uri", locationName: "DashboardId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, + }, }, output: { type: "structure", - members: { branches: { shape: "S6x" }, nextToken: {} }, + members: { + DashboardVersionSummaryList: { + type: "list", + member: { + type: "structure", + members: { + Arn: {}, + CreatedTime: { type: "timestamp" }, + VersionNumber: { type: "long" }, + Status: {}, + SourceEntityArn: {}, + Description: {}, + }, + }, + }, + NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - ListPullRequests: { + ListDashboards: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/dashboards", + }, input: { type: "structure", - required: ["repositoryName"], + required: ["AwsAccountId"], members: { - repositoryName: {}, - authorArn: {}, - pullRequestStatus: {}, - nextToken: {}, - maxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, }, }, output: { type: "structure", - required: ["pullRequestIds"], members: { - pullRequestIds: { type: "list", member: {} }, - nextToken: {}, + DashboardSummaryList: { shape: "Sai" }, + NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, }, - ListRepositories: { + ListDataSets: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/data-sets", + }, input: { type: "structure", - members: { nextToken: {}, sortBy: {}, order: {} }, + required: ["AwsAccountId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, + }, }, output: { type: "structure", members: { - repositories: { + DataSetSummaries: { type: "list", member: { type: "structure", - members: { repositoryName: {}, repositoryId: {} }, + members: { + Arn: {}, + DataSetId: {}, + Name: {}, + CreatedTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + ImportMode: {}, + RowLevelPermissionDataSet: { shape: "S3b" }, + ColumnLevelPermissionRulesApplied: { type: "boolean" }, + }, }, }, - nextToken: {}, + NextToken: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - ListRepositoriesForApprovalRuleTemplate: { + ListDataSources: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/data-sources", + }, input: { type: "structure", - required: ["approvalRuleTemplateName"], + required: ["AwsAccountId"], members: { - approvalRuleTemplateName: {}, - nextToken: {}, - maxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, }, }, output: { type: "structure", - members: { repositoryNames: { shape: "S5" }, nextToken: {} }, + members: { + DataSources: { type: "list", member: { shape: "S85" } }, + NextToken: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - ListTagsForResource: { + ListGroupMemberships: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members", + }, input: { type: "structure", - required: ["resourceArn"], - members: { resourceArn: {}, nextToken: {} }, + required: ["GroupName", "AwsAccountId", "Namespace"], + members: { + GroupName: { location: "uri", locationName: "GroupName" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, output: { type: "structure", - members: { tags: { shape: "S3k" }, nextToken: {} }, + members: { + GroupMemberList: { type: "list", member: { shape: "S52" } }, + NextToken: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - MergeBranchesByFastForward: { + ListGroups: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups", + }, input: { type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - ], + required: ["AwsAccountId", "Namespace"], members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - targetBranch: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, + Namespace: { location: "uri", locationName: "Namespace" }, }, }, output: { type: "structure", - members: { commitId: {}, treeId: {} }, + members: { + GroupList: { shape: "Saw" }, + NextToken: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - MergeBranchesBySquash: { + ListIAMPolicyAssignments: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments", + }, input: { type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - ], + required: ["AwsAccountId", "Namespace"], members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - targetBranch: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - authorName: {}, - email: {}, - commitMessage: {}, - keepEmptyFolders: { type: "boolean" }, - conflictResolution: { shape: "S3p" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AssignmentStatus: {}, + Namespace: { location: "uri", locationName: "Namespace" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, }, }, output: { type: "structure", - members: { commitId: {}, treeId: {} }, + members: { + IAMPolicyAssignments: { + type: "list", + member: { + type: "structure", + members: { AssignmentName: {}, AssignmentStatus: {} }, + }, + }, + NextToken: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - MergeBranchesByThreeWay: { + ListIAMPolicyAssignmentsForUser: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments", + }, input: { type: "structure", - required: [ - "repositoryName", - "sourceCommitSpecifier", - "destinationCommitSpecifier", - ], + required: ["AwsAccountId", "UserName", "Namespace"], members: { - repositoryName: {}, - sourceCommitSpecifier: {}, - destinationCommitSpecifier: {}, - targetBranch: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - authorName: {}, - email: {}, - commitMessage: {}, - keepEmptyFolders: { type: "boolean" }, - conflictResolution: { shape: "S3p" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + UserName: { location: "uri", locationName: "UserName" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, + Namespace: { location: "uri", locationName: "Namespace" }, }, }, output: { type: "structure", - members: { commitId: {}, treeId: {} }, + members: { + ActiveAssignments: { + type: "list", + member: { + type: "structure", + members: { AssignmentName: {}, PolicyArn: {} }, + }, + }, + RequestId: {}, + NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - MergePullRequestByFastForward: { + ListIngestions: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions", + }, input: { type: "structure", - required: ["pullRequestId", "repositoryName"], + required: ["DataSetId", "AwsAccountId"], members: { - pullRequestId: {}, - repositoryName: {}, - sourceCommitId: {}, + DataSetId: { location: "uri", locationName: "DataSetId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, }, }, output: { type: "structure", - members: { pullRequest: { shape: "S33" } }, + members: { + Ingestions: { type: "list", member: { shape: "S8h" } }, + NextToken: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - MergePullRequestBySquash: { + ListNamespaces: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/namespaces", + }, input: { type: "structure", - required: ["pullRequestId", "repositoryName"], + required: ["AwsAccountId"], members: { - pullRequestId: {}, - repositoryName: {}, - sourceCommitId: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - commitMessage: {}, - authorName: {}, - email: {}, - keepEmptyFolders: { type: "boolean" }, - conflictResolution: { shape: "S3p" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, }, }, output: { type: "structure", - members: { pullRequest: { shape: "S33" } }, + members: { + Namespaces: { type: "list", member: { shape: "S8s" } }, + NextToken: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - MergePullRequestByThreeWay: { + ListTagsForResource: { + http: { + method: "GET", + requestUri: "/resources/{ResourceArn}/tags", + }, input: { type: "structure", - required: ["pullRequestId", "repositoryName"], + required: ["ResourceArn"], members: { - pullRequestId: {}, - repositoryName: {}, - sourceCommitId: {}, - conflictDetailLevel: {}, - conflictResolutionStrategy: {}, - commitMessage: {}, - authorName: {}, - email: {}, - keepEmptyFolders: { type: "boolean" }, - conflictResolution: { shape: "S3p" }, + ResourceArn: { location: "uri", locationName: "ResourceArn" }, }, }, output: { type: "structure", - members: { pullRequest: { shape: "S33" } }, - }, - }, - OverridePullRequestApprovalRules: { - input: { - type: "structure", - required: ["pullRequestId", "revisionId", "overrideStatus"], members: { - pullRequestId: {}, - revisionId: {}, - overrideStatus: {}, + Tags: { shape: "Sb" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - PostCommentForComparedCommit: { + ListTemplateAliases: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases", + }, input: { type: "structure", - required: ["repositoryName", "afterCommitId", "content"], + required: ["AwsAccountId", "TemplateId"], members: { - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - location: { shape: "S5d" }, - content: {}, - clientRequestToken: { idempotencyToken: true }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-result", + type: "integer", + }, }, }, output: { type: "structure", members: { - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - beforeBlobId: {}, - afterBlobId: {}, - location: { shape: "S5d" }, - comment: { shape: "S42" }, + TemplateAliasList: { type: "list", member: { shape: "S5r" } }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + NextToken: {}, }, }, - idempotent: true, }, - PostCommentForPullRequest: { + ListTemplateVersions: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/templates/{TemplateId}/versions", + }, input: { type: "structure", - required: [ - "pullRequestId", - "repositoryName", - "beforeCommitId", - "afterCommitId", - "content", - ], + required: ["AwsAccountId", "TemplateId"], members: { - pullRequestId: {}, - repositoryName: {}, - beforeCommitId: {}, - afterCommitId: {}, - location: { shape: "S5d" }, - content: {}, - clientRequestToken: { idempotencyToken: true }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, }, }, output: { type: "structure", members: { - repositoryName: {}, - pullRequestId: {}, - beforeCommitId: {}, - afterCommitId: {}, - beforeBlobId: {}, - afterBlobId: {}, - location: { shape: "S5d" }, - comment: { shape: "S42" }, + TemplateVersionSummaryList: { + type: "list", + member: { + type: "structure", + members: { + Arn: {}, + VersionNumber: { type: "long" }, + CreatedTime: { type: "timestamp" }, + Status: {}, + Description: {}, + }, + }, + }, + NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, - idempotent: true, }, - PostCommentReply: { + ListTemplates: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/templates", + }, input: { type: "structure", - required: ["inReplyTo", "content"], + required: ["AwsAccountId"], members: { - inReplyTo: {}, - clientRequestToken: { idempotencyToken: true }, - content: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-result", + type: "integer", + }, }, }, output: { type: "structure", - members: { comment: { shape: "S42" } }, + members: { + TemplateSummaryList: { + type: "list", + member: { + type: "structure", + members: { + Arn: {}, + TemplateId: {}, + Name: {}, + LatestVersionNumber: { type: "long" }, + CreatedTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, - idempotent: true, }, - PutFile: { + ListThemeAliases: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases", + }, input: { type: "structure", - required: [ - "repositoryName", - "branchName", - "fileContent", - "filePath", - ], + required: ["AwsAccountId", "ThemeId"], members: { - repositoryName: {}, - branchName: {}, - fileContent: { type: "blob" }, - filePath: {}, - fileMode: {}, - parentCommitId: {}, - commitMessage: {}, - name: {}, - email: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-result", + type: "integer", + }, }, }, output: { type: "structure", - required: ["commitId", "blobId", "treeId"], - members: { commitId: {}, blobId: {}, treeId: {} }, + members: { + ThemeAliasList: { type: "list", member: { shape: "S69" } }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + NextToken: {}, + }, }, }, - PutRepositoryTriggers: { + ListThemeVersions: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/themes/{ThemeId}/versions", + }, input: { type: "structure", - required: ["repositoryName", "triggers"], - members: { repositoryName: {}, triggers: { shape: "S6t" } }, + required: ["AwsAccountId", "ThemeId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, + }, }, - output: { type: "structure", members: { configurationId: {} } }, - }, - TagResource: { - input: { + output: { type: "structure", - required: ["resourceArn", "tags"], - members: { resourceArn: {}, tags: { shape: "S3k" } }, + members: { + ThemeVersionSummaryList: { + type: "list", + member: { + type: "structure", + members: { + VersionNumber: { type: "long" }, + Arn: {}, + Description: {}, + CreatedTime: { type: "timestamp" }, + Status: {}, + }, + }, + }, + NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - TestRepositoryTriggers: { + ListThemes: { + http: { + method: "GET", + requestUri: "/accounts/{AwsAccountId}/themes", + }, input: { type: "structure", - required: ["repositoryName", "triggers"], - members: { repositoryName: {}, triggers: { shape: "S6t" } }, + required: ["AwsAccountId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, + Type: { location: "querystring", locationName: "type" }, + }, }, output: { type: "structure", members: { - successfulExecutions: { type: "list", member: {} }, - failedExecutions: { + ThemeSummaryList: { type: "list", member: { type: "structure", - members: { trigger: {}, failureMessage: {} }, + members: { + Arn: {}, + Name: {}, + ThemeId: {}, + LatestVersionNumber: { type: "long" }, + CreatedTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + }, }, }, + NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, }, - UntagResource: { + ListUserGroups: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups", + }, input: { type: "structure", - required: ["resourceArn", "tagKeys"], + required: ["UserName", "AwsAccountId", "Namespace"], members: { - resourceArn: {}, - tagKeys: { type: "list", member: {} }, + UserName: { location: "uri", locationName: "UserName" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + GroupList: { shape: "Saw" }, + NextToken: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - UpdateApprovalRuleTemplateContent: { + ListUsers: { + http: { + method: "GET", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/users", + }, input: { type: "structure", - required: ["approvalRuleTemplateName", "newRuleContent"], + required: ["AwsAccountId", "Namespace"], members: { - approvalRuleTemplateName: {}, - newRuleContent: {}, - existingRuleContentSha256: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + NextToken: { + location: "querystring", + locationName: "next-token", + }, + MaxResults: { + location: "querystring", + locationName: "max-results", + type: "integer", + }, + Namespace: { location: "uri", locationName: "Namespace" }, }, }, output: { type: "structure", - required: ["approvalRuleTemplate"], - members: { approvalRuleTemplate: { shape: "S2c" } }, + members: { + UserList: { type: "list", member: { shape: "S9u" } }, + NextToken: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - UpdateApprovalRuleTemplateDescription: { + RegisterUser: { + http: { + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/users", + }, input: { type: "structure", required: [ - "approvalRuleTemplateName", - "approvalRuleTemplateDescription", + "IdentityType", + "Email", + "UserRole", + "AwsAccountId", + "Namespace", ], members: { - approvalRuleTemplateName: {}, - approvalRuleTemplateDescription: {}, + IdentityType: {}, + Email: {}, + UserRole: {}, + IamArn: {}, + SessionName: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + UserName: {}, + CustomPermissionsName: {}, }, }, output: { type: "structure", - required: ["approvalRuleTemplate"], - members: { approvalRuleTemplate: { shape: "S2c" } }, + members: { + User: { shape: "S9u" }, + UserInvitationUrl: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - UpdateApprovalRuleTemplateName: { + RestoreAnalysis: { + http: { + requestUri: + "/accounts/{AwsAccountId}/restore/analyses/{AnalysisId}", + }, input: { type: "structure", - required: [ - "oldApprovalRuleTemplateName", - "newApprovalRuleTemplateName", - ], + required: ["AwsAccountId", "AnalysisId"], members: { - oldApprovalRuleTemplateName: {}, - newApprovalRuleTemplateName: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AnalysisId: { location: "uri", locationName: "AnalysisId" }, }, }, output: { type: "structure", - required: ["approvalRuleTemplate"], - members: { approvalRuleTemplate: { shape: "S2c" } }, + members: { + Status: { location: "statusCode", type: "integer" }, + Arn: {}, + AnalysisId: {}, + RequestId: {}, + }, }, }, - UpdateComment: { + SearchAnalyses: { + http: { requestUri: "/accounts/{AwsAccountId}/search/analyses" }, input: { type: "structure", - required: ["commentId", "content"], - members: { commentId: {}, content: {} }, + required: ["AwsAccountId", "Filters"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Filters: { + type: "list", + member: { + type: "structure", + members: { Operator: {}, Name: {}, Value: {} }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, }, output: { type: "structure", - members: { comment: { shape: "S42" } }, + members: { + AnalysisSummaryList: { shape: "Saa" }, + NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - UpdateDefaultBranch: { + SearchDashboards: { + http: { requestUri: "/accounts/{AwsAccountId}/search/dashboards" }, input: { type: "structure", - required: ["repositoryName", "defaultBranchName"], - members: { repositoryName: {}, defaultBranchName: {} }, + required: ["AwsAccountId", "Filters"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Filters: { + type: "list", + member: { + type: "structure", + required: ["Operator"], + members: { Operator: {}, Name: {}, Value: {} }, + }, + }, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + DashboardSummaryList: { shape: "Sai" }, + NextToken: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - UpdatePullRequestApprovalRuleContent: { + TagResource: { + http: { requestUri: "/resources/{ResourceArn}/tags" }, input: { type: "structure", - required: ["pullRequestId", "approvalRuleName", "newRuleContent"], + required: ["ResourceArn", "Tags"], members: { - pullRequestId: {}, - approvalRuleName: {}, - existingRuleContentSha256: {}, - newRuleContent: {}, + ResourceArn: { location: "uri", locationName: "ResourceArn" }, + Tags: { shape: "Sb" }, }, }, output: { type: "structure", - required: ["approvalRule"], - members: { approvalRule: { shape: "S3c" } }, + members: { + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - UpdatePullRequestApprovalState: { + UntagResource: { + http: { + method: "DELETE", + requestUri: "/resources/{ResourceArn}/tags", + }, input: { type: "structure", - required: ["pullRequestId", "revisionId", "approvalState"], - members: { pullRequestId: {}, revisionId: {}, approvalState: {} }, + required: ["ResourceArn", "TagKeys"], + members: { + ResourceArn: { location: "uri", locationName: "ResourceArn" }, + TagKeys: { + location: "querystring", + locationName: "keys", + type: "list", + member: {}, + }, + }, + }, + output: { + type: "structure", + members: { + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - UpdatePullRequestDescription: { + UpdateAccountCustomization: { + http: { + method: "PUT", + requestUri: "/accounts/{AwsAccountId}/customizations", + }, input: { type: "structure", - required: ["pullRequestId", "description"], - members: { pullRequestId: {}, description: {} }, + required: ["AwsAccountId", "AccountCustomization"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { + location: "querystring", + locationName: "namespace", + }, + AccountCustomization: { shape: "Sa" }, + }, }, output: { type: "structure", - required: ["pullRequest"], - members: { pullRequest: { shape: "S33" } }, + members: { + Arn: {}, + AwsAccountId: {}, + Namespace: {}, + AccountCustomization: { shape: "Sa" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - UpdatePullRequestStatus: { + UpdateAccountSettings: { + http: { + method: "PUT", + requestUri: "/accounts/{AwsAccountId}/settings", + }, input: { type: "structure", - required: ["pullRequestId", "pullRequestStatus"], - members: { pullRequestId: {}, pullRequestStatus: {} }, + required: ["AwsAccountId", "DefaultNamespace"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DefaultNamespace: {}, + NotificationEmail: {}, + }, }, output: { type: "structure", - required: ["pullRequest"], - members: { pullRequest: { shape: "S33" } }, + members: { + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - UpdatePullRequestTitle: { + UpdateAnalysis: { + http: { + method: "PUT", + requestUri: "/accounts/{AwsAccountId}/analyses/{AnalysisId}", + }, input: { type: "structure", - required: ["pullRequestId", "title"], - members: { pullRequestId: {}, title: {} }, + required: ["AwsAccountId", "AnalysisId", "Name", "SourceEntity"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AnalysisId: { location: "uri", locationName: "AnalysisId" }, + Name: {}, + Parameters: { shape: "Sk" }, + SourceEntity: { shape: "S15" }, + ThemeArn: {}, + }, }, output: { type: "structure", - required: ["pullRequest"], - members: { pullRequest: { shape: "S33" } }, + members: { + Arn: {}, + AnalysisId: {}, + UpdateStatus: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, }, - UpdateRepositoryDescription: { + UpdateAnalysisPermissions: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions", + }, input: { type: "structure", - required: ["repositoryName"], - members: { repositoryName: {}, repositoryDescription: {} }, + required: ["AwsAccountId", "AnalysisId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AnalysisId: { location: "uri", locationName: "AnalysisId" }, + GrantPermissions: { shape: "Scx" }, + RevokePermissions: { shape: "Scx" }, + }, + }, + output: { + type: "structure", + members: { + AnalysisArn: {}, + AnalysisId: {}, + Permissions: { shape: "S11" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, + }, }, }, - UpdateRepositoryName: { + UpdateDashboard: { + http: { + method: "PUT", + requestUri: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", + }, input: { type: "structure", - required: ["oldName", "newName"], - members: { oldName: {}, newName: {} }, + required: ["AwsAccountId", "DashboardId", "Name", "SourceEntity"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DashboardId: { location: "uri", locationName: "DashboardId" }, + Name: {}, + SourceEntity: { shape: "S1d" }, + Parameters: { shape: "Sk" }, + VersionDescription: {}, + DashboardPublishOptions: { shape: "S1g" }, + ThemeArn: {}, + }, }, - }, - }, - shapes: { - S5: { type: "list", member: {} }, - Sn: { - type: "structure", - members: { - filePath: {}, - fileSizes: { - type: "structure", - members: { - source: { type: "long" }, - destination: { type: "long" }, - base: { type: "long" }, - }, - }, - fileModes: { - type: "structure", - members: { source: {}, destination: {}, base: {} }, - }, - objectTypes: { - type: "structure", - members: { source: {}, destination: {}, base: {} }, - }, - numberOfConflicts: { type: "integer" }, - isBinaryFile: { - type: "structure", - members: { - source: { type: "boolean" }, - destination: { type: "boolean" }, - base: { type: "boolean" }, - }, - }, - contentConflict: { type: "boolean" }, - fileModeConflict: { type: "boolean" }, - objectTypeConflict: { type: "boolean" }, - mergeOperations: { - type: "structure", - members: { source: {}, destination: {} }, - }, - }, - }, - S12: { - type: "list", - member: { + output: { type: "structure", members: { - isConflict: { type: "boolean" }, - source: { shape: "S15" }, - destination: { shape: "S15" }, - base: { shape: "S15" }, + Arn: {}, + VersionArn: {}, + DashboardId: {}, + CreationStatus: {}, + Status: { type: "integer" }, + RequestId: {}, }, }, }, - S15: { - type: "structure", - members: { - startLine: { type: "integer" }, - endLine: { type: "integer" }, - hunkContent: {}, - }, - }, - S1l: { - type: "structure", - members: { - commitId: {}, - treeId: {}, - parents: { type: "list", member: {} }, - message: {}, - author: { shape: "S1n" }, - committer: { shape: "S1n" }, - additionalData: {}, - }, - }, - S1n: { - type: "structure", - members: { name: {}, email: {}, date: {} }, - }, - S1x: { - type: "structure", - members: { - accountId: {}, - repositoryId: {}, - repositoryName: {}, - repositoryDescription: {}, - defaultBranch: {}, - lastModifiedDate: { type: "timestamp" }, - creationDate: { type: "timestamp" }, - cloneUrlHttp: {}, - cloneUrlSsh: {}, - Arn: {}, - }, - }, - S2c: { - type: "structure", - members: { - approvalRuleTemplateId: {}, - approvalRuleTemplateName: {}, - approvalRuleTemplateDescription: {}, - approvalRuleTemplateContent: {}, - ruleContentSha256: {}, - lastModifiedDate: { type: "timestamp" }, - creationDate: { type: "timestamp" }, - lastModifiedUser: {}, - }, - }, - S2o: { - type: "list", - member: { - type: "structure", - required: ["filePath"], - members: { filePath: {} }, - }, - }, - S2q: { - type: "list", - member: { - type: "structure", - required: ["filePath", "fileMode"], - members: { filePath: {}, fileMode: {} }, + UpdateDashboardPermissions: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions", }, - }, - S2t: { - type: "list", - member: { + input: { type: "structure", - members: { absolutePath: {}, blobId: {}, fileMode: {} }, - }, - }, - S33: { - type: "structure", - members: { - pullRequestId: {}, - title: {}, - description: {}, - lastActivityDate: { type: "timestamp" }, - creationDate: { type: "timestamp" }, - pullRequestStatus: {}, - authorArn: {}, - pullRequestTargets: { - type: "list", - member: { - type: "structure", - members: { - repositoryName: {}, - sourceReference: {}, - destinationReference: {}, - destinationCommit: {}, - sourceCommit: {}, - mergeBase: {}, - mergeMetadata: { shape: "S38" }, - }, - }, - }, - clientRequestToken: {}, - revisionId: {}, - approvalRules: { type: "list", member: { shape: "S3c" } }, - }, - }, - S38: { - type: "structure", - members: { - isMerged: { type: "boolean" }, - mergedBy: {}, - mergeCommitId: {}, - mergeOption: {}, - }, - }, - S3c: { - type: "structure", - members: { - approvalRuleId: {}, - approvalRuleName: {}, - approvalRuleContent: {}, - ruleContentSha256: {}, - lastModifiedDate: { type: "timestamp" }, - creationDate: { type: "timestamp" }, - lastModifiedUser: {}, - originApprovalRuleTemplate: { - type: "structure", - members: { - approvalRuleTemplateId: {}, - approvalRuleTemplateName: {}, - }, - }, - }, - }, - S3k: { type: "map", key: {}, value: {} }, - S3p: { - type: "structure", - members: { - replaceContents: { - type: "list", - member: { - type: "structure", - required: ["filePath", "replacementType"], - members: { - filePath: {}, - replacementType: {}, - content: { type: "blob" }, - fileMode: {}, - }, - }, + required: ["AwsAccountId", "DashboardId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DashboardId: { location: "uri", locationName: "DashboardId" }, + GrantPermissions: { shape: "Scx" }, + RevokePermissions: { shape: "Scx" }, }, - deleteFiles: { shape: "S2o" }, - setFileModes: { shape: "S2q" }, - }, - }, - S3y: { type: "structure", members: { branchName: {}, commitId: {} } }, - S42: { - type: "structure", - members: { - commentId: {}, - content: {}, - inReplyTo: {}, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - authorArn: {}, - deleted: { type: "boolean" }, - clientRequestToken: {}, - }, - }, - S5d: { - type: "structure", - members: { - filePath: {}, - filePosition: { type: "long" }, - relativeFileVersion: {}, }, - }, - S5g: { type: "list", member: { shape: "S42" } }, - S5s: { - type: "structure", - members: { blobId: {}, path: {}, mode: {} }, - }, - S6t: { - type: "list", - member: { + output: { type: "structure", - required: ["name", "destinationArn", "events"], members: { - name: {}, - destinationArn: {}, - customData: {}, - branches: { shape: "S6x" }, - events: { type: "list", member: {} }, + DashboardArn: {}, + DashboardId: {}, + Permissions: { shape: "S11" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - S6x: { type: "list", member: {} }, - S72: { type: "list", member: {} }, - }, - }; - - /***/ - }, - - /***/ 4211: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["polly"] = {}; - AWS.Polly = Service.defineService("polly", ["2016-06-10"]); - __webpack_require__(1531); - Object.defineProperty(apiLoader.services["polly"], "2016-06-10", { - get: function get() { - var model = __webpack_require__(3132); - model.paginators = __webpack_require__(5902).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Polly; - - /***/ - }, - - /***/ 4220: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2017-10-01", - endpointPrefix: "workmail", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "Amazon WorkMail", - serviceId: "WorkMail", - signatureVersion: "v4", - targetPrefix: "WorkMailService", - uid: "workmail-2017-10-01", - }, - operations: { - AssociateDelegateToResource: { - input: { - type: "structure", - required: ["OrganizationId", "ResourceId", "EntityId"], - members: { OrganizationId: {}, ResourceId: {}, EntityId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - AssociateMemberToGroup: { - input: { - type: "structure", - required: ["OrganizationId", "GroupId", "MemberId"], - members: { OrganizationId: {}, GroupId: {}, MemberId: {} }, + UpdateDashboardPublishedVersion: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}", }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - CreateAlias: { input: { type: "structure", - required: ["OrganizationId", "EntityId", "Alias"], - members: { OrganizationId: {}, EntityId: {}, Alias: {} }, + required: ["AwsAccountId", "DashboardId", "VersionNumber"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DashboardId: { location: "uri", locationName: "DashboardId" }, + VersionNumber: { + location: "uri", + locationName: "VersionNumber", + type: "long", + }, + }, }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - CreateGroup: { - input: { + output: { type: "structure", - required: ["OrganizationId", "Name"], - members: { OrganizationId: {}, Name: {} }, + members: { + DashboardId: {}, + DashboardArn: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, - output: { type: "structure", members: { GroupId: {} } }, - idempotent: true, }, - CreateResource: { - input: { - type: "structure", - required: ["OrganizationId", "Name", "Type"], - members: { OrganizationId: {}, Name: {}, Type: {} }, + UpdateDataSet: { + http: { + method: "PUT", + requestUri: "/accounts/{AwsAccountId}/data-sets/{DataSetId}", }, - output: { type: "structure", members: { ResourceId: {} } }, - idempotent: true, - }, - CreateUser: { input: { type: "structure", - required: ["OrganizationId", "Name", "DisplayName", "Password"], + required: [ + "AwsAccountId", + "DataSetId", + "Name", + "PhysicalTableMap", + "ImportMode", + ], members: { - OrganizationId: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSetId: { location: "uri", locationName: "DataSetId" }, Name: {}, - DisplayName: {}, - Password: { shape: "Sl" }, + PhysicalTableMap: { shape: "S1q" }, + LogicalTableMap: { shape: "S2b" }, + ImportMode: {}, + ColumnGroups: { shape: "S35" }, + RowLevelPermissionDataSet: { shape: "S3b" }, + ColumnLevelPermissionRules: { shape: "S3d" }, }, }, - output: { type: "structure", members: { UserId: {} } }, - idempotent: true, - }, - DeleteAccessControlRule: { - input: { - type: "structure", - required: ["Name"], - members: { OrganizationId: {}, Name: {} }, - }, - output: { type: "structure", members: {} }, - }, - DeleteAlias: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId", "Alias"], - members: { OrganizationId: {}, EntityId: {}, Alias: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DeleteGroup: { - input: { - type: "structure", - required: ["OrganizationId", "GroupId"], - members: { OrganizationId: {}, GroupId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DeleteMailboxPermissions: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId", "GranteeId"], - members: { OrganizationId: {}, EntityId: {}, GranteeId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DeleteResource: { - input: { - type: "structure", - required: ["OrganizationId", "ResourceId"], - members: { OrganizationId: {}, ResourceId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DeleteUser: { - input: { - type: "structure", - required: ["OrganizationId", "UserId"], - members: { OrganizationId: {}, UserId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DeregisterFromWorkMail: { - input: { - type: "structure", - required: ["OrganizationId", "EntityId"], - members: { OrganizationId: {}, EntityId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - DescribeGroup: { - input: { - type: "structure", - required: ["OrganizationId", "GroupId"], - members: { OrganizationId: {}, GroupId: {} }, - }, output: { type: "structure", members: { - GroupId: {}, - Name: {}, - Email: {}, - State: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, + Arn: {}, + DataSetId: {}, + IngestionArn: {}, + IngestionId: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, - idempotent: true, }, - DescribeOrganization: { + UpdateDataSetPermissions: { + http: { + requestUri: + "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions", + }, input: { type: "structure", - required: ["OrganizationId"], - members: { OrganizationId: {} }, + required: ["AwsAccountId", "DataSetId"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSetId: { location: "uri", locationName: "DataSetId" }, + GrantPermissions: { shape: "S11" }, + RevokePermissions: { shape: "S11" }, + }, }, output: { type: "structure", members: { - OrganizationId: {}, - Alias: {}, - State: {}, - DirectoryId: {}, - DirectoryType: {}, - DefaultMailDomain: {}, - CompletedDate: { type: "timestamp" }, - ErrorMessage: {}, - ARN: {}, + DataSetArn: {}, + DataSetId: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, - idempotent: true, }, - DescribeResource: { - input: { - type: "structure", - required: ["OrganizationId", "ResourceId"], - members: { OrganizationId: {}, ResourceId: {} }, + UpdateDataSource: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/data-sources/{DataSourceId}", }, - output: { + input: { type: "structure", + required: ["AwsAccountId", "DataSourceId", "Name"], members: { - ResourceId: {}, - Email: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSourceId: { location: "uri", locationName: "DataSourceId" }, Name: {}, - Type: {}, - BookingOptions: { shape: "S1c" }, - State: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, + DataSourceParameters: { shape: "S3k" }, + Credentials: { shape: "S4l" }, + VpcConnectionProperties: { shape: "S4r" }, + SslProperties: { shape: "S4s" }, }, }, - idempotent: true, - }, - DescribeUser: { - input: { - type: "structure", - required: ["OrganizationId", "UserId"], - members: { OrganizationId: {}, UserId: {} }, - }, output: { type: "structure", members: { - UserId: {}, - Name: {}, - Email: {}, - DisplayName: {}, - State: {}, - UserRole: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, + Arn: {}, + DataSourceId: {}, + UpdateStatus: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, - idempotent: true, - }, - DisassociateDelegateFromResource: { - input: { - type: "structure", - required: ["OrganizationId", "ResourceId", "EntityId"], - members: { OrganizationId: {}, ResourceId: {}, EntityId: {} }, - }, - output: { type: "structure", members: {} }, - idempotent: true, }, - DisassociateMemberFromGroup: { - input: { - type: "structure", - required: ["OrganizationId", "GroupId", "MemberId"], - members: { OrganizationId: {}, GroupId: {}, MemberId: {} }, + UpdateDataSourcePermissions: { + http: { + requestUri: + "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions", }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - GetAccessControlEffect: { input: { type: "structure", - required: ["OrganizationId", "IpAddress", "Action", "UserId"], + required: ["AwsAccountId", "DataSourceId"], members: { - OrganizationId: {}, - IpAddress: {}, - Action: {}, - UserId: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + DataSourceId: { location: "uri", locationName: "DataSourceId" }, + GrantPermissions: { shape: "S11" }, + RevokePermissions: { shape: "S11" }, }, }, output: { type: "structure", members: { - Effect: {}, - MatchedRules: { type: "list", member: {} }, + DataSourceArn: {}, + DataSourceId: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - GetMailboxDetails: { + UpdateGroup: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", + }, input: { type: "structure", - required: ["OrganizationId", "UserId"], - members: { OrganizationId: {}, UserId: {} }, + required: ["GroupName", "AwsAccountId", "Namespace"], + members: { + GroupName: { location: "uri", locationName: "GroupName" }, + Description: {}, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + }, }, output: { type: "structure", members: { - MailboxQuota: { type: "integer" }, - MailboxSize: { type: "double" }, + Group: { shape: "S4y" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, - idempotent: true, }, - ListAccessControlRules: { + UpdateIAMPolicyAssignment: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}", + }, input: { type: "structure", - required: ["OrganizationId"], - members: { OrganizationId: {} }, + required: ["AwsAccountId", "AssignmentName", "Namespace"], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + AssignmentName: { + location: "uri", + locationName: "AssignmentName", + }, + Namespace: { location: "uri", locationName: "Namespace" }, + AssignmentStatus: {}, + PolicyArn: {}, + Identities: { shape: "S56" }, + }, }, output: { type: "structure", members: { - Rules: { - type: "list", - member: { - type: "structure", - members: { - Name: {}, - Effect: {}, - Description: {}, - IpRanges: { shape: "S20" }, - NotIpRanges: { shape: "S20" }, - Actions: { shape: "S22" }, - NotActions: { shape: "S22" }, - UserIds: { shape: "S23" }, - NotUserIds: { shape: "S23" }, - DateCreated: { type: "timestamp" }, - DateModified: { type: "timestamp" }, - }, - }, - }, + AssignmentName: {}, + AssignmentId: {}, + PolicyArn: {}, + Identities: { shape: "S56" }, + AssignmentStatus: {}, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, }, - ListAliases: { + UpdateTemplate: { + http: { + method: "PUT", + requestUri: "/accounts/{AwsAccountId}/templates/{TemplateId}", + }, input: { type: "structure", - required: ["OrganizationId", "EntityId"], + required: ["AwsAccountId", "TemplateId", "SourceEntity"], members: { - OrganizationId: {}, - EntityId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + SourceEntity: { shape: "S5j" }, + VersionDescription: {}, + Name: {}, }, }, output: { type: "structure", - members: { Aliases: { type: "list", member: {} }, NextToken: {} }, + members: { + TemplateId: {}, + Arn: {}, + VersionArn: {}, + CreationStatus: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, + }, }, - idempotent: true, }, - ListGroupMembers: { + UpdateTemplateAlias: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", + }, input: { type: "structure", - required: ["OrganizationId", "GroupId"], + required: [ + "AwsAccountId", + "TemplateId", + "AliasName", + "TemplateVersionNumber", + ], members: { - OrganizationId: {}, - GroupId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + AliasName: { location: "uri", locationName: "AliasName" }, + TemplateVersionNumber: { type: "long" }, }, }, output: { type: "structure", members: { - Members: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Name: {}, - Type: {}, - State: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, + TemplateAlias: { shape: "S5r" }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, - idempotent: true, }, - ListGroups: { + UpdateTemplatePermissions: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions", + }, input: { type: "structure", - required: ["OrganizationId"], + required: ["AwsAccountId", "TemplateId"], members: { - OrganizationId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + TemplateId: { location: "uri", locationName: "TemplateId" }, + GrantPermissions: { shape: "Scx" }, + RevokePermissions: { shape: "Scx" }, }, }, output: { type: "structure", members: { - Groups: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Email: {}, - Name: {}, - State: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, + TemplateId: {}, + TemplateArn: {}, + Permissions: { shape: "S11" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, - idempotent: true, }, - ListMailboxPermissions: { + UpdateTheme: { + http: { + method: "PUT", + requestUri: "/accounts/{AwsAccountId}/themes/{ThemeId}", + }, input: { type: "structure", - required: ["OrganizationId", "EntityId"], + required: ["AwsAccountId", "ThemeId", "BaseThemeId"], members: { - OrganizationId: {}, - EntityId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + Name: {}, + BaseThemeId: {}, + VersionDescription: {}, + Configuration: { shape: "S5u" }, }, }, output: { type: "structure", members: { - Permissions: { - type: "list", - member: { - type: "structure", - required: ["GranteeId", "GranteeType", "PermissionValues"], - members: { - GranteeId: {}, - GranteeType: {}, - PermissionValues: { shape: "S2m" }, - }, - }, - }, - NextToken: {}, + ThemeId: {}, + Arn: {}, + VersionArn: {}, + CreationStatus: {}, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, - idempotent: true, }, - ListOrganizations: { + UpdateThemeAlias: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}", + }, input: { type: "structure", - members: { NextToken: {}, MaxResults: { type: "integer" } }, + required: [ + "AwsAccountId", + "ThemeId", + "AliasName", + "ThemeVersionNumber", + ], + members: { + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + AliasName: { location: "uri", locationName: "AliasName" }, + ThemeVersionNumber: { type: "long" }, + }, }, output: { type: "structure", members: { - OrganizationSummaries: { - type: "list", - member: { - type: "structure", - members: { - OrganizationId: {}, - Alias: {}, - ErrorMessage: {}, - State: {}, - }, - }, - }, - NextToken: {}, + ThemeAlias: { shape: "S69" }, + Status: { location: "statusCode", type: "integer" }, + RequestId: {}, }, }, - idempotent: true, }, - ListResourceDelegates: { + UpdateThemePermissions: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions", + }, input: { type: "structure", - required: ["OrganizationId", "ResourceId"], + required: ["AwsAccountId", "ThemeId"], members: { - OrganizationId: {}, - ResourceId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + ThemeId: { location: "uri", locationName: "ThemeId" }, + GrantPermissions: { shape: "Scx" }, + RevokePermissions: { shape: "Scx" }, }, }, output: { type: "structure", members: { - Delegates: { - type: "list", - member: { - type: "structure", - required: ["Id", "Type"], - members: { Id: {}, Type: {} }, - }, - }, - NextToken: {}, + ThemeId: {}, + ThemeArn: {}, + Permissions: { shape: "S11" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, - idempotent: true, }, - ListResources: { + UpdateUser: { + http: { + method: "PUT", + requestUri: + "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", + }, input: { type: "structure", - required: ["OrganizationId"], + required: [ + "UserName", + "AwsAccountId", + "Namespace", + "Email", + "Role", + ], members: { - OrganizationId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + UserName: { location: "uri", locationName: "UserName" }, + AwsAccountId: { location: "uri", locationName: "AwsAccountId" }, + Namespace: { location: "uri", locationName: "Namespace" }, + Email: {}, + Role: {}, + CustomPermissionsName: {}, + UnapplyCustomPermissions: { type: "boolean" }, }, }, output: { type: "structure", members: { - Resources: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Email: {}, - Name: {}, - Type: {}, - State: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, - }, - }, - NextToken: {}, + User: { shape: "S9u" }, + RequestId: {}, + Status: { location: "statusCode", type: "integer" }, }, }, - idempotent: true, }, - ListTagsForResource: { - input: { + }, + shapes: { + Sa: { type: "structure", members: { DefaultTheme: {} } }, + Sb: { + type: "list", + member: { type: "structure", - required: ["ResourceARN"], - members: { ResourceARN: {} }, + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, }, - output: { type: "structure", members: { Tags: { shape: "S32" } } }, }, - ListUsers: { - input: { - type: "structure", - required: ["OrganizationId"], - members: { - OrganizationId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + Sk: { + type: "structure", + members: { + StringParameters: { + type: "list", + member: { + type: "structure", + required: ["Name", "Values"], + members: { Name: {}, Values: { type: "list", member: {} } }, + }, }, - }, - output: { - type: "structure", - members: { - Users: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Email: {}, - Name: {}, - DisplayName: {}, - State: {}, - UserRole: {}, - EnabledDate: { type: "timestamp" }, - DisabledDate: { type: "timestamp" }, - }, + IntegerParameters: { + type: "list", + member: { + type: "structure", + required: ["Name", "Values"], + members: { + Name: {}, + Values: { type: "list", member: { type: "long" } }, }, }, - NextToken: {}, }, - }, - idempotent: true, - }, - PutAccessControlRule: { - input: { - type: "structure", - required: ["Name", "Effect", "Description", "OrganizationId"], - members: { - Name: {}, - Effect: {}, - Description: {}, - IpRanges: { shape: "S20" }, - NotIpRanges: { shape: "S20" }, - Actions: { shape: "S22" }, - NotActions: { shape: "S22" }, - UserIds: { shape: "S23" }, - NotUserIds: { shape: "S23" }, - OrganizationId: {}, + DecimalParameters: { + type: "list", + member: { + type: "structure", + required: ["Name", "Values"], + members: { + Name: {}, + Values: { type: "list", member: { type: "double" } }, + }, + }, + }, + DateTimeParameters: { + type: "list", + member: { + type: "structure", + required: ["Name", "Values"], + members: { + Name: {}, + Values: { type: "list", member: { type: "timestamp" } }, + }, + }, }, }, - output: { type: "structure", members: {} }, }, - PutMailboxPermissions: { - input: { - type: "structure", - required: [ - "OrganizationId", - "EntityId", - "GranteeId", - "PermissionValues", - ], - members: { - OrganizationId: {}, - EntityId: {}, - GranteeId: {}, - PermissionValues: { shape: "S2m" }, + S11: { type: "list", member: { shape: "S12" } }, + S12: { + type: "structure", + required: ["Principal", "Actions"], + members: { Principal: {}, Actions: { type: "list", member: {} } }, + }, + S15: { + type: "structure", + members: { + SourceTemplate: { + type: "structure", + required: ["DataSetReferences", "Arn"], + members: { DataSetReferences: { shape: "S17" }, Arn: {} }, }, }, - output: { type: "structure", members: {} }, - idempotent: true, }, - RegisterToWorkMail: { - input: { + S17: { + type: "list", + member: { type: "structure", - required: ["OrganizationId", "EntityId", "Email"], - members: { OrganizationId: {}, EntityId: {}, Email: {} }, + required: ["DataSetPlaceholder", "DataSetArn"], + members: { DataSetPlaceholder: {}, DataSetArn: {} }, }, - output: { type: "structure", members: {} }, - idempotent: true, }, - ResetPassword: { - input: { - type: "structure", - required: ["OrganizationId", "UserId", "Password"], - members: { - OrganizationId: {}, - UserId: {}, - Password: { shape: "Sl" }, + S1d: { + type: "structure", + members: { + SourceTemplate: { + type: "structure", + required: ["DataSetReferences", "Arn"], + members: { DataSetReferences: { shape: "S17" }, Arn: {} }, }, }, - output: { type: "structure", members: {} }, - idempotent: true, }, - TagResource: { - input: { - type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S32" } }, + S1g: { + type: "structure", + members: { + AdHocFilteringOption: { + type: "structure", + members: { AvailabilityStatus: {} }, + }, + ExportToCSVOption: { + type: "structure", + members: { AvailabilityStatus: {} }, + }, + SheetControlsOption: { + type: "structure", + members: { VisibilityState: {} }, + }, }, - output: { type: "structure", members: {} }, }, - UntagResource: { - input: { + S1q: { + type: "map", + key: {}, + value: { type: "structure", - required: ["ResourceARN", "TagKeys"], members: { - ResourceARN: {}, - TagKeys: { type: "list", member: {} }, - }, - }, - output: { type: "structure", members: {} }, - }, - UpdateMailboxQuota: { - input: { + RelationalTable: { + type: "structure", + required: ["DataSourceArn", "Name", "InputColumns"], + members: { + DataSourceArn: {}, + Catalog: {}, + Schema: {}, + Name: {}, + InputColumns: { shape: "S1x" }, + }, + }, + CustomSql: { + type: "structure", + required: ["DataSourceArn", "Name", "SqlQuery"], + members: { + DataSourceArn: {}, + Name: {}, + SqlQuery: {}, + Columns: { shape: "S1x" }, + }, + }, + S3Source: { + type: "structure", + required: ["DataSourceArn", "InputColumns"], + members: { + DataSourceArn: {}, + UploadSettings: { + type: "structure", + members: { + Format: {}, + StartFromRow: { type: "integer" }, + ContainsHeader: { type: "boolean" }, + TextQualifier: {}, + Delimiter: {}, + }, + }, + InputColumns: { shape: "S1x" }, + }, + }, + }, + }, + }, + S1x: { + type: "list", + member: { type: "structure", - required: ["OrganizationId", "UserId", "MailboxQuota"], + required: ["Name", "Type"], + members: { Name: {}, Type: {} }, + }, + }, + S2b: { + type: "map", + key: {}, + value: { + type: "structure", + required: ["Alias", "Source"], members: { - OrganizationId: {}, - UserId: {}, - MailboxQuota: { type: "integer" }, + Alias: {}, + DataTransforms: { + type: "list", + member: { + type: "structure", + members: { + ProjectOperation: { + type: "structure", + required: ["ProjectedColumns"], + members: { + ProjectedColumns: { type: "list", member: {} }, + }, + }, + FilterOperation: { + type: "structure", + required: ["ConditionExpression"], + members: { ConditionExpression: {} }, + }, + CreateColumnsOperation: { + type: "structure", + required: ["Columns"], + members: { + Columns: { + type: "list", + member: { + type: "structure", + required: [ + "ColumnName", + "ColumnId", + "Expression", + ], + members: { + ColumnName: {}, + ColumnId: {}, + Expression: {}, + }, + }, + }, + }, + }, + RenameColumnOperation: { + type: "structure", + required: ["ColumnName", "NewColumnName"], + members: { ColumnName: {}, NewColumnName: {} }, + }, + CastColumnTypeOperation: { + type: "structure", + required: ["ColumnName", "NewColumnType"], + members: { + ColumnName: {}, + NewColumnType: {}, + Format: {}, + }, + }, + TagColumnOperation: { + type: "structure", + required: ["ColumnName", "Tags"], + members: { + ColumnName: {}, + Tags: { + type: "list", + member: { + type: "structure", + members: { + ColumnGeographicRole: {}, + ColumnDescription: { + type: "structure", + members: { Text: {} }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + Source: { + type: "structure", + members: { + JoinInstruction: { + type: "structure", + required: [ + "LeftOperand", + "RightOperand", + "Type", + "OnClause", + ], + members: { + LeftOperand: {}, + RightOperand: {}, + LeftJoinKeyProperties: { shape: "S31" }, + RightJoinKeyProperties: { shape: "S31" }, + Type: {}, + OnClause: {}, + }, + }, + PhysicalTableId: {}, + }, + }, }, }, - output: { type: "structure", members: {} }, - idempotent: true, }, - UpdatePrimaryEmailAddress: { - input: { + S31: { + type: "structure", + members: { UniqueKey: { type: "boolean" } }, + }, + S35: { + type: "list", + member: { type: "structure", - required: ["OrganizationId", "EntityId", "Email"], - members: { OrganizationId: {}, EntityId: {}, Email: {} }, + members: { + GeoSpatialColumnGroup: { + type: "structure", + required: ["Name", "CountryCode", "Columns"], + members: { + Name: {}, + CountryCode: {}, + Columns: { type: "list", member: {} }, + }, + }, + }, }, - output: { type: "structure", members: {} }, - idempotent: true, }, - UpdateResource: { - input: { + S3b: { + type: "structure", + required: ["Arn", "PermissionPolicy"], + members: { Namespace: {}, Arn: {}, PermissionPolicy: {} }, + }, + S3d: { + type: "list", + member: { type: "structure", - required: ["OrganizationId", "ResourceId"], members: { - OrganizationId: {}, - ResourceId: {}, - Name: {}, - BookingOptions: { shape: "S1c" }, + Principals: { type: "list", member: {} }, + ColumnNames: { type: "list", member: {} }, }, }, - output: { type: "structure", members: {} }, - idempotent: true, }, - }, - shapes: { - Sl: { type: "string", sensitive: true }, - S1c: { + S3k: { type: "structure", members: { - AutoAcceptRequests: { type: "boolean" }, - AutoDeclineRecurringRequests: { type: "boolean" }, - AutoDeclineConflictingRequests: { type: "boolean" }, + AmazonElasticsearchParameters: { + type: "structure", + required: ["Domain"], + members: { Domain: {} }, + }, + AthenaParameters: { + type: "structure", + members: { WorkGroup: {} }, + }, + AuroraParameters: { + type: "structure", + required: ["Host", "Port", "Database"], + members: { Host: {}, Port: { type: "integer" }, Database: {} }, + }, + AuroraPostgreSqlParameters: { + type: "structure", + required: ["Host", "Port", "Database"], + members: { Host: {}, Port: { type: "integer" }, Database: {} }, + }, + AwsIotAnalyticsParameters: { + type: "structure", + required: ["DataSetName"], + members: { DataSetName: {} }, + }, + JiraParameters: { + type: "structure", + required: ["SiteBaseUrl"], + members: { SiteBaseUrl: {} }, + }, + MariaDbParameters: { + type: "structure", + required: ["Host", "Port", "Database"], + members: { Host: {}, Port: { type: "integer" }, Database: {} }, + }, + MySqlParameters: { + type: "structure", + required: ["Host", "Port", "Database"], + members: { Host: {}, Port: { type: "integer" }, Database: {} }, + }, + OracleParameters: { + type: "structure", + required: ["Host", "Port", "Database"], + members: { Host: {}, Port: { type: "integer" }, Database: {} }, + }, + PostgreSqlParameters: { + type: "structure", + required: ["Host", "Port", "Database"], + members: { Host: {}, Port: { type: "integer" }, Database: {} }, + }, + PrestoParameters: { + type: "structure", + required: ["Host", "Port", "Catalog"], + members: { Host: {}, Port: { type: "integer" }, Catalog: {} }, + }, + RdsParameters: { + type: "structure", + required: ["InstanceId", "Database"], + members: { InstanceId: {}, Database: {} }, + }, + RedshiftParameters: { + type: "structure", + required: ["Database"], + members: { + Host: {}, + Port: { type: "integer" }, + Database: {}, + ClusterId: {}, + }, + }, + S3Parameters: { + type: "structure", + required: ["ManifestFileLocation"], + members: { + ManifestFileLocation: { + type: "structure", + required: ["Bucket", "Key"], + members: { Bucket: {}, Key: {} }, + }, + }, + }, + ServiceNowParameters: { + type: "structure", + required: ["SiteBaseUrl"], + members: { SiteBaseUrl: {} }, + }, + SnowflakeParameters: { + type: "structure", + required: ["Host", "Database", "Warehouse"], + members: { Host: {}, Database: {}, Warehouse: {} }, + }, + SparkParameters: { + type: "structure", + required: ["Host", "Port"], + members: { Host: {}, Port: { type: "integer" } }, + }, + SqlServerParameters: { + type: "structure", + required: ["Host", "Port", "Database"], + members: { Host: {}, Port: { type: "integer" }, Database: {} }, + }, + TeradataParameters: { + type: "structure", + required: ["Host", "Port", "Database"], + members: { Host: {}, Port: { type: "integer" }, Database: {} }, + }, + TwitterParameters: { + type: "structure", + required: ["Query", "MaxRows"], + members: { Query: {}, MaxRows: { type: "integer" } }, + }, }, }, - S20: { type: "list", member: {} }, - S22: { type: "list", member: {} }, - S23: { type: "list", member: {} }, - S2m: { type: "list", member: {} }, - S32: { + S4l: { + type: "structure", + members: { + CredentialPair: { + type: "structure", + required: ["Username", "Password"], + members: { + Username: {}, + Password: {}, + AlternateDataSourceParameters: { shape: "S4p" }, + }, + }, + CopySourceArn: {}, + }, + sensitive: true, + }, + S4p: { type: "list", member: { shape: "S3k" } }, + S4r: { + type: "structure", + required: ["VpcConnectionArn"], + members: { VpcConnectionArn: {} }, + }, + S4s: { + type: "structure", + members: { DisableSsl: { type: "boolean" } }, + }, + S4y: { + type: "structure", + members: { + Arn: {}, + GroupName: {}, + Description: {}, + PrincipalId: {}, + }, + }, + S52: { type: "structure", members: { Arn: {}, MemberName: {} } }, + S56: { type: "map", key: {}, value: { type: "list", member: {} } }, + S5j: { + type: "structure", + members: { + SourceAnalysis: { + type: "structure", + required: ["Arn", "DataSetReferences"], + members: { Arn: {}, DataSetReferences: { shape: "S17" } }, + }, + SourceTemplate: { + type: "structure", + required: ["Arn"], + members: { Arn: {} }, + }, + }, + }, + S5r: { + type: "structure", + members: { + AliasName: {}, + Arn: {}, + TemplateVersionNumber: { type: "long" }, + }, + }, + S5u: { + type: "structure", + members: { + DataColorPalette: { + type: "structure", + members: { + Colors: { shape: "S5w" }, + MinMaxGradient: { shape: "S5w" }, + EmptyFillColor: {}, + }, + }, + UIColorPalette: { + type: "structure", + members: { + PrimaryForeground: {}, + PrimaryBackground: {}, + SecondaryForeground: {}, + SecondaryBackground: {}, + Accent: {}, + AccentForeground: {}, + Danger: {}, + DangerForeground: {}, + Warning: {}, + WarningForeground: {}, + Success: {}, + SuccessForeground: {}, + Dimension: {}, + DimensionForeground: {}, + Measure: {}, + MeasureForeground: {}, + }, + }, + Sheet: { + type: "structure", + members: { + Tile: { + type: "structure", + members: { + Border: { + type: "structure", + members: { Show: { type: "boolean" } }, + }, + }, + }, + TileLayout: { + type: "structure", + members: { + Gutter: { + type: "structure", + members: { Show: { type: "boolean" } }, + }, + Margin: { + type: "structure", + members: { Show: { type: "boolean" } }, + }, + }, + }, + }, + }, + }, + }, + S5w: { type: "list", member: {} }, + S69: { + type: "structure", + members: { + Arn: {}, + AliasName: {}, + ThemeVersionNumber: { type: "long" }, + }, + }, + S7i: { type: "list", member: {} }, + S7j: { + type: "list", + member: { type: "structure", members: { SheetId: {}, Name: {} } }, + }, + S85: { + type: "structure", + members: { + Arn: {}, + DataSourceId: {}, + Name: {}, + Type: {}, + Status: {}, + CreatedTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + DataSourceParameters: { shape: "S3k" }, + AlternateDataSourceParameters: { shape: "S4p" }, + VpcConnectionProperties: { shape: "S4r" }, + SslProperties: { shape: "S4s" }, + ErrorInfo: { + type: "structure", + members: { Type: {}, Message: {} }, + }, + }, + }, + S8h: { + type: "structure", + required: ["Arn", "IngestionStatus", "CreatedTime"], + members: { + Arn: {}, + IngestionId: {}, + IngestionStatus: {}, + ErrorInfo: { + type: "structure", + members: { Type: {}, Message: {} }, + }, + RowInfo: { + type: "structure", + members: { + RowsIngested: { type: "long" }, + RowsDropped: { type: "long" }, + }, + }, + QueueInfo: { + type: "structure", + required: ["WaitingOnIngestion", "QueuedIngestion"], + members: { WaitingOnIngestion: {}, QueuedIngestion: {} }, + }, + CreatedTime: { type: "timestamp" }, + IngestionTimeInSeconds: { type: "long" }, + IngestionSizeInBytes: { type: "long" }, + RequestSource: {}, + RequestType: {}, + }, + }, + S8s: { + type: "structure", + members: { + Name: {}, + Arn: {}, + CapacityRegion: {}, + CreationStatus: {}, + IdentityStore: {}, + NamespaceError: { + type: "structure", + members: { Type: {}, Message: {} }, + }, + }, + }, + S9u: { + type: "structure", + members: { + Arn: {}, + UserName: {}, + Email: {}, + Role: {}, + IdentityType: {}, + Active: { type: "boolean" }, + PrincipalId: {}, + CustomPermissionsName: {}, + }, + }, + Sa3: { type: "string", sensitive: true }, + Saa: { type: "list", member: { type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, + members: { + Arn: {}, + AnalysisId: {}, + Name: {}, + Status: {}, + CreatedTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + }, + }, + }, + Sai: { + type: "list", + member: { + type: "structure", + members: { + Arn: {}, + DashboardId: {}, + Name: {}, + CreatedTime: { type: "timestamp" }, + LastUpdatedTime: { type: "timestamp" }, + PublishedVersionNumber: { type: "long" }, + LastPublishedTime: { type: "timestamp" }, + }, }, }, + Saw: { type: "list", member: { shape: "S4y" } }, + Scx: { type: "list", member: { shape: "S12" } }, }, }; /***/ }, - /***/ 4221: /***/ function (module) { - module.exports = { - pagination: { - DescribeRemediationExceptions: { - input_token: "NextToken", - limit_key: "Limit", - output_token: "NextToken", - }, - DescribeRemediationExecutionStatus: { - input_token: "NextToken", - limit_key: "Limit", - output_token: "NextToken", - result_key: "RemediationExecutionStatuses", - }, - GetResourceConfigHistory: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "configurationItems", - }, - SelectAggregateResourceConfig: { - input_token: "NextToken", - limit_key: "MaxResults", - output_token: "NextToken", - }, - }, - }; + /***/ 3265: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = getPage; + + const deprecate = __webpack_require__(6370); + const getPageLinks = __webpack_require__(4577); + const HttpError = __webpack_require__(2297); + + function getPage(octokit, link, which, headers) { + deprecate( + `octokit.get${ + which.charAt(0).toUpperCase() + which.slice(1) + }Page() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` + ); + const url = getPageLinks(link)[which]; + + if (!url) { + const urlError = new HttpError(`No ${which} page found`, 404); + return Promise.reject(urlError); + } + + const requestOptions = { + url, + headers: applyAcceptHeader(link, headers), + }; + + const promise = octokit.request(requestOptions); + + return promise; + } + + function applyAcceptHeader(res, headers) { + const previous = res.headers && res.headers["x-github-media-type"]; + + if (!previous || (headers && headers.accept)) { + return headers; + } + headers = headers || {}; + headers.accept = + "application/vnd." + + previous.replace("; param=", ".").replace("; format=", "+"); + + return headers; + } /***/ }, - /***/ 4227: /***/ function (module, __unusedexports, __webpack_require__) { + /***/ 3288: /***/ function (module, __unusedexports, __webpack_require__) { __webpack_require__(3234); var AWS = __webpack_require__(395); var Service = AWS.Service; var apiLoader = AWS.apiLoader; - apiLoader.services["cloudwatchlogs"] = {}; - AWS.CloudWatchLogs = Service.defineService("cloudwatchlogs", [ - "2014-03-28", + apiLoader.services["connectcontactlens"] = {}; + AWS.ConnectContactLens = Service.defineService("connectcontactlens", [ + "2020-08-21", ]); Object.defineProperty( - apiLoader.services["cloudwatchlogs"], - "2014-03-28", + apiLoader.services["connectcontactlens"], + "2020-08-21", { get: function get() { - var model = __webpack_require__(7684); - model.paginators = __webpack_require__(6288).pagination; + var model = __webpack_require__(1035); + model.paginators = __webpack_require__(3087).pagination; return model; }, enumerable: true, @@ -114735,1693 +117387,1826 @@ module.exports = /******/ (function (modules, runtime) { } ); - module.exports = AWS.CloudWatchLogs; + module.exports = AWS.ConnectContactLens; /***/ }, - /***/ 4237: /***/ function (module) { + /***/ 3315: /***/ function (module, __unusedexports, __webpack_require__) { + var util = __webpack_require__(153); + var Rest = __webpack_require__(4618); + var Json = __webpack_require__(9912); + var JsonBuilder = __webpack_require__(337); + var JsonParser = __webpack_require__(9806); + + function populateBody(req) { + var builder = new JsonBuilder(); + var input = req.service.api.operations[req.operation].input; + + if (input.payload) { + var params = {}; + var payloadShape = input.members[input.payload]; + params = req.params[input.payload]; + if (params === undefined) return; + + if (payloadShape.type === "structure") { + req.httpRequest.body = builder.build(params, payloadShape); + applyContentTypeHeader(req); + } else { + // non-JSON payload + req.httpRequest.body = params; + if (payloadShape.type === "binary" || payloadShape.isStreaming) { + applyContentTypeHeader(req, true); + } + } + } else { + var body = builder.build(req.params, input); + if (body !== "{}" || req.httpRequest.method !== "GET") { + //don't send empty body for GET method + req.httpRequest.body = body; + } + applyContentTypeHeader(req); + } + } + + function applyContentTypeHeader(req, isBinary) { + var operation = req.service.api.operations[req.operation]; + var input = operation.input; + + if (!req.httpRequest.headers["Content-Type"]) { + var type = isBinary ? "binary/octet-stream" : "application/json"; + req.httpRequest.headers["Content-Type"] = type; + } + } + + function buildRequest(req) { + Rest.buildRequest(req); + + // never send body payload on HEAD/DELETE + if (["HEAD", "DELETE"].indexOf(req.httpRequest.method) < 0) { + populateBody(req); + } + } + + function extractError(resp) { + Json.extractError(resp); + } + + function extractData(resp) { + Rest.extractData(resp); + + var req = resp.request; + var operation = req.service.api.operations[req.operation]; + var rules = req.service.api.operations[req.operation].output || {}; + var parser; + var hasEventOutput = operation.hasEventOutput; + + if (rules.payload) { + var payloadMember = rules.members[rules.payload]; + var body = resp.httpResponse.body; + if (payloadMember.isEventStream) { + parser = new JsonParser(); + resp.data[payload] = util.createEventStream( + AWS.HttpClient.streamsApiVersion === 2 + ? resp.httpResponse.stream + : body, + parser, + payloadMember + ); + } else if ( + payloadMember.type === "structure" || + payloadMember.type === "list" + ) { + var parser = new JsonParser(); + resp.data[rules.payload] = parser.parse(body, payloadMember); + } else if ( + payloadMember.type === "binary" || + payloadMember.isStreaming + ) { + resp.data[rules.payload] = body; + } else { + resp.data[rules.payload] = payloadMember.toType(body); + } + } else { + var data = resp.data; + Json.extractData(resp); + resp.data = util.merge(data, resp.data); + } + } + + /** + * @api private + */ + module.exports = { + buildRequest: buildRequest, + extractError: extractError, + extractData: extractData, + }; + + /***/ + }, + + /***/ 3336: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = hasLastPage; + + const deprecate = __webpack_require__(6370); + const getPageLinks = __webpack_require__(4577); + + function hasLastPage(link) { + deprecate( + `octokit.hasLastPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` + ); + return getPageLinks(link).last; + } + + /***/ + }, + + /***/ 3346: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["mq"] = {}; + AWS.MQ = Service.defineService("mq", ["2017-11-27"]); + Object.defineProperty(apiLoader.services["mq"], "2017-11-27", { + get: function get() { + var model = __webpack_require__(4074); + model.paginators = __webpack_require__(7571).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.MQ; + + /***/ + }, + + /***/ 3370: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2013-02-12", - endpointPrefix: "rds", - protocol: "query", - serviceAbbreviation: "Amazon RDS", - serviceFullName: "Amazon Relational Database Service", - serviceId: "RDS", + apiVersion: "2017-11-01", + endpointPrefix: "eks", + jsonVersion: "1.1", + protocol: "rest-json", + serviceAbbreviation: "Amazon EKS", + serviceFullName: "Amazon Elastic Kubernetes Service", + serviceId: "EKS", signatureVersion: "v4", - uid: "rds-2013-02-12", - xmlNamespace: "http://rds.amazonaws.com/doc/2013-02-12/", + signingName: "eks", + uid: "eks-2017-11-01", }, operations: { - AddSourceIdentifierToSubscription: { - input: { - type: "structure", - required: ["SubscriptionName", "SourceIdentifier"], - members: { SubscriptionName: {}, SourceIdentifier: {} }, - }, - output: { - resultWrapper: "AddSourceIdentifierToSubscriptionResult", - type: "structure", - members: { EventSubscription: { shape: "S4" } }, - }, - }, - AddTagsToResource: { + CreateAddon: { + http: { requestUri: "/clusters/{name}/addons" }, input: { type: "structure", - required: ["ResourceName", "Tags"], - members: { ResourceName: {}, Tags: { shape: "S9" } }, + required: ["clusterName", "addonName"], + members: { + clusterName: { location: "uri", locationName: "name" }, + addonName: {}, + addonVersion: {}, + serviceAccountRoleArn: {}, + resolveConflicts: {}, + clientRequestToken: { idempotencyToken: true }, + tags: { shape: "S6" }, + }, }, + output: { type: "structure", members: { addon: { shape: "Sa" } } }, }, - AuthorizeDBSecurityGroupIngress: { + CreateCluster: { + http: { requestUri: "/clusters" }, input: { type: "structure", - required: ["DBSecurityGroupName"], + required: ["name", "roleArn", "resourcesVpcConfig"], members: { - DBSecurityGroupName: {}, - CIDRIP: {}, - EC2SecurityGroupName: {}, - EC2SecurityGroupId: {}, - EC2SecurityGroupOwnerId: {}, + name: {}, + version: {}, + roleArn: {}, + resourcesVpcConfig: { shape: "Sj" }, + kubernetesNetworkConfig: { + type: "structure", + members: { serviceIpv4Cidr: {} }, + }, + logging: { shape: "Sm" }, + clientRequestToken: { idempotencyToken: true }, + tags: { shape: "S6" }, + encryptionConfig: { shape: "Sr" }, }, }, output: { - resultWrapper: "AuthorizeDBSecurityGroupIngressResult", type: "structure", - members: { DBSecurityGroup: { shape: "Sd" } }, + members: { cluster: { shape: "Sv" } }, }, }, - CopyDBSnapshot: { + CreateFargateProfile: { + http: { requestUri: "/clusters/{name}/fargate-profiles" }, input: { type: "structure", required: [ - "SourceDBSnapshotIdentifier", - "TargetDBSnapshotIdentifier", + "fargateProfileName", + "clusterName", + "podExecutionRoleArn", ], members: { - SourceDBSnapshotIdentifier: {}, - TargetDBSnapshotIdentifier: {}, + fargateProfileName: {}, + clusterName: { location: "uri", locationName: "name" }, + podExecutionRoleArn: {}, + subnets: { shape: "Sg" }, + selectors: { shape: "S14" }, + clientRequestToken: { idempotencyToken: true }, + tags: { shape: "S6" }, }, }, output: { - resultWrapper: "CopyDBSnapshotResult", type: "structure", - members: { DBSnapshot: { shape: "Sk" } }, + members: { fargateProfile: { shape: "S18" } }, }, }, - CreateDBInstance: { + CreateNodegroup: { + http: { requestUri: "/clusters/{name}/node-groups" }, input: { type: "structure", - required: [ - "DBInstanceIdentifier", - "AllocatedStorage", - "DBInstanceClass", - "Engine", - "MasterUsername", - "MasterUserPassword", - ], + required: ["clusterName", "nodegroupName", "subnets", "nodeRole"], members: { - DBName: {}, - DBInstanceIdentifier: {}, - AllocatedStorage: { type: "integer" }, - DBInstanceClass: {}, - Engine: {}, - MasterUsername: {}, - MasterUserPassword: {}, - DBSecurityGroups: { shape: "Sp" }, - VpcSecurityGroupIds: { shape: "Sq" }, - AvailabilityZone: {}, - DBSubnetGroupName: {}, - PreferredMaintenanceWindow: {}, - DBParameterGroupName: {}, - BackupRetentionPeriod: { type: "integer" }, - PreferredBackupWindow: {}, - Port: { type: "integer" }, - MultiAZ: { type: "boolean" }, - EngineVersion: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - LicenseModel: {}, - Iops: { type: "integer" }, - OptionGroupName: {}, - CharacterSetName: {}, - PubliclyAccessible: { type: "boolean" }, + clusterName: { location: "uri", locationName: "name" }, + nodegroupName: {}, + scalingConfig: { shape: "S1b" }, + diskSize: { type: "integer" }, + subnets: { shape: "Sg" }, + instanceTypes: { shape: "Sg" }, + amiType: {}, + remoteAccess: { shape: "S1f" }, + nodeRole: {}, + labels: { shape: "S1g" }, + tags: { shape: "S6" }, + clientRequestToken: { idempotencyToken: true }, + launchTemplate: { shape: "S1j" }, + capacityType: {}, + version: {}, + releaseVersion: {}, }, }, output: { - resultWrapper: "CreateDBInstanceResult", type: "structure", - members: { DBInstance: { shape: "St" } }, + members: { nodegroup: { shape: "S1m" } }, }, }, - CreateDBInstanceReadReplica: { + DeleteAddon: { + http: { + method: "DELETE", + requestUri: "/clusters/{name}/addons/{addonName}", + }, input: { type: "structure", - required: ["DBInstanceIdentifier", "SourceDBInstanceIdentifier"], + required: ["clusterName", "addonName"], members: { - DBInstanceIdentifier: {}, - SourceDBInstanceIdentifier: {}, - DBInstanceClass: {}, - AvailabilityZone: {}, - Port: { type: "integer" }, - AutoMinorVersionUpgrade: { type: "boolean" }, - Iops: { type: "integer" }, - OptionGroupName: {}, - PubliclyAccessible: { type: "boolean" }, + clusterName: { location: "uri", locationName: "name" }, + addonName: { location: "uri", locationName: "addonName" }, }, }, + output: { type: "structure", members: { addon: { shape: "Sa" } } }, + }, + DeleteCluster: { + http: { method: "DELETE", requestUri: "/clusters/{name}" }, + input: { + type: "structure", + required: ["name"], + members: { name: { location: "uri", locationName: "name" } }, + }, output: { - resultWrapper: "CreateDBInstanceReadReplicaResult", type: "structure", - members: { DBInstance: { shape: "St" } }, + members: { cluster: { shape: "Sv" } }, }, }, - CreateDBParameterGroup: { + DeleteFargateProfile: { + http: { + method: "DELETE", + requestUri: + "/clusters/{name}/fargate-profiles/{fargateProfileName}", + }, input: { type: "structure", - required: [ - "DBParameterGroupName", - "DBParameterGroupFamily", - "Description", - ], + required: ["clusterName", "fargateProfileName"], members: { - DBParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, + clusterName: { location: "uri", locationName: "name" }, + fargateProfileName: { + location: "uri", + locationName: "fargateProfileName", + }, }, }, output: { - resultWrapper: "CreateDBParameterGroupResult", type: "structure", - members: { DBParameterGroup: { shape: "S1d" } }, + members: { fargateProfile: { shape: "S18" } }, }, }, - CreateDBSecurityGroup: { + DeleteNodegroup: { + http: { + method: "DELETE", + requestUri: "/clusters/{name}/node-groups/{nodegroupName}", + }, input: { type: "structure", - required: ["DBSecurityGroupName", "DBSecurityGroupDescription"], + required: ["clusterName", "nodegroupName"], members: { - DBSecurityGroupName: {}, - DBSecurityGroupDescription: {}, + clusterName: { location: "uri", locationName: "name" }, + nodegroupName: { + location: "uri", + locationName: "nodegroupName", + }, }, }, output: { - resultWrapper: "CreateDBSecurityGroupResult", type: "structure", - members: { DBSecurityGroup: { shape: "Sd" } }, + members: { nodegroup: { shape: "S1m" } }, }, }, - CreateDBSnapshot: { - input: { - type: "structure", - required: ["DBSnapshotIdentifier", "DBInstanceIdentifier"], - members: { DBSnapshotIdentifier: {}, DBInstanceIdentifier: {} }, + DescribeAddon: { + http: { + method: "GET", + requestUri: "/clusters/{name}/addons/{addonName}", }, - output: { - resultWrapper: "CreateDBSnapshotResult", + input: { type: "structure", - members: { DBSnapshot: { shape: "Sk" } }, + required: ["clusterName", "addonName"], + members: { + clusterName: { location: "uri", locationName: "name" }, + addonName: { location: "uri", locationName: "addonName" }, + }, }, + output: { type: "structure", members: { addon: { shape: "Sa" } } }, }, - CreateDBSubnetGroup: { + DescribeAddonVersions: { + http: { method: "GET", requestUri: "/addons/supported-versions" }, input: { type: "structure", - required: [ - "DBSubnetGroupName", - "DBSubnetGroupDescription", - "SubnetIds", - ], members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - SubnetIds: { shape: "S1j" }, + kubernetesVersion: { + location: "querystring", + locationName: "kubernetesVersion", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + addonName: { + location: "querystring", + locationName: "addonName", + }, }, }, output: { - resultWrapper: "CreateDBSubnetGroupResult", type: "structure", - members: { DBSubnetGroup: { shape: "S11" } }, + members: { + addons: { + type: "list", + member: { + type: "structure", + members: { + addonName: {}, + type: {}, + addonVersions: { + type: "list", + member: { + type: "structure", + members: { + addonVersion: {}, + architecture: { shape: "Sg" }, + compatibilities: { + type: "list", + member: { + type: "structure", + members: { + clusterVersion: {}, + platformVersions: { shape: "Sg" }, + defaultVersion: { type: "boolean" }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + nextToken: {}, + }, }, }, - CreateEventSubscription: { + DescribeCluster: { + http: { method: "GET", requestUri: "/clusters/{name}" }, input: { type: "structure", - required: ["SubscriptionName", "SnsTopicArn"], - members: { - SubscriptionName: {}, - SnsTopicArn: {}, - SourceType: {}, - EventCategories: { shape: "S6" }, - SourceIds: { shape: "S5" }, - Enabled: { type: "boolean" }, - }, + required: ["name"], + members: { name: { location: "uri", locationName: "name" } }, }, output: { - resultWrapper: "CreateEventSubscriptionResult", type: "structure", - members: { EventSubscription: { shape: "S4" } }, + members: { cluster: { shape: "Sv" } }, }, }, - CreateOptionGroup: { + DescribeFargateProfile: { + http: { + method: "GET", + requestUri: + "/clusters/{name}/fargate-profiles/{fargateProfileName}", + }, input: { type: "structure", - required: [ - "OptionGroupName", - "EngineName", - "MajorEngineVersion", - "OptionGroupDescription", - ], + required: ["clusterName", "fargateProfileName"], members: { - OptionGroupName: {}, - EngineName: {}, - MajorEngineVersion: {}, - OptionGroupDescription: {}, + clusterName: { location: "uri", locationName: "name" }, + fargateProfileName: { + location: "uri", + locationName: "fargateProfileName", + }, }, }, output: { - resultWrapper: "CreateOptionGroupResult", type: "structure", - members: { OptionGroup: { shape: "S1p" } }, + members: { fargateProfile: { shape: "S18" } }, }, }, - DeleteDBInstance: { + DescribeNodegroup: { + http: { + method: "GET", + requestUri: "/clusters/{name}/node-groups/{nodegroupName}", + }, input: { type: "structure", - required: ["DBInstanceIdentifier"], + required: ["clusterName", "nodegroupName"], members: { - DBInstanceIdentifier: {}, - SkipFinalSnapshot: { type: "boolean" }, - FinalDBSnapshotIdentifier: {}, + clusterName: { location: "uri", locationName: "name" }, + nodegroupName: { + location: "uri", + locationName: "nodegroupName", + }, }, }, output: { - resultWrapper: "DeleteDBInstanceResult", type: "structure", - members: { DBInstance: { shape: "St" } }, + members: { nodegroup: { shape: "S1m" } }, }, }, - DeleteDBParameterGroup: { + DescribeUpdate: { + http: { + method: "GET", + requestUri: "/clusters/{name}/updates/{updateId}", + }, input: { type: "structure", - required: ["DBParameterGroupName"], - members: { DBParameterGroupName: {} }, + required: ["name", "updateId"], + members: { + name: { location: "uri", locationName: "name" }, + updateId: { location: "uri", locationName: "updateId" }, + nodegroupName: { + location: "querystring", + locationName: "nodegroupName", + }, + addonName: { + location: "querystring", + locationName: "addonName", + }, + }, }, - }, - DeleteDBSecurityGroup: { - input: { + output: { type: "structure", - required: ["DBSecurityGroupName"], - members: { DBSecurityGroupName: {} }, + members: { update: { shape: "S2m" } }, }, }, - DeleteDBSnapshot: { + ListAddons: { + http: { method: "GET", requestUri: "/clusters/{name}/addons" }, input: { type: "structure", - required: ["DBSnapshotIdentifier"], - members: { DBSnapshotIdentifier: {} }, + required: ["clusterName"], + members: { + clusterName: { location: "uri", locationName: "name" }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + }, }, output: { - resultWrapper: "DeleteDBSnapshotResult", - type: "structure", - members: { DBSnapshot: { shape: "Sk" } }, - }, - }, - DeleteDBSubnetGroup: { - input: { type: "structure", - required: ["DBSubnetGroupName"], - members: { DBSubnetGroupName: {} }, + members: { addons: { shape: "Sg" }, nextToken: {} }, }, }, - DeleteEventSubscription: { + ListClusters: { + http: { method: "GET", requestUri: "/clusters" }, input: { type: "structure", - required: ["SubscriptionName"], - members: { SubscriptionName: {} }, + members: { + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + }, }, output: { - resultWrapper: "DeleteEventSubscriptionResult", type: "structure", - members: { EventSubscription: { shape: "S4" } }, + members: { clusters: { shape: "Sg" }, nextToken: {} }, }, }, - DeleteOptionGroup: { - input: { - type: "structure", - required: ["OptionGroupName"], - members: { OptionGroupName: {} }, + ListFargateProfiles: { + http: { + method: "GET", + requestUri: "/clusters/{name}/fargate-profiles", }, - }, - DescribeDBEngineVersions: { input: { type: "structure", + required: ["clusterName"], members: { - Engine: {}, - EngineVersion: {}, - DBParameterGroupFamily: {}, - MaxRecords: { type: "integer" }, - Marker: {}, - DefaultOnly: { type: "boolean" }, - ListSupportedCharacterSets: { type: "boolean" }, + clusterName: { location: "uri", locationName: "name" }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, }, }, output: { - resultWrapper: "DescribeDBEngineVersionsResult", type: "structure", - members: { - Marker: {}, - DBEngineVersions: { - type: "list", - member: { - locationName: "DBEngineVersion", - type: "structure", - members: { - Engine: {}, - EngineVersion: {}, - DBParameterGroupFamily: {}, - DBEngineDescription: {}, - DBEngineVersionDescription: {}, - DefaultCharacterSet: { shape: "S28" }, - SupportedCharacterSets: { - type: "list", - member: { shape: "S28", locationName: "CharacterSet" }, - }, - }, - }, - }, - }, + members: { fargateProfileNames: { shape: "Sg" }, nextToken: {} }, }, }, - DescribeDBInstances: { + ListNodegroups: { + http: { method: "GET", requestUri: "/clusters/{name}/node-groups" }, input: { type: "structure", + required: ["clusterName"], members: { - DBInstanceIdentifier: {}, - MaxRecords: { type: "integer" }, - Marker: {}, + clusterName: { location: "uri", locationName: "name" }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, }, }, output: { - resultWrapper: "DescribeDBInstancesResult", type: "structure", - members: { - Marker: {}, - DBInstances: { - type: "list", - member: { shape: "St", locationName: "DBInstance" }, - }, - }, + members: { nodegroups: { shape: "Sg" }, nextToken: {} }, }, }, - DescribeDBLogFiles: { + ListTagsForResource: { + http: { method: "GET", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", - required: ["DBInstanceIdentifier"], + required: ["resourceArn"], members: { - DBInstanceIdentifier: {}, - FilenameContains: {}, - FileLastWritten: { type: "long" }, - FileSize: { type: "long" }, - MaxRecords: { type: "integer" }, - Marker: {}, + resourceArn: { location: "uri", locationName: "resourceArn" }, }, }, - output: { - resultWrapper: "DescribeDBLogFilesResult", + output: { type: "structure", members: { tags: { shape: "S6" } } }, + }, + ListUpdates: { + http: { method: "GET", requestUri: "/clusters/{name}/updates" }, + input: { type: "structure", + required: ["name"], members: { - DescribeDBLogFiles: { - type: "list", - member: { - locationName: "DescribeDBLogFilesDetails", - type: "structure", - members: { - LogFileName: {}, - LastWritten: { type: "long" }, - Size: { type: "long" }, - }, - }, + name: { location: "uri", locationName: "name" }, + nodegroupName: { + location: "querystring", + locationName: "nodegroupName", + }, + addonName: { + location: "querystring", + locationName: "addonName", + }, + nextToken: { + location: "querystring", + locationName: "nextToken", + }, + maxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", }, - Marker: {}, }, }, + output: { + type: "structure", + members: { updateIds: { shape: "Sg" }, nextToken: {} }, + }, }, - DescribeDBParameterGroups: { + TagResource: { + http: { requestUri: "/tags/{resourceArn}" }, input: { type: "structure", + required: ["resourceArn", "tags"], members: { - DBParameterGroupName: {}, - MaxRecords: { type: "integer" }, - Marker: {}, + resourceArn: { location: "uri", locationName: "resourceArn" }, + tags: { shape: "S6" }, }, }, - output: { - resultWrapper: "DescribeDBParameterGroupsResult", + output: { type: "structure", members: {} }, + }, + UntagResource: { + http: { method: "DELETE", requestUri: "/tags/{resourceArn}" }, + input: { type: "structure", + required: ["resourceArn", "tagKeys"], members: { - Marker: {}, - DBParameterGroups: { + resourceArn: { location: "uri", locationName: "resourceArn" }, + tagKeys: { + location: "querystring", + locationName: "tagKeys", type: "list", - member: { shape: "S1d", locationName: "DBParameterGroup" }, + member: {}, }, }, }, + output: { type: "structure", members: {} }, }, - DescribeDBParameters: { + UpdateAddon: { + http: { requestUri: "/clusters/{name}/addons/{addonName}/update" }, input: { type: "structure", - required: ["DBParameterGroupName"], + required: ["clusterName", "addonName"], members: { - DBParameterGroupName: {}, - Source: {}, - MaxRecords: { type: "integer" }, - Marker: {}, + clusterName: { location: "uri", locationName: "name" }, + addonName: { location: "uri", locationName: "addonName" }, + addonVersion: {}, + serviceAccountRoleArn: {}, + resolveConflicts: {}, + clientRequestToken: { idempotencyToken: true }, }, }, output: { - resultWrapper: "DescribeDBParametersResult", type: "structure", - members: { Parameters: { shape: "S2n" }, Marker: {} }, + members: { update: { shape: "S2m" } }, }, }, - DescribeDBSecurityGroups: { + UpdateClusterConfig: { + http: { requestUri: "/clusters/{name}/update-config" }, input: { type: "structure", + required: ["name"], members: { - DBSecurityGroupName: {}, - MaxRecords: { type: "integer" }, - Marker: {}, + name: { location: "uri", locationName: "name" }, + resourcesVpcConfig: { shape: "Sj" }, + logging: { shape: "Sm" }, + clientRequestToken: { idempotencyToken: true }, }, }, output: { - resultWrapper: "DescribeDBSecurityGroupsResult", type: "structure", - members: { - Marker: {}, - DBSecurityGroups: { - type: "list", - member: { shape: "Sd", locationName: "DBSecurityGroup" }, - }, - }, + members: { update: { shape: "S2m" } }, }, }, - DescribeDBSnapshots: { + UpdateClusterVersion: { + http: { requestUri: "/clusters/{name}/updates" }, input: { type: "structure", + required: ["name", "version"], members: { - DBInstanceIdentifier: {}, - DBSnapshotIdentifier: {}, - SnapshotType: {}, - MaxRecords: { type: "integer" }, - Marker: {}, + name: { location: "uri", locationName: "name" }, + version: {}, + clientRequestToken: { idempotencyToken: true }, }, }, output: { - resultWrapper: "DescribeDBSnapshotsResult", type: "structure", - members: { - Marker: {}, - DBSnapshots: { - type: "list", - member: { shape: "Sk", locationName: "DBSnapshot" }, - }, - }, + members: { update: { shape: "S2m" } }, }, }, - DescribeDBSubnetGroups: { + UpdateNodegroupConfig: { + http: { + requestUri: + "/clusters/{name}/node-groups/{nodegroupName}/update-config", + }, input: { type: "structure", + required: ["clusterName", "nodegroupName"], members: { - DBSubnetGroupName: {}, - MaxRecords: { type: "integer" }, - Marker: {}, + clusterName: { location: "uri", locationName: "name" }, + nodegroupName: { + location: "uri", + locationName: "nodegroupName", + }, + labels: { + type: "structure", + members: { + addOrUpdateLabels: { shape: "S1g" }, + removeLabels: { type: "list", member: {} }, + }, + }, + scalingConfig: { shape: "S1b" }, + clientRequestToken: { idempotencyToken: true }, }, }, output: { - resultWrapper: "DescribeDBSubnetGroupsResult", type: "structure", - members: { - Marker: {}, - DBSubnetGroups: { - type: "list", - member: { shape: "S11", locationName: "DBSubnetGroup" }, - }, - }, + members: { update: { shape: "S2m" } }, }, }, - DescribeEngineDefaultParameters: { + UpdateNodegroupVersion: { + http: { + requestUri: + "/clusters/{name}/node-groups/{nodegroupName}/update-version", + }, input: { type: "structure", - required: ["DBParameterGroupFamily"], + required: ["clusterName", "nodegroupName"], members: { - DBParameterGroupFamily: {}, - MaxRecords: { type: "integer" }, - Marker: {}, + clusterName: { location: "uri", locationName: "name" }, + nodegroupName: { + location: "uri", + locationName: "nodegroupName", + }, + version: {}, + releaseVersion: {}, + launchTemplate: { shape: "S1j" }, + force: { type: "boolean" }, + clientRequestToken: { idempotencyToken: true }, }, }, output: { - resultWrapper: "DescribeEngineDefaultParametersResult", type: "structure", - members: { - EngineDefaults: { - type: "structure", - members: { - DBParameterGroupFamily: {}, - Marker: {}, - Parameters: { shape: "S2n" }, + members: { update: { shape: "S2m" } }, + }, + }, + }, + shapes: { + S6: { type: "map", key: {}, value: {} }, + Sa: { + type: "structure", + members: { + addonName: {}, + clusterName: {}, + status: {}, + addonVersion: {}, + health: { + type: "structure", + members: { + issues: { + type: "list", + member: { + type: "structure", + members: { + code: {}, + message: {}, + resourceIds: { shape: "Sg" }, + }, + }, }, - wrapper: true, }, }, + addonArn: {}, + createdAt: { type: "timestamp" }, + modifiedAt: { type: "timestamp" }, + serviceAccountRoleArn: {}, + tags: { shape: "S6" }, }, }, - DescribeEventCategories: { - input: { type: "structure", members: { SourceType: {} } }, - output: { - resultWrapper: "DescribeEventCategoriesResult", - type: "structure", - members: { - EventCategoriesMapList: { - type: "list", - member: { - locationName: "EventCategoriesMap", - type: "structure", - members: { - SourceType: {}, - EventCategories: { shape: "S6" }, - }, - wrapper: true, + Sg: { type: "list", member: {} }, + Sj: { + type: "structure", + members: { + subnetIds: { shape: "Sg" }, + securityGroupIds: { shape: "Sg" }, + endpointPublicAccess: { type: "boolean" }, + endpointPrivateAccess: { type: "boolean" }, + publicAccessCidrs: { shape: "Sg" }, + }, + }, + Sm: { + type: "structure", + members: { + clusterLogging: { + type: "list", + member: { + type: "structure", + members: { + types: { type: "list", member: {} }, + enabled: { type: "boolean" }, }, }, }, }, }, - DescribeEventSubscriptions: { - input: { + Sr: { + type: "list", + member: { type: "structure", members: { - SubscriptionName: {}, - MaxRecords: { type: "integer" }, - Marker: {}, + resources: { shape: "Sg" }, + provider: { type: "structure", members: { keyArn: {} } }, }, }, - output: { - resultWrapper: "DescribeEventSubscriptionsResult", - type: "structure", - members: { - Marker: {}, - EventSubscriptionsList: { - type: "list", - member: { shape: "S4", locationName: "EventSubscription" }, + }, + Sv: { + type: "structure", + members: { + name: {}, + arn: {}, + createdAt: { type: "timestamp" }, + version: {}, + endpoint: {}, + roleArn: {}, + resourcesVpcConfig: { + type: "structure", + members: { + subnetIds: { shape: "Sg" }, + securityGroupIds: { shape: "Sg" }, + clusterSecurityGroupId: {}, + vpcId: {}, + endpointPublicAccess: { type: "boolean" }, + endpointPrivateAccess: { type: "boolean" }, + publicAccessCidrs: { shape: "Sg" }, }, }, + kubernetesNetworkConfig: { + type: "structure", + members: { serviceIpv4Cidr: {} }, + }, + logging: { shape: "Sm" }, + identity: { + type: "structure", + members: { + oidc: { type: "structure", members: { issuer: {} } }, + }, + }, + status: {}, + certificateAuthority: { + type: "structure", + members: { data: {} }, + }, + clientRequestToken: {}, + platformVersion: {}, + tags: { shape: "S6" }, + encryptionConfig: { shape: "Sr" }, }, }, - DescribeEvents: { - input: { + S14: { + type: "list", + member: { type: "structure", members: { - SourceIdentifier: {}, - SourceType: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, - Duration: { type: "integer" }, - EventCategories: { shape: "S6" }, - MaxRecords: { type: "integer" }, - Marker: {}, + namespace: {}, + labels: { type: "map", key: {}, value: {} }, }, }, - output: { - resultWrapper: "DescribeEventsResult", - type: "structure", - members: { - Marker: {}, - Events: { - type: "list", - member: { - locationName: "Event", - type: "structure", - members: { - SourceIdentifier: {}, - SourceType: {}, - Message: {}, - EventCategories: { shape: "S6" }, - Date: { type: "timestamp" }, + }, + S18: { + type: "structure", + members: { + fargateProfileName: {}, + fargateProfileArn: {}, + clusterName: {}, + createdAt: { type: "timestamp" }, + podExecutionRoleArn: {}, + subnets: { shape: "Sg" }, + selectors: { shape: "S14" }, + status: {}, + tags: { shape: "S6" }, + }, + }, + S1b: { + type: "structure", + members: { + minSize: { type: "integer" }, + maxSize: { type: "integer" }, + desiredSize: { type: "integer" }, + }, + }, + S1f: { + type: "structure", + members: { ec2SshKey: {}, sourceSecurityGroups: { shape: "Sg" } }, + }, + S1g: { type: "map", key: {}, value: {} }, + S1j: { + type: "structure", + members: { name: {}, version: {}, id: {} }, + }, + S1m: { + type: "structure", + members: { + nodegroupName: {}, + nodegroupArn: {}, + clusterName: {}, + version: {}, + releaseVersion: {}, + createdAt: { type: "timestamp" }, + modifiedAt: { type: "timestamp" }, + status: {}, + capacityType: {}, + scalingConfig: { shape: "S1b" }, + instanceTypes: { shape: "Sg" }, + subnets: { shape: "Sg" }, + remoteAccess: { shape: "S1f" }, + amiType: {}, + nodeRole: {}, + labels: { shape: "S1g" }, + resources: { + type: "structure", + members: { + autoScalingGroups: { + type: "list", + member: { type: "structure", members: { name: {} } }, + }, + remoteAccessSecurityGroup: {}, + }, + }, + diskSize: { type: "integer" }, + health: { + type: "structure", + members: { + issues: { + type: "list", + member: { + type: "structure", + members: { + code: {}, + message: {}, + resourceIds: { shape: "Sg" }, + }, }, }, }, }, + launchTemplate: { shape: "S1j" }, + tags: { shape: "S6" }, }, }, - DescribeOptionGroupOptions: { - input: { - type: "structure", - required: ["EngineName"], - members: { - EngineName: {}, - MajorEngineVersion: {}, - MaxRecords: { type: "integer" }, - Marker: {}, + S2m: { + type: "structure", + members: { + id: {}, + status: {}, + type: {}, + params: { + type: "list", + member: { type: "structure", members: { type: {}, value: {} } }, }, - }, - output: { - resultWrapper: "DescribeOptionGroupOptionsResult", - type: "structure", - members: { - OptionGroupOptions: { - type: "list", - member: { - locationName: "OptionGroupOption", - type: "structure", - members: { - Name: {}, - Description: {}, - EngineName: {}, - MajorEngineVersion: {}, - MinimumRequiredMinorEngineVersion: {}, - PortRequired: { type: "boolean" }, - DefaultPort: { type: "integer" }, - OptionsDependedOn: { - type: "list", - member: { locationName: "OptionName" }, - }, - Persistent: { type: "boolean" }, - OptionGroupOptionSettings: { - type: "list", - member: { - locationName: "OptionGroupOptionSetting", - type: "structure", - members: { - SettingName: {}, - SettingDescription: {}, - DefaultValue: {}, - ApplyType: {}, - AllowedValues: {}, - IsModifiable: { type: "boolean" }, - }, - }, - }, - }, + createdAt: { type: "timestamp" }, + errors: { + type: "list", + member: { + type: "structure", + members: { + errorCode: {}, + errorMessage: {}, + resourceIds: { shape: "Sg" }, }, }, - Marker: {}, }, }, }, - DescribeOptionGroups: { + }, + }; + + /***/ + }, + + /***/ 3387: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2017-05-13", + endpointPrefix: "runtime.sagemaker", + jsonVersion: "1.1", + protocol: "rest-json", + serviceFullName: "Amazon SageMaker Runtime", + serviceId: "SageMaker Runtime", + signatureVersion: "v4", + signingName: "sagemaker", + uid: "runtime.sagemaker-2017-05-13", + }, + operations: { + InvokeEndpoint: { + http: { requestUri: "/endpoints/{EndpointName}/invocations" }, input: { type: "structure", + required: ["EndpointName", "Body"], members: { - OptionGroupName: {}, - Marker: {}, - MaxRecords: { type: "integer" }, - EngineName: {}, - MajorEngineVersion: {}, + EndpointName: { location: "uri", locationName: "EndpointName" }, + Body: { shape: "S3" }, + ContentType: { + location: "header", + locationName: "Content-Type", + }, + Accept: { location: "header", locationName: "Accept" }, + CustomAttributes: { + shape: "S5", + location: "header", + locationName: "X-Amzn-SageMaker-Custom-Attributes", + }, + TargetModel: { + location: "header", + locationName: "X-Amzn-SageMaker-Target-Model", + }, + TargetVariant: { + location: "header", + locationName: "X-Amzn-SageMaker-Target-Variant", + }, + InferenceId: { + location: "header", + locationName: "X-Amzn-SageMaker-Inference-Id", + }, }, + payload: "Body", }, output: { - resultWrapper: "DescribeOptionGroupsResult", type: "structure", + required: ["Body"], members: { - OptionGroupsList: { - type: "list", - member: { shape: "S1p", locationName: "OptionGroup" }, + Body: { shape: "S3" }, + ContentType: { + location: "header", + locationName: "Content-Type", + }, + InvokedProductionVariant: { + location: "header", + locationName: "x-Amzn-Invoked-Production-Variant", + }, + CustomAttributes: { + shape: "S5", + location: "header", + locationName: "X-Amzn-SageMaker-Custom-Attributes", }, - Marker: {}, }, + payload: "Body", }, }, - DescribeOrderableDBInstanceOptions: { + }, + shapes: { + S3: { type: "blob", sensitive: true }, + S5: { type: "string", sensitive: true }, + }, + }; + + /***/ + }, + + /***/ 3393: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2013-01-01", + endpointPrefix: "cloudsearch", + protocol: "query", + serviceFullName: "Amazon CloudSearch", + serviceId: "CloudSearch", + signatureVersion: "v4", + uid: "cloudsearch-2013-01-01", + xmlNamespace: "http://cloudsearch.amazonaws.com/doc/2013-01-01/", + }, + operations: { + BuildSuggesters: { input: { type: "structure", - required: ["Engine"], - members: { - Engine: {}, - EngineVersion: {}, - DBInstanceClass: {}, - LicenseModel: {}, - Vpc: { type: "boolean" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, + required: ["DomainName"], + members: { DomainName: {} }, }, output: { - resultWrapper: "DescribeOrderableDBInstanceOptionsResult", + resultWrapper: "BuildSuggestersResult", type: "structure", - members: { - OrderableDBInstanceOptions: { - type: "list", - member: { - locationName: "OrderableDBInstanceOption", - type: "structure", - members: { - Engine: {}, - EngineVersion: {}, - DBInstanceClass: {}, - LicenseModel: {}, - AvailabilityZones: { - type: "list", - member: { - shape: "S14", - locationName: "AvailabilityZone", - }, - }, - MultiAZCapable: { type: "boolean" }, - ReadReplicaCapable: { type: "boolean" }, - Vpc: { type: "boolean" }, - }, - wrapper: true, - }, - }, - Marker: {}, - }, + members: { FieldNames: { shape: "S4" } }, }, }, - DescribeReservedDBInstances: { + CreateDomain: { input: { type: "structure", - members: { - ReservedDBInstanceId: {}, - ReservedDBInstancesOfferingId: {}, - DBInstanceClass: {}, - Duration: {}, - ProductDescription: {}, - OfferingType: {}, - MultiAZ: { type: "boolean" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, + required: ["DomainName"], + members: { DomainName: {} }, }, output: { - resultWrapper: "DescribeReservedDBInstancesResult", + resultWrapper: "CreateDomainResult", type: "structure", - members: { - Marker: {}, - ReservedDBInstances: { - type: "list", - member: { shape: "S3w", locationName: "ReservedDBInstance" }, - }, - }, + members: { DomainStatus: { shape: "S8" } }, }, }, - DescribeReservedDBInstancesOfferings: { + DefineAnalysisScheme: { input: { type: "structure", - members: { - ReservedDBInstancesOfferingId: {}, - DBInstanceClass: {}, - Duration: {}, - ProductDescription: {}, - OfferingType: {}, - MultiAZ: { type: "boolean" }, - MaxRecords: { type: "integer" }, - Marker: {}, - }, + required: ["DomainName", "AnalysisScheme"], + members: { DomainName: {}, AnalysisScheme: { shape: "Sl" } }, }, output: { - resultWrapper: "DescribeReservedDBInstancesOfferingsResult", + resultWrapper: "DefineAnalysisSchemeResult", type: "structure", - members: { - Marker: {}, - ReservedDBInstancesOfferings: { - type: "list", - member: { - locationName: "ReservedDBInstancesOffering", - type: "structure", - members: { - ReservedDBInstancesOfferingId: {}, - DBInstanceClass: {}, - Duration: { type: "integer" }, - FixedPrice: { type: "double" }, - UsagePrice: { type: "double" }, - CurrencyCode: {}, - ProductDescription: {}, - OfferingType: {}, - MultiAZ: { type: "boolean" }, - RecurringCharges: { shape: "S3y" }, - }, - wrapper: true, - }, - }, - }, + required: ["AnalysisScheme"], + members: { AnalysisScheme: { shape: "Ss" } }, }, }, - DownloadDBLogFilePortion: { + DefineExpression: { input: { type: "structure", - required: ["DBInstanceIdentifier", "LogFileName"], - members: { - DBInstanceIdentifier: {}, - LogFileName: {}, - Marker: {}, - NumberOfLines: { type: "integer" }, - }, + required: ["DomainName", "Expression"], + members: { DomainName: {}, Expression: { shape: "Sy" } }, }, output: { - resultWrapper: "DownloadDBLogFilePortionResult", + resultWrapper: "DefineExpressionResult", type: "structure", - members: { - LogFileData: {}, - Marker: {}, - AdditionalDataPending: { type: "boolean" }, - }, + required: ["Expression"], + members: { Expression: { shape: "S11" } }, }, }, - ListTagsForResource: { + DefineIndexField: { input: { type: "structure", - required: ["ResourceName"], - members: { ResourceName: {} }, + required: ["DomainName", "IndexField"], + members: { DomainName: {}, IndexField: { shape: "S13" } }, }, output: { - resultWrapper: "ListTagsForResourceResult", + resultWrapper: "DefineIndexFieldResult", type: "structure", - members: { TagList: { shape: "S9" } }, + required: ["IndexField"], + members: { IndexField: { shape: "S1n" } }, }, }, - ModifyDBInstance: { + DefineSuggester: { input: { type: "structure", - required: ["DBInstanceIdentifier"], - members: { - DBInstanceIdentifier: {}, - AllocatedStorage: { type: "integer" }, - DBInstanceClass: {}, - DBSecurityGroups: { shape: "Sp" }, - VpcSecurityGroupIds: { shape: "Sq" }, - ApplyImmediately: { type: "boolean" }, - MasterUserPassword: {}, - DBParameterGroupName: {}, - BackupRetentionPeriod: { type: "integer" }, - PreferredBackupWindow: {}, - PreferredMaintenanceWindow: {}, - MultiAZ: { type: "boolean" }, - EngineVersion: {}, - AllowMajorVersionUpgrade: { type: "boolean" }, - AutoMinorVersionUpgrade: { type: "boolean" }, - Iops: { type: "integer" }, - OptionGroupName: {}, - NewDBInstanceIdentifier: {}, - }, + required: ["DomainName", "Suggester"], + members: { DomainName: {}, Suggester: { shape: "S1p" } }, }, output: { - resultWrapper: "ModifyDBInstanceResult", + resultWrapper: "DefineSuggesterResult", type: "structure", - members: { DBInstance: { shape: "St" } }, + required: ["Suggester"], + members: { Suggester: { shape: "S1t" } }, }, }, - ModifyDBParameterGroup: { + DeleteAnalysisScheme: { input: { type: "structure", - required: ["DBParameterGroupName", "Parameters"], - members: { - DBParameterGroupName: {}, - Parameters: { shape: "S2n" }, - }, + required: ["DomainName", "AnalysisSchemeName"], + members: { DomainName: {}, AnalysisSchemeName: {} }, }, output: { - shape: "S4b", - resultWrapper: "ModifyDBParameterGroupResult", + resultWrapper: "DeleteAnalysisSchemeResult", + type: "structure", + required: ["AnalysisScheme"], + members: { AnalysisScheme: { shape: "Ss" } }, }, }, - ModifyDBSubnetGroup: { + DeleteDomain: { input: { type: "structure", - required: ["DBSubnetGroupName", "SubnetIds"], - members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - SubnetIds: { shape: "S1j" }, - }, + required: ["DomainName"], + members: { DomainName: {} }, }, output: { - resultWrapper: "ModifyDBSubnetGroupResult", + resultWrapper: "DeleteDomainResult", type: "structure", - members: { DBSubnetGroup: { shape: "S11" } }, + members: { DomainStatus: { shape: "S8" } }, }, }, - ModifyEventSubscription: { + DeleteExpression: { input: { type: "structure", - required: ["SubscriptionName"], - members: { - SubscriptionName: {}, - SnsTopicArn: {}, - SourceType: {}, - EventCategories: { shape: "S6" }, - Enabled: { type: "boolean" }, - }, + required: ["DomainName", "ExpressionName"], + members: { DomainName: {}, ExpressionName: {} }, }, output: { - resultWrapper: "ModifyEventSubscriptionResult", + resultWrapper: "DeleteExpressionResult", type: "structure", - members: { EventSubscription: { shape: "S4" } }, + required: ["Expression"], + members: { Expression: { shape: "S11" } }, }, }, - ModifyOptionGroup: { + DeleteIndexField: { input: { type: "structure", - required: ["OptionGroupName"], - members: { - OptionGroupName: {}, - OptionsToInclude: { - type: "list", - member: { - locationName: "OptionConfiguration", - type: "structure", - required: ["OptionName"], - members: { - OptionName: {}, - Port: { type: "integer" }, - DBSecurityGroupMemberships: { shape: "Sp" }, - VpcSecurityGroupMemberships: { shape: "Sq" }, - OptionSettings: { - type: "list", - member: { shape: "S1t", locationName: "OptionSetting" }, - }, - }, - }, - }, - OptionsToRemove: { type: "list", member: {} }, - ApplyImmediately: { type: "boolean" }, - }, + required: ["DomainName", "IndexFieldName"], + members: { DomainName: {}, IndexFieldName: {} }, }, output: { - resultWrapper: "ModifyOptionGroupResult", + resultWrapper: "DeleteIndexFieldResult", type: "structure", - members: { OptionGroup: { shape: "S1p" } }, + required: ["IndexField"], + members: { IndexField: { shape: "S1n" } }, }, }, - PromoteReadReplica: { + DeleteSuggester: { input: { type: "structure", - required: ["DBInstanceIdentifier"], - members: { - DBInstanceIdentifier: {}, - BackupRetentionPeriod: { type: "integer" }, - PreferredBackupWindow: {}, - }, + required: ["DomainName", "SuggesterName"], + members: { DomainName: {}, SuggesterName: {} }, }, output: { - resultWrapper: "PromoteReadReplicaResult", + resultWrapper: "DeleteSuggesterResult", type: "structure", - members: { DBInstance: { shape: "St" } }, + required: ["Suggester"], + members: { Suggester: { shape: "S1t" } }, }, }, - PurchaseReservedDBInstancesOffering: { + DescribeAnalysisSchemes: { input: { type: "structure", - required: ["ReservedDBInstancesOfferingId"], + required: ["DomainName"], members: { - ReservedDBInstancesOfferingId: {}, - ReservedDBInstanceId: {}, - DBInstanceCount: { type: "integer" }, + DomainName: {}, + AnalysisSchemeNames: { shape: "S25" }, + Deployed: { type: "boolean" }, }, }, output: { - resultWrapper: "PurchaseReservedDBInstancesOfferingResult", + resultWrapper: "DescribeAnalysisSchemesResult", type: "structure", - members: { ReservedDBInstance: { shape: "S3w" } }, + required: ["AnalysisSchemes"], + members: { + AnalysisSchemes: { type: "list", member: { shape: "Ss" } }, + }, }, }, - RebootDBInstance: { + DescribeAvailabilityOptions: { input: { type: "structure", - required: ["DBInstanceIdentifier"], - members: { - DBInstanceIdentifier: {}, - ForceFailover: { type: "boolean" }, - }, + required: ["DomainName"], + members: { DomainName: {}, Deployed: { type: "boolean" } }, }, output: { - resultWrapper: "RebootDBInstanceResult", + resultWrapper: "DescribeAvailabilityOptionsResult", type: "structure", - members: { DBInstance: { shape: "St" } }, + members: { AvailabilityOptions: { shape: "S2a" } }, }, }, - RemoveSourceIdentifierFromSubscription: { + DescribeDomainEndpointOptions: { input: { type: "structure", - required: ["SubscriptionName", "SourceIdentifier"], - members: { SubscriptionName: {}, SourceIdentifier: {} }, + required: ["DomainName"], + members: { DomainName: {}, Deployed: { type: "boolean" } }, }, output: { - resultWrapper: "RemoveSourceIdentifierFromSubscriptionResult", + resultWrapper: "DescribeDomainEndpointOptionsResult", type: "structure", - members: { EventSubscription: { shape: "S4" } }, + members: { DomainEndpointOptions: { shape: "S2e" } }, }, }, - RemoveTagsFromResource: { + DescribeDomains: { input: { type: "structure", - required: ["ResourceName", "TagKeys"], + members: { DomainNames: { type: "list", member: {} } }, + }, + output: { + resultWrapper: "DescribeDomainsResult", + type: "structure", + required: ["DomainStatusList"], members: { - ResourceName: {}, - TagKeys: { type: "list", member: {} }, + DomainStatusList: { type: "list", member: { shape: "S8" } }, }, }, }, - ResetDBParameterGroup: { + DescribeExpressions: { input: { type: "structure", - required: ["DBParameterGroupName"], + required: ["DomainName"], members: { - DBParameterGroupName: {}, - ResetAllParameters: { type: "boolean" }, - Parameters: { shape: "S2n" }, + DomainName: {}, + ExpressionNames: { shape: "S25" }, + Deployed: { type: "boolean" }, }, }, output: { - shape: "S4b", - resultWrapper: "ResetDBParameterGroupResult", + resultWrapper: "DescribeExpressionsResult", + type: "structure", + required: ["Expressions"], + members: { + Expressions: { type: "list", member: { shape: "S11" } }, + }, }, }, - RestoreDBInstanceFromDBSnapshot: { + DescribeIndexFields: { input: { type: "structure", - required: ["DBInstanceIdentifier", "DBSnapshotIdentifier"], + required: ["DomainName"], members: { - DBInstanceIdentifier: {}, - DBSnapshotIdentifier: {}, - DBInstanceClass: {}, - Port: { type: "integer" }, - AvailabilityZone: {}, - DBSubnetGroupName: {}, - MultiAZ: { type: "boolean" }, - PubliclyAccessible: { type: "boolean" }, - AutoMinorVersionUpgrade: { type: "boolean" }, - LicenseModel: {}, - DBName: {}, - Engine: {}, - Iops: { type: "integer" }, - OptionGroupName: {}, + DomainName: {}, + FieldNames: { type: "list", member: {} }, + Deployed: { type: "boolean" }, }, }, output: { - resultWrapper: "RestoreDBInstanceFromDBSnapshotResult", + resultWrapper: "DescribeIndexFieldsResult", type: "structure", - members: { DBInstance: { shape: "St" } }, + required: ["IndexFields"], + members: { + IndexFields: { type: "list", member: { shape: "S1n" } }, + }, }, }, - RestoreDBInstanceToPointInTime: { + DescribeScalingParameters: { input: { type: "structure", - required: [ - "SourceDBInstanceIdentifier", - "TargetDBInstanceIdentifier", - ], + required: ["DomainName"], + members: { DomainName: {} }, + }, + output: { + resultWrapper: "DescribeScalingParametersResult", + type: "structure", + required: ["ScalingParameters"], + members: { ScalingParameters: { shape: "S2u" } }, + }, + }, + DescribeServiceAccessPolicies: { + input: { + type: "structure", + required: ["DomainName"], + members: { DomainName: {}, Deployed: { type: "boolean" } }, + }, + output: { + resultWrapper: "DescribeServiceAccessPoliciesResult", + type: "structure", + required: ["AccessPolicies"], + members: { AccessPolicies: { shape: "S2z" } }, + }, + }, + DescribeSuggesters: { + input: { + type: "structure", + required: ["DomainName"], members: { - SourceDBInstanceIdentifier: {}, - TargetDBInstanceIdentifier: {}, - RestoreTime: { type: "timestamp" }, - UseLatestRestorableTime: { type: "boolean" }, - DBInstanceClass: {}, - Port: { type: "integer" }, - AvailabilityZone: {}, - DBSubnetGroupName: {}, - MultiAZ: { type: "boolean" }, - PubliclyAccessible: { type: "boolean" }, - AutoMinorVersionUpgrade: { type: "boolean" }, - LicenseModel: {}, - DBName: {}, - Engine: {}, - Iops: { type: "integer" }, - OptionGroupName: {}, + DomainName: {}, + SuggesterNames: { shape: "S25" }, + Deployed: { type: "boolean" }, }, }, output: { - resultWrapper: "RestoreDBInstanceToPointInTimeResult", + resultWrapper: "DescribeSuggestersResult", type: "structure", - members: { DBInstance: { shape: "St" } }, + required: ["Suggesters"], + members: { + Suggesters: { type: "list", member: { shape: "S1t" } }, + }, }, }, - RevokeDBSecurityGroupIngress: { + IndexDocuments: { input: { type: "structure", - required: ["DBSecurityGroupName"], + required: ["DomainName"], + members: { DomainName: {} }, + }, + output: { + resultWrapper: "IndexDocumentsResult", + type: "structure", + members: { FieldNames: { shape: "S4" } }, + }, + }, + ListDomainNames: { + output: { + resultWrapper: "ListDomainNamesResult", + type: "structure", + members: { DomainNames: { type: "map", key: {}, value: {} } }, + }, + }, + UpdateAvailabilityOptions: { + input: { + type: "structure", + required: ["DomainName", "MultiAZ"], + members: { DomainName: {}, MultiAZ: { type: "boolean" } }, + }, + output: { + resultWrapper: "UpdateAvailabilityOptionsResult", + type: "structure", + members: { AvailabilityOptions: { shape: "S2a" } }, + }, + }, + UpdateDomainEndpointOptions: { + input: { + type: "structure", + required: ["DomainName", "DomainEndpointOptions"], members: { - DBSecurityGroupName: {}, - CIDRIP: {}, - EC2SecurityGroupName: {}, - EC2SecurityGroupId: {}, - EC2SecurityGroupOwnerId: {}, + DomainName: {}, + DomainEndpointOptions: { shape: "S2f" }, }, }, output: { - resultWrapper: "RevokeDBSecurityGroupIngressResult", + resultWrapper: "UpdateDomainEndpointOptionsResult", type: "structure", - members: { DBSecurityGroup: { shape: "Sd" } }, + members: { DomainEndpointOptions: { shape: "S2e" } }, }, }, - }, - shapes: { - S4: { - type: "structure", - members: { - CustomerAwsId: {}, - CustSubscriptionId: {}, - SnsTopicArn: {}, - Status: {}, - SubscriptionCreationTime: {}, - SourceType: {}, - SourceIdsList: { shape: "S5" }, - EventCategoriesList: { shape: "S6" }, - Enabled: { type: "boolean" }, + UpdateScalingParameters: { + input: { + type: "structure", + required: ["DomainName", "ScalingParameters"], + members: { DomainName: {}, ScalingParameters: { shape: "S2v" } }, + }, + output: { + resultWrapper: "UpdateScalingParametersResult", + type: "structure", + required: ["ScalingParameters"], + members: { ScalingParameters: { shape: "S2u" } }, }, - wrapper: true, }, - S5: { type: "list", member: { locationName: "SourceId" } }, - S6: { type: "list", member: { locationName: "EventCategory" } }, - S9: { - type: "list", - member: { - locationName: "Tag", + UpdateServiceAccessPolicies: { + input: { type: "structure", - members: { Key: {}, Value: {} }, + required: ["DomainName", "AccessPolicies"], + members: { DomainName: {}, AccessPolicies: {} }, + }, + output: { + resultWrapper: "UpdateServiceAccessPoliciesResult", + type: "structure", + required: ["AccessPolicies"], + members: { AccessPolicies: { shape: "S2z" } }, }, }, - Sd: { + }, + shapes: { + S4: { type: "list", member: {} }, + S8: { type: "structure", + required: ["DomainId", "DomainName", "RequiresIndexDocuments"], members: { - OwnerId: {}, - DBSecurityGroupName: {}, - DBSecurityGroupDescription: {}, - VpcId: {}, - EC2SecurityGroups: { - type: "list", - member: { - locationName: "EC2SecurityGroup", - type: "structure", - members: { - Status: {}, - EC2SecurityGroupName: {}, - EC2SecurityGroupId: {}, - EC2SecurityGroupOwnerId: {}, - }, + DomainId: {}, + DomainName: {}, + ARN: {}, + Created: { type: "boolean" }, + Deleted: { type: "boolean" }, + DocService: { shape: "Sc" }, + SearchService: { shape: "Sc" }, + RequiresIndexDocuments: { type: "boolean" }, + Processing: { type: "boolean" }, + SearchInstanceType: {}, + SearchPartitionCount: { type: "integer" }, + SearchInstanceCount: { type: "integer" }, + Limits: { + type: "structure", + required: ["MaximumReplicationCount", "MaximumPartitionCount"], + members: { + MaximumReplicationCount: { type: "integer" }, + MaximumPartitionCount: { type: "integer" }, }, }, - IPRanges: { - type: "list", - member: { - locationName: "IPRange", - type: "structure", - members: { Status: {}, CIDRIP: {} }, + }, + }, + Sc: { type: "structure", members: { Endpoint: {} } }, + Sl: { + type: "structure", + required: ["AnalysisSchemeName", "AnalysisSchemeLanguage"], + members: { + AnalysisSchemeName: {}, + AnalysisSchemeLanguage: {}, + AnalysisOptions: { + type: "structure", + members: { + Synonyms: {}, + Stopwords: {}, + StemmingDictionary: {}, + JapaneseTokenizationDictionary: {}, + AlgorithmicStemming: {}, }, }, }, - wrapper: true, }, - Sk: { + Ss: { + type: "structure", + required: ["Options", "Status"], + members: { Options: { shape: "Sl" }, Status: { shape: "St" } }, + }, + St: { type: "structure", + required: ["CreationDate", "UpdateDate", "State"], members: { - DBSnapshotIdentifier: {}, - DBInstanceIdentifier: {}, - SnapshotCreateTime: { type: "timestamp" }, - Engine: {}, - AllocatedStorage: { type: "integer" }, - Status: {}, - Port: { type: "integer" }, - AvailabilityZone: {}, - VpcId: {}, - InstanceCreateTime: { type: "timestamp" }, - MasterUsername: {}, - EngineVersion: {}, - LicenseModel: {}, - SnapshotType: {}, - Iops: { type: "integer" }, - OptionGroupName: {}, + CreationDate: { type: "timestamp" }, + UpdateDate: { type: "timestamp" }, + UpdateVersion: { type: "integer" }, + State: {}, + PendingDeletion: { type: "boolean" }, }, - wrapper: true, }, - Sp: { type: "list", member: { locationName: "DBSecurityGroupName" } }, - Sq: { type: "list", member: { locationName: "VpcSecurityGroupId" } }, - St: { + Sy: { + type: "structure", + required: ["ExpressionName", "ExpressionValue"], + members: { ExpressionName: {}, ExpressionValue: {} }, + }, + S11: { + type: "structure", + required: ["Options", "Status"], + members: { Options: { shape: "Sy" }, Status: { shape: "St" } }, + }, + S13: { type: "structure", + required: ["IndexFieldName", "IndexFieldType"], members: { - DBInstanceIdentifier: {}, - DBInstanceClass: {}, - Engine: {}, - DBInstanceStatus: {}, - MasterUsername: {}, - DBName: {}, - Endpoint: { + IndexFieldName: {}, + IndexFieldType: {}, + IntOptions: { type: "structure", - members: { Address: {}, Port: { type: "integer" } }, + members: { + DefaultValue: { type: "long" }, + SourceField: {}, + FacetEnabled: { type: "boolean" }, + SearchEnabled: { type: "boolean" }, + ReturnEnabled: { type: "boolean" }, + SortEnabled: { type: "boolean" }, + }, }, - AllocatedStorage: { type: "integer" }, - InstanceCreateTime: { type: "timestamp" }, - PreferredBackupWindow: {}, - BackupRetentionPeriod: { type: "integer" }, - DBSecurityGroups: { shape: "Sv" }, - VpcSecurityGroups: { shape: "Sx" }, - DBParameterGroups: { - type: "list", - member: { - locationName: "DBParameterGroup", - type: "structure", - members: { - DBParameterGroupName: {}, - ParameterApplyStatus: {}, - }, + DoubleOptions: { + type: "structure", + members: { + DefaultValue: { type: "double" }, + SourceField: {}, + FacetEnabled: { type: "boolean" }, + SearchEnabled: { type: "boolean" }, + ReturnEnabled: { type: "boolean" }, + SortEnabled: { type: "boolean" }, }, }, - AvailabilityZone: {}, - DBSubnetGroup: { shape: "S11" }, - PreferredMaintenanceWindow: {}, - PendingModifiedValues: { + LiteralOptions: { type: "structure", members: { - DBInstanceClass: {}, - AllocatedStorage: { type: "integer" }, - MasterUserPassword: {}, - Port: { type: "integer" }, - BackupRetentionPeriod: { type: "integer" }, - MultiAZ: { type: "boolean" }, - EngineVersion: {}, - Iops: { type: "integer" }, - DBInstanceIdentifier: {}, + DefaultValue: {}, + SourceField: {}, + FacetEnabled: { type: "boolean" }, + SearchEnabled: { type: "boolean" }, + ReturnEnabled: { type: "boolean" }, + SortEnabled: { type: "boolean" }, }, }, - LatestRestorableTime: { type: "timestamp" }, - MultiAZ: { type: "boolean" }, - EngineVersion: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - ReadReplicaSourceDBInstanceIdentifier: {}, - ReadReplicaDBInstanceIdentifiers: { - type: "list", - member: { locationName: "ReadReplicaDBInstanceIdentifier" }, + TextOptions: { + type: "structure", + members: { + DefaultValue: {}, + SourceField: {}, + ReturnEnabled: { type: "boolean" }, + SortEnabled: { type: "boolean" }, + HighlightEnabled: { type: "boolean" }, + AnalysisScheme: {}, + }, }, - LicenseModel: {}, - Iops: { type: "integer" }, - OptionGroupMemberships: { - type: "list", - member: { - locationName: "OptionGroupMembership", - type: "structure", - members: { OptionGroupName: {}, Status: {} }, + DateOptions: { + type: "structure", + members: { + DefaultValue: {}, + SourceField: {}, + FacetEnabled: { type: "boolean" }, + SearchEnabled: { type: "boolean" }, + ReturnEnabled: { type: "boolean" }, + SortEnabled: { type: "boolean" }, + }, + }, + LatLonOptions: { + type: "structure", + members: { + DefaultValue: {}, + SourceField: {}, + FacetEnabled: { type: "boolean" }, + SearchEnabled: { type: "boolean" }, + ReturnEnabled: { type: "boolean" }, + SortEnabled: { type: "boolean" }, + }, + }, + IntArrayOptions: { + type: "structure", + members: { + DefaultValue: { type: "long" }, + SourceFields: {}, + FacetEnabled: { type: "boolean" }, + SearchEnabled: { type: "boolean" }, + ReturnEnabled: { type: "boolean" }, + }, + }, + DoubleArrayOptions: { + type: "structure", + members: { + DefaultValue: { type: "double" }, + SourceFields: {}, + FacetEnabled: { type: "boolean" }, + SearchEnabled: { type: "boolean" }, + ReturnEnabled: { type: "boolean" }, + }, + }, + LiteralArrayOptions: { + type: "structure", + members: { + DefaultValue: {}, + SourceFields: {}, + FacetEnabled: { type: "boolean" }, + SearchEnabled: { type: "boolean" }, + ReturnEnabled: { type: "boolean" }, + }, + }, + TextArrayOptions: { + type: "structure", + members: { + DefaultValue: {}, + SourceFields: {}, + ReturnEnabled: { type: "boolean" }, + HighlightEnabled: { type: "boolean" }, + AnalysisScheme: {}, + }, + }, + DateArrayOptions: { + type: "structure", + members: { + DefaultValue: {}, + SourceFields: {}, + FacetEnabled: { type: "boolean" }, + SearchEnabled: { type: "boolean" }, + ReturnEnabled: { type: "boolean" }, }, }, - CharacterSetName: {}, - SecondaryAvailabilityZone: {}, - PubliclyAccessible: { type: "boolean" }, - }, - wrapper: true, - }, - Sv: { - type: "list", - member: { - locationName: "DBSecurityGroup", - type: "structure", - members: { DBSecurityGroupName: {}, Status: {} }, }, }, - Sx: { - type: "list", - member: { - locationName: "VpcSecurityGroupMembership", - type: "structure", - members: { VpcSecurityGroupId: {}, Status: {} }, - }, + S1n: { + type: "structure", + required: ["Options", "Status"], + members: { Options: { shape: "S13" }, Status: { shape: "St" } }, }, - S11: { + S1p: { type: "structure", + required: ["SuggesterName", "DocumentSuggesterOptions"], members: { - DBSubnetGroupName: {}, - DBSubnetGroupDescription: {}, - VpcId: {}, - SubnetGroupStatus: {}, - Subnets: { - type: "list", - member: { - locationName: "Subnet", - type: "structure", - members: { - SubnetIdentifier: {}, - SubnetAvailabilityZone: { shape: "S14" }, - SubnetStatus: {}, - }, + SuggesterName: {}, + DocumentSuggesterOptions: { + type: "structure", + required: ["SourceField"], + members: { + SourceField: {}, + FuzzyMatching: {}, + SortExpression: {}, }, }, }, - wrapper: true, }, - S14: { + S1t: { type: "structure", - members: { Name: {}, ProvisionedIopsCapable: { type: "boolean" } }, - wrapper: true, + required: ["Options", "Status"], + members: { Options: { shape: "S1p" }, Status: { shape: "St" } }, }, - S1d: { + S25: { type: "list", member: {} }, + S2a: { type: "structure", - members: { - DBParameterGroupName: {}, - DBParameterGroupFamily: {}, - Description: {}, - }, - wrapper: true, + required: ["Options", "Status"], + members: { Options: { type: "boolean" }, Status: { shape: "St" } }, }, - S1j: { type: "list", member: { locationName: "SubnetIdentifier" } }, - S1p: { + S2e: { type: "structure", - members: { - OptionGroupName: {}, - OptionGroupDescription: {}, - EngineName: {}, - MajorEngineVersion: {}, - Options: { - type: "list", - member: { - locationName: "Option", - type: "structure", - members: { - OptionName: {}, - OptionDescription: {}, - Persistent: { type: "boolean" }, - Port: { type: "integer" }, - OptionSettings: { - type: "list", - member: { shape: "S1t", locationName: "OptionSetting" }, - }, - DBSecurityGroupMemberships: { shape: "Sv" }, - VpcSecurityGroupMemberships: { shape: "Sx" }, - }, - }, - }, - AllowsVpcAndNonVpcInstanceMemberships: { type: "boolean" }, - VpcId: {}, - }, - wrapper: true, + required: ["Options", "Status"], + members: { Options: { shape: "S2f" }, Status: { shape: "St" } }, }, - S1t: { + S2f: { type: "structure", members: { - Name: {}, - Value: {}, - DefaultValue: {}, - Description: {}, - ApplyType: {}, - DataType: {}, - AllowedValues: {}, - IsModifiable: { type: "boolean" }, - IsCollection: { type: "boolean" }, + EnforceHTTPS: { type: "boolean" }, + TLSSecurityPolicy: {}, }, }, - S28: { + S2u: { type: "structure", - members: { CharacterSetName: {}, CharacterSetDescription: {} }, - }, - S2n: { - type: "list", - member: { - locationName: "Parameter", - type: "structure", - members: { - ParameterName: {}, - ParameterValue: {}, - Description: {}, - Source: {}, - ApplyType: {}, - DataType: {}, - AllowedValues: {}, - IsModifiable: { type: "boolean" }, - MinimumEngineVersion: {}, - ApplyMethod: {}, - }, - }, + required: ["Options", "Status"], + members: { Options: { shape: "S2v" }, Status: { shape: "St" } }, }, - S3w: { + S2v: { type: "structure", members: { - ReservedDBInstanceId: {}, - ReservedDBInstancesOfferingId: {}, - DBInstanceClass: {}, - StartTime: { type: "timestamp" }, - Duration: { type: "integer" }, - FixedPrice: { type: "double" }, - UsagePrice: { type: "double" }, - CurrencyCode: {}, - DBInstanceCount: { type: "integer" }, - ProductDescription: {}, - OfferingType: {}, - MultiAZ: { type: "boolean" }, - State: {}, - RecurringCharges: { shape: "S3y" }, + DesiredInstanceType: {}, + DesiredReplicationCount: { type: "integer" }, + DesiredPartitionCount: { type: "integer" }, }, - wrapper: true, }, - S3y: { - type: "list", - member: { - locationName: "RecurringCharge", - type: "structure", - members: { - RecurringChargeAmount: { type: "double" }, - RecurringChargeFrequency: {}, - }, - wrapper: true, - }, + S2z: { + type: "structure", + required: ["Options", "Status"], + members: { Options: {}, Status: { shape: "St" } }, }, - S4b: { type: "structure", members: { DBParameterGroupName: {} } }, }, }; /***/ }, - /***/ 4238: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - - // pull in CloudFront signer - __webpack_require__(1647); - - AWS.util.update(AWS.CloudFront.prototype, { - setupRequestListeners: function setupRequestListeners(request) { - request.addListener("extractData", AWS.util.hoistPayloadMember); - }, - }); - - /***/ - }, - - /***/ 4252: /***/ function (module) { + /***/ 3396: /***/ function (module) { module.exports = { pagination: {} }; /***/ }, - /***/ 4258: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["waf"] = {}; - AWS.WAF = Service.defineService("waf", ["2015-08-24"]); - Object.defineProperty(apiLoader.services["waf"], "2015-08-24", { - get: function get() { - var model = __webpack_require__(5340); - model.paginators = __webpack_require__(9732).pagination; - return model; + /***/ 3405: /***/ function (module) { + module.exports = { + pagination: { + ListAliases: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListGroupMembers: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListGroups: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListMailboxExportJobs: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListMailboxPermissions: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListOrganizations: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListResourceDelegates: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListResources: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListUsers: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.WAF; + }; /***/ }, - /***/ 4281: /***/ function ( - __unusedmodule, - __unusedexports, - __webpack_require__ - ) { - var AWS = __webpack_require__(395); - var rest = AWS.Protocol.Rest; - - /** - * A presigner object can be used to generate presigned urls for the Polly service. - */ - AWS.Polly.Presigner = AWS.util.inherit({ - /** - * Creates a presigner object with a set of configuration options. - * - * @option options params [map] An optional map of parameters to bind to every - * request sent by this service object. - * @option options service [AWS.Polly] An optional pre-configured instance - * of the AWS.Polly service object to use for requests. The object may - * bound parameters used by the presigner. - * @see AWS.Polly.constructor - */ - constructor: function Signer(options) { - options = options || {}; - this.options = options; - this.service = options.service; - this.bindServiceObject(options); - this._operations = {}; - }, - - /** - * @api private - */ - bindServiceObject: function bindServiceObject(options) { - options = options || {}; - if (!this.service) { - this.service = new AWS.Polly(options); - } else { - var config = AWS.util.copy(this.service.config); - this.service = new this.service.constructor.__super__(config); - this.service.config.params = AWS.util.merge( - this.service.config.params || {}, - options.params - ); - } - }, - - /** - * @api private - */ - modifyInputMembers: function modifyInputMembers(input) { - // make copies of the input so we don't overwrite the api - // need to be careful to copy anything we access/modify - var modifiedInput = AWS.util.copy(input); - modifiedInput.members = AWS.util.copy(input.members); - AWS.util.each(input.members, function (name, member) { - modifiedInput.members[name] = AWS.util.copy(member); - // update location and locationName - if (!member.location || member.location === "body") { - modifiedInput.members[name].location = "querystring"; - modifiedInput.members[name].locationName = name; - } - }); - return modifiedInput; - }, - - /** - * @api private - */ - convertPostToGet: function convertPostToGet(req) { - // convert method - req.httpRequest.method = "GET"; - - var operation = req.service.api.operations[req.operation]; - // get cached operation input first - var input = this._operations[req.operation]; - if (!input) { - // modify the original input - this._operations[req.operation] = input = this.modifyInputMembers( - operation.input - ); - } - - var uri = rest.generateURI( - req.httpRequest.endpoint.path, - operation.httpPath, - input, - req.params - ); - - req.httpRequest.path = uri; - req.httpRequest.body = ""; - - // don't need these headers on a GET request - delete req.httpRequest.headers["Content-Length"]; - delete req.httpRequest.headers["Content-Type"]; - }, - - /** - * @overload getSynthesizeSpeechUrl(params = {}, [expires = 3600], [callback]) - * Generate a presigned url for {AWS.Polly.synthesizeSpeech}. - * @note You must ensure that you have static or previously resolved - * credentials if you call this method synchronously (with no callback), - * otherwise it may not properly sign the request. If you cannot guarantee - * this (you are using an asynchronous credential provider, i.e., EC2 - * IAM roles), you should always call this method with an asynchronous - * callback. - * @param params [map] parameters to pass to the operation. See the {AWS.Polly.synthesizeSpeech} - * operation for the expected operation parameters. - * @param expires [Integer] (3600) the number of seconds to expire the pre-signed URL operation in. - * Defaults to 1 hour. - * @return [string] if called synchronously (with no callback), returns the signed URL. - * @return [null] nothing is returned if a callback is provided. - * @callback callback function (err, url) - * If a callback is supplied, it is called when a signed URL has been generated. - * @param err [Error] the error object returned from the presigner. - * @param url [String] the signed URL. - * @see AWS.Polly.synthesizeSpeech - */ - getSynthesizeSpeechUrl: function getSynthesizeSpeechUrl( - params, - expires, - callback - ) { - var self = this; - var request = this.service.makeRequest("synthesizeSpeech", params); - // remove existing build listeners - request.removeAllListeners("build"); - request.on("build", function (req) { - self.convertPostToGet(req); - }); - return request.presign(expires, callback); + /***/ 3410: /***/ function (module) { + module.exports = { + pagination: { + ListBundles: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListProjects: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, }, - }); + }; /***/ }, - /***/ 4289: /***/ function (module) { + /***/ 3413: /***/ function (module) { module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-06-30", - endpointPrefix: "migrationhub-config", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Migration Hub Config", - serviceId: "MigrationHub Config", - signatureVersion: "v4", - signingName: "mgh", - targetPrefix: "AWSMigrationHubMultiAccountService", - uid: "migrationhub-config-2019-06-30", - }, - operations: { - CreateHomeRegionControl: { - input: { - type: "structure", - required: ["HomeRegion", "Target"], - members: { - HomeRegion: {}, - Target: { shape: "S3" }, - DryRun: { type: "boolean" }, - }, - }, - output: { - type: "structure", - members: { HomeRegionControl: { shape: "S8" } }, - }, + pagination: { + ListDevices: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", }, - DescribeHomeRegionControls: { - input: { - type: "structure", - members: { - ControlId: {}, - HomeRegion: {}, - Target: { shape: "S3" }, - MaxResults: { type: "integer" }, - NextToken: {}, - }, - }, - output: { - type: "structure", - members: { - HomeRegionControls: { type: "list", member: { shape: "S8" } }, - NextToken: {}, - }, - }, + ListDomains: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", }, - GetHomeRegion: { - input: { type: "structure", members: {} }, - output: { type: "structure", members: { HomeRegion: {} } }, + ListFleets: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", }, - }, - shapes: { - S3: { - type: "structure", - required: ["Type"], - members: { Type: {}, Id: {} }, + ListWebsiteAuthorizationProviders: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", }, - S8: { - type: "structure", - members: { - ControlId: {}, - HomeRegion: {}, - Target: { shape: "S3" }, - RequestedTime: { type: "timestamp" }, - }, + ListWebsiteCertificateAuthorities: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", }, }, }; @@ -116429,117 +119214,512 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 4290: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["greengrass"] = {}; - AWS.Greengrass = Service.defineService("greengrass", ["2017-06-07"]); - Object.defineProperty(apiLoader.services["greengrass"], "2017-06-07", { - get: function get() { - var model = __webpack_require__(2053); - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Greengrass; + /***/ 3421: /***/ function (module) { + module.exports = { pagination: {} }; /***/ }, - /***/ 4293: /***/ function (module) { - module.exports = require("buffer"); + /***/ 3458: /***/ function (module, __unusedexports, __webpack_require__) { + // Generated by CoffeeScript 1.12.7 + (function () { + var XMLCData, + XMLComment, + XMLDTDAttList, + XMLDTDElement, + XMLDTDEntity, + XMLDTDNotation, + XMLDeclaration, + XMLDocType, + XMLElement, + XMLProcessingInstruction, + XMLRaw, + XMLStreamWriter, + XMLText, + XMLWriterBase, + extend = function (child, parent) { + for (var key in parent) { + if (hasProp.call(parent, key)) child[key] = parent[key]; + } + function ctor() { + this.constructor = child; + } + ctor.prototype = parent.prototype; + child.prototype = new ctor(); + child.__super__ = parent.prototype; + return child; + }, + hasProp = {}.hasOwnProperty; - /***/ - }, + XMLDeclaration = __webpack_require__(7738); - /***/ 4303: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - LoadBalancerExists: { - delay: 15, - operation: "DescribeLoadBalancers", - maxAttempts: 40, - acceptors: [ - { matcher: "status", expected: 200, state: "success" }, - { - matcher: "error", - expected: "LoadBalancerNotFound", - state: "retry", - }, - ], - }, - LoadBalancerAvailable: { - delay: 15, - operation: "DescribeLoadBalancers", - maxAttempts: 40, + XMLDocType = __webpack_require__(5735); + + XMLCData = __webpack_require__(9657); + + XMLComment = __webpack_require__(7919); + + XMLElement = __webpack_require__(5796); + + XMLRaw = __webpack_require__(7660); + + XMLText = __webpack_require__(9708); + + XMLProcessingInstruction = __webpack_require__(2491); + + XMLDTDAttList = __webpack_require__(3801); + + XMLDTDElement = __webpack_require__(9463); + + XMLDTDEntity = __webpack_require__(7661); + + XMLDTDNotation = __webpack_require__(9019); + + XMLWriterBase = __webpack_require__(9423); + + module.exports = XMLStreamWriter = (function (superClass) { + extend(XMLStreamWriter, superClass); + + function XMLStreamWriter(stream, options) { + XMLStreamWriter.__super__.constructor.call(this, options); + this.stream = stream; + } + + XMLStreamWriter.prototype.document = function (doc) { + var child, i, j, len, len1, ref, ref1, results; + ref = doc.children; + for (i = 0, len = ref.length; i < len; i++) { + child = ref[i]; + child.isLastRootNode = false; + } + doc.children[doc.children.length - 1].isLastRootNode = true; + ref1 = doc.children; + results = []; + for (j = 0, len1 = ref1.length; j < len1; j++) { + child = ref1[j]; + switch (false) { + case !(child instanceof XMLDeclaration): + results.push(this.declaration(child)); + break; + case !(child instanceof XMLDocType): + results.push(this.docType(child)); + break; + case !(child instanceof XMLComment): + results.push(this.comment(child)); + break; + case !(child instanceof XMLProcessingInstruction): + results.push(this.processingInstruction(child)); + break; + default: + results.push(this.element(child)); + } + } + return results; + }; + + XMLStreamWriter.prototype.attribute = function (att) { + return this.stream.write(" " + att.name + '="' + att.value + '"'); + }; + + XMLStreamWriter.prototype.cdata = function (node, level) { + return this.stream.write( + this.space(level) + + "" + + this.endline(node) + ); + }; + + XMLStreamWriter.prototype.comment = function (node, level) { + return this.stream.write( + this.space(level) + + "" + + this.endline(node) + ); + }; + + XMLStreamWriter.prototype.declaration = function (node, level) { + this.stream.write(this.space(level)); + this.stream.write('"); + return this.stream.write(this.endline(node)); + }; + + XMLStreamWriter.prototype.docType = function (node, level) { + var child, i, len, ref; + level || (level = 0); + this.stream.write(this.space(level)); + this.stream.write(" 0) { + this.stream.write(" ["); + this.stream.write(this.endline(node)); + ref = node.children; + for (i = 0, len = ref.length; i < len; i++) { + child = ref[i]; + switch (false) { + case !(child instanceof XMLDTDAttList): + this.dtdAttList(child, level + 1); + break; + case !(child instanceof XMLDTDElement): + this.dtdElement(child, level + 1); + break; + case !(child instanceof XMLDTDEntity): + this.dtdEntity(child, level + 1); + break; + case !(child instanceof XMLDTDNotation): + this.dtdNotation(child, level + 1); + break; + case !(child instanceof XMLCData): + this.cdata(child, level + 1); + break; + case !(child instanceof XMLComment): + this.comment(child, level + 1); + break; + case !(child instanceof XMLProcessingInstruction): + this.processingInstruction(child, level + 1); + break; + default: + throw new Error( + "Unknown DTD node type: " + child.constructor.name + ); + } + } + this.stream.write("]"); + } + this.stream.write(this.spacebeforeslash + ">"); + return this.stream.write(this.endline(node)); + }; + + XMLStreamWriter.prototype.element = function (node, level) { + var att, child, i, len, name, ref, ref1, space; + level || (level = 0); + space = this.space(level); + this.stream.write(space + "<" + node.name); + ref = node.attributes; + for (name in ref) { + if (!hasProp.call(ref, name)) continue; + att = ref[name]; + this.attribute(att); + } + if ( + node.children.length === 0 || + node.children.every(function (e) { + return e.value === ""; + }) + ) { + if (this.allowEmpty) { + this.stream.write(">"); + } else { + this.stream.write(this.spacebeforeslash + "/>"); + } + } else if ( + this.pretty && + node.children.length === 1 && + node.children[0].value != null + ) { + this.stream.write(">"); + this.stream.write(node.children[0].value); + this.stream.write(""); + } else { + this.stream.write(">" + this.newline); + ref1 = node.children; + for (i = 0, len = ref1.length; i < len; i++) { + child = ref1[i]; + switch (false) { + case !(child instanceof XMLCData): + this.cdata(child, level + 1); + break; + case !(child instanceof XMLComment): + this.comment(child, level + 1); + break; + case !(child instanceof XMLElement): + this.element(child, level + 1); + break; + case !(child instanceof XMLRaw): + this.raw(child, level + 1); + break; + case !(child instanceof XMLText): + this.text(child, level + 1); + break; + case !(child instanceof XMLProcessingInstruction): + this.processingInstruction(child, level + 1); + break; + default: + throw new Error( + "Unknown XML node type: " + child.constructor.name + ); + } + } + this.stream.write(space + ""); + } + return this.stream.write(this.endline(node)); + }; + + XMLStreamWriter.prototype.processingInstruction = function ( + node, + level + ) { + this.stream.write(this.space(level) + "" + this.endline(node) + ); + }; + + XMLStreamWriter.prototype.raw = function (node, level) { + return this.stream.write( + this.space(level) + node.value + this.endline(node) + ); + }; + + XMLStreamWriter.prototype.text = function (node, level) { + return this.stream.write( + this.space(level) + node.value + this.endline(node) + ); + }; + + XMLStreamWriter.prototype.dtdAttList = function (node, level) { + this.stream.write( + this.space(level) + + "" + this.endline(node) + ); + }; + + XMLStreamWriter.prototype.dtdElement = function (node, level) { + this.stream.write( + this.space(level) + "" + this.endline(node) + ); + }; + + XMLStreamWriter.prototype.dtdEntity = function (node, level) { + this.stream.write(this.space(level) + "" + this.endline(node) + ); + }; + + XMLStreamWriter.prototype.dtdNotation = function (node, level) { + this.stream.write(this.space(level) + "" + this.endline(node) + ); + }; + + XMLStreamWriter.prototype.endline = function (node) { + if (!node.isLastRootNode) { + return this.newline; + } else { + return ""; + } + }; + + return XMLStreamWriter; + })(XMLWriterBase); + }.call(this)); + + /***/ + }, + + /***/ 3494: /***/ function (module) { + module.exports = { + pagination: { + DescribeEndpoints: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Endpoints", + }, + ListJobs: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Jobs", + }, + ListPresets: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Presets", + }, + ListJobTemplates: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "JobTemplates", + }, + ListQueues: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + result_key: "Queues", + }, + }, + }; + + /***/ + }, + + /***/ 3497: /***/ function (__unusedmodule, exports, __webpack_require__) { + "use strict"; + + Object.defineProperty(exports, "__esModule", { value: true }); + + function _interopDefault(ex) { + return ex && typeof ex === "object" && "default" in ex + ? ex["default"] + : ex; + } + + var deprecation = __webpack_require__(7692); + var once = _interopDefault(__webpack_require__(6049)); + + const logOnce = once((deprecation) => console.warn(deprecation)); + /** + * Error with extra properties to help with debugging + */ + + class RequestError extends Error { + constructor(message, statusCode, options) { + super(message); // Maintains proper stack trace (only available on V8) + + /* istanbul ignore next */ + + if (Error.captureStackTrace) { + Error.captureStackTrace(this, this.constructor); + } + + this.name = "HttpError"; + this.status = statusCode; + Object.defineProperty(this, "code", { + get() { + logOnce( + new deprecation.Deprecation( + "[@octokit/request-error] `error.code` is deprecated, use `error.status`." + ) + ); + return statusCode; + }, + }); + this.headers = options.headers || {}; // redact request credentials without mutating original request options + + const requestCopy = Object.assign({}, options.request); + + if (options.request.headers.authorization) { + requestCopy.headers = Object.assign({}, options.request.headers, { + authorization: options.request.headers.authorization.replace( + / .*$/, + " [REDACTED]" + ), + }); + } + + requestCopy.url = requestCopy.url // client_id & client_secret can be passed as URL query parameters to increase rate limit + // see https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications + .replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]") // OAuth tokens can be passed as URL query parameters, although it is not recommended + // see https://developer.github.com/v3/#oauth2-token-sent-in-a-header + .replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); + this.request = requestCopy; + } + } + + exports.RequestError = RequestError; + //# sourceMappingURL=index.js.map + + /***/ + }, + + /***/ 3501: /***/ function (module) { + module.exports = { + version: 2, + waiters: { + TableExists: { + delay: 20, + operation: "DescribeTable", + maxAttempts: 25, acceptors: [ { + expected: "ACTIVE", + matcher: "path", state: "success", - matcher: "pathAll", - argument: "LoadBalancers[].State.Code", - expected: "active", - }, - { - state: "retry", - matcher: "pathAny", - argument: "LoadBalancers[].State.Code", - expected: "provisioning", + argument: "Table.TableStatus", }, { - state: "retry", + expected: "ResourceNotFoundException", matcher: "error", - expected: "LoadBalancerNotFound", - }, - ], - }, - LoadBalancersDeleted: { - delay: 15, - operation: "DescribeLoadBalancers", - maxAttempts: 40, - acceptors: [ - { state: "retry", - matcher: "pathAll", - argument: "LoadBalancers[].State.Code", - expected: "active", - }, - { - matcher: "error", - expected: "LoadBalancerNotFound", - state: "success", - }, - ], - }, - TargetInService: { - delay: 15, - maxAttempts: 40, - operation: "DescribeTargetHealth", - acceptors: [ - { - argument: "TargetHealthDescriptions[].TargetHealth.State", - expected: "healthy", - matcher: "pathAll", - state: "success", }, - { matcher: "error", expected: "InvalidInstance", state: "retry" }, ], }, - TargetDeregistered: { - delay: 15, - maxAttempts: 40, - operation: "DescribeTargetHealth", + TableNotExists: { + delay: 20, + operation: "DescribeTable", + maxAttempts: 25, acceptors: [ - { matcher: "error", expected: "InvalidTarget", state: "success" }, { - argument: "TargetHealthDescriptions[].TargetHealth.State", - expected: "unused", - matcher: "pathAll", + expected: "ResourceNotFoundException", + matcher: "error", state: "success", }, ], @@ -116550,6205 +119730,6232 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 4304: /***/ function (module) { - module.exports = require("string_decoder"); + /***/ 3503: /***/ function (module, __unusedexports, __webpack_require__) { + var AWS = __webpack_require__(395); + var Api = __webpack_require__(7788); + var regionConfig = __webpack_require__(3546); - /***/ - }, + var inherit = AWS.util.inherit; + var clientCount = 0; - /***/ 4341: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + /** + * The service class representing an AWS service. + * + * @class_abstract This class is an abstract class. + * + * @!attribute apiVersions + * @return [Array] the list of API versions supported by this service. + * @readonly + */ + AWS.Service = inherit({ + /** + * Create a new service object with a configuration object + * + * @param config [map] a map of configuration options + */ + constructor: function Service(config) { + if (!this.loadServiceClass) { + throw AWS.util.error( + new Error(), + "Service must be constructed with `new' operator" + ); + } + var ServiceClass = this.loadServiceClass(config || {}); + if (ServiceClass) { + var originalConfig = AWS.util.copy(config); + var svc = new ServiceClass(config); + Object.defineProperty(svc, "_originalConfig", { + get: function () { + return originalConfig; + }, + enumerable: false, + configurable: true, + }); + svc._clientId = ++clientCount; + return svc; + } + this.initialize(config); + }, - apiLoader.services["discovery"] = {}; - AWS.Discovery = Service.defineService("discovery", ["2015-11-01"]); - Object.defineProperty(apiLoader.services["discovery"], "2015-11-01", { - get: function get() { - var model = __webpack_require__(9389); - model.paginators = __webpack_require__(5266).pagination; - return model; + /** + * @api private + */ + initialize: function initialize(config) { + var svcConfig = AWS.config[this.serviceIdentifier]; + this.config = new AWS.Config(AWS.config); + if (svcConfig) this.config.update(svcConfig, true); + if (config) this.config.update(config, true); + + this.validateService(); + if (!this.config.endpoint) regionConfig.configureEndpoint(this); + + this.config.endpoint = this.endpointFromTemplate( + this.config.endpoint + ); + this.setEndpoint(this.config.endpoint); + //enable attaching listeners to service client + AWS.SequentialExecutor.call(this); + AWS.Service.addDefaultMonitoringListeners(this); + if ( + (this.config.clientSideMonitoring || + AWS.Service._clientSideMonitoring) && + this.publisher + ) { + var publisher = this.publisher; + this.addNamedListener( + "PUBLISH_API_CALL", + "apiCall", + function PUBLISH_API_CALL(event) { + process.nextTick(function () { + publisher.eventHandler(event); + }); + } + ); + this.addNamedListener( + "PUBLISH_API_ATTEMPT", + "apiCallAttempt", + function PUBLISH_API_ATTEMPT(event) { + process.nextTick(function () { + publisher.eventHandler(event); + }); + } + ); + } }, - enumerable: true, - configurable: true, - }); - module.exports = AWS.Discovery; + /** + * @api private + */ + validateService: function validateService() {}, - /***/ - }, + /** + * @api private + */ + loadServiceClass: function loadServiceClass(serviceConfig) { + var config = serviceConfig; + if (!AWS.util.isEmpty(this.api)) { + return null; + } else if (config.apiConfig) { + return AWS.Service.defineServiceApi( + this.constructor, + config.apiConfig + ); + } else if (!this.constructor.services) { + return null; + } else { + config = new AWS.Config(AWS.config); + config.update(serviceConfig, true); + var version = + config.apiVersions[this.constructor.serviceIdentifier]; + version = version || config.apiVersion; + return this.getLatestServiceClass(version); + } + }, - /***/ 4343: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; + /** + * @api private + */ + getLatestServiceClass: function getLatestServiceClass(version) { + version = this.getLatestServiceVersion(version); + if (this.constructor.services[version] === null) { + AWS.Service.defineServiceApi(this.constructor, version); + } - apiLoader.services["inspector"] = {}; - AWS.Inspector = Service.defineService("inspector", [ - "2015-08-18*", - "2016-02-16", - ]); - Object.defineProperty(apiLoader.services["inspector"], "2016-02-16", { - get: function get() { - var model = __webpack_require__(612); - model.paginators = __webpack_require__(1283).pagination; - return model; + return this.constructor.services[version]; }, - enumerable: true, - configurable: true, - }); - module.exports = AWS.Inspector; + /** + * @api private + */ + getLatestServiceVersion: function getLatestServiceVersion(version) { + if ( + !this.constructor.services || + this.constructor.services.length === 0 + ) { + throw new Error( + "No services defined on " + this.constructor.serviceIdentifier + ); + } - /***/ - }, + if (!version) { + version = "latest"; + } else if (AWS.util.isType(version, Date)) { + version = AWS.util.date.iso8601(version).split("T")[0]; + } - /***/ 4344: /***/ function (module) { - module.exports = { pagination: {} }; + if (Object.hasOwnProperty(this.constructor.services, version)) { + return version; + } - /***/ - }, + var keys = Object.keys(this.constructor.services).sort(); + var selectedVersion = null; + for (var i = keys.length - 1; i >= 0; i--) { + // versions that end in "*" are not available on disk and can be + // skipped, so do not choose these as selectedVersions + if (keys[i][keys[i].length - 1] !== "*") { + selectedVersion = keys[i]; + } + if (keys[i].substr(0, 10) <= version) { + return selectedVersion; + } + } - /***/ 4371: /***/ function (module) { - module.exports = { - pagination: { - GetTranscript: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", - }, + throw new Error( + "Could not find " + + this.constructor.serviceIdentifier + + " API to satisfy version constraint `" + + version + + "'" + ); }, - }; - /***/ - }, + /** + * @api private + */ + api: {}, - /***/ 4373: /***/ function (module) { - module.exports = { - pagination: { - ListPlacements: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "placements", - }, - ListProjects: { - input_token: "nextToken", - limit_key: "maxResults", - output_token: "nextToken", - result_key: "projects", - }, + /** + * @api private + */ + defaultRetryCount: 3, + + /** + * @api private + */ + customizeRequests: function customizeRequests(callback) { + if (!callback) { + this.customRequestHandler = null; + } else if (typeof callback === "function") { + this.customRequestHandler = callback; + } else { + throw new Error( + "Invalid callback type '" + + typeof callback + + "' provided in customizeRequests" + ); + } }, - }; - /***/ - }, + /** + * Calls an operation on a service with the given input parameters. + * + * @param operation [String] the name of the operation to call on the service. + * @param params [map] a map of input options for the operation + * @callback callback function(err, data) + * If a callback is supplied, it is called when a response is returned + * from the service. + * @param err [Error] the error object returned from the request. + * Set to `null` if the request is successful. + * @param data [Object] the de-serialized data returned from + * the request. Set to `null` if a request error occurs. + */ + makeRequest: function makeRequest(operation, params, callback) { + if (typeof params === "function") { + callback = params; + params = null; + } - /***/ 4389: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; + params = params || {}; + if (this.config.params) { + // copy only toplevel bound params + var rules = this.api.operations[operation]; + if (rules) { + params = AWS.util.copy(params); + AWS.util.each(this.config.params, function (key, value) { + if (rules.input.members[key]) { + if (params[key] === undefined || params[key] === null) { + params[key] = value; + } + } + }); + } + } - const fs = __webpack_require__(5747); - const shebangCommand = __webpack_require__(2866); + var request = new AWS.Request(this, operation, params); + this.addAllRequestListeners(request); + this.attachMonitoringEmitter(request); + if (callback) request.send(callback); + return request; + }, - function readShebang(command) { - // Read the first 150 bytes from the file - const size = 150; - let buffer; + /** + * Calls an operation on a service with the given input parameters, without + * any authentication data. This method is useful for "public" API operations. + * + * @param operation [String] the name of the operation to call on the service. + * @param params [map] a map of input options for the operation + * @callback callback function(err, data) + * If a callback is supplied, it is called when a response is returned + * from the service. + * @param err [Error] the error object returned from the request. + * Set to `null` if the request is successful. + * @param data [Object] the de-serialized data returned from + * the request. Set to `null` if a request error occurs. + */ + makeUnauthenticatedRequest: function makeUnauthenticatedRequest( + operation, + params, + callback + ) { + if (typeof params === "function") { + callback = params; + params = {}; + } - if (Buffer.alloc) { - // Node.js v4.5+ / v5.10+ - buffer = Buffer.alloc(size); - } else { - // Old Node.js API - buffer = new Buffer(size); - buffer.fill(0); // zero-fill - } + var request = this.makeRequest(operation, params).toUnauthenticated(); + return callback ? request.send(callback) : request; + }, - let fd; + /** + * Waits for a given state + * + * @param state [String] the state on the service to wait for + * @param params [map] a map of parameters to pass with each request + * @option params $waiter [map] a map of configuration options for the waiter + * @option params $waiter.delay [Number] The number of seconds to wait between + * requests + * @option params $waiter.maxAttempts [Number] The maximum number of requests + * to send while waiting + * @callback callback function(err, data) + * If a callback is supplied, it is called when a response is returned + * from the service. + * @param err [Error] the error object returned from the request. + * Set to `null` if the request is successful. + * @param data [Object] the de-serialized data returned from + * the request. Set to `null` if a request error occurs. + */ + waitFor: function waitFor(state, params, callback) { + var waiter = new AWS.ResourceWaiter(this, state); + return waiter.wait(params, callback); + }, - try { - fd = fs.openSync(command, "r"); - fs.readSync(fd, buffer, 0, size, 0); - fs.closeSync(fd); - } catch (e) { - /* Empty */ - } + /** + * @api private + */ + addAllRequestListeners: function addAllRequestListeners(request) { + var list = [ + AWS.events, + AWS.EventListeners.Core, + this.serviceInterface(), + AWS.EventListeners.CorePost, + ]; + for (var i = 0; i < list.length; i++) { + if (list[i]) request.addListeners(list[i]); + } - // Attempt to extract shebang (null is returned if not a shebang) - return shebangCommand(buffer.toString()); - } + // disable parameter validation + if (!this.config.paramValidation) { + request.removeListener( + "validate", + AWS.EventListeners.Core.VALIDATE_PARAMETERS + ); + } - module.exports = readShebang; + if (this.config.logger) { + // add logging events + request.addListeners(AWS.EventListeners.Logger); + } - /***/ - }, + this.setupRequestListeners(request); + // call prototype's customRequestHandler + if ( + typeof this.constructor.prototype.customRequestHandler === + "function" + ) { + this.constructor.prototype.customRequestHandler(request); + } + // call instance's customRequestHandler + if ( + Object.prototype.hasOwnProperty.call( + this, + "customRequestHandler" + ) && + typeof this.customRequestHandler === "function" + ) { + this.customRequestHandler(request); + } + }, - /***/ 4392: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2015-02-02", - endpointPrefix: "elasticache", - protocol: "query", - serviceFullName: "Amazon ElastiCache", - serviceId: "ElastiCache", - signatureVersion: "v4", - uid: "elasticache-2015-02-02", - xmlNamespace: "http://elasticache.amazonaws.com/doc/2015-02-02/", + /** + * Event recording metrics for a whole API call. + * @returns {object} a subset of api call metrics + * @api private + */ + apiCallEvent: function apiCallEvent(request) { + var api = request.service.api.operations[request.operation]; + var monitoringEvent = { + Type: "ApiCall", + Api: api ? api.name : request.operation, + Version: 1, + Service: + request.service.api.serviceId || + request.service.api.endpointPrefix, + Region: request.httpRequest.region, + MaxRetriesExceeded: 0, + UserAgent: request.httpRequest.getUserAgent(), + }; + var response = request.response; + if (response.httpResponse.statusCode) { + monitoringEvent.FinalHttpStatusCode = + response.httpResponse.statusCode; + } + if (response.error) { + var error = response.error; + var statusCode = response.httpResponse.statusCode; + if (statusCode > 299) { + if (error.code) monitoringEvent.FinalAwsException = error.code; + if (error.message) + monitoringEvent.FinalAwsExceptionMessage = error.message; + } else { + if (error.code || error.name) + monitoringEvent.FinalSdkException = error.code || error.name; + if (error.message) + monitoringEvent.FinalSdkExceptionMessage = error.message; + } + } + return monitoringEvent; }, - operations: { - AddTagsToResource: { - input: { - type: "structure", - required: ["ResourceName", "Tags"], - members: { ResourceName: {}, Tags: { shape: "S3" } }, - }, - output: { shape: "S5", resultWrapper: "AddTagsToResourceResult" }, - }, - AuthorizeCacheSecurityGroupIngress: { - input: { - type: "structure", - required: [ - "CacheSecurityGroupName", - "EC2SecurityGroupName", - "EC2SecurityGroupOwnerId", - ], - members: { - CacheSecurityGroupName: {}, - EC2SecurityGroupName: {}, - EC2SecurityGroupOwnerId: {}, - }, - }, - output: { - resultWrapper: "AuthorizeCacheSecurityGroupIngressResult", - type: "structure", - members: { CacheSecurityGroup: { shape: "S8" } }, - }, - }, - BatchApplyUpdateAction: { - input: { - type: "structure", - required: ["ServiceUpdateName"], - members: { - ReplicationGroupIds: { shape: "Sc" }, - CacheClusterIds: { shape: "Sd" }, - ServiceUpdateName: {}, - }, - }, - output: { - shape: "Se", - resultWrapper: "BatchApplyUpdateActionResult", - }, - }, - BatchStopUpdateAction: { - input: { - type: "structure", - required: ["ServiceUpdateName"], - members: { - ReplicationGroupIds: { shape: "Sc" }, - CacheClusterIds: { shape: "Sd" }, - ServiceUpdateName: {}, - }, - }, - output: { - shape: "Se", - resultWrapper: "BatchStopUpdateActionResult", - }, - }, - CompleteMigration: { - input: { - type: "structure", - required: ["ReplicationGroupId"], - members: { ReplicationGroupId: {}, Force: { type: "boolean" } }, - }, - output: { - resultWrapper: "CompleteMigrationResult", - type: "structure", - members: { ReplicationGroup: { shape: "So" } }, - }, - }, - CopySnapshot: { - input: { - type: "structure", - required: ["SourceSnapshotName", "TargetSnapshotName"], - members: { - SourceSnapshotName: {}, - TargetSnapshotName: {}, - TargetBucket: {}, - KmsKeyId: {}, - }, - }, - output: { - resultWrapper: "CopySnapshotResult", - type: "structure", - members: { Snapshot: { shape: "S19" } }, - }, - }, - CreateCacheCluster: { - input: { - type: "structure", - required: ["CacheClusterId"], - members: { - CacheClusterId: {}, - ReplicationGroupId: {}, - AZMode: {}, - PreferredAvailabilityZone: {}, - PreferredAvailabilityZones: { shape: "S1h" }, - NumCacheNodes: { type: "integer" }, - CacheNodeType: {}, - Engine: {}, - EngineVersion: {}, - CacheParameterGroupName: {}, - CacheSubnetGroupName: {}, - CacheSecurityGroupNames: { shape: "S1i" }, - SecurityGroupIds: { shape: "S1j" }, - Tags: { shape: "S3" }, - SnapshotArns: { shape: "S1k" }, - SnapshotName: {}, - PreferredMaintenanceWindow: {}, - Port: { type: "integer" }, - NotificationTopicArn: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - SnapshotRetentionLimit: { type: "integer" }, - SnapshotWindow: {}, - AuthToken: {}, - }, - }, - output: { - resultWrapper: "CreateCacheClusterResult", - type: "structure", - members: { CacheCluster: { shape: "S1m" } }, - }, - }, - CreateCacheParameterGroup: { - input: { - type: "structure", - required: [ - "CacheParameterGroupName", - "CacheParameterGroupFamily", - "Description", - ], - members: { - CacheParameterGroupName: {}, - CacheParameterGroupFamily: {}, - Description: {}, - }, - }, - output: { - resultWrapper: "CreateCacheParameterGroupResult", - type: "structure", - members: { CacheParameterGroup: { shape: "S1z" } }, - }, - }, - CreateCacheSecurityGroup: { - input: { - type: "structure", - required: ["CacheSecurityGroupName", "Description"], - members: { CacheSecurityGroupName: {}, Description: {} }, - }, - output: { - resultWrapper: "CreateCacheSecurityGroupResult", - type: "structure", - members: { CacheSecurityGroup: { shape: "S8" } }, - }, - }, - CreateCacheSubnetGroup: { - input: { - type: "structure", - required: [ - "CacheSubnetGroupName", - "CacheSubnetGroupDescription", - "SubnetIds", - ], - members: { - CacheSubnetGroupName: {}, - CacheSubnetGroupDescription: {}, - SubnetIds: { shape: "S23" }, - }, - }, - output: { - resultWrapper: "CreateCacheSubnetGroupResult", - type: "structure", - members: { CacheSubnetGroup: { shape: "S25" } }, - }, - }, - CreateGlobalReplicationGroup: { - input: { - type: "structure", - required: [ - "GlobalReplicationGroupIdSuffix", - "PrimaryReplicationGroupId", - ], - members: { - GlobalReplicationGroupIdSuffix: {}, - GlobalReplicationGroupDescription: {}, - PrimaryReplicationGroupId: {}, - }, + + /** + * Event recording metrics for an API call attempt. + * @returns {object} a subset of api call attempt metrics + * @api private + */ + apiAttemptEvent: function apiAttemptEvent(request) { + var api = request.service.api.operations[request.operation]; + var monitoringEvent = { + Type: "ApiCallAttempt", + Api: api ? api.name : request.operation, + Version: 1, + Service: + request.service.api.serviceId || + request.service.api.endpointPrefix, + Fqdn: request.httpRequest.endpoint.hostname, + UserAgent: request.httpRequest.getUserAgent(), + }; + var response = request.response; + if (response.httpResponse.statusCode) { + monitoringEvent.HttpStatusCode = response.httpResponse.statusCode; + } + if ( + !request._unAuthenticated && + request.service.config.credentials && + request.service.config.credentials.accessKeyId + ) { + monitoringEvent.AccessKey = + request.service.config.credentials.accessKeyId; + } + if (!response.httpResponse.headers) return monitoringEvent; + if (request.httpRequest.headers["x-amz-security-token"]) { + monitoringEvent.SessionToken = + request.httpRequest.headers["x-amz-security-token"]; + } + if (response.httpResponse.headers["x-amzn-requestid"]) { + monitoringEvent.XAmznRequestId = + response.httpResponse.headers["x-amzn-requestid"]; + } + if (response.httpResponse.headers["x-amz-request-id"]) { + monitoringEvent.XAmzRequestId = + response.httpResponse.headers["x-amz-request-id"]; + } + if (response.httpResponse.headers["x-amz-id-2"]) { + monitoringEvent.XAmzId2 = + response.httpResponse.headers["x-amz-id-2"]; + } + return monitoringEvent; + }, + + /** + * Add metrics of failed request. + * @api private + */ + attemptFailEvent: function attemptFailEvent(request) { + var monitoringEvent = this.apiAttemptEvent(request); + var response = request.response; + var error = response.error; + if (response.httpResponse.statusCode > 299) { + if (error.code) monitoringEvent.AwsException = error.code; + if (error.message) + monitoringEvent.AwsExceptionMessage = error.message; + } else { + if (error.code || error.name) + monitoringEvent.SdkException = error.code || error.name; + if (error.message) + monitoringEvent.SdkExceptionMessage = error.message; + } + return monitoringEvent; + }, + + /** + * Attach listeners to request object to fetch metrics of each request + * and emit data object through \'ApiCall\' and \'ApiCallAttempt\' events. + * @api private + */ + attachMonitoringEmitter: function attachMonitoringEmitter(request) { + var attemptTimestamp; //timestamp marking the beginning of a request attempt + var attemptStartRealTime; //Start time of request attempt. Used to calculating attemptLatency + var attemptLatency; //latency from request sent out to http response reaching SDK + var callStartRealTime; //Start time of API call. Used to calculating API call latency + var attemptCount = 0; //request.retryCount is not reliable here + var region; //region cache region for each attempt since it can be updated in plase (e.g. s3) + var callTimestamp; //timestamp when the request is created + var self = this; + var addToHead = true; + + request.on( + "validate", + function () { + callStartRealTime = AWS.util.realClock.now(); + callTimestamp = Date.now(); }, - output: { - resultWrapper: "CreateGlobalReplicationGroupResult", - type: "structure", - members: { GlobalReplicationGroup: { shape: "S2b" } }, + addToHead + ); + request.on( + "sign", + function () { + attemptStartRealTime = AWS.util.realClock.now(); + attemptTimestamp = Date.now(); + region = request.httpRequest.region; + attemptCount++; }, + addToHead + ); + request.on("validateResponse", function () { + attemptLatency = Math.round( + AWS.util.realClock.now() - attemptStartRealTime + ); + }); + request.addNamedListener( + "API_CALL_ATTEMPT", + "success", + function API_CALL_ATTEMPT() { + var apiAttemptEvent = self.apiAttemptEvent(request); + apiAttemptEvent.Timestamp = attemptTimestamp; + apiAttemptEvent.AttemptLatency = + attemptLatency >= 0 ? attemptLatency : 0; + apiAttemptEvent.Region = region; + self.emit("apiCallAttempt", [apiAttemptEvent]); + } + ); + request.addNamedListener( + "API_CALL_ATTEMPT_RETRY", + "retry", + function API_CALL_ATTEMPT_RETRY() { + var apiAttemptEvent = self.attemptFailEvent(request); + apiAttemptEvent.Timestamp = attemptTimestamp; + //attemptLatency may not be available if fail before response + attemptLatency = + attemptLatency || + Math.round(AWS.util.realClock.now() - attemptStartRealTime); + apiAttemptEvent.AttemptLatency = + attemptLatency >= 0 ? attemptLatency : 0; + apiAttemptEvent.Region = region; + self.emit("apiCallAttempt", [apiAttemptEvent]); + } + ); + request.addNamedListener("API_CALL", "complete", function API_CALL() { + var apiCallEvent = self.apiCallEvent(request); + apiCallEvent.AttemptCount = attemptCount; + if (apiCallEvent.AttemptCount <= 0) return; + apiCallEvent.Timestamp = callTimestamp; + var latency = Math.round( + AWS.util.realClock.now() - callStartRealTime + ); + apiCallEvent.Latency = latency >= 0 ? latency : 0; + var response = request.response; + if ( + response.error && + response.error.retryable && + typeof response.retryCount === "number" && + typeof response.maxRetries === "number" && + response.retryCount >= response.maxRetries + ) { + apiCallEvent.MaxRetriesExceeded = 1; + } + self.emit("apiCall", [apiCallEvent]); + }); + }, + + /** + * Override this method to setup any custom request listeners for each + * new request to the service. + * + * @method_abstract This is an abstract method. + */ + setupRequestListeners: function setupRequestListeners(request) {}, + + /** + * Gets the signing name for a given request + * @api private + */ + getSigningName: function getSigningName() { + return this.api.signingName || this.api.endpointPrefix; + }, + + /** + * Gets the signer class for a given request + * @api private + */ + getSignerClass: function getSignerClass(request) { + var version; + // get operation authtype if present + var operation = null; + var authtype = ""; + if (request) { + var operations = request.service.api.operations || {}; + operation = operations[request.operation] || null; + authtype = operation ? operation.authtype : ""; + } + if (this.config.signatureVersion) { + version = this.config.signatureVersion; + } else if (authtype === "v4" || authtype === "v4-unsigned-body") { + version = "v4"; + } else { + version = this.api.signatureVersion; + } + return AWS.Signers.RequestSigner.getVersion(version); + }, + + /** + * @api private + */ + serviceInterface: function serviceInterface() { + switch (this.api.protocol) { + case "ec2": + return AWS.EventListeners.Query; + case "query": + return AWS.EventListeners.Query; + case "json": + return AWS.EventListeners.Json; + case "rest-json": + return AWS.EventListeners.RestJson; + case "rest-xml": + return AWS.EventListeners.RestXml; + } + if (this.api.protocol) { + throw new Error( + "Invalid service `protocol' " + + this.api.protocol + + " in API config" + ); + } + }, + + /** + * @api private + */ + successfulResponse: function successfulResponse(resp) { + return resp.httpResponse.statusCode < 300; + }, + + /** + * How many times a failed request should be retried before giving up. + * the defaultRetryCount can be overriden by service classes. + * + * @api private + */ + numRetries: function numRetries() { + if (this.config.maxRetries !== undefined) { + return this.config.maxRetries; + } else { + return this.defaultRetryCount; + } + }, + + /** + * @api private + */ + retryDelays: function retryDelays(retryCount, err) { + return AWS.util.calculateRetryDelay( + retryCount, + this.config.retryDelayOptions, + err + ); + }, + + /** + * @api private + */ + retryableError: function retryableError(error) { + if (this.timeoutError(error)) return true; + if (this.networkingError(error)) return true; + if (this.expiredCredentialsError(error)) return true; + if (this.throttledError(error)) return true; + if (error.statusCode >= 500) return true; + return false; + }, + + /** + * @api private + */ + networkingError: function networkingError(error) { + return error.code === "NetworkingError"; + }, + + /** + * @api private + */ + timeoutError: function timeoutError(error) { + return error.code === "TimeoutError"; + }, + + /** + * @api private + */ + expiredCredentialsError: function expiredCredentialsError(error) { + // TODO : this only handles *one* of the expired credential codes + return error.code === "ExpiredTokenException"; + }, + + /** + * @api private + */ + clockSkewError: function clockSkewError(error) { + switch (error.code) { + case "RequestTimeTooSkewed": + case "RequestExpired": + case "InvalidSignatureException": + case "SignatureDoesNotMatch": + case "AuthFailure": + case "RequestInTheFuture": + return true; + default: + return false; + } + }, + + /** + * @api private + */ + getSkewCorrectedDate: function getSkewCorrectedDate() { + return new Date(Date.now() + this.config.systemClockOffset); + }, + + /** + * @api private + */ + applyClockOffset: function applyClockOffset(newServerTime) { + if (newServerTime) { + this.config.systemClockOffset = newServerTime - Date.now(); + } + }, + + /** + * @api private + */ + isClockSkewed: function isClockSkewed(newServerTime) { + if (newServerTime) { + return ( + Math.abs(this.getSkewCorrectedDate().getTime() - newServerTime) >= + 300000 + ); + } + }, + + /** + * @api private + */ + throttledError: function throttledError(error) { + // this logic varies between services + if (error.statusCode === 429) return true; + switch (error.code) { + case "ProvisionedThroughputExceededException": + case "Throttling": + case "ThrottlingException": + case "RequestLimitExceeded": + case "RequestThrottled": + case "RequestThrottledException": + case "TooManyRequestsException": + case "TransactionInProgressException": //dynamodb + case "EC2ThrottledException": + return true; + default: + return false; + } + }, + + /** + * @api private + */ + endpointFromTemplate: function endpointFromTemplate(endpoint) { + if (typeof endpoint !== "string") return endpoint; + + var e = endpoint; + e = e.replace(/\{service\}/g, this.api.endpointPrefix); + e = e.replace(/\{region\}/g, this.config.region); + e = e.replace( + /\{scheme\}/g, + this.config.sslEnabled ? "https" : "http" + ); + return e; + }, + + /** + * @api private + */ + setEndpoint: function setEndpoint(endpoint) { + this.endpoint = new AWS.Endpoint(endpoint, this.config); + }, + + /** + * @api private + */ + paginationConfig: function paginationConfig(operation, throwException) { + var paginator = this.api.operations[operation].paginator; + if (!paginator) { + if (throwException) { + var e = new Error(); + throw AWS.util.error( + e, + "No pagination configuration for " + operation + ); + } + return null; + } + + return paginator; + }, + }); + + AWS.util.update(AWS.Service, { + /** + * Adds one method for each operation described in the api configuration + * + * @api private + */ + defineMethods: function defineMethods(svc) { + AWS.util.each(svc.prototype.api.operations, function iterator( + method + ) { + if (svc.prototype[method]) return; + var operation = svc.prototype.api.operations[method]; + if (operation.authtype === "none") { + svc.prototype[method] = function (params, callback) { + return this.makeUnauthenticatedRequest( + method, + params, + callback + ); + }; + } else { + svc.prototype[method] = function (params, callback) { + return this.makeRequest(method, params, callback); + }; + } + }); + }, + + /** + * Defines a new Service class using a service identifier and list of versions + * including an optional set of features (functions) to apply to the class + * prototype. + * + * @param serviceIdentifier [String] the identifier for the service + * @param versions [Array] a list of versions that work with this + * service + * @param features [Object] an object to attach to the prototype + * @return [Class] the service class defined by this function. + */ + defineService: function defineService( + serviceIdentifier, + versions, + features + ) { + AWS.Service._serviceMap[serviceIdentifier] = true; + if (!Array.isArray(versions)) { + features = versions; + versions = []; + } + + var svc = inherit(AWS.Service, features || {}); + + if (typeof serviceIdentifier === "string") { + AWS.Service.addVersions(svc, versions); + + var identifier = svc.serviceIdentifier || serviceIdentifier; + svc.serviceIdentifier = identifier; + } else { + // defineService called with an API + svc.prototype.api = serviceIdentifier; + AWS.Service.defineMethods(svc); + } + AWS.SequentialExecutor.call(this.prototype); + //util.clientSideMonitoring is only available in node + if (!this.prototype.publisher && AWS.util.clientSideMonitoring) { + var Publisher = AWS.util.clientSideMonitoring.Publisher; + var configProvider = AWS.util.clientSideMonitoring.configProvider; + var publisherConfig = configProvider(); + this.prototype.publisher = new Publisher(publisherConfig); + if (publisherConfig.enabled) { + //if csm is enabled in environment, SDK should send all metrics + AWS.Service._clientSideMonitoring = true; + } + } + AWS.SequentialExecutor.call(svc.prototype); + AWS.Service.addDefaultMonitoringListeners(svc.prototype); + return svc; + }, + + /** + * @api private + */ + addVersions: function addVersions(svc, versions) { + if (!Array.isArray(versions)) versions = [versions]; + + svc.services = svc.services || {}; + for (var i = 0; i < versions.length; i++) { + if (svc.services[versions[i]] === undefined) { + svc.services[versions[i]] = null; + } + } + + svc.apiVersions = Object.keys(svc.services).sort(); + }, + + /** + * @api private + */ + defineServiceApi: function defineServiceApi( + superclass, + version, + apiConfig + ) { + var svc = inherit(superclass, { + serviceIdentifier: superclass.serviceIdentifier, + }); + + function setApi(api) { + if (api.isApi) { + svc.prototype.api = api; + } else { + svc.prototype.api = new Api(api, { + serviceIdentifier: superclass.serviceIdentifier, + }); + } + } + + if (typeof version === "string") { + if (apiConfig) { + setApi(apiConfig); + } else { + try { + setApi(AWS.apiLoader(superclass.serviceIdentifier, version)); + } catch (err) { + throw AWS.util.error(err, { + message: + "Could not find API configuration " + + superclass.serviceIdentifier + + "-" + + version, + }); + } + } + if ( + !Object.prototype.hasOwnProperty.call( + superclass.services, + version + ) + ) { + superclass.apiVersions = superclass.apiVersions + .concat(version) + .sort(); + } + superclass.services[version] = svc; + } else { + setApi(version); + } + + AWS.Service.defineMethods(svc); + return svc; + }, + + /** + * @api private + */ + hasService: function (identifier) { + return Object.prototype.hasOwnProperty.call( + AWS.Service._serviceMap, + identifier + ); + }, + + /** + * @param attachOn attach default monitoring listeners to object + * + * Each monitoring event should be emitted from service client to service constructor prototype and then + * to global service prototype like bubbling up. These default monitoring events listener will transfer + * the monitoring events to the upper layer. + * @api private + */ + addDefaultMonitoringListeners: function addDefaultMonitoringListeners( + attachOn + ) { + attachOn.addNamedListener( + "MONITOR_EVENTS_BUBBLE", + "apiCallAttempt", + function EVENTS_BUBBLE(event) { + var baseClass = Object.getPrototypeOf(attachOn); + if (baseClass._events) baseClass.emit("apiCallAttempt", [event]); + } + ); + attachOn.addNamedListener( + "CALL_EVENTS_BUBBLE", + "apiCall", + function CALL_EVENTS_BUBBLE(event) { + var baseClass = Object.getPrototypeOf(attachOn); + if (baseClass._events) baseClass.emit("apiCall", [event]); + } + ); + }, + + /** + * @api private + */ + _serviceMap: {}, + }); + + AWS.util.mixin(AWS.Service, AWS.SequentialExecutor); + + /** + * @api private + */ + module.exports = AWS.Service; + + /***/ + }, + + /***/ 3506: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["kinesisanalytics"] = {}; + AWS.KinesisAnalytics = Service.defineService("kinesisanalytics", [ + "2015-08-14", + ]); + Object.defineProperty( + apiLoader.services["kinesisanalytics"], + "2015-08-14", + { + get: function get() { + var model = __webpack_require__(5616); + model.paginators = __webpack_require__(5873).pagination; + return model; }, - CreateReplicationGroup: { - input: { - type: "structure", - required: ["ReplicationGroupId", "ReplicationGroupDescription"], - members: { - ReplicationGroupId: {}, - ReplicationGroupDescription: {}, - GlobalReplicationGroupId: {}, - PrimaryClusterId: {}, - AutomaticFailoverEnabled: { type: "boolean" }, - NumCacheClusters: { type: "integer" }, - PreferredCacheClusterAZs: { shape: "S1e" }, - NumNodeGroups: { type: "integer" }, - ReplicasPerNodeGroup: { type: "integer" }, - NodeGroupConfiguration: { - type: "list", - member: { - shape: "S1c", - locationName: "NodeGroupConfiguration", - }, - }, - CacheNodeType: {}, - Engine: {}, - EngineVersion: {}, - CacheParameterGroupName: {}, - CacheSubnetGroupName: {}, - CacheSecurityGroupNames: { shape: "S1i" }, - SecurityGroupIds: { shape: "S1j" }, - Tags: { shape: "S3" }, - SnapshotArns: { shape: "S1k" }, - SnapshotName: {}, - PreferredMaintenanceWindow: {}, - Port: { type: "integer" }, - NotificationTopicArn: {}, - AutoMinorVersionUpgrade: { type: "boolean" }, - SnapshotRetentionLimit: { type: "integer" }, - SnapshotWindow: {}, - AuthToken: {}, - TransitEncryptionEnabled: { type: "boolean" }, - AtRestEncryptionEnabled: { type: "boolean" }, - KmsKeyId: {}, - }, - }, - output: { - resultWrapper: "CreateReplicationGroupResult", - type: "structure", - members: { ReplicationGroup: { shape: "So" } }, - }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.KinesisAnalytics; + + /***/ + }, + + /***/ 3520: /***/ function (module) { + module.exports = { + pagination: { + ListMemberAccounts: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - CreateSnapshot: { - input: { - type: "structure", - required: ["SnapshotName"], - members: { - ReplicationGroupId: {}, - CacheClusterId: {}, - SnapshotName: {}, - KmsKeyId: {}, - }, - }, - output: { - resultWrapper: "CreateSnapshotResult", - type: "structure", - members: { Snapshot: { shape: "S19" } }, - }, + ListS3Resources: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", }, - DecreaseNodeGroupsInGlobalReplicationGroup: { - input: { - type: "structure", - required: [ - "GlobalReplicationGroupId", - "NodeGroupCount", - "ApplyImmediately", - ], - members: { - GlobalReplicationGroupId: {}, - NodeGroupCount: { type: "integer" }, - GlobalNodeGroupsToRemove: { shape: "S2m" }, - GlobalNodeGroupsToRetain: { shape: "S2m" }, - ApplyImmediately: { type: "boolean" }, + }, + }; + + /***/ + }, + + /***/ 3523: /***/ function (module, __unusedexports, __webpack_require__) { + var register = __webpack_require__(363); + var addHook = __webpack_require__(2510); + var removeHook = __webpack_require__(5866); + + // bind with array of arguments: https://stackoverflow.com/a/21792913 + var bind = Function.bind; + var bindable = bind.bind(bind); + + function bindApi(hook, state, name) { + var removeHookRef = bindable(removeHook, null).apply( + null, + name ? [state, name] : [state] + ); + hook.api = { remove: removeHookRef }; + hook.remove = removeHookRef; + ["before", "error", "after", "wrap"].forEach(function (kind) { + var args = name ? [state, kind, name] : [state, kind]; + hook[kind] = hook.api[kind] = bindable(addHook, null).apply( + null, + args + ); + }); + } + + function HookSingular() { + var singularHookName = "h"; + var singularHookState = { + registry: {}, + }; + var singularHook = register.bind( + null, + singularHookState, + singularHookName + ); + bindApi(singularHook, singularHookState, singularHookName); + return singularHook; + } + + function HookCollection() { + var state = { + registry: {}, + }; + + var hook = register.bind(null, state); + bindApi(hook, state); + + return hook; + } + + var collectionHookDeprecationMessageDisplayed = false; + function Hook() { + if (!collectionHookDeprecationMessageDisplayed) { + console.warn( + '[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4' + ); + collectionHookDeprecationMessageDisplayed = true; + } + return HookCollection(); + } + + Hook.Singular = HookSingular.bind(); + Hook.Collection = HookCollection.bind(); + + module.exports = Hook; + // expose constructors as a named property for TypeScript + module.exports.Hook = Hook; + module.exports.Singular = Hook.Singular; + module.exports.Collection = Hook.Collection; + + /***/ + }, + + /***/ 3530: /***/ function (module) { + module.exports = { + version: 2, + waiters: { + SuccessfulSigningJob: { + delay: 20, + operation: "DescribeSigningJob", + maxAttempts: 25, + acceptors: [ + { + expected: "Succeeded", + matcher: "path", + state: "success", + argument: "status", }, - }, - output: { - resultWrapper: "DecreaseNodeGroupsInGlobalReplicationGroupResult", - type: "structure", - members: { GlobalReplicationGroup: { shape: "S2b" } }, - }, - }, - DecreaseReplicaCount: { - input: { - type: "structure", - required: ["ReplicationGroupId", "ApplyImmediately"], - members: { - ReplicationGroupId: {}, - NewReplicaCount: { type: "integer" }, - ReplicaConfiguration: { shape: "S2p" }, - ReplicasToRemove: { type: "list", member: {} }, - ApplyImmediately: { type: "boolean" }, + { + expected: "Failed", + matcher: "path", + state: "failure", + argument: "status", }, - }, - output: { - resultWrapper: "DecreaseReplicaCountResult", - type: "structure", - members: { ReplicationGroup: { shape: "So" } }, - }, - }, - DeleteCacheCluster: { - input: { - type: "structure", - required: ["CacheClusterId"], - members: { CacheClusterId: {}, FinalSnapshotIdentifier: {} }, - }, - output: { - resultWrapper: "DeleteCacheClusterResult", - type: "structure", - members: { CacheCluster: { shape: "S1m" } }, - }, - }, - DeleteCacheParameterGroup: { - input: { - type: "structure", - required: ["CacheParameterGroupName"], - members: { CacheParameterGroupName: {} }, - }, - }, - DeleteCacheSecurityGroup: { - input: { - type: "structure", - required: ["CacheSecurityGroupName"], - members: { CacheSecurityGroupName: {} }, - }, - }, - DeleteCacheSubnetGroup: { - input: { - type: "structure", - required: ["CacheSubnetGroupName"], - members: { CacheSubnetGroupName: {} }, - }, - }, - DeleteGlobalReplicationGroup: { - input: { - type: "structure", - required: [ - "GlobalReplicationGroupId", - "RetainPrimaryReplicationGroup", - ], - members: { - GlobalReplicationGroupId: {}, - RetainPrimaryReplicationGroup: { type: "boolean" }, + { + expected: "ResourceNotFoundException", + matcher: "error", + state: "failure", }, - }, - output: { - resultWrapper: "DeleteGlobalReplicationGroupResult", - type: "structure", - members: { GlobalReplicationGroup: { shape: "S2b" } }, - }, + ], }, - DeleteReplicationGroup: { - input: { - type: "structure", - required: ["ReplicationGroupId"], - members: { - ReplicationGroupId: {}, - RetainPrimaryCluster: { type: "boolean" }, - FinalSnapshotIdentifier: {}, - }, + }, + }; + + /***/ + }, + + /***/ 3536: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["lookoutvision"] = {}; + AWS.LookoutVision = Service.defineService("lookoutvision", [ + "2020-11-20", + ]); + Object.defineProperty(apiLoader.services["lookoutvision"], "2020-11-20", { + get: function get() { + var model = __webpack_require__(4259); + model.paginators = __webpack_require__(9730).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.LookoutVision; + + /***/ + }, + + /***/ 3546: /***/ function (module, __unusedexports, __webpack_require__) { + var util = __webpack_require__(153); + var regionConfig = __webpack_require__(2572); + + function generateRegionPrefix(region) { + if (!region) return null; + + var parts = region.split("-"); + if (parts.length < 3) return null; + return parts.slice(0, parts.length - 2).join("-") + "-*"; + } + + function derivedKeys(service) { + var region = service.config.region; + var regionPrefix = generateRegionPrefix(region); + var endpointPrefix = service.api.endpointPrefix; + + return [ + [region, endpointPrefix], + [regionPrefix, endpointPrefix], + [region, "*"], + [regionPrefix, "*"], + ["*", endpointPrefix], + ["*", "*"], + ].map(function (item) { + return item[0] && item[1] ? item.join("/") : null; + }); + } + + function applyConfig(service, config) { + util.each(config, function (key, value) { + if (key === "globalEndpoint") return; + if ( + service.config[key] === undefined || + service.config[key] === null + ) { + service.config[key] = value; + } + }); + } + + function configureEndpoint(service) { + var keys = derivedKeys(service); + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!key) continue; + + if (Object.prototype.hasOwnProperty.call(regionConfig.rules, key)) { + var config = regionConfig.rules[key]; + if (typeof config === "string") { + config = regionConfig.patterns[config]; + } + + // set dualstack endpoint + if ( + service.config.useDualstack && + util.isDualstackAvailable(service) + ) { + config = util.copy(config); + config.endpoint = config.endpoint.replace( + /{service}\.({region}\.)?/, + "{service}.dualstack.{region}." + ); + } + + // set global endpoint + service.isGlobalEndpoint = !!config.globalEndpoint; + if (config.signingRegion) { + service.signingRegion = config.signingRegion; + } + + // signature version + if (!config.signatureVersion) config.signatureVersion = "v4"; + + // merge config + applyConfig(service, config); + return; + } + } + } + + function getEndpointSuffix(region) { + var regionRegexes = { + "^(us|eu|ap|sa|ca|me)\\-\\w+\\-\\d+$": "amazonaws.com", + "^cn\\-\\w+\\-\\d+$": "amazonaws.com.cn", + "^us\\-gov\\-\\w+\\-\\d+$": "amazonaws.com", + "^us\\-iso\\-\\w+\\-\\d+$": "c2s.ic.gov", + "^us\\-isob\\-\\w+\\-\\d+$": "sc2s.sgov.gov", + }; + var defaultSuffix = "amazonaws.com"; + var regexes = Object.keys(regionRegexes); + for (var i = 0; i < regexes.length; i++) { + var regionPattern = RegExp(regexes[i]); + var dnsSuffix = regionRegexes[regexes[i]]; + if (regionPattern.test(region)) return dnsSuffix; + } + return defaultSuffix; + } + + /** + * @api private + */ + module.exports = { + configureEndpoint: configureEndpoint, + getEndpointSuffix: getEndpointSuffix, + }; + + /***/ + }, + + /***/ 3558: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = hasPreviousPage; + + const deprecate = __webpack_require__(6370); + const getPageLinks = __webpack_require__(4577); + + function hasPreviousPage(link) { + deprecate( + `octokit.hasPreviousPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` + ); + return getPageLinks(link).prev; + } + + /***/ + }, + + /***/ 3562: /***/ function (__unusedmodule, exports, __webpack_require__) { + "use strict"; + + Object.defineProperty(exports, "__esModule", { value: true }); + + function _interopDefault(ex) { + return ex && typeof ex === "object" && "default" in ex + ? ex["default"] + : ex; + } + + var osName = _interopDefault(__webpack_require__(8002)); + + function getUserAgent() { + try { + return `Node.js/${process.version.substr(1)} (${osName()}; ${ + process.arch + })`; + } catch (error) { + if (/wmic os get Caption/.test(error.message)) { + return "Windows "; + } + + return ""; + } + } + + exports.getUserAgent = getUserAgent; + //# sourceMappingURL=index.js.map + + /***/ + }, + + /***/ 3576: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["databrew"] = {}; + AWS.DataBrew = Service.defineService("databrew", ["2017-07-25"]); + Object.defineProperty(apiLoader.services["databrew"], "2017-07-25", { + get: function get() { + var model = __webpack_require__(6524); + model.paginators = __webpack_require__(2848).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.DataBrew; + + /***/ + }, + + /***/ 3602: /***/ function (module) { + // Generated by CoffeeScript 1.12.7 + (function () { + var XMLStringifier, + bind = function (fn, me) { + return function () { + return fn.apply(me, arguments); + }; + }, + hasProp = {}.hasOwnProperty; + + module.exports = XMLStringifier = (function () { + function XMLStringifier(options) { + this.assertLegalChar = bind(this.assertLegalChar, this); + var key, ref, value; + options || (options = {}); + this.noDoubleEncoding = options.noDoubleEncoding; + ref = options.stringify || {}; + for (key in ref) { + if (!hasProp.call(ref, key)) continue; + value = ref[key]; + this[key] = value; + } + } + + XMLStringifier.prototype.eleName = function (val) { + val = "" + val || ""; + return this.assertLegalChar(val); + }; + + XMLStringifier.prototype.eleText = function (val) { + val = "" + val || ""; + return this.assertLegalChar(this.elEscape(val)); + }; + + XMLStringifier.prototype.cdata = function (val) { + val = "" + val || ""; + val = val.replace("]]>", "]]]]>"); + return this.assertLegalChar(val); + }; + + XMLStringifier.prototype.comment = function (val) { + val = "" + val || ""; + if (val.match(/--/)) { + throw new Error( + "Comment text cannot contain double-hypen: " + val + ); + } + return this.assertLegalChar(val); + }; + + XMLStringifier.prototype.raw = function (val) { + return "" + val || ""; + }; + + XMLStringifier.prototype.attName = function (val) { + return (val = "" + val || ""); + }; + + XMLStringifier.prototype.attValue = function (val) { + val = "" + val || ""; + return this.attEscape(val); + }; + + XMLStringifier.prototype.insTarget = function (val) { + return "" + val || ""; + }; + + XMLStringifier.prototype.insValue = function (val) { + val = "" + val || ""; + if (val.match(/\?>/)) { + throw new Error("Invalid processing instruction value: " + val); + } + return val; + }; + + XMLStringifier.prototype.xmlVersion = function (val) { + val = "" + val || ""; + if (!val.match(/1\.[0-9]+/)) { + throw new Error("Invalid version number: " + val); + } + return val; + }; + + XMLStringifier.prototype.xmlEncoding = function (val) { + val = "" + val || ""; + if (!val.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/)) { + throw new Error("Invalid encoding: " + val); + } + return val; + }; + + XMLStringifier.prototype.xmlStandalone = function (val) { + if (val) { + return "yes"; + } else { + return "no"; + } + }; + + XMLStringifier.prototype.dtdPubID = function (val) { + return "" + val || ""; + }; + + XMLStringifier.prototype.dtdSysID = function (val) { + return "" + val || ""; + }; + + XMLStringifier.prototype.dtdElementValue = function (val) { + return "" + val || ""; + }; + + XMLStringifier.prototype.dtdAttType = function (val) { + return "" + val || ""; + }; + + XMLStringifier.prototype.dtdAttDefault = function (val) { + if (val != null) { + return "" + val || ""; + } else { + return val; + } + }; + + XMLStringifier.prototype.dtdEntityValue = function (val) { + return "" + val || ""; + }; + + XMLStringifier.prototype.dtdNData = function (val) { + return "" + val || ""; + }; + + XMLStringifier.prototype.convertAttKey = "@"; + + XMLStringifier.prototype.convertPIKey = "?"; + + XMLStringifier.prototype.convertTextKey = "#text"; + + XMLStringifier.prototype.convertCDataKey = "#cdata"; + + XMLStringifier.prototype.convertCommentKey = "#comment"; + + XMLStringifier.prototype.convertRawKey = "#raw"; + + XMLStringifier.prototype.assertLegalChar = function (str) { + var res; + res = str.match( + /[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/ + ); + if (res) { + throw new Error( + "Invalid character in string: " + str + " at index " + res.index + ); + } + return str; + }; + + XMLStringifier.prototype.elEscape = function (str) { + var ampregex; + ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; + return str + .replace(ampregex, "&") + .replace(//g, ">") + .replace(/\r/g, " "); + }; + + XMLStringifier.prototype.attEscape = function (str) { + var ampregex; + ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; + return str + .replace(ampregex, "&") + .replace(/ errname(uv, code); - } - - // Used for testing the fallback behavior - module.exports.__test__ = errname; + /***/ 3624: /***/ function (module, __unusedexports, __webpack_require__) { + var util = __webpack_require__(153); + var property = util.property; - function errname(uv, code) { - if (uv) { - return uv.errname(code); - } + function ResourceWaiter(name, waiter, options) { + options = options || {}; + property(this, "name", name); + property(this, "api", options.api, false); - if (!(code < 0)) { - throw new Error("err >= 0"); + if (waiter.operation) { + property(this, "operation", util.string.lowerFirst(waiter.operation)); } - return `Unknown system error ${code}`; - } - - /***/ - }, - - /***/ 4430: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = octokitValidate; - - const validate = __webpack_require__(1348); + var self = this; + var keys = ["type", "description", "delay", "maxAttempts", "acceptors"]; - function octokitValidate(octokit) { - octokit.hook.before("request", validate.bind(null, octokit)); + keys.forEach(function (key) { + var value = waiter[key]; + if (value) { + property(self, key, value); + } + }); } - /***/ - }, - - /***/ 4431: /***/ function (__unusedmodule, exports, __webpack_require__) { - "use strict"; - - var __importStar = - (this && this.__importStar) || - function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) - for (var k in mod) - if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; - }; - Object.defineProperty(exports, "__esModule", { value: true }); - const os = __importStar(__webpack_require__(2087)); - const utils_1 = __webpack_require__(5082); /** - * Commands - * - * Command Format: - * ::name key=value,key=value::message - * - * Examples: - * ::warning::This is the message - * ::set-env name=MY_VAR::some value + * @api private */ - function issueCommand(command, properties, message) { - const cmd = new Command(command, properties, message); - process.stdout.write(cmd.toString() + os.EOL); - } - exports.issueCommand = issueCommand; - function issue(name, message = "") { - issueCommand(name, {}, message); - } - exports.issue = issue; - const CMD_STRING = "::"; - class Command { - constructor(command, properties, message) { - if (!command) { - command = "missing.command"; - } - this.command = command; - this.properties = properties; - this.message = message; - } - toString() { - let cmdStr = CMD_STRING + this.command; - if (this.properties && Object.keys(this.properties).length > 0) { - cmdStr += " "; - let first = true; - for (const key in this.properties) { - if (this.properties.hasOwnProperty(key)) { - const val = this.properties[key]; - if (val) { - if (first) { - first = false; - } else { - cmdStr += ","; - } - cmdStr += `${key}=${escapeProperty(val)}`; - } - } - } - } - cmdStr += `${CMD_STRING}${escapeData(this.message)}`; - return cmdStr; - } - } - function escapeData(s) { - return utils_1 - .toCommandValue(s) - .replace(/%/g, "%25") - .replace(/\r/g, "%0D") - .replace(/\n/g, "%0A"); - } - function escapeProperty(s) { - return utils_1 - .toCommandValue(s) - .replace(/%/g, "%25") - .replace(/\r/g, "%0D") - .replace(/\n/g, "%0A") - .replace(/:/g, "%3A") - .replace(/,/g, "%2C"); - } - //# sourceMappingURL=command.js.map - - /***/ - }, - - /***/ 4437: /***/ function (module) { - module.exports = { - pagination: { - ListMeshes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "meshes", - }, - ListRoutes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "routes", - }, - ListVirtualNodes: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "virtualNodes", - }, - ListVirtualRouters: { - input_token: "nextToken", - limit_key: "limit", - output_token: "nextToken", - result_key: "virtualRouters", - }, - }, - }; + module.exports = ResourceWaiter; /***/ }, - /***/ 4444: /***/ function (module) { + /***/ 3627: /***/ function (module) { module.exports = { + version: "2.0", metadata: { - apiVersion: "2017-10-14", - endpointPrefix: "medialive", - signingName: "medialive", - serviceFullName: "AWS Elemental MediaLive", - serviceId: "MediaLive", - protocol: "rest-json", - uid: "medialive-2017-10-14", + apiVersion: "2012-01-25", + endpointPrefix: "swf", + jsonVersion: "1.0", + protocol: "json", + serviceAbbreviation: "Amazon SWF", + serviceFullName: "Amazon Simple Workflow Service", + serviceId: "SWF", signatureVersion: "v4", - serviceAbbreviation: "MediaLive", - jsonVersion: "1.1", + targetPrefix: "SimpleWorkflowService", + uid: "swf-2012-01-25", }, operations: { - BatchUpdateSchedule: { - http: { - method: "PUT", - requestUri: "/prod/channels/{channelId}/schedule", - responseCode: 200, - }, + CountClosedWorkflowExecutions: { input: { type: "structure", + required: ["domain"], members: { - ChannelId: { location: "uri", locationName: "channelId" }, - Creates: { - locationName: "creates", - type: "structure", - members: { - ScheduleActions: { - shape: "S4", - locationName: "scheduleActions", - }, - }, - required: ["ScheduleActions"], - }, - Deletes: { - locationName: "deletes", - type: "structure", - members: { - ActionNames: { shape: "Sf", locationName: "actionNames" }, - }, - required: ["ActionNames"], - }, - }, - required: ["ChannelId"], - }, - output: { - type: "structure", - members: { - Creates: { - locationName: "creates", - type: "structure", - members: { - ScheduleActions: { - shape: "S4", - locationName: "scheduleActions", - }, - }, - required: ["ScheduleActions"], - }, - Deletes: { - locationName: "deletes", - type: "structure", - members: { - ScheduleActions: { - shape: "S4", - locationName: "scheduleActions", - }, - }, - required: ["ScheduleActions"], - }, + domain: {}, + startTimeFilter: { shape: "S3" }, + closeTimeFilter: { shape: "S3" }, + executionFilter: { shape: "S5" }, + typeFilter: { shape: "S7" }, + tagFilter: { shape: "Sa" }, + closeStatusFilter: { shape: "Sc" }, }, }, + output: { shape: "Se" }, }, - CreateChannel: { - http: { requestUri: "/prod/channels", responseCode: 201 }, + CountOpenWorkflowExecutions: { input: { type: "structure", + required: ["domain", "startTimeFilter"], members: { - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - RequestId: { - locationName: "requestId", - idempotencyToken: true, - }, - Reserved: { locationName: "reserved", deprecated: true }, - RoleArn: { locationName: "roleArn" }, - Tags: { shape: "Sbm", locationName: "tags" }, + domain: {}, + startTimeFilter: { shape: "S3" }, + typeFilter: { shape: "S7" }, + tagFilter: { shape: "Sa" }, + executionFilter: { shape: "S5" }, }, }, - output: { + output: { shape: "Se" }, + }, + CountPendingActivityTasks: { + input: { type: "structure", - members: { Channel: { shape: "Sbo", locationName: "channel" } }, + required: ["domain", "taskList"], + members: { domain: {}, taskList: { shape: "Sj" } }, }, + output: { shape: "Sk" }, }, - CreateInput: { - http: { requestUri: "/prod/inputs", responseCode: 201 }, + CountPendingDecisionTasks: { input: { type: "structure", - members: { - Destinations: { shape: "Sbv", locationName: "destinations" }, - InputSecurityGroups: { - shape: "Sf", - locationName: "inputSecurityGroups", - }, - MediaConnectFlows: { - shape: "Sbx", - locationName: "mediaConnectFlows", - }, - Name: { locationName: "name" }, - RequestId: { - locationName: "requestId", - idempotencyToken: true, - }, - RoleArn: { locationName: "roleArn" }, - Sources: { shape: "Sbz", locationName: "sources" }, - Tags: { shape: "Sbm", locationName: "tags" }, - Type: { locationName: "type" }, - Vpc: { - locationName: "vpc", - type: "structure", - members: { - SecurityGroupIds: { - shape: "Sf", - locationName: "securityGroupIds", - }, - SubnetIds: { shape: "Sf", locationName: "subnetIds" }, - }, - required: ["SubnetIds"], - }, - }, + required: ["domain", "taskList"], + members: { domain: {}, taskList: { shape: "Sj" } }, }, - output: { + output: { shape: "Sk" }, + }, + DeprecateActivityType: { + input: { type: "structure", - members: { Input: { shape: "Sc4", locationName: "input" } }, + required: ["domain", "activityType"], + members: { domain: {}, activityType: { shape: "Sn" } }, }, }, - CreateInputSecurityGroup: { - http: { - requestUri: "/prod/inputSecurityGroups", - responseCode: 200, - }, + DeprecateDomain: { input: { type: "structure", - members: { - Tags: { shape: "Sbm", locationName: "tags" }, - WhitelistRules: { - shape: "Scg", - locationName: "whitelistRules", - }, - }, + required: ["name"], + members: { name: {} }, }, - output: { + }, + DeprecateWorkflowType: { + input: { type: "structure", - members: { - SecurityGroup: { shape: "Scj", locationName: "securityGroup" }, - }, + required: ["domain", "workflowType"], + members: { domain: {}, workflowType: { shape: "Sr" } }, }, }, - CreateMultiplex: { - http: { requestUri: "/prod/multiplexes", responseCode: 201 }, + DescribeActivityType: { input: { type: "structure", - members: { - AvailabilityZones: { - shape: "Sf", - locationName: "availabilityZones", - }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - RequestId: { - locationName: "requestId", - idempotencyToken: true, - }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - required: [ - "RequestId", - "MultiplexSettings", - "AvailabilityZones", - "Name", - ], + required: ["domain", "activityType"], + members: { domain: {}, activityType: { shape: "Sn" } }, }, output: { type: "structure", + required: ["typeInfo", "configuration"], members: { - Multiplex: { shape: "Sct", locationName: "multiplex" }, + typeInfo: { shape: "Su" }, + configuration: { + type: "structure", + members: { + defaultTaskStartToCloseTimeout: {}, + defaultTaskHeartbeatTimeout: {}, + defaultTaskList: { shape: "Sj" }, + defaultTaskPriority: {}, + defaultTaskScheduleToStartTimeout: {}, + defaultTaskScheduleToCloseTimeout: {}, + }, + }, }, }, }, - CreateMultiplexProgram: { - http: { - requestUri: "/prod/multiplexes/{multiplexId}/programs", - responseCode: 201, - }, + DescribeDomain: { input: { type: "structure", - members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, - MultiplexProgramSettings: { - shape: "Scz", - locationName: "multiplexProgramSettings", - }, - ProgramName: { locationName: "programName" }, - RequestId: { - locationName: "requestId", - idempotencyToken: true, - }, - }, - required: [ - "MultiplexId", - "RequestId", - "MultiplexProgramSettings", - "ProgramName", - ], + required: ["name"], + members: { name: {} }, }, output: { type: "structure", + required: ["domainInfo", "configuration"], members: { - MultiplexProgram: { - shape: "Sd7", - locationName: "multiplexProgram", + domainInfo: { shape: "S12" }, + configuration: { + type: "structure", + required: ["workflowExecutionRetentionPeriodInDays"], + members: { workflowExecutionRetentionPeriodInDays: {} }, }, }, }, }, - CreateTags: { - http: { - requestUri: "/prod/tags/{resource-arn}", - responseCode: 204, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - required: ["ResourceArn"], - }, - }, - DeleteChannel: { - http: { - method: "DELETE", - requestUri: "/prod/channels/{channelId}", - responseCode: 200, - }, + DescribeWorkflowExecution: { input: { type: "structure", - members: { - ChannelId: { location: "uri", locationName: "channelId" }, - }, - required: ["ChannelId"], + required: ["domain", "execution"], + members: { domain: {}, execution: { shape: "S17" } }, }, output: { type: "structure", + required: [ + "executionInfo", + "executionConfiguration", + "openCounts", + ], members: { - Arn: { locationName: "arn" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", - }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelineDetails: { - shape: "Sbr", - locationName: "pipelineDetails", + executionInfo: { shape: "S1a" }, + executionConfiguration: { + type: "structure", + required: [ + "taskStartToCloseTimeout", + "executionStartToCloseTimeout", + "taskList", + "childPolicy", + ], + members: { + taskStartToCloseTimeout: {}, + executionStartToCloseTimeout: {}, + taskList: { shape: "Sj" }, + taskPriority: {}, + childPolicy: {}, + lambdaRole: {}, + }, }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", + openCounts: { + type: "structure", + required: [ + "openActivityTasks", + "openDecisionTasks", + "openTimers", + "openChildWorkflowExecutions", + ], + members: { + openActivityTasks: { type: "integer" }, + openDecisionTasks: { type: "integer" }, + openTimers: { type: "integer" }, + openChildWorkflowExecutions: { type: "integer" }, + openLambdaFunctions: { type: "integer" }, + }, }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, + latestActivityTaskTimestamp: { type: "timestamp" }, + latestExecutionContext: {}, }, }, }, - DeleteInput: { - http: { - method: "DELETE", - requestUri: "/prod/inputs/{inputId}", - responseCode: 200, - }, + DescribeWorkflowType: { input: { type: "structure", - members: { - InputId: { location: "uri", locationName: "inputId" }, - }, - required: ["InputId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteInputSecurityGroup: { - http: { - method: "DELETE", - requestUri: "/prod/inputSecurityGroups/{inputSecurityGroupId}", - responseCode: 200, + required: ["domain", "workflowType"], + members: { domain: {}, workflowType: { shape: "Sr" } }, }, - input: { + output: { type: "structure", + required: ["typeInfo", "configuration"], members: { - InputSecurityGroupId: { - location: "uri", - locationName: "inputSecurityGroupId", + typeInfo: { shape: "S1m" }, + configuration: { + type: "structure", + members: { + defaultTaskStartToCloseTimeout: {}, + defaultExecutionStartToCloseTimeout: {}, + defaultTaskList: { shape: "Sj" }, + defaultTaskPriority: {}, + defaultChildPolicy: {}, + defaultLambdaRole: {}, + }, }, }, - required: ["InputSecurityGroupId"], }, - output: { type: "structure", members: {} }, }, - DeleteMultiplex: { - http: { - method: "DELETE", - requestUri: "/prod/multiplexes/{multiplexId}", - responseCode: 202, - }, + GetWorkflowExecutionHistory: { input: { type: "structure", + required: ["domain", "execution"], members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, + domain: {}, + execution: { shape: "S17" }, + nextPageToken: {}, + maximumPageSize: { type: "integer" }, + reverseOrder: { type: "boolean" }, }, - required: ["MultiplexId"], }, output: { type: "structure", - members: { - Arn: { locationName: "arn" }, - AvailabilityZones: { - shape: "Sf", - locationName: "availabilityZones", - }, - Destinations: { shape: "Scu", locationName: "destinations" }, - Id: { locationName: "id" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - ProgramCount: { locationName: "programCount", type: "integer" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, + required: ["events"], + members: { events: { shape: "S1t" }, nextPageToken: {} }, }, }, - DeleteMultiplexProgram: { - http: { - method: "DELETE", - requestUri: - "/prod/multiplexes/{multiplexId}/programs/{programName}", - responseCode: 200, - }, + ListActivityTypes: { input: { type: "structure", + required: ["domain", "registrationStatus"], members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, - ProgramName: { location: "uri", locationName: "programName" }, + domain: {}, + name: {}, + registrationStatus: {}, + nextPageToken: {}, + maximumPageSize: { type: "integer" }, + reverseOrder: { type: "boolean" }, }, - required: ["MultiplexId", "ProgramName"], }, output: { type: "structure", + required: ["typeInfos"], members: { - ChannelId: { locationName: "channelId" }, - MultiplexProgramSettings: { - shape: "Scz", - locationName: "multiplexProgramSettings", - }, - PacketIdentifiersMap: { - shape: "Sd8", - locationName: "packetIdentifiersMap", - }, - ProgramName: { locationName: "programName" }, + typeInfos: { type: "list", member: { shape: "Su" } }, + nextPageToken: {}, }, }, }, - DeleteReservation: { - http: { - method: "DELETE", - requestUri: "/prod/reservations/{reservationId}", - responseCode: 200, - }, + ListClosedWorkflowExecutions: { input: { type: "structure", + required: ["domain"], members: { - ReservationId: { - location: "uri", - locationName: "reservationId", - }, - }, - required: ["ReservationId"], - }, - output: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Count: { locationName: "count", type: "integer" }, - CurrencyCode: { locationName: "currencyCode" }, - Duration: { locationName: "duration", type: "integer" }, - DurationUnits: { locationName: "durationUnits" }, - End: { locationName: "end" }, - FixedPrice: { locationName: "fixedPrice", type: "double" }, - Name: { locationName: "name" }, - OfferingDescription: { locationName: "offeringDescription" }, - OfferingId: { locationName: "offeringId" }, - OfferingType: { locationName: "offeringType" }, - Region: { locationName: "region" }, - ReservationId: { locationName: "reservationId" }, - ResourceSpecification: { - shape: "Sdp", - locationName: "resourceSpecification", - }, - Start: { locationName: "start" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - UsagePrice: { locationName: "usagePrice", type: "double" }, + domain: {}, + startTimeFilter: { shape: "S3" }, + closeTimeFilter: { shape: "S3" }, + executionFilter: { shape: "S5" }, + closeStatusFilter: { shape: "Sc" }, + typeFilter: { shape: "S7" }, + tagFilter: { shape: "Sa" }, + nextPageToken: {}, + maximumPageSize: { type: "integer" }, + reverseOrder: { type: "boolean" }, }, }, + output: { shape: "S4g" }, }, - DeleteSchedule: { - http: { - method: "DELETE", - requestUri: "/prod/channels/{channelId}/schedule", - responseCode: 200, - }, + ListDomains: { input: { type: "structure", + required: ["registrationStatus"], members: { - ChannelId: { location: "uri", locationName: "channelId" }, + nextPageToken: {}, + registrationStatus: {}, + maximumPageSize: { type: "integer" }, + reverseOrder: { type: "boolean" }, }, - required: ["ChannelId"], - }, - output: { type: "structure", members: {} }, - }, - DeleteTags: { - http: { - method: "DELETE", - requestUri: "/prod/tags/{resource-arn}", - responseCode: 204, }, - input: { + output: { type: "structure", + required: ["domainInfos"], members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - TagKeys: { - shape: "Sf", - location: "querystring", - locationName: "tagKeys", - }, + domainInfos: { type: "list", member: { shape: "S12" } }, + nextPageToken: {}, }, - required: ["TagKeys", "ResourceArn"], }, }, - DescribeChannel: { - http: { - method: "GET", - requestUri: "/prod/channels/{channelId}", - responseCode: 200, - }, + ListOpenWorkflowExecutions: { input: { type: "structure", + required: ["domain", "startTimeFilter"], members: { - ChannelId: { location: "uri", locationName: "channelId" }, + domain: {}, + startTimeFilter: { shape: "S3" }, + typeFilter: { shape: "S7" }, + tagFilter: { shape: "Sa" }, + nextPageToken: {}, + maximumPageSize: { type: "integer" }, + reverseOrder: { type: "boolean" }, + executionFilter: { shape: "S5" }, }, - required: ["ChannelId"], }, - output: { + output: { shape: "S4g" }, + }, + ListTagsForResource: { + input: { type: "structure", - members: { - Arn: { locationName: "arn" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", - }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelineDetails: { - shape: "Sbr", - locationName: "pipelineDetails", - }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, + required: ["resourceArn"], + members: { resourceArn: {} }, }, + output: { type: "structure", members: { tags: { shape: "S4o" } } }, }, - DescribeInput: { - http: { - method: "GET", - requestUri: "/prod/inputs/{inputId}", - responseCode: 200, - }, + ListWorkflowTypes: { input: { type: "structure", + required: ["domain", "registrationStatus"], members: { - InputId: { location: "uri", locationName: "inputId" }, + domain: {}, + name: {}, + registrationStatus: {}, + nextPageToken: {}, + maximumPageSize: { type: "integer" }, + reverseOrder: { type: "boolean" }, }, - required: ["InputId"], }, output: { type: "structure", + required: ["typeInfos"], members: { - Arn: { locationName: "arn" }, - AttachedChannels: { - shape: "Sf", - locationName: "attachedChannels", - }, - Destinations: { shape: "Sc5", locationName: "destinations" }, - Id: { locationName: "id" }, - InputClass: { locationName: "inputClass" }, - InputSourceType: { locationName: "inputSourceType" }, - MediaConnectFlows: { - shape: "Sca", - locationName: "mediaConnectFlows", - }, - Name: { locationName: "name" }, - RoleArn: { locationName: "roleArn" }, - SecurityGroups: { shape: "Sf", locationName: "securityGroups" }, - Sources: { shape: "Scc", locationName: "sources" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - Type: { locationName: "type" }, + typeInfos: { type: "list", member: { shape: "S1m" } }, + nextPageToken: {}, }, }, }, - DescribeInputSecurityGroup: { - http: { - method: "GET", - requestUri: "/prod/inputSecurityGroups/{inputSecurityGroupId}", - responseCode: 200, - }, + PollForActivityTask: { input: { type: "structure", - members: { - InputSecurityGroupId: { - location: "uri", - locationName: "inputSecurityGroupId", - }, - }, - required: ["InputSecurityGroupId"], + required: ["domain", "taskList"], + members: { domain: {}, taskList: { shape: "Sj" }, identity: {} }, }, output: { type: "structure", + required: [ + "taskToken", + "activityId", + "startedEventId", + "workflowExecution", + "activityType", + ], members: { - Arn: { locationName: "arn" }, - Id: { locationName: "id" }, - Inputs: { shape: "Sf", locationName: "inputs" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - WhitelistRules: { - shape: "Scl", - locationName: "whitelistRules", - }, + taskToken: {}, + activityId: {}, + startedEventId: { type: "long" }, + workflowExecution: { shape: "S17" }, + activityType: { shape: "Sn" }, + input: {}, }, }, }, - DescribeMultiplex: { - http: { - method: "GET", - requestUri: "/prod/multiplexes/{multiplexId}", - responseCode: 200, - }, + PollForDecisionTask: { input: { type: "structure", + required: ["domain", "taskList"], members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, + domain: {}, + taskList: { shape: "Sj" }, + identity: {}, + nextPageToken: {}, + maximumPageSize: { type: "integer" }, + reverseOrder: { type: "boolean" }, }, - required: ["MultiplexId"], }, output: { type: "structure", + required: [ + "taskToken", + "startedEventId", + "workflowExecution", + "workflowType", + "events", + ], members: { - Arn: { locationName: "arn" }, - AvailabilityZones: { - shape: "Sf", - locationName: "availabilityZones", - }, - Destinations: { shape: "Scu", locationName: "destinations" }, - Id: { locationName: "id" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - ProgramCount: { locationName: "programCount", type: "integer" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, + taskToken: {}, + startedEventId: { type: "long" }, + workflowExecution: { shape: "S17" }, + workflowType: { shape: "Sr" }, + events: { shape: "S1t" }, + nextPageToken: {}, + previousStartedEventId: { type: "long" }, }, }, }, - DescribeMultiplexProgram: { - http: { - method: "GET", - requestUri: - "/prod/multiplexes/{multiplexId}/programs/{programName}", - responseCode: 200, - }, + RecordActivityTaskHeartbeat: { input: { type: "structure", - members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, - ProgramName: { location: "uri", locationName: "programName" }, - }, - required: ["MultiplexId", "ProgramName"], + required: ["taskToken"], + members: { taskToken: {}, details: {} }, }, output: { type: "structure", - members: { - ChannelId: { locationName: "channelId" }, - MultiplexProgramSettings: { - shape: "Scz", - locationName: "multiplexProgramSettings", - }, - PacketIdentifiersMap: { - shape: "Sd8", - locationName: "packetIdentifiersMap", - }, - ProgramName: { locationName: "programName" }, - }, + required: ["cancelRequested"], + members: { cancelRequested: { type: "boolean" } }, }, }, - DescribeOffering: { - http: { - method: "GET", - requestUri: "/prod/offerings/{offeringId}", - responseCode: 200, - }, + RegisterActivityType: { input: { type: "structure", + required: ["domain", "name", "version"], members: { - OfferingId: { location: "uri", locationName: "offeringId" }, + domain: {}, + name: {}, + version: {}, + description: {}, + defaultTaskStartToCloseTimeout: {}, + defaultTaskHeartbeatTimeout: {}, + defaultTaskList: { shape: "Sj" }, + defaultTaskPriority: {}, + defaultTaskScheduleToStartTimeout: {}, + defaultTaskScheduleToCloseTimeout: {}, }, - required: ["OfferingId"], }, - output: { + }, + RegisterDomain: { + input: { type: "structure", + required: ["name", "workflowExecutionRetentionPeriodInDays"], members: { - Arn: { locationName: "arn" }, - CurrencyCode: { locationName: "currencyCode" }, - Duration: { locationName: "duration", type: "integer" }, - DurationUnits: { locationName: "durationUnits" }, - FixedPrice: { locationName: "fixedPrice", type: "double" }, - OfferingDescription: { locationName: "offeringDescription" }, - OfferingId: { locationName: "offeringId" }, - OfferingType: { locationName: "offeringType" }, - Region: { locationName: "region" }, - ResourceSpecification: { - shape: "Sdp", - locationName: "resourceSpecification", - }, - UsagePrice: { locationName: "usagePrice", type: "double" }, + name: {}, + description: {}, + workflowExecutionRetentionPeriodInDays: {}, + tags: { shape: "S4o" }, }, }, }, - DescribeReservation: { - http: { - method: "GET", - requestUri: "/prod/reservations/{reservationId}", - responseCode: 200, - }, + RegisterWorkflowType: { input: { type: "structure", + required: ["domain", "name", "version"], members: { - ReservationId: { - location: "uri", - locationName: "reservationId", - }, + domain: {}, + name: {}, + version: {}, + description: {}, + defaultTaskStartToCloseTimeout: {}, + defaultExecutionStartToCloseTimeout: {}, + defaultTaskList: { shape: "Sj" }, + defaultTaskPriority: {}, + defaultChildPolicy: {}, + defaultLambdaRole: {}, }, - required: ["ReservationId"], }, - output: { + }, + RequestCancelWorkflowExecution: { + input: { type: "structure", - members: { - Arn: { locationName: "arn" }, - Count: { locationName: "count", type: "integer" }, - CurrencyCode: { locationName: "currencyCode" }, - Duration: { locationName: "duration", type: "integer" }, - DurationUnits: { locationName: "durationUnits" }, - End: { locationName: "end" }, - FixedPrice: { locationName: "fixedPrice", type: "double" }, - Name: { locationName: "name" }, - OfferingDescription: { locationName: "offeringDescription" }, - OfferingId: { locationName: "offeringId" }, - OfferingType: { locationName: "offeringType" }, - Region: { locationName: "region" }, - ReservationId: { locationName: "reservationId" }, - ResourceSpecification: { - shape: "Sdp", - locationName: "resourceSpecification", - }, - Start: { locationName: "start" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - UsagePrice: { locationName: "usagePrice", type: "double" }, - }, + required: ["domain", "workflowId"], + members: { domain: {}, workflowId: {}, runId: {} }, }, }, - DescribeSchedule: { - http: { - method: "GET", - requestUri: "/prod/channels/{channelId}/schedule", - responseCode: 200, - }, + RespondActivityTaskCanceled: { input: { type: "structure", - members: { - ChannelId: { location: "uri", locationName: "channelId" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, - required: ["ChannelId"], + required: ["taskToken"], + members: { taskToken: {}, details: {} }, }, - output: { + }, + RespondActivityTaskCompleted: { + input: { type: "structure", - members: { - NextToken: { locationName: "nextToken" }, - ScheduleActions: { - shape: "S4", - locationName: "scheduleActions", - }, - }, + required: ["taskToken"], + members: { taskToken: {}, result: {} }, }, }, - ListChannels: { - http: { - method: "GET", - requestUri: "/prod/channels", - responseCode: 200, - }, + RespondActivityTaskFailed: { input: { type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, + required: ["taskToken"], + members: { taskToken: {}, reason: {}, details: {} }, }, - output: { + }, + RespondDecisionTaskCompleted: { + input: { type: "structure", + required: ["taskToken"], members: { - Channels: { - locationName: "channels", + taskToken: {}, + decisions: { type: "list", member: { type: "structure", + required: ["decisionType"], members: { - Arn: { locationName: "arn" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { - shape: "S1j", - locationName: "destinations", + decisionType: {}, + scheduleActivityTaskDecisionAttributes: { + type: "structure", + required: ["activityType", "activityId"], + members: { + activityType: { shape: "Sn" }, + activityId: {}, + control: {}, + input: {}, + scheduleToCloseTimeout: {}, + taskList: { shape: "Sj" }, + taskPriority: {}, + scheduleToStartTimeout: {}, + startToCloseTimeout: {}, + heartbeatTimeout: {}, + }, }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", + requestCancelActivityTaskDecisionAttributes: { + type: "structure", + required: ["activityId"], + members: { activityId: {} }, }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", + completeWorkflowExecutionDecisionAttributes: { + type: "structure", + members: { result: {} }, }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", + failWorkflowExecutionDecisionAttributes: { + type: "structure", + members: { reason: {}, details: {} }, }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", + cancelWorkflowExecutionDecisionAttributes: { + type: "structure", + members: { details: {} }, + }, + continueAsNewWorkflowExecutionDecisionAttributes: { + type: "structure", + members: { + input: {}, + executionStartToCloseTimeout: {}, + taskList: { shape: "Sj" }, + taskPriority: {}, + taskStartToCloseTimeout: {}, + childPolicy: {}, + tagList: { shape: "S1c" }, + workflowTypeVersion: {}, + lambdaRole: {}, + }, + }, + recordMarkerDecisionAttributes: { + type: "structure", + required: ["markerName"], + members: { markerName: {}, details: {} }, + }, + startTimerDecisionAttributes: { + type: "structure", + required: ["timerId", "startToFireTimeout"], + members: { + timerId: {}, + control: {}, + startToFireTimeout: {}, + }, + }, + cancelTimerDecisionAttributes: { + type: "structure", + required: ["timerId"], + members: { timerId: {} }, + }, + signalExternalWorkflowExecutionDecisionAttributes: { + type: "structure", + required: ["workflowId", "signalName"], + members: { + workflowId: {}, + runId: {}, + signalName: {}, + input: {}, + control: {}, + }, + }, + requestCancelExternalWorkflowExecutionDecisionAttributes: { + type: "structure", + required: ["workflowId"], + members: { workflowId: {}, runId: {}, control: {} }, + }, + startChildWorkflowExecutionDecisionAttributes: { + type: "structure", + required: ["workflowType", "workflowId"], + members: { + workflowType: { shape: "Sr" }, + workflowId: {}, + control: {}, + input: {}, + executionStartToCloseTimeout: {}, + taskList: { shape: "Sj" }, + taskPriority: {}, + taskStartToCloseTimeout: {}, + childPolicy: {}, + tagList: { shape: "S1c" }, + lambdaRole: {}, + }, + }, + scheduleLambdaFunctionDecisionAttributes: { + type: "structure", + required: ["id", "name"], + members: { + id: {}, + name: {}, + control: {}, + input: {}, + startToCloseTimeout: {}, + }, }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, }, }, }, - NextToken: { locationName: "nextToken" }, + executionContext: {}, }, }, }, - ListInputSecurityGroups: { - http: { - method: "GET", - requestUri: "/prod/inputSecurityGroups", - responseCode: 200, - }, + SignalWorkflowExecution: { input: { type: "structure", + required: ["domain", "workflowId", "signalName"], members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, + domain: {}, + workflowId: {}, + runId: {}, + signalName: {}, + input: {}, }, }, - output: { + }, + StartWorkflowExecution: { + input: { type: "structure", + required: ["domain", "workflowId", "workflowType"], members: { - InputSecurityGroups: { - locationName: "inputSecurityGroups", - type: "list", - member: { shape: "Scj" }, - }, - NextToken: { locationName: "nextToken" }, + domain: {}, + workflowId: {}, + workflowType: { shape: "Sr" }, + taskList: { shape: "Sj" }, + taskPriority: {}, + input: {}, + executionStartToCloseTimeout: {}, + tagList: { shape: "S1c" }, + taskStartToCloseTimeout: {}, + childPolicy: {}, + lambdaRole: {}, }, }, + output: { type: "structure", members: { runId: {} } }, }, - ListInputs: { - http: { - method: "GET", - requestUri: "/prod/inputs", - responseCode: 200, + TagResource: { + input: { + type: "structure", + required: ["resourceArn", "tags"], + members: { resourceArn: {}, tags: { shape: "S4o" } }, }, + }, + TerminateWorkflowExecution: { input: { type: "structure", + required: ["domain", "workflowId"], members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, + domain: {}, + workflowId: {}, + runId: {}, + reason: {}, + details: {}, + childPolicy: {}, }, }, - output: { + }, + UndeprecateActivityType: { + input: { type: "structure", - members: { - Inputs: { - locationName: "inputs", - type: "list", - member: { shape: "Sc4" }, - }, - NextToken: { locationName: "nextToken" }, - }, + required: ["domain", "activityType"], + members: { domain: {}, activityType: { shape: "Sn" } }, }, }, - ListMultiplexPrograms: { - http: { - method: "GET", - requestUri: "/prod/multiplexes/{multiplexId}/programs", - responseCode: 200, + UndeprecateDomain: { + input: { + type: "structure", + required: ["name"], + members: { name: {} }, + }, + }, + UndeprecateWorkflowType: { + input: { + type: "structure", + required: ["domain", "workflowType"], + members: { domain: {}, workflowType: { shape: "Sr" } }, }, + }, + UntagResource: { input: { type: "structure", + required: ["resourceArn", "tagKeys"], members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - MultiplexId: { location: "uri", locationName: "multiplexId" }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, + resourceArn: {}, + tagKeys: { type: "list", member: {} }, }, - required: ["MultiplexId"], }, - output: { - type: "structure", - members: { - MultiplexPrograms: { - locationName: "multiplexPrograms", - type: "list", - member: { - type: "structure", - members: { - ChannelId: { locationName: "channelId" }, - ProgramName: { locationName: "programName" }, - }, - }, - }, - NextToken: { locationName: "nextToken" }, - }, + }, + }, + shapes: { + S3: { + type: "structure", + required: ["oldestDate"], + members: { + oldestDate: { type: "timestamp" }, + latestDate: { type: "timestamp" }, }, }, - ListMultiplexes: { - http: { - method: "GET", - requestUri: "/prod/multiplexes", - responseCode: 200, + S5: { + type: "structure", + required: ["workflowId"], + members: { workflowId: {} }, + }, + S7: { + type: "structure", + required: ["name"], + members: { name: {}, version: {} }, + }, + Sa: { type: "structure", required: ["tag"], members: { tag: {} } }, + Sc: { + type: "structure", + required: ["status"], + members: { status: {} }, + }, + Se: { + type: "structure", + required: ["count"], + members: { + count: { type: "integer" }, + truncated: { type: "boolean" }, }, - input: { - type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, + }, + Sj: { type: "structure", required: ["name"], members: { name: {} } }, + Sk: { + type: "structure", + required: ["count"], + members: { + count: { type: "integer" }, + truncated: { type: "boolean" }, }, - output: { - type: "structure", - members: { - Multiplexes: { - locationName: "multiplexes", - type: "list", - member: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - AvailabilityZones: { - shape: "Sf", - locationName: "availabilityZones", - }, - Id: { locationName: "id" }, - MultiplexSettings: { - locationName: "multiplexSettings", - type: "structure", - members: { - TransportStreamBitrate: { - locationName: "transportStreamBitrate", - type: "integer", - }, - }, - }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - ProgramCount: { - locationName: "programCount", - type: "integer", - }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - NextToken: { locationName: "nextToken" }, - }, + }, + Sn: { + type: "structure", + required: ["name", "version"], + members: { name: {}, version: {} }, + }, + Sr: { + type: "structure", + required: ["name", "version"], + members: { name: {}, version: {} }, + }, + Su: { + type: "structure", + required: ["activityType", "status", "creationDate"], + members: { + activityType: { shape: "Sn" }, + status: {}, + description: {}, + creationDate: { type: "timestamp" }, + deprecationDate: { type: "timestamp" }, }, }, - ListOfferings: { - http: { - method: "GET", - requestUri: "/prod/offerings", - responseCode: 200, + S12: { + type: "structure", + required: ["name", "status"], + members: { name: {}, status: {}, description: {}, arn: {} }, + }, + S17: { + type: "structure", + required: ["workflowId", "runId"], + members: { workflowId: {}, runId: {} }, + }, + S1a: { + type: "structure", + required: [ + "execution", + "workflowType", + "startTimestamp", + "executionStatus", + ], + members: { + execution: { shape: "S17" }, + workflowType: { shape: "Sr" }, + startTimestamp: { type: "timestamp" }, + closeTimestamp: { type: "timestamp" }, + executionStatus: {}, + closeStatus: {}, + parent: { shape: "S17" }, + tagList: { shape: "S1c" }, + cancelRequested: { type: "boolean" }, }, - input: { + }, + S1c: { type: "list", member: {} }, + S1m: { + type: "structure", + required: ["workflowType", "status", "creationDate"], + members: { + workflowType: { shape: "Sr" }, + status: {}, + description: {}, + creationDate: { type: "timestamp" }, + deprecationDate: { type: "timestamp" }, + }, + }, + S1t: { + type: "list", + member: { type: "structure", + required: ["eventTimestamp", "eventType", "eventId"], members: { - ChannelClass: { - location: "querystring", - locationName: "channelClass", - }, - ChannelConfiguration: { - location: "querystring", - locationName: "channelConfiguration", - }, - Codec: { location: "querystring", locationName: "codec" }, - Duration: { location: "querystring", locationName: "duration" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + eventTimestamp: { type: "timestamp" }, + eventType: {}, + eventId: { type: "long" }, + workflowExecutionStartedEventAttributes: { + type: "structure", + required: ["childPolicy", "taskList", "workflowType"], + members: { + input: {}, + executionStartToCloseTimeout: {}, + taskStartToCloseTimeout: {}, + childPolicy: {}, + taskList: { shape: "Sj" }, + taskPriority: {}, + workflowType: { shape: "Sr" }, + tagList: { shape: "S1c" }, + continuedExecutionRunId: {}, + parentWorkflowExecution: { shape: "S17" }, + parentInitiatedEventId: { type: "long" }, + lambdaRole: {}, + }, }, - MaximumBitrate: { - location: "querystring", - locationName: "maximumBitrate", + workflowExecutionCompletedEventAttributes: { + type: "structure", + required: ["decisionTaskCompletedEventId"], + members: { + result: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - MaximumFramerate: { - location: "querystring", - locationName: "maximumFramerate", + completeWorkflowExecutionFailedEventAttributes: { + type: "structure", + required: ["cause", "decisionTaskCompletedEventId"], + members: { + cause: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - NextToken: { - location: "querystring", - locationName: "nextToken", + workflowExecutionFailedEventAttributes: { + type: "structure", + required: ["decisionTaskCompletedEventId"], + members: { + reason: {}, + details: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - Resolution: { - location: "querystring", - locationName: "resolution", + failWorkflowExecutionFailedEventAttributes: { + type: "structure", + required: ["cause", "decisionTaskCompletedEventId"], + members: { + cause: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - ResourceType: { - location: "querystring", - locationName: "resourceType", + workflowExecutionTimedOutEventAttributes: { + type: "structure", + required: ["timeoutType", "childPolicy"], + members: { timeoutType: {}, childPolicy: {} }, }, - SpecialFeature: { - location: "querystring", - locationName: "specialFeature", + workflowExecutionCanceledEventAttributes: { + type: "structure", + required: ["decisionTaskCompletedEventId"], + members: { + details: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - VideoQuality: { - location: "querystring", - locationName: "videoQuality", + cancelWorkflowExecutionFailedEventAttributes: { + type: "structure", + required: ["cause", "decisionTaskCompletedEventId"], + members: { + cause: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - }, - }, - output: { - type: "structure", - members: { - NextToken: { locationName: "nextToken" }, - Offerings: { - locationName: "offerings", - type: "list", - member: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - CurrencyCode: { locationName: "currencyCode" }, - Duration: { locationName: "duration", type: "integer" }, - DurationUnits: { locationName: "durationUnits" }, - FixedPrice: { - locationName: "fixedPrice", - type: "double", - }, - OfferingDescription: { - locationName: "offeringDescription", - }, - OfferingId: { locationName: "offeringId" }, - OfferingType: { locationName: "offeringType" }, - Region: { locationName: "region" }, - ResourceSpecification: { - shape: "Sdp", - locationName: "resourceSpecification", - }, - UsagePrice: { - locationName: "usagePrice", - type: "double", - }, - }, + workflowExecutionContinuedAsNewEventAttributes: { + type: "structure", + required: [ + "decisionTaskCompletedEventId", + "newExecutionRunId", + "taskList", + "childPolicy", + "workflowType", + ], + members: { + input: {}, + decisionTaskCompletedEventId: { type: "long" }, + newExecutionRunId: {}, + executionStartToCloseTimeout: {}, + taskList: { shape: "Sj" }, + taskPriority: {}, + taskStartToCloseTimeout: {}, + childPolicy: {}, + tagList: { shape: "S1c" }, + workflowType: { shape: "Sr" }, + lambdaRole: {}, }, }, - }, - }, - }, - ListReservations: { - http: { - method: "GET", - requestUri: "/prod/reservations", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ChannelClass: { - location: "querystring", - locationName: "channelClass", + continueAsNewWorkflowExecutionFailedEventAttributes: { + type: "structure", + required: ["cause", "decisionTaskCompletedEventId"], + members: { + cause: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - Codec: { location: "querystring", locationName: "codec" }, - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + workflowExecutionTerminatedEventAttributes: { + type: "structure", + required: ["childPolicy"], + members: { + reason: {}, + details: {}, + childPolicy: {}, + cause: {}, + }, }, - MaximumBitrate: { - location: "querystring", - locationName: "maximumBitrate", + workflowExecutionCancelRequestedEventAttributes: { + type: "structure", + members: { + externalWorkflowExecution: { shape: "S17" }, + externalInitiatedEventId: { type: "long" }, + cause: {}, + }, }, - MaximumFramerate: { - location: "querystring", - locationName: "maximumFramerate", + decisionTaskScheduledEventAttributes: { + type: "structure", + required: ["taskList"], + members: { + taskList: { shape: "Sj" }, + taskPriority: {}, + startToCloseTimeout: {}, + }, }, - NextToken: { - location: "querystring", - locationName: "nextToken", + decisionTaskStartedEventAttributes: { + type: "structure", + required: ["scheduledEventId"], + members: { identity: {}, scheduledEventId: { type: "long" } }, }, - Resolution: { - location: "querystring", - locationName: "resolution", + decisionTaskCompletedEventAttributes: { + type: "structure", + required: ["scheduledEventId", "startedEventId"], + members: { + executionContext: {}, + scheduledEventId: { type: "long" }, + startedEventId: { type: "long" }, + }, }, - ResourceType: { - location: "querystring", - locationName: "resourceType", + decisionTaskTimedOutEventAttributes: { + type: "structure", + required: [ + "timeoutType", + "scheduledEventId", + "startedEventId", + ], + members: { + timeoutType: {}, + scheduledEventId: { type: "long" }, + startedEventId: { type: "long" }, + }, }, - SpecialFeature: { - location: "querystring", - locationName: "specialFeature", + activityTaskScheduledEventAttributes: { + type: "structure", + required: [ + "activityType", + "activityId", + "taskList", + "decisionTaskCompletedEventId", + ], + members: { + activityType: { shape: "Sn" }, + activityId: {}, + input: {}, + control: {}, + scheduleToStartTimeout: {}, + scheduleToCloseTimeout: {}, + startToCloseTimeout: {}, + taskList: { shape: "Sj" }, + taskPriority: {}, + decisionTaskCompletedEventId: { type: "long" }, + heartbeatTimeout: {}, + }, }, - VideoQuality: { - location: "querystring", - locationName: "videoQuality", + activityTaskStartedEventAttributes: { + type: "structure", + required: ["scheduledEventId"], + members: { identity: {}, scheduledEventId: { type: "long" } }, }, - }, - }, - output: { - type: "structure", - members: { - NextToken: { locationName: "nextToken" }, - Reservations: { - locationName: "reservations", - type: "list", - member: { shape: "Sf8" }, + activityTaskCompletedEventAttributes: { + type: "structure", + required: ["scheduledEventId", "startedEventId"], + members: { + result: {}, + scheduledEventId: { type: "long" }, + startedEventId: { type: "long" }, + }, }, - }, - }, - }, - ListTagsForResource: { - http: { - method: "GET", - requestUri: "/prod/tags/{resource-arn}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ResourceArn: { location: "uri", locationName: "resource-arn" }, - }, - required: ["ResourceArn"], - }, - output: { - type: "structure", - members: { Tags: { shape: "Sbm", locationName: "tags" } }, - }, - }, - PurchaseOffering: { - http: { - requestUri: "/prod/offerings/{offeringId}/purchase", - responseCode: 201, - }, - input: { - type: "structure", - members: { - Count: { locationName: "count", type: "integer" }, - Name: { locationName: "name" }, - OfferingId: { location: "uri", locationName: "offeringId" }, - RequestId: { - locationName: "requestId", - idempotencyToken: true, + activityTaskFailedEventAttributes: { + type: "structure", + required: ["scheduledEventId", "startedEventId"], + members: { + reason: {}, + details: {}, + scheduledEventId: { type: "long" }, + startedEventId: { type: "long" }, + }, }, - Start: { locationName: "start" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - required: ["OfferingId", "Count"], - }, - output: { - type: "structure", - members: { - Reservation: { shape: "Sf8", locationName: "reservation" }, - }, - }, - }, - StartChannel: { - http: { - requestUri: "/prod/channels/{channelId}/start", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ChannelId: { location: "uri", locationName: "channelId" }, - }, - required: ["ChannelId"], - }, - output: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", + activityTaskTimedOutEventAttributes: { + type: "structure", + required: [ + "timeoutType", + "scheduledEventId", + "startedEventId", + ], + members: { + timeoutType: {}, + scheduledEventId: { type: "long" }, + startedEventId: { type: "long" }, + details: {}, + }, }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", + activityTaskCanceledEventAttributes: { + type: "structure", + required: ["scheduledEventId", "startedEventId"], + members: { + details: {}, + scheduledEventId: { type: "long" }, + startedEventId: { type: "long" }, + latestCancelRequestedEventId: { type: "long" }, + }, }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", + activityTaskCancelRequestedEventAttributes: { + type: "structure", + required: ["decisionTaskCompletedEventId", "activityId"], + members: { + decisionTaskCompletedEventId: { type: "long" }, + activityId: {}, + }, }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", + workflowExecutionSignaledEventAttributes: { + type: "structure", + required: ["signalName"], + members: { + signalName: {}, + input: {}, + externalWorkflowExecution: { shape: "S17" }, + externalInitiatedEventId: { type: "long" }, + }, }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelineDetails: { - shape: "Sbr", - locationName: "pipelineDetails", + markerRecordedEventAttributes: { + type: "structure", + required: ["markerName", "decisionTaskCompletedEventId"], + members: { + markerName: {}, + details: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", + recordMarkerFailedEventAttributes: { + type: "structure", + required: [ + "markerName", + "cause", + "decisionTaskCompletedEventId", + ], + members: { + markerName: {}, + cause: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - StartMultiplex: { - http: { - requestUri: "/prod/multiplexes/{multiplexId}/start", - responseCode: 202, - }, - input: { - type: "structure", - members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, - }, - required: ["MultiplexId"], - }, - output: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - AvailabilityZones: { - shape: "Sf", - locationName: "availabilityZones", + timerStartedEventAttributes: { + type: "structure", + required: [ + "timerId", + "startToFireTimeout", + "decisionTaskCompletedEventId", + ], + members: { + timerId: {}, + control: {}, + startToFireTimeout: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - Destinations: { shape: "Scu", locationName: "destinations" }, - Id: { locationName: "id" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", + timerFiredEventAttributes: { + type: "structure", + required: ["timerId", "startedEventId"], + members: { timerId: {}, startedEventId: { type: "long" } }, }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", + timerCanceledEventAttributes: { + type: "structure", + required: [ + "timerId", + "startedEventId", + "decisionTaskCompletedEventId", + ], + members: { + timerId: {}, + startedEventId: { type: "long" }, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - ProgramCount: { locationName: "programCount", type: "integer" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - StopChannel: { - http: { - requestUri: "/prod/channels/{channelId}/stop", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ChannelId: { location: "uri", locationName: "channelId" }, - }, - required: ["ChannelId"], - }, - output: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", + startChildWorkflowExecutionInitiatedEventAttributes: { + type: "structure", + required: [ + "workflowId", + "workflowType", + "taskList", + "decisionTaskCompletedEventId", + "childPolicy", + ], + members: { + workflowId: {}, + workflowType: { shape: "Sr" }, + control: {}, + input: {}, + executionStartToCloseTimeout: {}, + taskList: { shape: "Sj" }, + taskPriority: {}, + decisionTaskCompletedEventId: { type: "long" }, + childPolicy: {}, + taskStartToCloseTimeout: {}, + tagList: { shape: "S1c" }, + lambdaRole: {}, + }, }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", + childWorkflowExecutionStartedEventAttributes: { + type: "structure", + required: [ + "workflowExecution", + "workflowType", + "initiatedEventId", + ], + members: { + workflowExecution: { shape: "S17" }, + workflowType: { shape: "Sr" }, + initiatedEventId: { type: "long" }, + }, }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", + childWorkflowExecutionCompletedEventAttributes: { + type: "structure", + required: [ + "workflowExecution", + "workflowType", + "initiatedEventId", + "startedEventId", + ], + members: { + workflowExecution: { shape: "S17" }, + workflowType: { shape: "Sr" }, + result: {}, + initiatedEventId: { type: "long" }, + startedEventId: { type: "long" }, + }, }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", + childWorkflowExecutionFailedEventAttributes: { + type: "structure", + required: [ + "workflowExecution", + "workflowType", + "initiatedEventId", + "startedEventId", + ], + members: { + workflowExecution: { shape: "S17" }, + workflowType: { shape: "Sr" }, + reason: {}, + details: {}, + initiatedEventId: { type: "long" }, + startedEventId: { type: "long" }, + }, }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelineDetails: { - shape: "Sbr", - locationName: "pipelineDetails", + childWorkflowExecutionTimedOutEventAttributes: { + type: "structure", + required: [ + "workflowExecution", + "workflowType", + "timeoutType", + "initiatedEventId", + "startedEventId", + ], + members: { + workflowExecution: { shape: "S17" }, + workflowType: { shape: "Sr" }, + timeoutType: {}, + initiatedEventId: { type: "long" }, + startedEventId: { type: "long" }, + }, }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", + childWorkflowExecutionCanceledEventAttributes: { + type: "structure", + required: [ + "workflowExecution", + "workflowType", + "initiatedEventId", + "startedEventId", + ], + members: { + workflowExecution: { shape: "S17" }, + workflowType: { shape: "Sr" }, + details: {}, + initiatedEventId: { type: "long" }, + startedEventId: { type: "long" }, + }, }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - StopMultiplex: { - http: { - requestUri: "/prod/multiplexes/{multiplexId}/stop", - responseCode: 202, - }, - input: { - type: "structure", - members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, - }, - required: ["MultiplexId"], - }, - output: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - AvailabilityZones: { - shape: "Sf", - locationName: "availabilityZones", + childWorkflowExecutionTerminatedEventAttributes: { + type: "structure", + required: [ + "workflowExecution", + "workflowType", + "initiatedEventId", + "startedEventId", + ], + members: { + workflowExecution: { shape: "S17" }, + workflowType: { shape: "Sr" }, + initiatedEventId: { type: "long" }, + startedEventId: { type: "long" }, + }, }, - Destinations: { shape: "Scu", locationName: "destinations" }, - Id: { locationName: "id" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", + signalExternalWorkflowExecutionInitiatedEventAttributes: { + type: "structure", + required: [ + "workflowId", + "signalName", + "decisionTaskCompletedEventId", + ], + members: { + workflowId: {}, + runId: {}, + signalName: {}, + input: {}, + decisionTaskCompletedEventId: { type: "long" }, + control: {}, + }, }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", + externalWorkflowExecutionSignaledEventAttributes: { + type: "structure", + required: ["workflowExecution", "initiatedEventId"], + members: { + workflowExecution: { shape: "S17" }, + initiatedEventId: { type: "long" }, + }, }, - ProgramCount: { locationName: "programCount", type: "integer" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - }, - UpdateChannel: { - http: { - method: "PUT", - requestUri: "/prod/channels/{channelId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ChannelId: { location: "uri", locationName: "channelId" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", + signalExternalWorkflowExecutionFailedEventAttributes: { + type: "structure", + required: [ + "workflowId", + "cause", + "initiatedEventId", + "decisionTaskCompletedEventId", + ], + members: { + workflowId: {}, + runId: {}, + cause: {}, + initiatedEventId: { type: "long" }, + decisionTaskCompletedEventId: { type: "long" }, + control: {}, + }, }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", + externalWorkflowExecutionCancelRequestedEventAttributes: { + type: "structure", + required: ["workflowExecution", "initiatedEventId"], + members: { + workflowExecution: { shape: "S17" }, + initiatedEventId: { type: "long" }, + }, }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", + requestCancelExternalWorkflowExecutionInitiatedEventAttributes: { + type: "structure", + required: ["workflowId", "decisionTaskCompletedEventId"], + members: { + workflowId: {}, + runId: {}, + decisionTaskCompletedEventId: { type: "long" }, + control: {}, + }, }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - RoleArn: { locationName: "roleArn" }, - }, - required: ["ChannelId"], - }, - output: { - type: "structure", - members: { Channel: { shape: "Sbo", locationName: "channel" } }, - }, - }, - UpdateChannelClass: { - http: { - method: "PUT", - requestUri: "/prod/channels/{channelId}/channelClass", - responseCode: 200, - }, - input: { - type: "structure", - members: { - ChannelClass: { locationName: "channelClass" }, - ChannelId: { location: "uri", locationName: "channelId" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - }, - required: ["ChannelId", "ChannelClass"], - }, - output: { - type: "structure", - members: { Channel: { shape: "Sbo", locationName: "channel" } }, - }, - }, - UpdateInput: { - http: { - method: "PUT", - requestUri: "/prod/inputs/{inputId}", - responseCode: 200, - }, - input: { - type: "structure", - members: { - Destinations: { shape: "Sbv", locationName: "destinations" }, - InputId: { location: "uri", locationName: "inputId" }, - InputSecurityGroups: { - shape: "Sf", - locationName: "inputSecurityGroups", + requestCancelExternalWorkflowExecutionFailedEventAttributes: { + type: "structure", + required: [ + "workflowId", + "cause", + "initiatedEventId", + "decisionTaskCompletedEventId", + ], + members: { + workflowId: {}, + runId: {}, + cause: {}, + initiatedEventId: { type: "long" }, + decisionTaskCompletedEventId: { type: "long" }, + control: {}, + }, }, - MediaConnectFlows: { - shape: "Sbx", - locationName: "mediaConnectFlows", + scheduleActivityTaskFailedEventAttributes: { + type: "structure", + required: [ + "activityType", + "activityId", + "cause", + "decisionTaskCompletedEventId", + ], + members: { + activityType: { shape: "Sn" }, + activityId: {}, + cause: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, }, - Name: { locationName: "name" }, - RoleArn: { locationName: "roleArn" }, - Sources: { shape: "Sbz", locationName: "sources" }, - }, - required: ["InputId"], + requestCancelActivityTaskFailedEventAttributes: { + type: "structure", + required: [ + "activityId", + "cause", + "decisionTaskCompletedEventId", + ], + members: { + activityId: {}, + cause: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, + }, + startTimerFailedEventAttributes: { + type: "structure", + required: [ + "timerId", + "cause", + "decisionTaskCompletedEventId", + ], + members: { + timerId: {}, + cause: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, + }, + cancelTimerFailedEventAttributes: { + type: "structure", + required: [ + "timerId", + "cause", + "decisionTaskCompletedEventId", + ], + members: { + timerId: {}, + cause: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, + }, + startChildWorkflowExecutionFailedEventAttributes: { + type: "structure", + required: [ + "workflowType", + "cause", + "workflowId", + "initiatedEventId", + "decisionTaskCompletedEventId", + ], + members: { + workflowType: { shape: "Sr" }, + cause: {}, + workflowId: {}, + initiatedEventId: { type: "long" }, + decisionTaskCompletedEventId: { type: "long" }, + control: {}, + }, + }, + lambdaFunctionScheduledEventAttributes: { + type: "structure", + required: ["id", "name", "decisionTaskCompletedEventId"], + members: { + id: {}, + name: {}, + control: {}, + input: {}, + startToCloseTimeout: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, + }, + lambdaFunctionStartedEventAttributes: { + type: "structure", + required: ["scheduledEventId"], + members: { scheduledEventId: { type: "long" } }, + }, + lambdaFunctionCompletedEventAttributes: { + type: "structure", + required: ["scheduledEventId", "startedEventId"], + members: { + scheduledEventId: { type: "long" }, + startedEventId: { type: "long" }, + result: {}, + }, + }, + lambdaFunctionFailedEventAttributes: { + type: "structure", + required: ["scheduledEventId", "startedEventId"], + members: { + scheduledEventId: { type: "long" }, + startedEventId: { type: "long" }, + reason: {}, + details: {}, + }, + }, + lambdaFunctionTimedOutEventAttributes: { + type: "structure", + required: ["scheduledEventId", "startedEventId"], + members: { + scheduledEventId: { type: "long" }, + startedEventId: { type: "long" }, + timeoutType: {}, + }, + }, + scheduleLambdaFunctionFailedEventAttributes: { + type: "structure", + required: [ + "id", + "name", + "cause", + "decisionTaskCompletedEventId", + ], + members: { + id: {}, + name: {}, + cause: {}, + decisionTaskCompletedEventId: { type: "long" }, + }, + }, + startLambdaFunctionFailedEventAttributes: { + type: "structure", + members: { + scheduledEventId: { type: "long" }, + cause: {}, + message: {}, + }, + }, + }, + }, + }, + S4g: { + type: "structure", + required: ["executionInfos"], + members: { + executionInfos: { type: "list", member: { shape: "S1a" } }, + nextPageToken: {}, + }, + }, + S4o: { + type: "list", + member: { + type: "structure", + required: ["key"], + members: { key: {}, value: {} }, + }, + }, + }, + }; + + /***/ + }, + + /***/ 3631: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["ssoadmin"] = {}; + AWS.SSOAdmin = Service.defineService("ssoadmin", ["2020-07-20"]); + Object.defineProperty(apiLoader.services["ssoadmin"], "2020-07-20", { + get: function get() { + var model = __webpack_require__(9051); + model.paginators = __webpack_require__(7209).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.SSOAdmin; + + /***/ + }, + + /***/ 3634: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 3642: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2019-05-01", + endpointPrefix: "workmailmessageflow", + jsonVersion: "1.1", + protocol: "rest-json", + serviceFullName: "Amazon WorkMail Message Flow", + serviceId: "WorkMailMessageFlow", + signatureVersion: "v4", + uid: "workmailmessageflow-2019-05-01", + }, + operations: { + GetRawMessageContent: { + http: { method: "GET", requestUri: "/messages/{messageId}" }, + input: { + type: "structure", + required: ["messageId"], + members: { + messageId: { location: "uri", locationName: "messageId" }, + }, }, output: { type: "structure", - members: { Input: { shape: "Sc4", locationName: "input" } }, + required: ["messageContent"], + members: { messageContent: { type: "blob", streaming: true } }, + payload: "messageContent", }, }, - UpdateInputSecurityGroup: { - http: { - method: "PUT", - requestUri: "/prod/inputSecurityGroups/{inputSecurityGroupId}", - responseCode: 200, + }, + shapes: {}, + }; + + /***/ + }, + + /***/ 3649: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = getLastPage; + + const getPage = __webpack_require__(3265); + + function getLastPage(octokit, link, headers) { + return getPage(octokit, link, "last", headers); + } + + /***/ + }, + + /***/ 3658: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 3660: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 3681: /***/ function (module) { + module.exports = { + pagination: { + ListJournalKinesisStreamsForLedger: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListJournalS3Exports: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListJournalS3ExportsForLedger: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListLedgers: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + }, + }; + + /***/ + }, + + /***/ 3682: /***/ function (module, __unusedexports, __webpack_require__) { + var Collection = __webpack_require__(1583); + + var util = __webpack_require__(153); + + function property(obj, name, value) { + if (value !== null && value !== undefined) { + util.property.apply(this, arguments); + } + } + + function memoizedProperty(obj, name) { + if (!obj.constructor.prototype[name]) { + util.memoizedProperty.apply(this, arguments); + } + } + + function Shape(shape, options, memberName) { + options = options || {}; + + property(this, "shape", shape.shape); + property(this, "api", options.api, false); + property(this, "type", shape.type); + property(this, "enum", shape.enum); + property(this, "min", shape.min); + property(this, "max", shape.max); + property(this, "pattern", shape.pattern); + property(this, "location", shape.location || this.location || "body"); + property( + this, + "name", + this.name || + shape.xmlName || + shape.queryName || + shape.locationName || + memberName + ); + property( + this, + "isStreaming", + shape.streaming || this.isStreaming || false + ); + property(this, "requiresLength", shape.requiresLength, false); + property(this, "isComposite", shape.isComposite || false); + property(this, "isShape", true, false); + property(this, "isQueryName", Boolean(shape.queryName), false); + property(this, "isLocationName", Boolean(shape.locationName), false); + property(this, "isIdempotent", shape.idempotencyToken === true); + property(this, "isJsonValue", shape.jsonvalue === true); + property( + this, + "isSensitive", + shape.sensitive === true || + (shape.prototype && shape.prototype.sensitive === true) + ); + property(this, "isEventStream", Boolean(shape.eventstream), false); + property(this, "isEvent", Boolean(shape.event), false); + property(this, "isEventPayload", Boolean(shape.eventpayload), false); + property(this, "isEventHeader", Boolean(shape.eventheader), false); + property( + this, + "isTimestampFormatSet", + Boolean(shape.timestampFormat) || + (shape.prototype && shape.prototype.isTimestampFormatSet === true), + false + ); + property( + this, + "endpointDiscoveryId", + Boolean(shape.endpointdiscoveryid), + false + ); + property(this, "hostLabel", Boolean(shape.hostLabel), false); + + if (options.documentation) { + property(this, "documentation", shape.documentation); + property(this, "documentationUrl", shape.documentationUrl); + } + + if (shape.xmlAttribute) { + property(this, "isXmlAttribute", shape.xmlAttribute || false); + } + + // type conversion and parsing + property(this, "defaultValue", null); + this.toWireFormat = function (value) { + if (value === null || value === undefined) return ""; + return value; + }; + this.toType = function (value) { + return value; + }; + } + + /** + * @api private + */ + Shape.normalizedTypes = { + character: "string", + double: "float", + long: "integer", + short: "integer", + biginteger: "integer", + bigdecimal: "float", + blob: "binary", + }; + + /** + * @api private + */ + Shape.types = { + structure: StructureShape, + list: ListShape, + map: MapShape, + boolean: BooleanShape, + timestamp: TimestampShape, + float: FloatShape, + integer: IntegerShape, + string: StringShape, + base64: Base64Shape, + binary: BinaryShape, + }; + + Shape.resolve = function resolve(shape, options) { + if (shape.shape) { + var refShape = options.api.shapes[shape.shape]; + if (!refShape) { + throw new Error("Cannot find shape reference: " + shape.shape); + } + + return refShape; + } else { + return null; + } + }; + + Shape.create = function create(shape, options, memberName) { + if (shape.isShape) return shape; + + var refShape = Shape.resolve(shape, options); + if (refShape) { + var filteredKeys = Object.keys(shape); + if (!options.documentation) { + filteredKeys = filteredKeys.filter(function (name) { + return !name.match(/documentation/); + }); + } + + // create an inline shape with extra members + var InlineShape = function () { + refShape.constructor.call(this, shape, options, memberName); + }; + InlineShape.prototype = refShape; + return new InlineShape(); + } else { + // set type if not set + if (!shape.type) { + if (shape.members) shape.type = "structure"; + else if (shape.member) shape.type = "list"; + else if (shape.key) shape.type = "map"; + else shape.type = "string"; + } + + // normalize types + var origType = shape.type; + if (Shape.normalizedTypes[shape.type]) { + shape.type = Shape.normalizedTypes[shape.type]; + } + + if (Shape.types[shape.type]) { + return new Shape.types[shape.type](shape, options, memberName); + } else { + throw new Error("Unrecognized shape type: " + origType); + } + } + }; + + function CompositeShape(shape) { + Shape.apply(this, arguments); + property(this, "isComposite", true); + + if (shape.flattened) { + property(this, "flattened", shape.flattened || false); + } + } + + function StructureShape(shape, options) { + var self = this; + var requiredMap = null, + firstInit = !this.isShape; + + CompositeShape.apply(this, arguments); + + if (firstInit) { + property(this, "defaultValue", function () { + return {}; + }); + property(this, "members", {}); + property(this, "memberNames", []); + property(this, "required", []); + property(this, "isRequired", function () { + return false; + }); + } + + if (shape.members) { + property( + this, + "members", + new Collection(shape.members, options, function (name, member) { + return Shape.create(member, options, name); + }) + ); + memoizedProperty(this, "memberNames", function () { + return shape.xmlOrder || Object.keys(shape.members); + }); + + if (shape.event) { + memoizedProperty(this, "eventPayloadMemberName", function () { + var members = self.members; + var memberNames = self.memberNames; + // iterate over members to find ones that are event payloads + for (var i = 0, iLen = memberNames.length; i < iLen; i++) { + if (members[memberNames[i]].isEventPayload) { + return memberNames[i]; + } + } + }); + + memoizedProperty(this, "eventHeaderMemberNames", function () { + var members = self.members; + var memberNames = self.memberNames; + var eventHeaderMemberNames = []; + // iterate over members to find ones that are event headers + for (var i = 0, iLen = memberNames.length; i < iLen; i++) { + if (members[memberNames[i]].isEventHeader) { + eventHeaderMemberNames.push(memberNames[i]); + } + } + return eventHeaderMemberNames; + }); + } + } + + if (shape.required) { + property(this, "required", shape.required); + property( + this, + "isRequired", + function (name) { + if (!requiredMap) { + requiredMap = {}; + for (var i = 0; i < shape.required.length; i++) { + requiredMap[shape.required[i]] = true; + } + } + + return requiredMap[name]; }, + false, + true + ); + } + + property(this, "resultWrapper", shape.resultWrapper || null); + + if (shape.payload) { + property(this, "payload", shape.payload); + } + + if (typeof shape.xmlNamespace === "string") { + property(this, "xmlNamespaceUri", shape.xmlNamespace); + } else if (typeof shape.xmlNamespace === "object") { + property(this, "xmlNamespacePrefix", shape.xmlNamespace.prefix); + property(this, "xmlNamespaceUri", shape.xmlNamespace.uri); + } + } + + function ListShape(shape, options) { + var self = this, + firstInit = !this.isShape; + CompositeShape.apply(this, arguments); + + if (firstInit) { + property(this, "defaultValue", function () { + return []; + }); + } + + if (shape.member) { + memoizedProperty(this, "member", function () { + return Shape.create(shape.member, options); + }); + } + + if (this.flattened) { + var oldName = this.name; + memoizedProperty(this, "name", function () { + return self.member.name || oldName; + }); + } + } + + function MapShape(shape, options) { + var firstInit = !this.isShape; + CompositeShape.apply(this, arguments); + + if (firstInit) { + property(this, "defaultValue", function () { + return {}; + }); + property(this, "key", Shape.create({ type: "string" }, options)); + property(this, "value", Shape.create({ type: "string" }, options)); + } + + if (shape.key) { + memoizedProperty(this, "key", function () { + return Shape.create(shape.key, options); + }); + } + if (shape.value) { + memoizedProperty(this, "value", function () { + return Shape.create(shape.value, options); + }); + } + } + + function TimestampShape(shape) { + var self = this; + Shape.apply(this, arguments); + + if (shape.timestampFormat) { + property(this, "timestampFormat", shape.timestampFormat); + } else if (self.isTimestampFormatSet && this.timestampFormat) { + property(this, "timestampFormat", this.timestampFormat); + } else if (this.location === "header") { + property(this, "timestampFormat", "rfc822"); + } else if (this.location === "querystring") { + property(this, "timestampFormat", "iso8601"); + } else if (this.api) { + switch (this.api.protocol) { + case "json": + case "rest-json": + property(this, "timestampFormat", "unixTimestamp"); + break; + case "rest-xml": + case "query": + case "ec2": + property(this, "timestampFormat", "iso8601"); + break; + } + } + + this.toType = function (value) { + if (value === null || value === undefined) return null; + if (typeof value.toUTCString === "function") return value; + return typeof value === "string" || typeof value === "number" + ? util.date.parseTimestamp(value) + : null; + }; + + this.toWireFormat = function (value) { + return util.date.format(value, self.timestampFormat); + }; + } + + function StringShape() { + Shape.apply(this, arguments); + + var nullLessProtocols = ["rest-xml", "query", "ec2"]; + this.toType = function (value) { + value = + this.api && nullLessProtocols.indexOf(this.api.protocol) > -1 + ? value || "" + : value; + if (this.isJsonValue) { + return JSON.parse(value); + } + + return value && typeof value.toString === "function" + ? value.toString() + : value; + }; + + this.toWireFormat = function (value) { + return this.isJsonValue ? JSON.stringify(value) : value; + }; + } + + function FloatShape() { + Shape.apply(this, arguments); + + this.toType = function (value) { + if (value === null || value === undefined) return null; + return parseFloat(value); + }; + this.toWireFormat = this.toType; + } + + function IntegerShape() { + Shape.apply(this, arguments); + + this.toType = function (value) { + if (value === null || value === undefined) return null; + return parseInt(value, 10); + }; + this.toWireFormat = this.toType; + } + + function BinaryShape() { + Shape.apply(this, arguments); + this.toType = function (value) { + var buf = util.base64.decode(value); + if ( + this.isSensitive && + util.isNode() && + typeof util.Buffer.alloc === "function" + ) { + /* Node.js can create a Buffer that is not isolated. + * i.e. buf.byteLength !== buf.buffer.byteLength + * This means that the sensitive data is accessible to anyone with access to buf.buffer. + * If this is the node shared Buffer, then other code within this process _could_ find this secret. + * Copy sensitive data to an isolated Buffer and zero the sensitive data. + * While this is safe to do here, copying this code somewhere else may produce unexpected results. + */ + var secureBuf = util.Buffer.alloc(buf.length, buf); + buf.fill(0); + buf = secureBuf; + } + return buf; + }; + this.toWireFormat = util.base64.encode; + } + + function Base64Shape() { + BinaryShape.apply(this, arguments); + } + + function BooleanShape() { + Shape.apply(this, arguments); + + this.toType = function (value) { + if (typeof value === "boolean") return value; + if (value === null || value === undefined) return null; + return value === "true"; + }; + } + + /** + * @api private + */ + Shape.shapes = { + StructureShape: StructureShape, + ListShape: ListShape, + MapShape: MapShape, + StringShape: StringShape, + BooleanShape: BooleanShape, + Base64Shape: Base64Shape, + }; + + /** + * @api private + */ + module.exports = Shape; + + /***/ + }, + + /***/ 3691: /***/ function (module) { + module.exports = { + metadata: { + apiVersion: "2009-04-15", + endpointPrefix: "sdb", + serviceFullName: "Amazon SimpleDB", + serviceId: "SimpleDB", + signatureVersion: "v2", + xmlNamespace: "http://sdb.amazonaws.com/doc/2009-04-15/", + protocol: "query", + }, + operations: { + BatchDeleteAttributes: { input: { type: "structure", + required: ["DomainName", "Items"], members: { - InputSecurityGroupId: { - location: "uri", - locationName: "inputSecurityGroupId", - }, - Tags: { shape: "Sbm", locationName: "tags" }, - WhitelistRules: { - shape: "Scg", - locationName: "whitelistRules", + DomainName: {}, + Items: { + type: "list", + member: { + locationName: "Item", + type: "structure", + required: ["Name"], + members: { + Name: { locationName: "ItemName" }, + Attributes: { shape: "S5" }, + }, + }, + flattened: true, }, }, - required: ["InputSecurityGroupId"], }, - output: { + }, + BatchPutAttributes: { + input: { type: "structure", + required: ["DomainName", "Items"], members: { - SecurityGroup: { shape: "Scj", locationName: "securityGroup" }, + DomainName: {}, + Items: { + type: "list", + member: { + locationName: "Item", + type: "structure", + required: ["Name", "Attributes"], + members: { + Name: { locationName: "ItemName" }, + Attributes: { shape: "Sa" }, + }, + }, + flattened: true, + }, }, }, }, - UpdateMultiplex: { - http: { - method: "PUT", - requestUri: "/prod/multiplexes/{multiplexId}", - responseCode: 200, + CreateDomain: { + input: { + type: "structure", + required: ["DomainName"], + members: { DomainName: {} }, }, + }, + DeleteAttributes: { input: { type: "structure", + required: ["DomainName", "ItemName"], members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, + DomainName: {}, + ItemName: {}, + Attributes: { shape: "S5" }, + Expected: { shape: "Sf" }, }, - required: ["MultiplexId"], + }, + }, + DeleteDomain: { + input: { + type: "structure", + required: ["DomainName"], + members: { DomainName: {} }, + }, + }, + DomainMetadata: { + input: { + type: "structure", + required: ["DomainName"], + members: { DomainName: {} }, }, output: { + resultWrapper: "DomainMetadataResult", type: "structure", members: { - Multiplex: { shape: "Sct", locationName: "multiplex" }, + ItemCount: { type: "integer" }, + ItemNamesSizeBytes: { type: "long" }, + AttributeNameCount: { type: "integer" }, + AttributeNamesSizeBytes: { type: "long" }, + AttributeValueCount: { type: "integer" }, + AttributeValuesSizeBytes: { type: "long" }, + Timestamp: { type: "integer" }, }, }, }, - UpdateMultiplexProgram: { - http: { - method: "PUT", - requestUri: - "/prod/multiplexes/{multiplexId}/programs/{programName}", - responseCode: 200, - }, + GetAttributes: { input: { type: "structure", + required: ["DomainName", "ItemName"], members: { - MultiplexId: { location: "uri", locationName: "multiplexId" }, - MultiplexProgramSettings: { - shape: "Scz", - locationName: "multiplexProgramSettings", + DomainName: {}, + ItemName: {}, + AttributeNames: { + type: "list", + member: { locationName: "AttributeName" }, + flattened: true, }, - ProgramName: { location: "uri", locationName: "programName" }, + ConsistentRead: { type: "boolean" }, + }, + }, + output: { + resultWrapper: "GetAttributesResult", + type: "structure", + members: { Attributes: { shape: "So" } }, + }, + }, + ListDomains: { + input: { + type: "structure", + members: { + MaxNumberOfDomains: { type: "integer" }, + NextToken: {}, }, - required: ["MultiplexId", "ProgramName"], }, output: { + resultWrapper: "ListDomainsResult", type: "structure", members: { - MultiplexProgram: { - shape: "Sd7", - locationName: "multiplexProgram", + DomainNames: { + type: "list", + member: { locationName: "DomainName" }, + flattened: true, }, + NextToken: {}, }, }, }, - UpdateReservation: { - http: { - method: "PUT", - requestUri: "/prod/reservations/{reservationId}", - responseCode: 200, + PutAttributes: { + input: { + type: "structure", + required: ["DomainName", "ItemName", "Attributes"], + members: { + DomainName: {}, + ItemName: {}, + Attributes: { shape: "Sa" }, + Expected: { shape: "Sf" }, + }, }, + }, + Select: { input: { type: "structure", + required: ["SelectExpression"], members: { - Name: { locationName: "name" }, - ReservationId: { - location: "uri", - locationName: "reservationId", - }, + SelectExpression: {}, + NextToken: {}, + ConsistentRead: { type: "boolean" }, }, - required: ["ReservationId"], }, output: { + resultWrapper: "SelectResult", type: "structure", members: { - Reservation: { shape: "Sf8", locationName: "reservation" }, + Items: { + type: "list", + member: { + locationName: "Item", + type: "structure", + required: ["Name", "Attributes"], + members: { + Name: {}, + AlternateNameEncoding: {}, + Attributes: { shape: "So" }, + }, + }, + flattened: true, + }, + NextToken: {}, }, }, }, }, shapes: { - S4: { + S5: { + type: "list", + member: { + locationName: "Attribute", + type: "structure", + required: ["Name"], + members: { Name: {}, Value: {} }, + }, + flattened: true, + }, + Sa: { + type: "list", + member: { + locationName: "Attribute", + type: "structure", + required: ["Name", "Value"], + members: { Name: {}, Value: {}, Replace: { type: "boolean" } }, + }, + flattened: true, + }, + Sf: { + type: "structure", + members: { Name: {}, Value: {}, Exists: { type: "boolean" } }, + }, + So: { type: "list", member: { + locationName: "Attribute", type: "structure", + required: ["Name", "Value"], members: { - ActionName: { locationName: "actionName" }, - ScheduleActionSettings: { - locationName: "scheduleActionSettings", - type: "structure", - members: { - HlsId3SegmentTaggingSettings: { - locationName: "hlsId3SegmentTaggingSettings", - type: "structure", - members: { Tag: { locationName: "tag" } }, - required: ["Tag"], - }, - HlsTimedMetadataSettings: { - locationName: "hlsTimedMetadataSettings", - type: "structure", - members: { Id3: { locationName: "id3" } }, - required: ["Id3"], - }, - InputSwitchSettings: { - locationName: "inputSwitchSettings", - type: "structure", - members: { - InputAttachmentNameReference: { - locationName: "inputAttachmentNameReference", - }, - InputClippingSettings: { - locationName: "inputClippingSettings", - type: "structure", - members: { - InputTimecodeSource: { - locationName: "inputTimecodeSource", - }, - StartTimecode: { - locationName: "startTimecode", - type: "structure", - members: { - Timecode: { locationName: "timecode" }, - }, - }, - StopTimecode: { - locationName: "stopTimecode", - type: "structure", - members: { - LastFrameClippingBehavior: { - locationName: "lastFrameClippingBehavior", - }, - Timecode: { locationName: "timecode" }, - }, - }, - }, - required: ["InputTimecodeSource"], - }, - UrlPath: { shape: "Sf", locationName: "urlPath" }, - }, - required: ["InputAttachmentNameReference"], - }, - PauseStateSettings: { - locationName: "pauseStateSettings", - type: "structure", - members: { - Pipelines: { - locationName: "pipelines", - type: "list", - member: { - type: "structure", - members: { - PipelineId: { locationName: "pipelineId" }, - }, - required: ["PipelineId"], - }, - }, - }, - }, - Scte35ReturnToNetworkSettings: { - locationName: "scte35ReturnToNetworkSettings", - type: "structure", - members: { - SpliceEventId: { - locationName: "spliceEventId", - type: "long", - }, - }, - required: ["SpliceEventId"], - }, - Scte35SpliceInsertSettings: { - locationName: "scte35SpliceInsertSettings", - type: "structure", - members: { - Duration: { locationName: "duration", type: "long" }, - SpliceEventId: { - locationName: "spliceEventId", - type: "long", - }, - }, - required: ["SpliceEventId"], - }, - Scte35TimeSignalSettings: { - locationName: "scte35TimeSignalSettings", - type: "structure", - members: { - Scte35Descriptors: { - locationName: "scte35Descriptors", - type: "list", - member: { - type: "structure", - members: { - Scte35DescriptorSettings: { - locationName: "scte35DescriptorSettings", - type: "structure", - members: { - SegmentationDescriptorScte35DescriptorSettings: { - locationName: - "segmentationDescriptorScte35DescriptorSettings", - type: "structure", - members: { - DeliveryRestrictions: { - locationName: "deliveryRestrictions", - type: "structure", - members: { - ArchiveAllowedFlag: { - locationName: "archiveAllowedFlag", - }, - DeviceRestrictions: { - locationName: "deviceRestrictions", - }, - NoRegionalBlackoutFlag: { - locationName: - "noRegionalBlackoutFlag", - }, - WebDeliveryAllowedFlag: { - locationName: - "webDeliveryAllowedFlag", - }, - }, - required: [ - "DeviceRestrictions", - "ArchiveAllowedFlag", - "WebDeliveryAllowedFlag", - "NoRegionalBlackoutFlag", - ], - }, - SegmentNum: { - locationName: "segmentNum", - type: "integer", - }, - SegmentationCancelIndicator: { - locationName: - "segmentationCancelIndicator", - }, - SegmentationDuration: { - locationName: "segmentationDuration", - type: "long", - }, - SegmentationEventId: { - locationName: "segmentationEventId", - type: "long", - }, - SegmentationTypeId: { - locationName: "segmentationTypeId", - type: "integer", - }, - SegmentationUpid: { - locationName: "segmentationUpid", - }, - SegmentationUpidType: { - locationName: "segmentationUpidType", - type: "integer", - }, - SegmentsExpected: { - locationName: "segmentsExpected", - type: "integer", - }, - SubSegmentNum: { - locationName: "subSegmentNum", - type: "integer", - }, - SubSegmentsExpected: { - locationName: "subSegmentsExpected", - type: "integer", - }, - }, - required: [ - "SegmentationEventId", - "SegmentationCancelIndicator", - ], - }, - }, - required: [ - "SegmentationDescriptorScte35DescriptorSettings", - ], - }, - }, - required: ["Scte35DescriptorSettings"], - }, - }, - }, - required: ["Scte35Descriptors"], - }, - StaticImageActivateSettings: { - locationName: "staticImageActivateSettings", - type: "structure", - members: { - Duration: { locationName: "duration", type: "integer" }, - FadeIn: { locationName: "fadeIn", type: "integer" }, - FadeOut: { locationName: "fadeOut", type: "integer" }, - Height: { locationName: "height", type: "integer" }, - Image: { shape: "S14", locationName: "image" }, - ImageX: { locationName: "imageX", type: "integer" }, - ImageY: { locationName: "imageY", type: "integer" }, - Layer: { locationName: "layer", type: "integer" }, - Opacity: { locationName: "opacity", type: "integer" }, - Width: { locationName: "width", type: "integer" }, - }, - required: ["Image"], - }, - StaticImageDeactivateSettings: { - locationName: "staticImageDeactivateSettings", - type: "structure", - members: { - FadeOut: { locationName: "fadeOut", type: "integer" }, - Layer: { locationName: "layer", type: "integer" }, - }, - }, - }, - }, - ScheduleActionStartSettings: { - locationName: "scheduleActionStartSettings", - type: "structure", - members: { - FixedModeScheduleActionStartSettings: { - locationName: "fixedModeScheduleActionStartSettings", - type: "structure", - members: { Time: { locationName: "time" } }, - required: ["Time"], - }, - FollowModeScheduleActionStartSettings: { - locationName: "followModeScheduleActionStartSettings", - type: "structure", - members: { - FollowPoint: { locationName: "followPoint" }, - ReferenceActionName: { - locationName: "referenceActionName", - }, - }, - required: ["ReferenceActionName", "FollowPoint"], - }, - ImmediateModeScheduleActionStartSettings: { - locationName: "immediateModeScheduleActionStartSettings", - type: "structure", - members: {}, + Name: {}, + AlternateNameEncoding: {}, + Value: {}, + AlternateValueEncoding: {}, + }, + }, + flattened: true, + }, + }, + }; + + /***/ + }, + + /***/ 3693: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2011-01-01", + endpointPrefix: "autoscaling", + protocol: "query", + serviceFullName: "Auto Scaling", + serviceId: "Auto Scaling", + signatureVersion: "v4", + uid: "autoscaling-2011-01-01", + xmlNamespace: "http://autoscaling.amazonaws.com/doc/2011-01-01/", + }, + operations: { + AttachInstances: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { + InstanceIds: { shape: "S2" }, + AutoScalingGroupName: {}, + }, + }, + }, + AttachLoadBalancerTargetGroups: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "TargetGroupARNs"], + members: { + AutoScalingGroupName: {}, + TargetGroupARNs: { shape: "S6" }, + }, + }, + output: { + resultWrapper: "AttachLoadBalancerTargetGroupsResult", + type: "structure", + members: {}, + }, + }, + AttachLoadBalancers: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "LoadBalancerNames"], + members: { + AutoScalingGroupName: {}, + LoadBalancerNames: { shape: "Sa" }, + }, + }, + output: { + resultWrapper: "AttachLoadBalancersResult", + type: "structure", + members: {}, + }, + }, + BatchDeleteScheduledAction: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "ScheduledActionNames"], + members: { + AutoScalingGroupName: {}, + ScheduledActionNames: { shape: "Sd" }, + }, + }, + output: { + resultWrapper: "BatchDeleteScheduledActionResult", + type: "structure", + members: { FailedScheduledActions: { shape: "Sf" } }, + }, + }, + BatchPutScheduledUpdateGroupAction: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "ScheduledUpdateGroupActions"], + members: { + AutoScalingGroupName: {}, + ScheduledUpdateGroupActions: { + type: "list", + member: { + type: "structure", + required: ["ScheduledActionName"], + members: { + ScheduledActionName: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + Recurrence: {}, + MinSize: { type: "integer" }, + MaxSize: { type: "integer" }, + DesiredCapacity: { type: "integer" }, }, }, }, }, + }, + output: { + resultWrapper: "BatchPutScheduledUpdateGroupActionResult", + type: "structure", + members: { FailedScheduledUpdateGroupActions: { shape: "Sf" } }, + }, + }, + CancelInstanceRefresh: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { AutoScalingGroupName: {} }, + }, + output: { + resultWrapper: "CancelInstanceRefreshResult", + type: "structure", + members: { InstanceRefreshId: {} }, + }, + }, + CompleteLifecycleAction: { + input: { + type: "structure", required: [ - "ActionName", - "ScheduleActionStartSettings", - "ScheduleActionSettings", + "LifecycleHookName", + "AutoScalingGroupName", + "LifecycleActionResult", ], + members: { + LifecycleHookName: {}, + AutoScalingGroupName: {}, + LifecycleActionToken: {}, + LifecycleActionResult: {}, + InstanceId: {}, + }, }, - }, - Sf: { type: "list", member: {} }, - S14: { - type: "structure", - members: { - PasswordParam: { locationName: "passwordParam" }, - Uri: { locationName: "uri" }, - Username: { locationName: "username" }, + output: { + resultWrapper: "CompleteLifecycleActionResult", + type: "structure", + members: {}, }, - required: ["Uri"], }, - S1j: { - type: "list", - member: { + CreateAutoScalingGroup: { + input: { type: "structure", + required: ["AutoScalingGroupName", "MinSize", "MaxSize"], members: { - Id: { locationName: "id" }, - MediaPackageSettings: { - locationName: "mediaPackageSettings", + AutoScalingGroupName: {}, + LaunchConfigurationName: {}, + LaunchTemplate: { shape: "S10" }, + MixedInstancesPolicy: { shape: "S12" }, + InstanceId: {}, + MinSize: { type: "integer" }, + MaxSize: { type: "integer" }, + DesiredCapacity: { type: "integer" }, + DefaultCooldown: { type: "integer" }, + AvailabilityZones: { shape: "S1d" }, + LoadBalancerNames: { shape: "Sa" }, + TargetGroupARNs: { shape: "S6" }, + HealthCheckType: {}, + HealthCheckGracePeriod: { type: "integer" }, + PlacementGroup: {}, + VPCZoneIdentifier: {}, + TerminationPolicies: { shape: "S1g" }, + NewInstancesProtectedFromScaleIn: { type: "boolean" }, + CapacityRebalance: { type: "boolean" }, + LifecycleHookSpecificationList: { type: "list", member: { type: "structure", - members: { ChannelId: { locationName: "channelId" } }, - }, - }, - MultiplexSettings: { - locationName: "multiplexSettings", - type: "structure", - members: { - MultiplexId: { locationName: "multiplexId" }, - ProgramName: { locationName: "programName" }, + required: ["LifecycleHookName", "LifecycleTransition"], + members: { + LifecycleHookName: {}, + LifecycleTransition: {}, + NotificationMetadata: {}, + HeartbeatTimeout: { type: "integer" }, + DefaultResult: {}, + NotificationTargetARN: {}, + RoleARN: {}, + }, }, }, - Settings: { - locationName: "settings", + Tags: { shape: "S1q" }, + ServiceLinkedRoleARN: {}, + MaxInstanceLifetime: { type: "integer" }, + }, + }, + }, + CreateLaunchConfiguration: { + input: { + type: "structure", + required: ["LaunchConfigurationName"], + members: { + LaunchConfigurationName: {}, + ImageId: {}, + KeyName: {}, + SecurityGroups: { shape: "S1x" }, + ClassicLinkVPCId: {}, + ClassicLinkVPCSecurityGroups: { shape: "S1y" }, + UserData: {}, + InstanceId: {}, + InstanceType: {}, + KernelId: {}, + RamdiskId: {}, + BlockDeviceMappings: { shape: "S20" }, + InstanceMonitoring: { shape: "S29" }, + SpotPrice: {}, + IamInstanceProfile: {}, + EbsOptimized: { type: "boolean" }, + AssociatePublicIpAddress: { type: "boolean" }, + PlacementTenancy: {}, + MetadataOptions: { shape: "S2e" }, + }, + }, + }, + CreateOrUpdateTags: { + input: { + type: "structure", + required: ["Tags"], + members: { Tags: { shape: "S1q" } }, + }, + }, + DeleteAutoScalingGroup: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { + AutoScalingGroupName: {}, + ForceDelete: { type: "boolean" }, + }, + }, + }, + DeleteLaunchConfiguration: { + input: { + type: "structure", + required: ["LaunchConfigurationName"], + members: { LaunchConfigurationName: {} }, + }, + }, + DeleteLifecycleHook: { + input: { + type: "structure", + required: ["LifecycleHookName", "AutoScalingGroupName"], + members: { LifecycleHookName: {}, AutoScalingGroupName: {} }, + }, + output: { + resultWrapper: "DeleteLifecycleHookResult", + type: "structure", + members: {}, + }, + }, + DeleteNotificationConfiguration: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "TopicARN"], + members: { AutoScalingGroupName: {}, TopicARN: {} }, + }, + }, + DeletePolicy: { + input: { + type: "structure", + required: ["PolicyName"], + members: { AutoScalingGroupName: {}, PolicyName: {} }, + }, + }, + DeleteScheduledAction: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "ScheduledActionName"], + members: { AutoScalingGroupName: {}, ScheduledActionName: {} }, + }, + }, + DeleteTags: { + input: { + type: "structure", + required: ["Tags"], + members: { Tags: { shape: "S1q" } }, + }, + }, + DescribeAccountLimits: { + output: { + resultWrapper: "DescribeAccountLimitsResult", + type: "structure", + members: { + MaxNumberOfAutoScalingGroups: { type: "integer" }, + MaxNumberOfLaunchConfigurations: { type: "integer" }, + NumberOfAutoScalingGroups: { type: "integer" }, + NumberOfLaunchConfigurations: { type: "integer" }, + }, + }, + }, + DescribeAdjustmentTypes: { + output: { + resultWrapper: "DescribeAdjustmentTypesResult", + type: "structure", + members: { + AdjustmentTypes: { type: "list", member: { type: "structure", - members: { - PasswordParam: { locationName: "passwordParam" }, - StreamName: { locationName: "streamName" }, - Url: { locationName: "url" }, - Username: { locationName: "username" }, - }, + members: { AdjustmentType: {} }, }, }, }, }, }, - S1r: { - type: "structure", - members: { - AudioDescriptions: { - locationName: "audioDescriptions", - type: "list", - member: { - type: "structure", - members: { - AudioNormalizationSettings: { - locationName: "audioNormalizationSettings", - type: "structure", - members: { - Algorithm: { locationName: "algorithm" }, - AlgorithmControl: { locationName: "algorithmControl" }, - TargetLkfs: { - locationName: "targetLkfs", - type: "double", - }, - }, - }, - AudioSelectorName: { locationName: "audioSelectorName" }, - AudioType: { locationName: "audioType" }, - AudioTypeControl: { locationName: "audioTypeControl" }, - CodecSettings: { - locationName: "codecSettings", - type: "structure", - members: { - AacSettings: { - locationName: "aacSettings", - type: "structure", - members: { - Bitrate: { - locationName: "bitrate", - type: "double", - }, - CodingMode: { locationName: "codingMode" }, - InputType: { locationName: "inputType" }, - Profile: { locationName: "profile" }, - RateControlMode: { - locationName: "rateControlMode", - }, - RawFormat: { locationName: "rawFormat" }, - SampleRate: { - locationName: "sampleRate", - type: "double", - }, - Spec: { locationName: "spec" }, - VbrQuality: { locationName: "vbrQuality" }, - }, - }, - Ac3Settings: { - locationName: "ac3Settings", - type: "structure", - members: { - Bitrate: { - locationName: "bitrate", - type: "double", - }, - BitstreamMode: { locationName: "bitstreamMode" }, - CodingMode: { locationName: "codingMode" }, - Dialnorm: { - locationName: "dialnorm", - type: "integer", - }, - DrcProfile: { locationName: "drcProfile" }, - LfeFilter: { locationName: "lfeFilter" }, - MetadataControl: { - locationName: "metadataControl", - }, - }, - }, - Eac3Settings: { - locationName: "eac3Settings", + DescribeAutoScalingGroups: { + input: { + type: "structure", + members: { + AutoScalingGroupNames: { shape: "S31" }, + NextToken: {}, + MaxRecords: { type: "integer" }, + }, + }, + output: { + resultWrapper: "DescribeAutoScalingGroupsResult", + type: "structure", + required: ["AutoScalingGroups"], + members: { + AutoScalingGroups: { + type: "list", + member: { + type: "structure", + required: [ + "AutoScalingGroupName", + "MinSize", + "MaxSize", + "DesiredCapacity", + "DefaultCooldown", + "AvailabilityZones", + "HealthCheckType", + "CreatedTime", + ], + members: { + AutoScalingGroupName: {}, + AutoScalingGroupARN: {}, + LaunchConfigurationName: {}, + LaunchTemplate: { shape: "S10" }, + MixedInstancesPolicy: { shape: "S12" }, + MinSize: { type: "integer" }, + MaxSize: { type: "integer" }, + DesiredCapacity: { type: "integer" }, + DefaultCooldown: { type: "integer" }, + AvailabilityZones: { shape: "S1d" }, + LoadBalancerNames: { shape: "Sa" }, + TargetGroupARNs: { shape: "S6" }, + HealthCheckType: {}, + HealthCheckGracePeriod: { type: "integer" }, + Instances: { + type: "list", + member: { type: "structure", + required: [ + "InstanceId", + "AvailabilityZone", + "LifecycleState", + "HealthStatus", + "ProtectedFromScaleIn", + ], members: { - AttenuationControl: { - locationName: "attenuationControl", - }, - Bitrate: { - locationName: "bitrate", - type: "double", - }, - BitstreamMode: { locationName: "bitstreamMode" }, - CodingMode: { locationName: "codingMode" }, - DcFilter: { locationName: "dcFilter" }, - Dialnorm: { - locationName: "dialnorm", - type: "integer", - }, - DrcLine: { locationName: "drcLine" }, - DrcRf: { locationName: "drcRf" }, - LfeControl: { locationName: "lfeControl" }, - LfeFilter: { locationName: "lfeFilter" }, - LoRoCenterMixLevel: { - locationName: "loRoCenterMixLevel", - type: "double", - }, - LoRoSurroundMixLevel: { - locationName: "loRoSurroundMixLevel", - type: "double", - }, - LtRtCenterMixLevel: { - locationName: "ltRtCenterMixLevel", - type: "double", - }, - LtRtSurroundMixLevel: { - locationName: "ltRtSurroundMixLevel", - type: "double", - }, - MetadataControl: { - locationName: "metadataControl", - }, - PassthroughControl: { - locationName: "passthroughControl", - }, - PhaseControl: { locationName: "phaseControl" }, - StereoDownmix: { locationName: "stereoDownmix" }, - SurroundExMode: { locationName: "surroundExMode" }, - SurroundMode: { locationName: "surroundMode" }, + InstanceId: {}, + InstanceType: {}, + AvailabilityZone: {}, + LifecycleState: {}, + HealthStatus: {}, + LaunchConfigurationName: {}, + LaunchTemplate: { shape: "S10" }, + ProtectedFromScaleIn: { type: "boolean" }, + WeightedCapacity: {}, }, }, - Mp2Settings: { - locationName: "mp2Settings", + }, + CreatedTime: { type: "timestamp" }, + SuspendedProcesses: { + type: "list", + member: { type: "structure", - members: { - Bitrate: { - locationName: "bitrate", - type: "double", - }, - CodingMode: { locationName: "codingMode" }, - SampleRate: { - locationName: "sampleRate", - type: "double", - }, - }, + members: { ProcessName: {}, SuspensionReason: {} }, }, - PassThroughSettings: { - locationName: "passThroughSettings", + }, + PlacementGroup: {}, + VPCZoneIdentifier: {}, + EnabledMetrics: { + type: "list", + member: { type: "structure", - members: {}, + members: { Metric: {}, Granularity: {} }, }, }, + Status: {}, + Tags: { shape: "S3d" }, + TerminationPolicies: { shape: "S1g" }, + NewInstancesProtectedFromScaleIn: { type: "boolean" }, + ServiceLinkedRoleARN: {}, + MaxInstanceLifetime: { type: "integer" }, + CapacityRebalance: { type: "boolean" }, }, - LanguageCode: { locationName: "languageCode" }, - LanguageCodeControl: { - locationName: "languageCodeControl", + }, + }, + NextToken: {}, + }, + }, + }, + DescribeAutoScalingInstances: { + input: { + type: "structure", + members: { + InstanceIds: { shape: "S2" }, + MaxRecords: { type: "integer" }, + NextToken: {}, + }, + }, + output: { + resultWrapper: "DescribeAutoScalingInstancesResult", + type: "structure", + members: { + AutoScalingInstances: { + type: "list", + member: { + type: "structure", + required: [ + "InstanceId", + "AutoScalingGroupName", + "AvailabilityZone", + "LifecycleState", + "HealthStatus", + "ProtectedFromScaleIn", + ], + members: { + InstanceId: {}, + InstanceType: {}, + AutoScalingGroupName: {}, + AvailabilityZone: {}, + LifecycleState: {}, + HealthStatus: {}, + LaunchConfigurationName: {}, + LaunchTemplate: { shape: "S10" }, + ProtectedFromScaleIn: { type: "boolean" }, + WeightedCapacity: {}, }, - Name: { locationName: "name" }, - RemixSettings: { - locationName: "remixSettings", - type: "structure", - members: { - ChannelMappings: { - locationName: "channelMappings", - type: "list", - member: { - type: "structure", - members: { - InputChannelLevels: { - locationName: "inputChannelLevels", - type: "list", - member: { - type: "structure", - members: { - Gain: { - locationName: "gain", - type: "integer", - }, - InputChannel: { - locationName: "inputChannel", - type: "integer", - }, - }, - required: ["InputChannel", "Gain"], - }, - }, - OutputChannel: { - locationName: "outputChannel", - type: "integer", - }, - }, - required: ["OutputChannel", "InputChannelLevels"], - }, - }, - ChannelsIn: { - locationName: "channelsIn", - type: "integer", - }, - ChannelsOut: { - locationName: "channelsOut", - type: "integer", - }, - }, - required: ["ChannelMappings"], + }, + }, + NextToken: {}, + }, + }, + }, + DescribeAutoScalingNotificationTypes: { + output: { + resultWrapper: "DescribeAutoScalingNotificationTypesResult", + type: "structure", + members: { AutoScalingNotificationTypes: { shape: "S3k" } }, + }, + }, + DescribeInstanceRefreshes: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { + AutoScalingGroupName: {}, + InstanceRefreshIds: { type: "list", member: {} }, + NextToken: {}, + MaxRecords: { type: "integer" }, + }, + }, + output: { + resultWrapper: "DescribeInstanceRefreshesResult", + type: "structure", + members: { + InstanceRefreshes: { + type: "list", + member: { + type: "structure", + members: { + InstanceRefreshId: {}, + AutoScalingGroupName: {}, + Status: {}, + StatusReason: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + PercentageComplete: { type: "integer" }, + InstancesToUpdate: { type: "integer" }, }, - StreamName: { locationName: "streamName" }, }, - required: ["AudioSelectorName", "Name"], }, + NextToken: {}, }, - AvailBlanking: { - locationName: "availBlanking", - type: "structure", - members: { - AvailBlankingImage: { - shape: "S14", - locationName: "availBlankingImage", + }, + }, + DescribeLaunchConfigurations: { + input: { + type: "structure", + members: { + LaunchConfigurationNames: { type: "list", member: {} }, + NextToken: {}, + MaxRecords: { type: "integer" }, + }, + }, + output: { + resultWrapper: "DescribeLaunchConfigurationsResult", + type: "structure", + required: ["LaunchConfigurations"], + members: { + LaunchConfigurations: { + type: "list", + member: { + type: "structure", + required: [ + "LaunchConfigurationName", + "ImageId", + "InstanceType", + "CreatedTime", + ], + members: { + LaunchConfigurationName: {}, + LaunchConfigurationARN: {}, + ImageId: {}, + KeyName: {}, + SecurityGroups: { shape: "S1x" }, + ClassicLinkVPCId: {}, + ClassicLinkVPCSecurityGroups: { shape: "S1y" }, + UserData: {}, + InstanceType: {}, + KernelId: {}, + RamdiskId: {}, + BlockDeviceMappings: { shape: "S20" }, + InstanceMonitoring: { shape: "S29" }, + SpotPrice: {}, + IamInstanceProfile: {}, + CreatedTime: { type: "timestamp" }, + EbsOptimized: { type: "boolean" }, + AssociatePublicIpAddress: { type: "boolean" }, + PlacementTenancy: {}, + MetadataOptions: { shape: "S2e" }, + }, }, - State: { locationName: "state" }, }, + NextToken: {}, }, - AvailConfiguration: { - locationName: "availConfiguration", - type: "structure", - members: { - AvailSettings: { - locationName: "availSettings", + }, + }, + DescribeLifecycleHookTypes: { + output: { + resultWrapper: "DescribeLifecycleHookTypesResult", + type: "structure", + members: { LifecycleHookTypes: { shape: "S3k" } }, + }, + }, + DescribeLifecycleHooks: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { + AutoScalingGroupName: {}, + LifecycleHookNames: { type: "list", member: {} }, + }, + }, + output: { + resultWrapper: "DescribeLifecycleHooksResult", + type: "structure", + members: { + LifecycleHooks: { + type: "list", + member: { type: "structure", members: { - Scte35SpliceInsert: { - locationName: "scte35SpliceInsert", - type: "structure", - members: { - AdAvailOffset: { - locationName: "adAvailOffset", - type: "integer", - }, - NoRegionalBlackoutFlag: { - locationName: "noRegionalBlackoutFlag", - }, - WebDeliveryAllowedFlag: { - locationName: "webDeliveryAllowedFlag", - }, - }, - }, - Scte35TimeSignalApos: { - locationName: "scte35TimeSignalApos", - type: "structure", - members: { - AdAvailOffset: { - locationName: "adAvailOffset", - type: "integer", - }, - NoRegionalBlackoutFlag: { - locationName: "noRegionalBlackoutFlag", - }, - WebDeliveryAllowedFlag: { - locationName: "webDeliveryAllowedFlag", - }, - }, - }, + LifecycleHookName: {}, + AutoScalingGroupName: {}, + LifecycleTransition: {}, + NotificationTargetARN: {}, + RoleARN: {}, + NotificationMetadata: {}, + HeartbeatTimeout: { type: "integer" }, + GlobalTimeout: { type: "integer" }, + DefaultResult: {}, }, }, }, }, - BlackoutSlate: { - locationName: "blackoutSlate", - type: "structure", - members: { - BlackoutSlateImage: { - shape: "S14", - locationName: "blackoutSlateImage", + }, + }, + DescribeLoadBalancerTargetGroups: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { + AutoScalingGroupName: {}, + NextToken: {}, + MaxRecords: { type: "integer" }, + }, + }, + output: { + resultWrapper: "DescribeLoadBalancerTargetGroupsResult", + type: "structure", + members: { + LoadBalancerTargetGroups: { + type: "list", + member: { + type: "structure", + members: { LoadBalancerTargetGroupARN: {}, State: {} }, }, - NetworkEndBlackout: { locationName: "networkEndBlackout" }, - NetworkEndBlackoutImage: { - shape: "S14", - locationName: "networkEndBlackoutImage", + }, + NextToken: {}, + }, + }, + }, + DescribeLoadBalancers: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { + AutoScalingGroupName: {}, + NextToken: {}, + MaxRecords: { type: "integer" }, + }, + }, + output: { + resultWrapper: "DescribeLoadBalancersResult", + type: "structure", + members: { + LoadBalancers: { + type: "list", + member: { + type: "structure", + members: { LoadBalancerName: {}, State: {} }, }, - NetworkId: { locationName: "networkId" }, - State: { locationName: "state" }, }, + NextToken: {}, }, - CaptionDescriptions: { - locationName: "captionDescriptions", - type: "list", - member: { - type: "structure", - members: { - CaptionSelectorName: { - locationName: "captionSelectorName", + }, + }, + DescribeMetricCollectionTypes: { + output: { + resultWrapper: "DescribeMetricCollectionTypesResult", + type: "structure", + members: { + Metrics: { + type: "list", + member: { type: "structure", members: { Metric: {} } }, + }, + Granularities: { + type: "list", + member: { type: "structure", members: { Granularity: {} } }, + }, + }, + }, + }, + DescribeNotificationConfigurations: { + input: { + type: "structure", + members: { + AutoScalingGroupNames: { shape: "S31" }, + NextToken: {}, + MaxRecords: { type: "integer" }, + }, + }, + output: { + resultWrapper: "DescribeNotificationConfigurationsResult", + type: "structure", + required: ["NotificationConfigurations"], + members: { + NotificationConfigurations: { + type: "list", + member: { + type: "structure", + members: { + AutoScalingGroupName: {}, + TopicARN: {}, + NotificationType: {}, }, - DestinationSettings: { - locationName: "destinationSettings", - type: "structure", - members: { - AribDestinationSettings: { - locationName: "aribDestinationSettings", - type: "structure", - members: {}, - }, - BurnInDestinationSettings: { - locationName: "burnInDestinationSettings", - type: "structure", - members: { - Alignment: { locationName: "alignment" }, - BackgroundColor: { - locationName: "backgroundColor", - }, - BackgroundOpacity: { - locationName: "backgroundOpacity", - type: "integer", - }, - Font: { shape: "S14", locationName: "font" }, - FontColor: { locationName: "fontColor" }, - FontOpacity: { - locationName: "fontOpacity", - type: "integer", - }, - FontResolution: { - locationName: "fontResolution", - type: "integer", - }, - FontSize: { locationName: "fontSize" }, - OutlineColor: { locationName: "outlineColor" }, - OutlineSize: { - locationName: "outlineSize", - type: "integer", - }, - ShadowColor: { locationName: "shadowColor" }, - ShadowOpacity: { - locationName: "shadowOpacity", - type: "integer", - }, - ShadowXOffset: { - locationName: "shadowXOffset", - type: "integer", - }, - ShadowYOffset: { - locationName: "shadowYOffset", - type: "integer", - }, - TeletextGridControl: { - locationName: "teletextGridControl", - }, - XPosition: { - locationName: "xPosition", - type: "integer", - }, - YPosition: { - locationName: "yPosition", - type: "integer", - }, - }, - }, - DvbSubDestinationSettings: { - locationName: "dvbSubDestinationSettings", - type: "structure", - members: { - Alignment: { locationName: "alignment" }, - BackgroundColor: { - locationName: "backgroundColor", - }, - BackgroundOpacity: { - locationName: "backgroundOpacity", - type: "integer", - }, - Font: { shape: "S14", locationName: "font" }, - FontColor: { locationName: "fontColor" }, - FontOpacity: { - locationName: "fontOpacity", - type: "integer", - }, - FontResolution: { - locationName: "fontResolution", - type: "integer", - }, - FontSize: { locationName: "fontSize" }, - OutlineColor: { locationName: "outlineColor" }, - OutlineSize: { - locationName: "outlineSize", - type: "integer", - }, - ShadowColor: { locationName: "shadowColor" }, - ShadowOpacity: { - locationName: "shadowOpacity", - type: "integer", - }, - ShadowXOffset: { - locationName: "shadowXOffset", - type: "integer", - }, - ShadowYOffset: { - locationName: "shadowYOffset", - type: "integer", - }, - TeletextGridControl: { - locationName: "teletextGridControl", - }, - XPosition: { - locationName: "xPosition", - type: "integer", - }, - YPosition: { - locationName: "yPosition", - type: "integer", - }, - }, - }, - EmbeddedDestinationSettings: { - locationName: "embeddedDestinationSettings", - type: "structure", - members: {}, - }, - EmbeddedPlusScte20DestinationSettings: { - locationName: "embeddedPlusScte20DestinationSettings", - type: "structure", - members: {}, - }, - RtmpCaptionInfoDestinationSettings: { - locationName: "rtmpCaptionInfoDestinationSettings", - type: "structure", - members: {}, - }, - Scte20PlusEmbeddedDestinationSettings: { - locationName: "scte20PlusEmbeddedDestinationSettings", - type: "structure", - members: {}, - }, - Scte27DestinationSettings: { - locationName: "scte27DestinationSettings", - type: "structure", - members: {}, - }, - SmpteTtDestinationSettings: { - locationName: "smpteTtDestinationSettings", - type: "structure", - members: {}, - }, - TeletextDestinationSettings: { - locationName: "teletextDestinationSettings", - type: "structure", - members: {}, - }, - TtmlDestinationSettings: { - locationName: "ttmlDestinationSettings", - type: "structure", - members: { - StyleControl: { locationName: "styleControl" }, - }, - }, - WebvttDestinationSettings: { - locationName: "webvttDestinationSettings", - type: "structure", - members: {}, - }, - }, - }, - LanguageCode: { locationName: "languageCode" }, - LanguageDescription: { - locationName: "languageDescription", + }, + }, + NextToken: {}, + }, + }, + }, + DescribePolicies: { + input: { + type: "structure", + members: { + AutoScalingGroupName: {}, + PolicyNames: { type: "list", member: {} }, + PolicyTypes: { type: "list", member: {} }, + NextToken: {}, + MaxRecords: { type: "integer" }, + }, + }, + output: { + resultWrapper: "DescribePoliciesResult", + type: "structure", + members: { + ScalingPolicies: { + type: "list", + member: { + type: "structure", + members: { + AutoScalingGroupName: {}, + PolicyName: {}, + PolicyARN: {}, + PolicyType: {}, + AdjustmentType: {}, + MinAdjustmentStep: { shape: "S4s" }, + MinAdjustmentMagnitude: { type: "integer" }, + ScalingAdjustment: { type: "integer" }, + Cooldown: { type: "integer" }, + StepAdjustments: { shape: "S4v" }, + MetricAggregationType: {}, + EstimatedInstanceWarmup: { type: "integer" }, + Alarms: { shape: "S4z" }, + TargetTrackingConfiguration: { shape: "S51" }, + Enabled: { type: "boolean" }, }, - Name: { locationName: "name" }, }, - required: ["CaptionSelectorName", "Name"], }, + NextToken: {}, }, - GlobalConfiguration: { - locationName: "globalConfiguration", - type: "structure", - members: { - InitialAudioGain: { - locationName: "initialAudioGain", - type: "integer", + }, + }, + DescribeScalingActivities: { + input: { + type: "structure", + members: { + ActivityIds: { type: "list", member: {} }, + AutoScalingGroupName: {}, + MaxRecords: { type: "integer" }, + NextToken: {}, + }, + }, + output: { + resultWrapper: "DescribeScalingActivitiesResult", + type: "structure", + required: ["Activities"], + members: { Activities: { shape: "S5i" }, NextToken: {} }, + }, + }, + DescribeScalingProcessTypes: { + output: { + resultWrapper: "DescribeScalingProcessTypesResult", + type: "structure", + members: { + Processes: { + type: "list", + member: { + type: "structure", + required: ["ProcessName"], + members: { ProcessName: {} }, }, - InputEndAction: { locationName: "inputEndAction" }, - InputLossBehavior: { - locationName: "inputLossBehavior", + }, + }, + }, + }, + DescribeScheduledActions: { + input: { + type: "structure", + members: { + AutoScalingGroupName: {}, + ScheduledActionNames: { shape: "Sd" }, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + NextToken: {}, + MaxRecords: { type: "integer" }, + }, + }, + output: { + resultWrapper: "DescribeScheduledActionsResult", + type: "structure", + members: { + ScheduledUpdateGroupActions: { + type: "list", + member: { type: "structure", members: { - BlackFrameMsec: { - locationName: "blackFrameMsec", - type: "integer", - }, - InputLossImageColor: { - locationName: "inputLossImageColor", - }, - InputLossImageSlate: { - shape: "S14", - locationName: "inputLossImageSlate", - }, - InputLossImageType: { - locationName: "inputLossImageType", - }, - RepeatFrameMsec: { - locationName: "repeatFrameMsec", - type: "integer", - }, + AutoScalingGroupName: {}, + ScheduledActionName: {}, + ScheduledActionARN: {}, + Time: { type: "timestamp" }, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + Recurrence: {}, + MinSize: { type: "integer" }, + MaxSize: { type: "integer" }, + DesiredCapacity: { type: "integer" }, }, }, - OutputLockingMode: { locationName: "outputLockingMode" }, - OutputTimingSource: { locationName: "outputTimingSource" }, - SupportLowFramerateInputs: { - locationName: "supportLowFramerateInputs", + }, + NextToken: {}, + }, + }, + }, + DescribeTags: { + input: { + type: "structure", + members: { + Filters: { + type: "list", + member: { + type: "structure", + members: { Name: {}, Values: { type: "list", member: {} } }, }, }, + NextToken: {}, + MaxRecords: { type: "integer" }, }, - NielsenConfiguration: { - locationName: "nielsenConfiguration", + }, + output: { + resultWrapper: "DescribeTagsResult", + type: "structure", + members: { Tags: { shape: "S3d" }, NextToken: {} }, + }, + }, + DescribeTerminationPolicyTypes: { + output: { + resultWrapper: "DescribeTerminationPolicyTypesResult", + type: "structure", + members: { TerminationPolicyTypes: { shape: "S1g" } }, + }, + }, + DetachInstances: { + input: { + type: "structure", + required: [ + "AutoScalingGroupName", + "ShouldDecrementDesiredCapacity", + ], + members: { + InstanceIds: { shape: "S2" }, + AutoScalingGroupName: {}, + ShouldDecrementDesiredCapacity: { type: "boolean" }, + }, + }, + output: { + resultWrapper: "DetachInstancesResult", + type: "structure", + members: { Activities: { shape: "S5i" } }, + }, + }, + DetachLoadBalancerTargetGroups: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "TargetGroupARNs"], + members: { + AutoScalingGroupName: {}, + TargetGroupARNs: { shape: "S6" }, + }, + }, + output: { + resultWrapper: "DetachLoadBalancerTargetGroupsResult", + type: "structure", + members: {}, + }, + }, + DetachLoadBalancers: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "LoadBalancerNames"], + members: { + AutoScalingGroupName: {}, + LoadBalancerNames: { shape: "Sa" }, + }, + }, + output: { + resultWrapper: "DetachLoadBalancersResult", + type: "structure", + members: {}, + }, + }, + DisableMetricsCollection: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { AutoScalingGroupName: {}, Metrics: { shape: "S67" } }, + }, + }, + EnableMetricsCollection: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "Granularity"], + members: { + AutoScalingGroupName: {}, + Metrics: { shape: "S67" }, + Granularity: {}, + }, + }, + }, + EnterStandby: { + input: { + type: "structure", + required: [ + "AutoScalingGroupName", + "ShouldDecrementDesiredCapacity", + ], + members: { + InstanceIds: { shape: "S2" }, + AutoScalingGroupName: {}, + ShouldDecrementDesiredCapacity: { type: "boolean" }, + }, + }, + output: { + resultWrapper: "EnterStandbyResult", + type: "structure", + members: { Activities: { shape: "S5i" } }, + }, + }, + ExecutePolicy: { + input: { + type: "structure", + required: ["PolicyName"], + members: { + AutoScalingGroupName: {}, + PolicyName: {}, + HonorCooldown: { type: "boolean" }, + MetricValue: { type: "double" }, + BreachThreshold: { type: "double" }, + }, + }, + }, + ExitStandby: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { + InstanceIds: { shape: "S2" }, + AutoScalingGroupName: {}, + }, + }, + output: { + resultWrapper: "ExitStandbyResult", + type: "structure", + members: { Activities: { shape: "S5i" } }, + }, + }, + PutLifecycleHook: { + input: { + type: "structure", + required: ["LifecycleHookName", "AutoScalingGroupName"], + members: { + LifecycleHookName: {}, + AutoScalingGroupName: {}, + LifecycleTransition: {}, + RoleARN: {}, + NotificationTargetARN: {}, + NotificationMetadata: {}, + HeartbeatTimeout: { type: "integer" }, + DefaultResult: {}, + }, + }, + output: { + resultWrapper: "PutLifecycleHookResult", + type: "structure", + members: {}, + }, + }, + PutNotificationConfiguration: { + input: { + type: "structure", + required: [ + "AutoScalingGroupName", + "TopicARN", + "NotificationTypes", + ], + members: { + AutoScalingGroupName: {}, + TopicARN: {}, + NotificationTypes: { shape: "S3k" }, + }, + }, + }, + PutScalingPolicy: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "PolicyName"], + members: { + AutoScalingGroupName: {}, + PolicyName: {}, + PolicyType: {}, + AdjustmentType: {}, + MinAdjustmentStep: { shape: "S4s" }, + MinAdjustmentMagnitude: { type: "integer" }, + ScalingAdjustment: { type: "integer" }, + Cooldown: { type: "integer" }, + MetricAggregationType: {}, + StepAdjustments: { shape: "S4v" }, + EstimatedInstanceWarmup: { type: "integer" }, + TargetTrackingConfiguration: { shape: "S51" }, + Enabled: { type: "boolean" }, + }, + }, + output: { + resultWrapper: "PutScalingPolicyResult", + type: "structure", + members: { PolicyARN: {}, Alarms: { shape: "S4z" } }, + }, + }, + PutScheduledUpdateGroupAction: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "ScheduledActionName"], + members: { + AutoScalingGroupName: {}, + ScheduledActionName: {}, + Time: { type: "timestamp" }, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + Recurrence: {}, + MinSize: { type: "integer" }, + MaxSize: { type: "integer" }, + DesiredCapacity: { type: "integer" }, + }, + }, + }, + RecordLifecycleActionHeartbeat: { + input: { + type: "structure", + required: ["LifecycleHookName", "AutoScalingGroupName"], + members: { + LifecycleHookName: {}, + AutoScalingGroupName: {}, + LifecycleActionToken: {}, + InstanceId: {}, + }, + }, + output: { + resultWrapper: "RecordLifecycleActionHeartbeatResult", + type: "structure", + members: {}, + }, + }, + ResumeProcesses: { input: { shape: "S6n" } }, + SetDesiredCapacity: { + input: { + type: "structure", + required: ["AutoScalingGroupName", "DesiredCapacity"], + members: { + AutoScalingGroupName: {}, + DesiredCapacity: { type: "integer" }, + HonorCooldown: { type: "boolean" }, + }, + }, + }, + SetInstanceHealth: { + input: { + type: "structure", + required: ["InstanceId", "HealthStatus"], + members: { + InstanceId: {}, + HealthStatus: {}, + ShouldRespectGracePeriod: { type: "boolean" }, + }, + }, + }, + SetInstanceProtection: { + input: { + type: "structure", + required: [ + "InstanceIds", + "AutoScalingGroupName", + "ProtectedFromScaleIn", + ], + members: { + InstanceIds: { shape: "S2" }, + AutoScalingGroupName: {}, + ProtectedFromScaleIn: { type: "boolean" }, + }, + }, + output: { + resultWrapper: "SetInstanceProtectionResult", + type: "structure", + members: {}, + }, + }, + StartInstanceRefresh: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { + AutoScalingGroupName: {}, + Strategy: {}, + Preferences: { + type: "structure", + members: { + MinHealthyPercentage: { type: "integer" }, + InstanceWarmup: { type: "integer" }, + }, + }, + }, + }, + output: { + resultWrapper: "StartInstanceRefreshResult", + type: "structure", + members: { InstanceRefreshId: {} }, + }, + }, + SuspendProcesses: { input: { shape: "S6n" } }, + TerminateInstanceInAutoScalingGroup: { + input: { + type: "structure", + required: ["InstanceId", "ShouldDecrementDesiredCapacity"], + members: { + InstanceId: {}, + ShouldDecrementDesiredCapacity: { type: "boolean" }, + }, + }, + output: { + resultWrapper: "TerminateInstanceInAutoScalingGroupResult", + type: "structure", + members: { Activity: { shape: "S5j" } }, + }, + }, + UpdateAutoScalingGroup: { + input: { + type: "structure", + required: ["AutoScalingGroupName"], + members: { + AutoScalingGroupName: {}, + LaunchConfigurationName: {}, + LaunchTemplate: { shape: "S10" }, + MixedInstancesPolicy: { shape: "S12" }, + MinSize: { type: "integer" }, + MaxSize: { type: "integer" }, + DesiredCapacity: { type: "integer" }, + DefaultCooldown: { type: "integer" }, + AvailabilityZones: { shape: "S1d" }, + HealthCheckType: {}, + HealthCheckGracePeriod: { type: "integer" }, + PlacementGroup: {}, + VPCZoneIdentifier: {}, + TerminationPolicies: { shape: "S1g" }, + NewInstancesProtectedFromScaleIn: { type: "boolean" }, + ServiceLinkedRoleARN: {}, + MaxInstanceLifetime: { type: "integer" }, + CapacityRebalance: { type: "boolean" }, + }, + }, + }, + }, + shapes: { + S2: { type: "list", member: {} }, + S6: { type: "list", member: {} }, + Sa: { type: "list", member: {} }, + Sd: { type: "list", member: {} }, + Sf: { + type: "list", + member: { + type: "structure", + required: ["ScheduledActionName"], + members: { + ScheduledActionName: {}, + ErrorCode: {}, + ErrorMessage: {}, + }, + }, + }, + S10: { + type: "structure", + members: { + LaunchTemplateId: {}, + LaunchTemplateName: {}, + Version: {}, + }, + }, + S12: { + type: "structure", + members: { + LaunchTemplate: { type: "structure", members: { - DistributorId: { locationName: "distributorId" }, - NielsenPcmToId3Tagging: { - locationName: "nielsenPcmToId3Tagging", + LaunchTemplateSpecification: { shape: "S10" }, + Overrides: { + type: "list", + member: { + type: "structure", + members: { + InstanceType: {}, + WeightedCapacity: {}, + LaunchTemplateSpecification: { shape: "S10" }, + }, + }, }, }, }, - OutputGroups: { - locationName: "outputGroups", - type: "list", - member: { + InstancesDistribution: { + type: "structure", + members: { + OnDemandAllocationStrategy: {}, + OnDemandBaseCapacity: { type: "integer" }, + OnDemandPercentageAboveBaseCapacity: { type: "integer" }, + SpotAllocationStrategy: {}, + SpotInstancePools: { type: "integer" }, + SpotMaxPrice: {}, + }, + }, + }, + }, + S1d: { type: "list", member: {} }, + S1g: { type: "list", member: {} }, + S1q: { + type: "list", + member: { + type: "structure", + required: ["Key"], + members: { + ResourceId: {}, + ResourceType: {}, + Key: {}, + Value: {}, + PropagateAtLaunch: { type: "boolean" }, + }, + }, + }, + S1x: { type: "list", member: {} }, + S1y: { type: "list", member: {} }, + S20: { + type: "list", + member: { + type: "structure", + required: ["DeviceName"], + members: { + VirtualName: {}, + DeviceName: {}, + Ebs: { type: "structure", members: { - Name: { locationName: "name" }, - OutputGroupSettings: { - locationName: "outputGroupSettings", + SnapshotId: {}, + VolumeSize: { type: "integer" }, + VolumeType: {}, + DeleteOnTermination: { type: "boolean" }, + Iops: { type: "integer" }, + Encrypted: { type: "boolean" }, + }, + }, + NoDevice: { type: "boolean" }, + }, + }, + }, + S29: { type: "structure", members: { Enabled: { type: "boolean" } } }, + S2e: { + type: "structure", + members: { + HttpTokens: {}, + HttpPutResponseHopLimit: { type: "integer" }, + HttpEndpoint: {}, + }, + }, + S31: { type: "list", member: {} }, + S3d: { + type: "list", + member: { + type: "structure", + members: { + ResourceId: {}, + ResourceType: {}, + Key: {}, + Value: {}, + PropagateAtLaunch: { type: "boolean" }, + }, + }, + }, + S3k: { type: "list", member: {} }, + S4s: { type: "integer", deprecated: true }, + S4v: { + type: "list", + member: { + type: "structure", + required: ["ScalingAdjustment"], + members: { + MetricIntervalLowerBound: { type: "double" }, + MetricIntervalUpperBound: { type: "double" }, + ScalingAdjustment: { type: "integer" }, + }, + }, + }, + S4z: { + type: "list", + member: { + type: "structure", + members: { AlarmName: {}, AlarmARN: {} }, + }, + }, + S51: { + type: "structure", + required: ["TargetValue"], + members: { + PredefinedMetricSpecification: { + type: "structure", + required: ["PredefinedMetricType"], + members: { PredefinedMetricType: {}, ResourceLabel: {} }, + }, + CustomizedMetricSpecification: { + type: "structure", + required: ["MetricName", "Namespace", "Statistic"], + members: { + MetricName: {}, + Namespace: {}, + Dimensions: { + type: "list", + member: { type: "structure", - members: { - ArchiveGroupSettings: { - locationName: "archiveGroupSettings", - type: "structure", - members: { - Destination: { - shape: "S51", - locationName: "destination", - }, - RolloverInterval: { - locationName: "rolloverInterval", - type: "integer", - }, - }, - required: ["Destination"], - }, - FrameCaptureGroupSettings: { - locationName: "frameCaptureGroupSettings", - type: "structure", - members: { - Destination: { - shape: "S51", - locationName: "destination", - }, - }, - required: ["Destination"], - }, - HlsGroupSettings: { - locationName: "hlsGroupSettings", - type: "structure", - members: { - AdMarkers: { - locationName: "adMarkers", - type: "list", - member: {}, - }, - BaseUrlContent: { locationName: "baseUrlContent" }, - BaseUrlContent1: { - locationName: "baseUrlContent1", - }, - BaseUrlManifest: { - locationName: "baseUrlManifest", - }, - BaseUrlManifest1: { - locationName: "baseUrlManifest1", - }, - CaptionLanguageMappings: { - locationName: "captionLanguageMappings", - type: "list", - member: { - type: "structure", - members: { - CaptionChannel: { - locationName: "captionChannel", - type: "integer", - }, - LanguageCode: { - locationName: "languageCode", - }, - LanguageDescription: { - locationName: "languageDescription", - }, - }, - required: [ - "LanguageCode", - "LanguageDescription", - "CaptionChannel", - ], - }, - }, - CaptionLanguageSetting: { - locationName: "captionLanguageSetting", - }, - ClientCache: { locationName: "clientCache" }, - CodecSpecification: { - locationName: "codecSpecification", - }, - ConstantIv: { locationName: "constantIv" }, - Destination: { - shape: "S51", - locationName: "destination", - }, - DirectoryStructure: { - locationName: "directoryStructure", - }, - EncryptionType: { locationName: "encryptionType" }, - HlsCdnSettings: { - locationName: "hlsCdnSettings", - type: "structure", - members: { - HlsAkamaiSettings: { - locationName: "hlsAkamaiSettings", - type: "structure", - members: { - ConnectionRetryInterval: { - locationName: "connectionRetryInterval", - type: "integer", - }, - FilecacheDuration: { - locationName: "filecacheDuration", - type: "integer", - }, - HttpTransferMode: { - locationName: "httpTransferMode", - }, - NumRetries: { - locationName: "numRetries", - type: "integer", - }, - RestartDelay: { - locationName: "restartDelay", - type: "integer", - }, - Salt: { locationName: "salt" }, - Token: { locationName: "token" }, - }, - }, - HlsBasicPutSettings: { - locationName: "hlsBasicPutSettings", - type: "structure", - members: { - ConnectionRetryInterval: { - locationName: "connectionRetryInterval", - type: "integer", - }, - FilecacheDuration: { - locationName: "filecacheDuration", - type: "integer", - }, - NumRetries: { - locationName: "numRetries", - type: "integer", - }, - RestartDelay: { - locationName: "restartDelay", - type: "integer", - }, - }, - }, - HlsMediaStoreSettings: { - locationName: "hlsMediaStoreSettings", - type: "structure", - members: { - ConnectionRetryInterval: { - locationName: "connectionRetryInterval", - type: "integer", - }, - FilecacheDuration: { - locationName: "filecacheDuration", - type: "integer", - }, - MediaStoreStorageClass: { - locationName: "mediaStoreStorageClass", - }, - NumRetries: { - locationName: "numRetries", - type: "integer", - }, - RestartDelay: { - locationName: "restartDelay", - type: "integer", - }, - }, - }, - HlsWebdavSettings: { - locationName: "hlsWebdavSettings", - type: "structure", - members: { - ConnectionRetryInterval: { - locationName: "connectionRetryInterval", - type: "integer", - }, - FilecacheDuration: { - locationName: "filecacheDuration", - type: "integer", - }, - HttpTransferMode: { - locationName: "httpTransferMode", - }, - NumRetries: { - locationName: "numRetries", - type: "integer", - }, - RestartDelay: { - locationName: "restartDelay", - type: "integer", - }, - }, - }, - }, - }, - HlsId3SegmentTagging: { - locationName: "hlsId3SegmentTagging", - }, - IFrameOnlyPlaylists: { - locationName: "iFrameOnlyPlaylists", - }, - IndexNSegments: { - locationName: "indexNSegments", - type: "integer", - }, - InputLossAction: { - locationName: "inputLossAction", - }, - IvInManifest: { locationName: "ivInManifest" }, - IvSource: { locationName: "ivSource" }, - KeepSegments: { - locationName: "keepSegments", - type: "integer", - }, - KeyFormat: { locationName: "keyFormat" }, - KeyFormatVersions: { - locationName: "keyFormatVersions", - }, - KeyProviderSettings: { - locationName: "keyProviderSettings", - type: "structure", - members: { - StaticKeySettings: { - locationName: "staticKeySettings", - type: "structure", - members: { - KeyProviderServer: { - shape: "S14", - locationName: "keyProviderServer", - }, - StaticKeyValue: { - locationName: "staticKeyValue", - }, - }, - required: ["StaticKeyValue"], - }, - }, - }, - ManifestCompression: { - locationName: "manifestCompression", - }, - ManifestDurationFormat: { - locationName: "manifestDurationFormat", - }, - MinSegmentLength: { - locationName: "minSegmentLength", - type: "integer", - }, - Mode: { locationName: "mode" }, - OutputSelection: { - locationName: "outputSelection", - }, - ProgramDateTime: { - locationName: "programDateTime", - }, - ProgramDateTimePeriod: { - locationName: "programDateTimePeriod", - type: "integer", - }, - RedundantManifest: { - locationName: "redundantManifest", - }, - SegmentLength: { - locationName: "segmentLength", - type: "integer", - }, - SegmentationMode: { - locationName: "segmentationMode", - }, - SegmentsPerSubdirectory: { - locationName: "segmentsPerSubdirectory", - type: "integer", - }, - StreamInfResolution: { - locationName: "streamInfResolution", - }, - TimedMetadataId3Frame: { - locationName: "timedMetadataId3Frame", - }, - TimedMetadataId3Period: { - locationName: "timedMetadataId3Period", - type: "integer", - }, - TimestampDeltaMilliseconds: { - locationName: "timestampDeltaMilliseconds", - type: "integer", - }, - TsFileMode: { locationName: "tsFileMode" }, - }, - required: ["Destination"], - }, - MediaPackageGroupSettings: { - locationName: "mediaPackageGroupSettings", - type: "structure", - members: { - Destination: { - shape: "S51", - locationName: "destination", - }, - }, - required: ["Destination"], - }, - MsSmoothGroupSettings: { - locationName: "msSmoothGroupSettings", - type: "structure", - members: { - AcquisitionPointId: { - locationName: "acquisitionPointId", - }, - AudioOnlyTimecodeControl: { - locationName: "audioOnlyTimecodeControl", - }, - CertificateMode: { - locationName: "certificateMode", - }, - ConnectionRetryInterval: { - locationName: "connectionRetryInterval", - type: "integer", - }, - Destination: { - shape: "S51", - locationName: "destination", - }, - EventId: { locationName: "eventId" }, - EventIdMode: { locationName: "eventIdMode" }, - EventStopBehavior: { - locationName: "eventStopBehavior", - }, - FilecacheDuration: { - locationName: "filecacheDuration", - type: "integer", - }, - FragmentLength: { - locationName: "fragmentLength", - type: "integer", - }, - InputLossAction: { - locationName: "inputLossAction", - }, - NumRetries: { - locationName: "numRetries", - type: "integer", - }, - RestartDelay: { - locationName: "restartDelay", - type: "integer", - }, - SegmentationMode: { - locationName: "segmentationMode", - }, - SendDelayMs: { - locationName: "sendDelayMs", - type: "integer", - }, - SparseTrackType: { - locationName: "sparseTrackType", - }, - StreamManifestBehavior: { - locationName: "streamManifestBehavior", - }, - TimestampOffset: { - locationName: "timestampOffset", - }, - TimestampOffsetMode: { - locationName: "timestampOffsetMode", - }, - }, - required: ["Destination"], - }, - MultiplexGroupSettings: { - locationName: "multiplexGroupSettings", - type: "structure", - members: {}, - }, - RtmpGroupSettings: { - locationName: "rtmpGroupSettings", - type: "structure", - members: { - AuthenticationScheme: { - locationName: "authenticationScheme", - }, - CacheFullBehavior: { - locationName: "cacheFullBehavior", - }, - CacheLength: { - locationName: "cacheLength", - type: "integer", - }, - CaptionData: { locationName: "captionData" }, - InputLossAction: { - locationName: "inputLossAction", - }, - RestartDelay: { - locationName: "restartDelay", - type: "integer", - }, - }, - }, - UdpGroupSettings: { - locationName: "udpGroupSettings", - type: "structure", - members: { - InputLossAction: { - locationName: "inputLossAction", - }, - TimedMetadataId3Frame: { - locationName: "timedMetadataId3Frame", - }, - TimedMetadataId3Period: { - locationName: "timedMetadataId3Period", - type: "integer", - }, - }, - }, - }, - }, - Outputs: { - locationName: "outputs", - type: "list", - member: { - type: "structure", - members: { - AudioDescriptionNames: { - shape: "Sf", - locationName: "audioDescriptionNames", - }, - CaptionDescriptionNames: { - shape: "Sf", - locationName: "captionDescriptionNames", - }, - OutputName: { locationName: "outputName" }, - OutputSettings: { - locationName: "outputSettings", - type: "structure", - members: { - ArchiveOutputSettings: { - locationName: "archiveOutputSettings", - type: "structure", - members: { - ContainerSettings: { - locationName: "containerSettings", - type: "structure", - members: { - M2tsSettings: { - shape: "S6z", - locationName: "m2tsSettings", - }, - }, - }, - Extension: { locationName: "extension" }, - NameModifier: { - locationName: "nameModifier", - }, - }, - required: ["ContainerSettings"], - }, - FrameCaptureOutputSettings: { - locationName: "frameCaptureOutputSettings", - type: "structure", - members: { - NameModifier: { - locationName: "nameModifier", - }, - }, - }, - HlsOutputSettings: { - locationName: "hlsOutputSettings", - type: "structure", - members: { - H265PackagingType: { - locationName: "h265PackagingType", - }, - HlsSettings: { - locationName: "hlsSettings", - type: "structure", - members: { - AudioOnlyHlsSettings: { - locationName: "audioOnlyHlsSettings", - type: "structure", - members: { - AudioGroupId: { - locationName: "audioGroupId", - }, - AudioOnlyImage: { - shape: "S14", - locationName: "audioOnlyImage", - }, - AudioTrackType: { - locationName: "audioTrackType", - }, - SegmentType: { - locationName: "segmentType", - }, - }, - }, - Fmp4HlsSettings: { - locationName: "fmp4HlsSettings", - type: "structure", - members: { - AudioRenditionSets: { - locationName: "audioRenditionSets", - }, - }, - }, - StandardHlsSettings: { - locationName: "standardHlsSettings", - type: "structure", - members: { - AudioRenditionSets: { - locationName: "audioRenditionSets", - }, - M3u8Settings: { - locationName: "m3u8Settings", - type: "structure", - members: { - AudioFramesPerPes: { - locationName: - "audioFramesPerPes", - type: "integer", - }, - AudioPids: { - locationName: "audioPids", - }, - EcmPid: { - locationName: "ecmPid", - }, - NielsenId3Behavior: { - locationName: - "nielsenId3Behavior", - }, - PatInterval: { - locationName: "patInterval", - type: "integer", - }, - PcrControl: { - locationName: "pcrControl", - }, - PcrPeriod: { - locationName: "pcrPeriod", - type: "integer", - }, - PcrPid: { - locationName: "pcrPid", - }, - PmtInterval: { - locationName: "pmtInterval", - type: "integer", - }, - PmtPid: { - locationName: "pmtPid", - }, - ProgramNum: { - locationName: "programNum", - type: "integer", - }, - Scte35Behavior: { - locationName: "scte35Behavior", - }, - Scte35Pid: { - locationName: "scte35Pid", - }, - TimedMetadataBehavior: { - locationName: - "timedMetadataBehavior", - }, - TimedMetadataPid: { - locationName: - "timedMetadataPid", - }, - TransportStreamId: { - locationName: - "transportStreamId", - type: "integer", - }, - VideoPid: { - locationName: "videoPid", - }, - }, - }, - }, - required: ["M3u8Settings"], - }, - }, - }, - NameModifier: { - locationName: "nameModifier", - }, - SegmentModifier: { - locationName: "segmentModifier", - }, - }, - required: ["HlsSettings"], - }, - MediaPackageOutputSettings: { - locationName: "mediaPackageOutputSettings", - type: "structure", - members: {}, - }, - MsSmoothOutputSettings: { - locationName: "msSmoothOutputSettings", - type: "structure", - members: { - H265PackagingType: { - locationName: "h265PackagingType", - }, - NameModifier: { - locationName: "nameModifier", - }, - }, - }, - MultiplexOutputSettings: { - locationName: "multiplexOutputSettings", - type: "structure", - members: { - Destination: { - shape: "S51", - locationName: "destination", - }, - }, - required: ["Destination"], - }, - RtmpOutputSettings: { - locationName: "rtmpOutputSettings", - type: "structure", - members: { - CertificateMode: { - locationName: "certificateMode", - }, - ConnectionRetryInterval: { - locationName: "connectionRetryInterval", - type: "integer", - }, - Destination: { - shape: "S51", - locationName: "destination", - }, - NumRetries: { - locationName: "numRetries", - type: "integer", - }, - }, - required: ["Destination"], - }, - UdpOutputSettings: { - locationName: "udpOutputSettings", - type: "structure", - members: { - BufferMsec: { - locationName: "bufferMsec", - type: "integer", - }, - ContainerSettings: { - locationName: "containerSettings", - type: "structure", - members: { - M2tsSettings: { - shape: "S6z", - locationName: "m2tsSettings", - }, - }, - }, - Destination: { - shape: "S51", - locationName: "destination", - }, - FecOutputSettings: { - locationName: "fecOutputSettings", - type: "structure", - members: { - ColumnDepth: { - locationName: "columnDepth", - type: "integer", - }, - IncludeFec: { - locationName: "includeFec", - }, - RowLength: { - locationName: "rowLength", - type: "integer", - }, - }, - }, - }, - required: ["Destination", "ContainerSettings"], - }, - }, - }, - VideoDescriptionName: { - locationName: "videoDescriptionName", - }, - }, - required: ["OutputSettings"], - }, - }, - }, - required: ["Outputs", "OutputGroupSettings"], - }, - }, - TimecodeConfig: { - locationName: "timecodeConfig", - type: "structure", - members: { - Source: { locationName: "source" }, - SyncThreshold: { - locationName: "syncThreshold", - type: "integer", - }, - }, - required: ["Source"], - }, - VideoDescriptions: { - locationName: "videoDescriptions", - type: "list", - member: { - type: "structure", - members: { - CodecSettings: { - locationName: "codecSettings", - type: "structure", - members: { - FrameCaptureSettings: { - locationName: "frameCaptureSettings", - type: "structure", - members: { - CaptureInterval: { - locationName: "captureInterval", - type: "integer", - }, - CaptureIntervalUnits: { - locationName: "captureIntervalUnits", - }, - }, - required: ["CaptureInterval"], - }, - H264Settings: { - locationName: "h264Settings", - type: "structure", - members: { - AdaptiveQuantization: { - locationName: "adaptiveQuantization", - }, - AfdSignaling: { locationName: "afdSignaling" }, - Bitrate: { - locationName: "bitrate", - type: "integer", - }, - BufFillPct: { - locationName: "bufFillPct", - type: "integer", - }, - BufSize: { - locationName: "bufSize", - type: "integer", - }, - ColorMetadata: { locationName: "colorMetadata" }, - ColorSpaceSettings: { - locationName: "colorSpaceSettings", - type: "structure", - members: { - ColorSpacePassthroughSettings: { - shape: "S92", - locationName: "colorSpacePassthroughSettings", - }, - Rec601Settings: { - shape: "S93", - locationName: "rec601Settings", - }, - Rec709Settings: { - shape: "S94", - locationName: "rec709Settings", - }, - }, - }, - EntropyEncoding: { - locationName: "entropyEncoding", - }, - FixedAfd: { locationName: "fixedAfd" }, - FlickerAq: { locationName: "flickerAq" }, - ForceFieldPictures: { - locationName: "forceFieldPictures", - }, - FramerateControl: { - locationName: "framerateControl", - }, - FramerateDenominator: { - locationName: "framerateDenominator", - type: "integer", - }, - FramerateNumerator: { - locationName: "framerateNumerator", - type: "integer", - }, - GopBReference: { locationName: "gopBReference" }, - GopClosedCadence: { - locationName: "gopClosedCadence", - type: "integer", - }, - GopNumBFrames: { - locationName: "gopNumBFrames", - type: "integer", - }, - GopSize: { - locationName: "gopSize", - type: "double", - }, - GopSizeUnits: { locationName: "gopSizeUnits" }, - Level: { locationName: "level" }, - LookAheadRateControl: { - locationName: "lookAheadRateControl", - }, - MaxBitrate: { - locationName: "maxBitrate", - type: "integer", - }, - MinIInterval: { - locationName: "minIInterval", - type: "integer", - }, - NumRefFrames: { - locationName: "numRefFrames", - type: "integer", - }, - ParControl: { locationName: "parControl" }, - ParDenominator: { - locationName: "parDenominator", - type: "integer", - }, - ParNumerator: { - locationName: "parNumerator", - type: "integer", - }, - Profile: { locationName: "profile" }, - QvbrQualityLevel: { - locationName: "qvbrQualityLevel", - type: "integer", - }, - RateControlMode: { - locationName: "rateControlMode", - }, - ScanType: { locationName: "scanType" }, - SceneChangeDetect: { - locationName: "sceneChangeDetect", - }, - Slices: { locationName: "slices", type: "integer" }, - Softness: { - locationName: "softness", - type: "integer", - }, - SpatialAq: { locationName: "spatialAq" }, - SubgopLength: { locationName: "subgopLength" }, - Syntax: { locationName: "syntax" }, - TemporalAq: { locationName: "temporalAq" }, - TimecodeInsertion: { - locationName: "timecodeInsertion", - }, - }, - }, - H265Settings: { - locationName: "h265Settings", - type: "structure", - members: { - AdaptiveQuantization: { - locationName: "adaptiveQuantization", - }, - AfdSignaling: { locationName: "afdSignaling" }, - AlternativeTransferFunction: { - locationName: "alternativeTransferFunction", - }, - Bitrate: { - locationName: "bitrate", - type: "integer", - }, - BufSize: { - locationName: "bufSize", - type: "integer", - }, - ColorMetadata: { locationName: "colorMetadata" }, - ColorSpaceSettings: { - locationName: "colorSpaceSettings", - type: "structure", - members: { - ColorSpacePassthroughSettings: { - shape: "S92", - locationName: "colorSpacePassthroughSettings", - }, - Hdr10Settings: { - locationName: "hdr10Settings", - type: "structure", - members: { - MaxCll: { - locationName: "maxCll", - type: "integer", - }, - MaxFall: { - locationName: "maxFall", - type: "integer", - }, - }, - }, - Rec601Settings: { - shape: "S93", - locationName: "rec601Settings", - }, - Rec709Settings: { - shape: "S94", - locationName: "rec709Settings", - }, - }, - }, - FixedAfd: { locationName: "fixedAfd" }, - FlickerAq: { locationName: "flickerAq" }, - FramerateDenominator: { - locationName: "framerateDenominator", - type: "integer", - }, - FramerateNumerator: { - locationName: "framerateNumerator", - type: "integer", - }, - GopClosedCadence: { - locationName: "gopClosedCadence", - type: "integer", - }, - GopSize: { - locationName: "gopSize", - type: "double", - }, - GopSizeUnits: { locationName: "gopSizeUnits" }, - Level: { locationName: "level" }, - LookAheadRateControl: { - locationName: "lookAheadRateControl", - }, - MaxBitrate: { - locationName: "maxBitrate", - type: "integer", - }, - MinIInterval: { - locationName: "minIInterval", - type: "integer", - }, - ParDenominator: { - locationName: "parDenominator", - type: "integer", - }, - ParNumerator: { - locationName: "parNumerator", - type: "integer", - }, - Profile: { locationName: "profile" }, - QvbrQualityLevel: { - locationName: "qvbrQualityLevel", - type: "integer", - }, - RateControlMode: { - locationName: "rateControlMode", - }, - ScanType: { locationName: "scanType" }, - SceneChangeDetect: { - locationName: "sceneChangeDetect", - }, - Slices: { locationName: "slices", type: "integer" }, - Tier: { locationName: "tier" }, - TimecodeInsertion: { - locationName: "timecodeInsertion", - }, - }, - required: [ - "FramerateNumerator", - "FramerateDenominator", - ], - }, - }, + required: ["Name", "Value"], + members: { Name: {}, Value: {} }, }, - Height: { locationName: "height", type: "integer" }, - Name: { locationName: "name" }, - RespondToAfd: { locationName: "respondToAfd" }, - ScalingBehavior: { locationName: "scalingBehavior" }, - Sharpness: { locationName: "sharpness", type: "integer" }, - Width: { locationName: "width", type: "integer" }, }, - required: ["Name"], + Statistic: {}, + Unit: {}, }, }, + TargetValue: { type: "double" }, + DisableScaleIn: { type: "boolean" }, }, - required: [ - "VideoDescriptions", - "AudioDescriptions", - "OutputGroups", - "TimecodeConfig", - ], }, - S51: { + S5i: { type: "list", member: { shape: "S5j" } }, + S5j: { type: "structure", - members: { DestinationRefId: { locationName: "destinationRefId" } }, + required: [ + "ActivityId", + "AutoScalingGroupName", + "Cause", + "StartTime", + "StatusCode", + ], + members: { + ActivityId: {}, + AutoScalingGroupName: {}, + Description: {}, + Cause: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + StatusCode: {}, + StatusMessage: {}, + Progress: { type: "integer" }, + Details: {}, + }, }, - S6z: { + S67: { type: "list", member: {} }, + S6n: { type: "structure", + required: ["AutoScalingGroupName"], members: { - AbsentInputAudioBehavior: { - locationName: "absentInputAudioBehavior", - }, - Arib: { locationName: "arib" }, - AribCaptionsPid: { locationName: "aribCaptionsPid" }, - AribCaptionsPidControl: { - locationName: "aribCaptionsPidControl", - }, - AudioBufferModel: { locationName: "audioBufferModel" }, - AudioFramesPerPes: { - locationName: "audioFramesPerPes", - type: "integer", - }, - AudioPids: { locationName: "audioPids" }, - AudioStreamType: { locationName: "audioStreamType" }, - Bitrate: { locationName: "bitrate", type: "integer" }, - BufferModel: { locationName: "bufferModel" }, - CcDescriptor: { locationName: "ccDescriptor" }, - DvbNitSettings: { - locationName: "dvbNitSettings", - type: "structure", - members: { - NetworkId: { locationName: "networkId", type: "integer" }, - NetworkName: { locationName: "networkName" }, - RepInterval: { locationName: "repInterval", type: "integer" }, - }, - required: ["NetworkName", "NetworkId"], - }, - DvbSdtSettings: { - locationName: "dvbSdtSettings", - type: "structure", - members: { - OutputSdt: { locationName: "outputSdt" }, - RepInterval: { locationName: "repInterval", type: "integer" }, - ServiceName: { locationName: "serviceName" }, - ServiceProviderName: { locationName: "serviceProviderName" }, - }, - }, - DvbSubPids: { locationName: "dvbSubPids" }, - DvbTdtSettings: { - locationName: "dvbTdtSettings", - type: "structure", - members: { - RepInterval: { locationName: "repInterval", type: "integer" }, - }, - }, - DvbTeletextPid: { locationName: "dvbTeletextPid" }, - Ebif: { locationName: "ebif" }, - EbpAudioInterval: { locationName: "ebpAudioInterval" }, - EbpLookaheadMs: { - locationName: "ebpLookaheadMs", - type: "integer", - }, - EbpPlacement: { locationName: "ebpPlacement" }, - EcmPid: { locationName: "ecmPid" }, - EsRateInPes: { locationName: "esRateInPes" }, - EtvPlatformPid: { locationName: "etvPlatformPid" }, - EtvSignalPid: { locationName: "etvSignalPid" }, - FragmentTime: { locationName: "fragmentTime", type: "double" }, - Klv: { locationName: "klv" }, - KlvDataPids: { locationName: "klvDataPids" }, - NielsenId3Behavior: { locationName: "nielsenId3Behavior" }, - NullPacketBitrate: { - locationName: "nullPacketBitrate", - type: "double", - }, - PatInterval: { locationName: "patInterval", type: "integer" }, - PcrControl: { locationName: "pcrControl" }, - PcrPeriod: { locationName: "pcrPeriod", type: "integer" }, - PcrPid: { locationName: "pcrPid" }, - PmtInterval: { locationName: "pmtInterval", type: "integer" }, - PmtPid: { locationName: "pmtPid" }, - ProgramNum: { locationName: "programNum", type: "integer" }, - RateMode: { locationName: "rateMode" }, - Scte27Pids: { locationName: "scte27Pids" }, - Scte35Control: { locationName: "scte35Control" }, - Scte35Pid: { locationName: "scte35Pid" }, - SegmentationMarkers: { locationName: "segmentationMarkers" }, - SegmentationStyle: { locationName: "segmentationStyle" }, - SegmentationTime: { - locationName: "segmentationTime", - type: "double", - }, - TimedMetadataBehavior: { locationName: "timedMetadataBehavior" }, - TimedMetadataPid: { locationName: "timedMetadataPid" }, - TransportStreamId: { - locationName: "transportStreamId", - type: "integer", - }, - VideoPid: { locationName: "videoPid" }, - }, - }, - S92: { type: "structure", members: {} }, - S93: { type: "structure", members: {} }, - S94: { type: "structure", members: {} }, - Saf: { - type: "list", - member: { - type: "structure", - members: { - AutomaticInputFailoverSettings: { - locationName: "automaticInputFailoverSettings", - type: "structure", - members: { - InputPreference: { locationName: "inputPreference" }, - SecondaryInputId: { locationName: "secondaryInputId" }, - }, - required: ["SecondaryInputId"], - }, - InputAttachmentName: { locationName: "inputAttachmentName" }, - InputId: { locationName: "inputId" }, - InputSettings: { - locationName: "inputSettings", - type: "structure", - members: { - AudioSelectors: { - locationName: "audioSelectors", - type: "list", - member: { - type: "structure", - members: { - Name: { locationName: "name" }, - SelectorSettings: { - locationName: "selectorSettings", - type: "structure", - members: { - AudioLanguageSelection: { - locationName: "audioLanguageSelection", - type: "structure", - members: { - LanguageCode: { - locationName: "languageCode", - }, - LanguageSelectionPolicy: { - locationName: "languageSelectionPolicy", - }, - }, - required: ["LanguageCode"], - }, - AudioPidSelection: { - locationName: "audioPidSelection", - type: "structure", - members: { - Pid: { locationName: "pid", type: "integer" }, - }, - required: ["Pid"], - }, - }, - }, - }, - required: ["Name"], - }, - }, - CaptionSelectors: { - locationName: "captionSelectors", - type: "list", - member: { - type: "structure", - members: { - LanguageCode: { locationName: "languageCode" }, - Name: { locationName: "name" }, - SelectorSettings: { - locationName: "selectorSettings", - type: "structure", - members: { - AribSourceSettings: { - locationName: "aribSourceSettings", - type: "structure", - members: {}, - }, - DvbSubSourceSettings: { - locationName: "dvbSubSourceSettings", - type: "structure", - members: { - Pid: { locationName: "pid", type: "integer" }, - }, - }, - EmbeddedSourceSettings: { - locationName: "embeddedSourceSettings", - type: "structure", - members: { - Convert608To708: { - locationName: "convert608To708", - }, - Scte20Detection: { - locationName: "scte20Detection", - }, - Source608ChannelNumber: { - locationName: "source608ChannelNumber", - type: "integer", - }, - Source608TrackNumber: { - locationName: "source608TrackNumber", - type: "integer", - }, - }, - }, - Scte20SourceSettings: { - locationName: "scte20SourceSettings", - type: "structure", - members: { - Convert608To708: { - locationName: "convert608To708", - }, - Source608ChannelNumber: { - locationName: "source608ChannelNumber", - type: "integer", - }, - }, - }, - Scte27SourceSettings: { - locationName: "scte27SourceSettings", - type: "structure", - members: { - Pid: { locationName: "pid", type: "integer" }, - }, - }, - TeletextSourceSettings: { - locationName: "teletextSourceSettings", - type: "structure", - members: { - PageNumber: { locationName: "pageNumber" }, - }, - }, - }, - }, - }, - required: ["Name"], - }, - }, - DeblockFilter: { locationName: "deblockFilter" }, - DenoiseFilter: { locationName: "denoiseFilter" }, - FilterStrength: { - locationName: "filterStrength", - type: "integer", - }, - InputFilter: { locationName: "inputFilter" }, - NetworkInputSettings: { - locationName: "networkInputSettings", - type: "structure", - members: { - HlsInputSettings: { - locationName: "hlsInputSettings", - type: "structure", - members: { - Bandwidth: { - locationName: "bandwidth", - type: "integer", - }, - BufferSegments: { - locationName: "bufferSegments", - type: "integer", - }, - Retries: { - locationName: "retries", - type: "integer", - }, - RetryInterval: { - locationName: "retryInterval", - type: "integer", - }, - }, - }, - ServerValidation: { locationName: "serverValidation" }, - }, - }, - SourceEndBehavior: { locationName: "sourceEndBehavior" }, - VideoSelector: { - locationName: "videoSelector", - type: "structure", - members: { - ColorSpace: { locationName: "colorSpace" }, - ColorSpaceUsage: { locationName: "colorSpaceUsage" }, - SelectorSettings: { - locationName: "selectorSettings", - type: "structure", - members: { - VideoSelectorPid: { - locationName: "videoSelectorPid", - type: "structure", - members: { - Pid: { locationName: "pid", type: "integer" }, - }, - }, - VideoSelectorProgramId: { - locationName: "videoSelectorProgramId", - type: "structure", - members: { - ProgramId: { - locationName: "programId", - type: "integer", - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - }, - Sbh: { - type: "structure", - members: { - Codec: { locationName: "codec" }, - MaximumBitrate: { locationName: "maximumBitrate" }, - Resolution: { locationName: "resolution" }, - }, - }, - Sbm: { type: "map", key: {}, value: {} }, - Sbo: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - ChannelClass: { locationName: "channelClass" }, - Destinations: { shape: "S1j", locationName: "destinations" }, - EgressEndpoints: { - shape: "Sbp", - locationName: "egressEndpoints", - }, - EncoderSettings: { - shape: "S1r", - locationName: "encoderSettings", - }, - Id: { locationName: "id" }, - InputAttachments: { - shape: "Saf", - locationName: "inputAttachments", - }, - InputSpecification: { - shape: "Sbh", - locationName: "inputSpecification", - }, - LogLevel: { locationName: "logLevel" }, - Name: { locationName: "name" }, - PipelineDetails: { - shape: "Sbr", - locationName: "pipelineDetails", - }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - RoleArn: { locationName: "roleArn" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - Sbp: { - type: "list", - member: { - type: "structure", - members: { SourceIp: { locationName: "sourceIp" } }, - }, - }, - Sbr: { - type: "list", - member: { - type: "structure", - members: { - ActiveInputAttachmentName: { - locationName: "activeInputAttachmentName", - }, - ActiveInputSwitchActionName: { - locationName: "activeInputSwitchActionName", - }, - PipelineId: { locationName: "pipelineId" }, - }, - }, - }, - Sbv: { - type: "list", - member: { - type: "structure", - members: { StreamName: { locationName: "streamName" } }, - }, - }, - Sbx: { - type: "list", - member: { - type: "structure", - members: { FlowArn: { locationName: "flowArn" } }, - }, - }, - Sbz: { - type: "list", - member: { - type: "structure", - members: { - PasswordParam: { locationName: "passwordParam" }, - Url: { locationName: "url" }, - Username: { locationName: "username" }, - }, - }, - }, - Sc4: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - AttachedChannels: { - shape: "Sf", - locationName: "attachedChannels", - }, - Destinations: { shape: "Sc5", locationName: "destinations" }, - Id: { locationName: "id" }, - InputClass: { locationName: "inputClass" }, - InputSourceType: { locationName: "inputSourceType" }, - MediaConnectFlows: { - shape: "Sca", - locationName: "mediaConnectFlows", - }, - Name: { locationName: "name" }, - RoleArn: { locationName: "roleArn" }, - SecurityGroups: { shape: "Sf", locationName: "securityGroups" }, - Sources: { shape: "Scc", locationName: "sources" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - Type: { locationName: "type" }, - }, - }, - Sc5: { - type: "list", - member: { - type: "structure", - members: { - Ip: { locationName: "ip" }, - Port: { locationName: "port" }, - Url: { locationName: "url" }, - Vpc: { - locationName: "vpc", - type: "structure", - members: { - AvailabilityZone: { locationName: "availabilityZone" }, - NetworkInterfaceId: { locationName: "networkInterfaceId" }, - }, - }, - }, - }, - }, - Sca: { - type: "list", - member: { - type: "structure", - members: { FlowArn: { locationName: "flowArn" } }, - }, - }, - Scc: { - type: "list", - member: { - type: "structure", - members: { - PasswordParam: { locationName: "passwordParam" }, - Url: { locationName: "url" }, - Username: { locationName: "username" }, - }, - }, - }, - Scg: { - type: "list", - member: { - type: "structure", - members: { Cidr: { locationName: "cidr" } }, - }, - }, - Scj: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Id: { locationName: "id" }, - Inputs: { shape: "Sf", locationName: "inputs" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - WhitelistRules: { shape: "Scl", locationName: "whitelistRules" }, - }, - }, - Scl: { - type: "list", - member: { - type: "structure", - members: { Cidr: { locationName: "cidr" } }, - }, - }, - Sco: { - type: "structure", - members: { - MaximumVideoBufferDelayMilliseconds: { - locationName: "maximumVideoBufferDelayMilliseconds", - type: "integer", - }, - TransportStreamBitrate: { - locationName: "transportStreamBitrate", - type: "integer", - }, - TransportStreamId: { - locationName: "transportStreamId", - type: "integer", - }, - TransportStreamReservedBitrate: { - locationName: "transportStreamReservedBitrate", - type: "integer", - }, - }, - required: ["TransportStreamBitrate", "TransportStreamId"], - }, - Sct: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - AvailabilityZones: { - shape: "Sf", - locationName: "availabilityZones", - }, - Destinations: { shape: "Scu", locationName: "destinations" }, - Id: { locationName: "id" }, - MultiplexSettings: { - shape: "Sco", - locationName: "multiplexSettings", - }, - Name: { locationName: "name" }, - PipelinesRunningCount: { - locationName: "pipelinesRunningCount", - type: "integer", - }, - ProgramCount: { locationName: "programCount", type: "integer" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - }, - }, - Scu: { - type: "list", - member: { - type: "structure", - members: { - MediaConnectSettings: { - locationName: "mediaConnectSettings", - type: "structure", - members: { - EntitlementArn: { locationName: "entitlementArn" }, - }, - }, - }, - }, - }, - Scz: { - type: "structure", - members: { - PreferredChannelPipeline: { - locationName: "preferredChannelPipeline", - }, - ProgramNumber: { locationName: "programNumber", type: "integer" }, - ServiceDescriptor: { - locationName: "serviceDescriptor", - type: "structure", - members: { - ProviderName: { locationName: "providerName" }, - ServiceName: { locationName: "serviceName" }, - }, - required: ["ProviderName", "ServiceName"], - }, - VideoSettings: { - locationName: "videoSettings", - type: "structure", - members: { - ConstantBitrate: { - locationName: "constantBitrate", - type: "integer", - }, - StatmuxSettings: { - locationName: "statmuxSettings", - type: "structure", - members: { - MaximumBitrate: { - locationName: "maximumBitrate", - type: "integer", - }, - MinimumBitrate: { - locationName: "minimumBitrate", - type: "integer", - }, - }, - }, - }, - }, - }, - required: ["ProgramNumber"], - }, - Sd7: { - type: "structure", - members: { - ChannelId: { locationName: "channelId" }, - MultiplexProgramSettings: { - shape: "Scz", - locationName: "multiplexProgramSettings", - }, - PacketIdentifiersMap: { - shape: "Sd8", - locationName: "packetIdentifiersMap", - }, - ProgramName: { locationName: "programName" }, - }, - }, - Sd8: { - type: "structure", - members: { - AudioPids: { shape: "Sd9", locationName: "audioPids" }, - DvbSubPids: { shape: "Sd9", locationName: "dvbSubPids" }, - DvbTeletextPid: { - locationName: "dvbTeletextPid", - type: "integer", - }, - EtvPlatformPid: { - locationName: "etvPlatformPid", - type: "integer", - }, - EtvSignalPid: { locationName: "etvSignalPid", type: "integer" }, - KlvDataPids: { shape: "Sd9", locationName: "klvDataPids" }, - PcrPid: { locationName: "pcrPid", type: "integer" }, - PmtPid: { locationName: "pmtPid", type: "integer" }, - PrivateMetadataPid: { - locationName: "privateMetadataPid", - type: "integer", - }, - Scte27Pids: { shape: "Sd9", locationName: "scte27Pids" }, - Scte35Pid: { locationName: "scte35Pid", type: "integer" }, - TimedMetadataPid: { - locationName: "timedMetadataPid", - type: "integer", - }, - VideoPid: { locationName: "videoPid", type: "integer" }, - }, - }, - Sd9: { type: "list", member: { type: "integer" } }, - Sdp: { - type: "structure", - members: { - ChannelClass: { locationName: "channelClass" }, - Codec: { locationName: "codec" }, - MaximumBitrate: { locationName: "maximumBitrate" }, - MaximumFramerate: { locationName: "maximumFramerate" }, - Resolution: { locationName: "resolution" }, - ResourceType: { locationName: "resourceType" }, - SpecialFeature: { locationName: "specialFeature" }, - VideoQuality: { locationName: "videoQuality" }, - }, - }, - Sf8: { - type: "structure", - members: { - Arn: { locationName: "arn" }, - Count: { locationName: "count", type: "integer" }, - CurrencyCode: { locationName: "currencyCode" }, - Duration: { locationName: "duration", type: "integer" }, - DurationUnits: { locationName: "durationUnits" }, - End: { locationName: "end" }, - FixedPrice: { locationName: "fixedPrice", type: "double" }, - Name: { locationName: "name" }, - OfferingDescription: { locationName: "offeringDescription" }, - OfferingId: { locationName: "offeringId" }, - OfferingType: { locationName: "offeringType" }, - Region: { locationName: "region" }, - ReservationId: { locationName: "reservationId" }, - ResourceSpecification: { - shape: "Sdp", - locationName: "resourceSpecification", - }, - Start: { locationName: "start" }, - State: { locationName: "state" }, - Tags: { shape: "Sbm", locationName: "tags" }, - UsagePrice: { locationName: "usagePrice", type: "double" }, + AutoScalingGroupName: {}, + ScalingProcesses: { type: "list", member: {} }, }, }, }, @@ -122757,2510 +125964,1118 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 4454: /***/ function (module, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { value: true }); - - function _interopDefault(ex) { - return ex && typeof ex === "object" && "default" in ex - ? ex["default"] - : ex; - } - - var Stream = _interopDefault(__webpack_require__(2413)); - var http = _interopDefault(__webpack_require__(8605)); - var Url = _interopDefault(__webpack_require__(8835)); - var https = _interopDefault(__webpack_require__(7211)); - var zlib = _interopDefault(__webpack_require__(8761)); - - // Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js - - // fix for "Readable" isn't a named export issue - const Readable = Stream.Readable; - - const BUFFER = Symbol("buffer"); - const TYPE = Symbol("type"); - - class Blob { - constructor() { - this[TYPE] = ""; + /***/ 3694: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - const blobParts = arguments[0]; - const options = arguments[1]; + apiLoader.services["schemas"] = {}; + AWS.Schemas = Service.defineService("schemas", ["2019-12-02"]); + Object.defineProperty(apiLoader.services["schemas"], "2019-12-02", { + get: function get() { + var model = __webpack_require__(1176); + model.paginators = __webpack_require__(8116).pagination; + model.waiters = __webpack_require__(9999).waiters; + return model; + }, + enumerable: true, + configurable: true, + }); - const buffers = []; - let size = 0; + module.exports = AWS.Schemas; - if (blobParts) { - const a = blobParts; - const length = Number(a.length); - for (let i = 0; i < length; i++) { - const element = a[i]; - let buffer; - if (element instanceof Buffer) { - buffer = element; - } else if (ArrayBuffer.isView(element)) { - buffer = Buffer.from( - element.buffer, - element.byteOffset, - element.byteLength - ); - } else if (element instanceof ArrayBuffer) { - buffer = Buffer.from(element); - } else if (element instanceof Blob) { - buffer = element[BUFFER]; - } else { - buffer = Buffer.from( - typeof element === "string" ? element : String(element) - ); - } - size += buffer.length; - buffers.push(buffer); - } - } + /***/ + }, - this[BUFFER] = Buffer.concat(buffers); + /***/ 3696: /***/ function (module) { + function AcceptorStateMachine(states, state) { + this.currentState = state || null; + this.states = states || {}; + } - let type = - options && - options.type !== undefined && - String(options.type).toLowerCase(); - if (type && !/[^\u0020-\u007E]/.test(type)) { - this[TYPE] = type; - } - } - get size() { - return this[BUFFER].length; - } - get type() { - return this[TYPE]; - } - text() { - return Promise.resolve(this[BUFFER].toString()); - } - arrayBuffer() { - const buf = this[BUFFER]; - const ab = buf.buffer.slice( - buf.byteOffset, - buf.byteOffset + buf.byteLength - ); - return Promise.resolve(ab); - } - stream() { - const readable = new Readable(); - readable._read = function () {}; - readable.push(this[BUFFER]); - readable.push(null); - return readable; - } - toString() { - return "[object Blob]"; + AcceptorStateMachine.prototype.runTo = function runTo( + finalState, + done, + bindObject, + inputError + ) { + if (typeof finalState === "function") { + inputError = bindObject; + bindObject = done; + done = finalState; + finalState = null; } - slice() { - const size = this.size; - const start = arguments[0]; - const end = arguments[1]; - let relativeStart, relativeEnd; - if (start === undefined) { - relativeStart = 0; - } else if (start < 0) { - relativeStart = Math.max(size + start, 0); + var self = this; + var state = self.states[self.currentState]; + state.fn.call(bindObject || self, inputError, function (err) { + if (err) { + if (state.fail) self.currentState = state.fail; + else return done ? done.call(bindObject, err) : null; } else { - relativeStart = Math.min(start, size); + if (state.accept) self.currentState = state.accept; + else return done ? done.call(bindObject) : null; } - if (end === undefined) { - relativeEnd = size; - } else if (end < 0) { - relativeEnd = Math.max(size + end, 0); - } else { - relativeEnd = Math.min(end, size); + if (self.currentState === finalState) { + return done ? done.call(bindObject, err) : null; } - const span = Math.max(relativeEnd - relativeStart, 0); - - const buffer = this[BUFFER]; - const slicedBuffer = buffer.slice( - relativeStart, - relativeStart + span - ); - const blob = new Blob([], { type: arguments[2] }); - blob[BUFFER] = slicedBuffer; - return blob; - } - } - Object.defineProperties(Blob.prototype, { - size: { enumerable: true }, - type: { enumerable: true }, - slice: { enumerable: true }, - }); + self.runTo(finalState, done, bindObject, err); + }); + }; - Object.defineProperty(Blob.prototype, Symbol.toStringTag, { - value: "Blob", - writable: false, - enumerable: false, - configurable: true, - }); + AcceptorStateMachine.prototype.addState = function addState( + name, + acceptState, + failState, + fn + ) { + if (typeof acceptState === "function") { + fn = acceptState; + acceptState = null; + failState = null; + } else if (typeof failState === "function") { + fn = failState; + failState = null; + } - /** - * fetch-error.js - * - * FetchError interface for operational errors - */ + if (!this.currentState) this.currentState = name; + this.states[name] = { accept: acceptState, fail: failState, fn: fn }; + return this; + }; /** - * Create FetchError instance - * - * @param String message Error message for human - * @param String type Error type for machine - * @param String systemError For Node.js system error - * @return FetchError + * @api private */ - function FetchError(message, type, systemError) { - Error.call(this, message); - - this.message = message; - this.type = type; + module.exports = AcceptorStateMachine; - // when err.type is `system`, err.code contains system error code - if (systemError) { - this.code = this.errno = systemError.code; - } + /***/ + }, - // hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); - } + /***/ 3707: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - FetchError.prototype = Object.create(Error.prototype); - FetchError.prototype.constructor = FetchError; - FetchError.prototype.name = "FetchError"; + apiLoader.services["kinesisvideo"] = {}; + AWS.KinesisVideo = Service.defineService("kinesisvideo", ["2017-09-30"]); + Object.defineProperty(apiLoader.services["kinesisvideo"], "2017-09-30", { + get: function get() { + var model = __webpack_require__(2766); + model.paginators = __webpack_require__(6207).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); - let convert; - try { - convert = __webpack_require__(1018).convert; - } catch (e) {} + module.exports = AWS.KinesisVideo; - const INTERNALS = Symbol("Body internals"); + /***/ + }, - // fix an issue where "PassThrough" isn't a named export for node <10 - const PassThrough = Stream.PassThrough; + /***/ 3711: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); + var inherit = AWS.util.inherit; /** - * Body mixin + * The endpoint that a service will talk to, for example, + * `'https://ec2.ap-southeast-1.amazonaws.com'`. If + * you need to override an endpoint for a service, you can + * set the endpoint on a service by passing the endpoint + * object with the `endpoint` option key: * - * Ref: https://fetch.spec.whatwg.org/#body + * ```javascript + * var ep = new AWS.Endpoint('awsproxy.example.com'); + * var s3 = new AWS.S3({endpoint: ep}); + * s3.service.endpoint.hostname == 'awsproxy.example.com' + * ``` * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void + * Note that if you do not specify a protocol, the protocol will + * be selected based on your current {AWS.config} configuration. + * + * @!attribute protocol + * @return [String] the protocol (http or https) of the endpoint + * URL + * @!attribute hostname + * @return [String] the host portion of the endpoint, e.g., + * example.com + * @!attribute host + * @return [String] the host portion of the endpoint including + * the port, e.g., example.com:80 + * @!attribute port + * @return [Integer] the port of the endpoint + * @!attribute href + * @return [String] the full URL of the endpoint */ - function Body(body) { - var _this = this; - - var _ref = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : {}, - _ref$size = _ref.size; + AWS.Endpoint = inherit({ + /** + * @overload Endpoint(endpoint) + * Constructs a new endpoint given an endpoint URL. If the + * URL omits a protocol (http or https), the default protocol + * set in the global {AWS.config} will be used. + * @param endpoint [String] the URL to construct an endpoint from + */ + constructor: function Endpoint(endpoint, config) { + AWS.util.hideProperties(this, [ + "slashes", + "auth", + "hash", + "search", + "query", + ]); - let size = _ref$size === undefined ? 0 : _ref$size; - var _ref$timeout = _ref.timeout; - let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; + if (typeof endpoint === "undefined" || endpoint === null) { + throw new Error("Invalid endpoint: " + endpoint); + } else if (typeof endpoint !== "string") { + return AWS.util.copy(endpoint); + } - if (body == null) { - // body is undefined or null - body = null; - } else if (isURLSearchParams(body)) { - // body is a URLSearchParams - body = Buffer.from(body.toString()); - } else if (isBlob(body)); - else if (Buffer.isBuffer(body)); - else if ( - Object.prototype.toString.call(body) === "[object ArrayBuffer]" - ) { - // body is ArrayBuffer - body = Buffer.from(body); - } else if (ArrayBuffer.isView(body)) { - // body is ArrayBufferView - body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); - } else if (body instanceof Stream); - else { - // none of the above - // coerce to string then buffer - body = Buffer.from(String(body)); - } - this[INTERNALS] = { - body, - disturbed: false, - error: null, - }; - this.size = size; - this.timeout = timeout; + if (!endpoint.match(/^http/)) { + var useSSL = + config && config.sslEnabled !== undefined + ? config.sslEnabled + : AWS.config.sslEnabled; + endpoint = (useSSL ? "https" : "http") + "://" + endpoint; + } - if (body instanceof Stream) { - body.on("error", function (err) { - const error = - err.name === "AbortError" - ? err - : new FetchError( - `Invalid response body while trying to fetch ${_this.url}: ${err.message}`, - "system", - err - ); - _this[INTERNALS].error = error; - }); - } - } + AWS.util.update(this, AWS.util.urlParse(endpoint)); - Body.prototype = { - get body() { - return this[INTERNALS].body; + // Ensure the port property is set as an integer + if (this.port) { + this.port = parseInt(this.port, 10); + } else { + this.port = this.protocol === "https:" ? 443 : 80; + } }, + }); - get bodyUsed() { - return this[INTERNALS].disturbed; + /** + * The low level HTTP request object, encapsulating all HTTP header + * and body data sent by a service request. + * + * @!attribute method + * @return [String] the HTTP method of the request + * @!attribute path + * @return [String] the path portion of the URI, e.g., + * "/list/?start=5&num=10" + * @!attribute headers + * @return [map] + * a map of header keys and their respective values + * @!attribute body + * @return [String] the request body payload + * @!attribute endpoint + * @return [AWS.Endpoint] the endpoint for the request + * @!attribute region + * @api private + * @return [String] the region, for signing purposes only. + */ + AWS.HttpRequest = inherit({ + /** + * @api private + */ + constructor: function HttpRequest(endpoint, region) { + endpoint = new AWS.Endpoint(endpoint); + this.method = "POST"; + this.path = endpoint.path || "/"; + this.headers = {}; + this.body = ""; + this.endpoint = endpoint; + this.region = region; + this._userAgent = ""; + this.setUserAgent(); }, /** - * Decode response as ArrayBuffer - * - * @return Promise + * @api private */ - arrayBuffer() { - return consumeBody.call(this).then(function (buf) { - return buf.buffer.slice( - buf.byteOffset, - buf.byteOffset + buf.byteLength - ); - }); + setUserAgent: function setUserAgent() { + this._userAgent = this.headers[ + this.getUserAgentHeaderName() + ] = AWS.util.userAgent(); + }, + + getUserAgentHeaderName: function getUserAgentHeaderName() { + var prefix = AWS.util.isBrowser() ? "X-Amz-" : ""; + return prefix + "User-Agent"; }, /** - * Return raw response as Blob - * - * @return Promise + * @api private */ - blob() { - let ct = (this.headers && this.headers.get("content-type")) || ""; - return consumeBody.call(this).then(function (buf) { - return Object.assign( - // Prevent copying - new Blob([], { - type: ct.toLowerCase(), - }), - { - [BUFFER]: buf, - } - ); - }); + appendToUserAgent: function appendToUserAgent(agentPartial) { + if (typeof agentPartial === "string" && agentPartial) { + this._userAgent += " " + agentPartial; + } + this.headers[this.getUserAgentHeaderName()] = this._userAgent; }, /** - * Decode response as json - * - * @return Promise + * @api private */ - json() { - var _this2 = this; - - return consumeBody.call(this).then(function (buffer) { - try { - return JSON.parse(buffer.toString()); - } catch (err) { - return Body.Promise.reject( - new FetchError( - `invalid json response body at ${_this2.url} reason: ${err.message}`, - "invalid-json" - ) - ); - } - }); + getUserAgent: function getUserAgent() { + return this._userAgent; }, /** - * Decode response as text - * - * @return Promise + * @return [String] the part of the {path} excluding the + * query string */ - text() { - return consumeBody.call(this).then(function (buffer) { - return buffer.toString(); - }); + pathname: function pathname() { + return this.path.split("?", 1)[0]; }, /** - * Decode response as buffer (non-spec api) - * - * @return Promise + * @return [String] the query string portion of the {path} */ - buffer() { - return consumeBody.call(this); + search: function search() { + var query = this.path.split("?", 2)[1]; + if (query) { + query = AWS.util.queryStringParse(query); + return AWS.util.queryParamsToString(query); + } + return ""; }, /** - * Decode response as text, while automatically detecting the encoding and - * trying to decode to UTF-8 (non-spec api) - * - * @return Promise + * @api private + * update httpRequest endpoint with endpoint string */ - textConverted() { - var _this3 = this; - - return consumeBody.call(this).then(function (buffer) { - return convertBody(buffer, _this3.headers); - }); + updateEndpoint: function updateEndpoint(endpointStr) { + var newEndpoint = new AWS.Endpoint(endpointStr); + this.endpoint = newEndpoint; + this.path = newEndpoint.path || "/"; + if (this.headers["Host"]) { + this.headers["Host"] = newEndpoint.host; + } }, - }; - - // In browsers, all properties are enumerable. - Object.defineProperties(Body.prototype, { - body: { enumerable: true }, - bodyUsed: { enumerable: true }, - arrayBuffer: { enumerable: true }, - blob: { enumerable: true }, - json: { enumerable: true }, - text: { enumerable: true }, }); - Body.mixIn = function (proto) { - for (const name of Object.getOwnPropertyNames(Body.prototype)) { - // istanbul ignore else: future proof - if (!(name in proto)) { - const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); - Object.defineProperty(proto, name, desc); - } - } - }; - /** - * Consume and convert an entire Body to a Buffer. - * - * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body + * The low level HTTP response object, encapsulating all HTTP header + * and body data returned from the request. * - * @return Promise + * @!attribute statusCode + * @return [Integer] the HTTP status code of the response (e.g., 200, 404) + * @!attribute headers + * @return [map] + * a map of response header keys and their respective values + * @!attribute body + * @return [String] the response body payload + * @!attribute [r] streaming + * @return [Boolean] whether this response is being streamed at a low-level. + * Defaults to `false` (buffered reads). Do not modify this manually, use + * {createUnbufferedStream} to convert the stream to unbuffered mode + * instead. */ - function consumeBody() { - var _this4 = this; + AWS.HttpResponse = inherit({ + /** + * @api private + */ + constructor: function HttpResponse() { + this.statusCode = undefined; + this.headers = {}; + this.body = undefined; + this.streaming = false; + this.stream = null; + }, - if (this[INTERNALS].disturbed) { - return Body.Promise.reject( - new TypeError(`body used already for: ${this.url}`) - ); - } + /** + * Disables buffering on the HTTP response and returns the stream for reading. + * @return [Stream, XMLHttpRequest, null] the underlying stream object. + * Use this object to directly read data off of the stream. + * @note This object is only available after the {AWS.Request~httpHeaders} + * event has fired. This method must be called prior to + * {AWS.Request~httpData}. + * @example Taking control of a stream + * request.on('httpHeaders', function(statusCode, headers) { + * if (statusCode < 300) { + * if (headers.etag === 'xyz') { + * // pipe the stream, disabling buffering + * var stream = this.response.httpResponse.createUnbufferedStream(); + * stream.pipe(process.stdout); + * } else { // abort this request and set a better error message + * this.abort(); + * this.response.error = new Error('Invalid ETag'); + * } + * } + * }).send(console.log); + */ + createUnbufferedStream: function createUnbufferedStream() { + this.streaming = true; + return this.stream; + }, + }); - this[INTERNALS].disturbed = true; + AWS.HttpClient = inherit({}); - if (this[INTERNALS].error) { - return Body.Promise.reject(this[INTERNALS].error); + /** + * @api private + */ + AWS.HttpClient.getInstance = function getInstance() { + if (this.singleton === undefined) { + this.singleton = new this(); } + return this.singleton; + }; - let body = this.body; + /***/ + }, - // body is null - if (body === null) { - return Body.Promise.resolve(Buffer.alloc(0)); - } + /***/ 3725: /***/ function (module) { + module.exports = { + pagination: { + DescribeAccelerators: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + result_key: "acceleratorSet", + }, + }, + }; - // body is blob - if (isBlob(body)) { - body = body.stream(); - } + /***/ + }, - // body is buffer - if (Buffer.isBuffer(body)) { - return Body.Promise.resolve(body); - } + /***/ 3753: /***/ function (module) { + module.exports = { + pagination: { + DescribeBackups: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + DescribeDataRepositoryTasks: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + DescribeFileSystemAliases: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + DescribeFileSystems: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + }, + }; - // istanbul ignore if: should never happen - if (!(body instanceof Stream)) { - return Body.Promise.resolve(Buffer.alloc(0)); - } + /***/ + }, - // body is stream - // get ready to actually consume the body - let accum = []; - let accumBytes = 0; - let abort = false; - - return new Body.Promise(function (resolve, reject) { - let resTimeout; - - // allow timeout on slow response body - if (_this4.timeout) { - resTimeout = setTimeout(function () { - abort = true; - reject( - new FetchError( - `Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, - "body-timeout" - ) - ); - }, _this4.timeout); - } - - // handle stream errors - body.on("error", function (err) { - if (err.name === "AbortError") { - // if the request was aborted, reject with this Error - abort = true; - reject(err); - } else { - // other errors, such as incorrect content-encoding - reject( - new FetchError( - `Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, - "system", - err - ) - ); - } - }); - - body.on("data", function (chunk) { - if (abort || chunk === null) { - return; - } - - if (_this4.size && accumBytes + chunk.length > _this4.size) { - abort = true; - reject( - new FetchError( - `content size at ${_this4.url} over limit: ${_this4.size}`, - "max-size" - ) - ); - return; - } - - accumBytes += chunk.length; - accum.push(chunk); - }); - - body.on("end", function () { - if (abort) { - return; - } - - clearTimeout(resTimeout); - - try { - resolve(Buffer.concat(accum, accumBytes)); - } catch (err) { - // handle streams that have accumulated too much data (issue #414) - reject( - new FetchError( - `Could not create Buffer from response body for ${_this4.url}: ${err.message}`, - "system", - err - ) - ); - } - }); - }); - } - - /** - * Detect buffer encoding and convert to target encoding - * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding - * - * @param Buffer buffer Incoming buffer - * @param String encoding Target encoding - * @return String - */ - function convertBody(buffer, headers) { - if (typeof convert !== "function") { - throw new Error( - "The package `encoding` must be installed to use the textConverted() function" - ); - } - - const ct = headers.get("content-type"); - let charset = "utf-8"; - let res, str; - - // header - if (ct) { - res = /charset=([^;]*)/i.exec(ct); - } - - // no charset in content type, peek at response body for at most 1024 bytes - str = buffer.slice(0, 1024).toString(); - - // html5 - if (!res && str) { - res = / 0 && arguments[0] !== undefined - ? arguments[0] - : undefined; - - this[MAP] = Object.create(null); - - if (init instanceof Headers) { - const rawHeaders = init.raw(); - const headerNames = Object.keys(rawHeaders); - for (const headerName of headerNames) { - for (const value of rawHeaders[headerName]) { - this.append(headerName, value); - } - } + this.request.headers["Authorization"] = this.authorization( + credentials, + datetime + ); + }, - return; + addHeaders: function addHeaders(credentials, datetime) { + this.request.headers["X-Amz-Date"] = datetime; + if (credentials.sessionToken) { + this.request.headers["x-amz-security-token"] = + credentials.sessionToken; } + }, - // We don't worry about converting prop to ByteString here as append() - // will handle it. - if (init == null); - else if (typeof init === "object") { - const method = init[Symbol.iterator]; - if (method != null) { - if (typeof method !== "function") { - throw new TypeError("Header pairs must be iterable"); - } - - // sequence> - // Note: per spec we have to first exhaust the lists then process them - const pairs = []; - for (const pair of init) { - if ( - typeof pair !== "object" || - typeof pair[Symbol.iterator] !== "function" - ) { - throw new TypeError("Each header pair must be iterable"); - } - pairs.push(Array.from(pair)); - } - - for (const pair of pairs) { - if (pair.length !== 2) { - throw new TypeError( - "Each header pair must be a name/value tuple" - ); - } - this.append(pair[0], pair[1]); - } - } else { - // record - for (const key of Object.keys(init)) { - const value = init[key]; - this.append(key, value); - } - } - } else { - throw new TypeError("Provided initializer must be an object"); - } - } + updateForPresigned: function updateForPresigned(credentials, datetime) { + var credString = this.credentialString(datetime); + var qs = { + "X-Amz-Date": datetime, + "X-Amz-Algorithm": this.algorithm, + "X-Amz-Credential": credentials.accessKeyId + "/" + credString, + "X-Amz-Expires": this.request.headers[expiresHeader], + "X-Amz-SignedHeaders": this.signedHeaders(), + }; - /** - * Return combined header value given name - * - * @param String name Header name - * @return Mixed - */ - get(name) { - name = `${name}`; - validateName(name); - const key = find(this[MAP], name); - if (key === undefined) { - return null; + if (credentials.sessionToken) { + qs["X-Amz-Security-Token"] = credentials.sessionToken; } - return this[MAP][key].join(", "); - } - - /** - * Iterate over all headers - * - * @param Function callback Executed for each item with parameters (value, name, thisArg) - * @param Boolean thisArg `this` context for callback function - * @return Void - */ - forEach(callback) { - let thisArg = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : undefined; - - let pairs = getHeaders(this); - let i = 0; - while (i < pairs.length) { - var _pairs$i = pairs[i]; - const name = _pairs$i[0], - value = _pairs$i[1]; - - callback.call(thisArg, value, name, this); - pairs = getHeaders(this); - i++; + if (this.request.headers["Content-Type"]) { + qs["Content-Type"] = this.request.headers["Content-Type"]; } - } - - /** - * Overwrite header values given name - * - * @param String name Header name - * @param String value Header value - * @return Void - */ - set(name, value) { - name = `${name}`; - value = `${value}`; - validateName(name); - validateValue(value); - const key = find(this[MAP], name); - this[MAP][key !== undefined ? key : name] = [value]; - } - - /** - * Append a value onto existing header - * - * @param String name Header name - * @param String value Header value - * @return Void - */ - append(name, value) { - name = `${name}`; - value = `${value}`; - validateName(name); - validateValue(value); - const key = find(this[MAP], name); - if (key !== undefined) { - this[MAP][key].push(value); - } else { - this[MAP][name] = [value]; + if (this.request.headers["Content-MD5"]) { + qs["Content-MD5"] = this.request.headers["Content-MD5"]; } - } - - /** - * Check for header name existence - * - * @param String name Header name - * @return Boolean - */ - has(name) { - name = `${name}`; - validateName(name); - return find(this[MAP], name) !== undefined; - } - - /** - * Delete all header values given name - * - * @param String name Header name - * @return Void - */ - delete(name) { - name = `${name}`; - validateName(name); - const key = find(this[MAP], name); - if (key !== undefined) { - delete this[MAP][key]; + if (this.request.headers["Cache-Control"]) { + qs["Cache-Control"] = this.request.headers["Cache-Control"]; } - } - - /** - * Return raw headers (non-spec api) - * - * @return Object - */ - raw() { - return this[MAP]; - } - - /** - * Get an iterator on keys. - * - * @return Iterator - */ - keys() { - return createHeadersIterator(this, "key"); - } - - /** - * Get an iterator on values. - * - * @return Iterator - */ - values() { - return createHeadersIterator(this, "value"); - } - - /** - * Get an iterator on entries. - * - * This is the default iterator of the Headers object. - * - * @return Iterator - */ - [Symbol.iterator]() { - return createHeadersIterator(this, "key+value"); - } - } - Headers.prototype.entries = Headers.prototype[Symbol.iterator]; - - Object.defineProperty(Headers.prototype, Symbol.toStringTag, { - value: "Headers", - writable: false, - enumerable: false, - configurable: true, - }); - Object.defineProperties(Headers.prototype, { - get: { enumerable: true }, - forEach: { enumerable: true }, - set: { enumerable: true }, - append: { enumerable: true }, - has: { enumerable: true }, - delete: { enumerable: true }, - keys: { enumerable: true }, - values: { enumerable: true }, - entries: { enumerable: true }, - }); - - function getHeaders(headers) { - let kind = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : "key+value"; - - const keys = Object.keys(headers[MAP]).sort(); - return keys.map( - kind === "key" - ? function (k) { - return k.toLowerCase(); - } - : kind === "value" - ? function (k) { - return headers[MAP][k].join(", "); - } - : function (k) { - return [k.toLowerCase(), headers[MAP][k].join(", ")]; + // need to pull in any other X-Amz-* headers + AWS.util.each.call(this, this.request.headers, function (key, value) { + if (key === expiresHeader) return; + if (this.isSignableHeader(key)) { + var lowerKey = key.toLowerCase(); + // Metadata should be normalized + if (lowerKey.indexOf("x-amz-meta-") === 0) { + qs[lowerKey] = value; + } else if (lowerKey.indexOf("x-amz-") === 0) { + qs[key] = value; } - ); - } - - const INTERNAL = Symbol("internal"); - - function createHeadersIterator(target, kind) { - const iterator = Object.create(HeadersIteratorPrototype); - iterator[INTERNAL] = { - target, - kind, - index: 0, - }; - return iterator; - } - - const HeadersIteratorPrototype = Object.setPrototypeOf( - { - next() { - // istanbul ignore if - if ( - !this || - Object.getPrototypeOf(this) !== HeadersIteratorPrototype - ) { - throw new TypeError("Value of `this` is not a HeadersIterator"); - } - - var _INTERNAL = this[INTERNAL]; - const target = _INTERNAL.target, - kind = _INTERNAL.kind, - index = _INTERNAL.index; - - const values = getHeaders(target, kind); - const len = values.length; - if (index >= len) { - return { - value: undefined, - done: true, - }; } + }); - this[INTERNAL].index = index + 1; + var sep = this.request.path.indexOf("?") >= 0 ? "&" : "?"; + this.request.path += sep + AWS.util.queryParamsToString(qs); + }, - return { - value: values[index], - done: false, - }; - }, + authorization: function authorization(credentials, datetime) { + var parts = []; + var credString = this.credentialString(datetime); + parts.push( + this.algorithm + + " Credential=" + + credentials.accessKeyId + + "/" + + credString + ); + parts.push("SignedHeaders=" + this.signedHeaders()); + parts.push("Signature=" + this.signature(credentials, datetime)); + return parts.join(", "); }, - Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())) - ); - Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { - value: "HeadersIterator", - writable: false, - enumerable: false, - configurable: true, - }); + signature: function signature(credentials, datetime) { + var signingKey = v4Credentials.getSigningKey( + credentials, + datetime.substr(0, 8), + this.request.region, + this.serviceName, + this.signatureCache + ); + return AWS.util.crypto.hmac( + signingKey, + this.stringToSign(datetime), + "hex" + ); + }, - /** - * Export the Headers object in a form that Node.js can consume. - * - * @param Headers headers - * @return Object - */ - function exportNodeCompatibleHeaders(headers) { - const obj = Object.assign({ __proto__: null }, headers[MAP]); + stringToSign: function stringToSign(datetime) { + var parts = []; + parts.push("AWS4-HMAC-SHA256"); + parts.push(datetime); + parts.push(this.credentialString(datetime)); + parts.push(this.hexEncodedHash(this.canonicalString())); + return parts.join("\n"); + }, - // http.request() only supports string as Host header. This hack makes - // specifying custom Host header possible. - const hostHeaderKey = find(headers[MAP], "Host"); - if (hostHeaderKey !== undefined) { - obj[hostHeaderKey] = obj[hostHeaderKey][0]; - } + canonicalString: function canonicalString() { + var parts = [], + pathname = this.request.pathname(); + if (this.serviceName !== "s3" && this.signatureVersion !== "s3v4") + pathname = AWS.util.uriEscapePath(pathname); - return obj; - } + parts.push(this.request.method); + parts.push(pathname); + parts.push(this.request.search()); + parts.push(this.canonicalHeaders() + "\n"); + parts.push(this.signedHeaders()); + parts.push(this.hexEncodedBodyHash()); + return parts.join("\n"); + }, - /** - * Create a Headers object from an object of headers, ignoring those that do - * not conform to HTTP grammar productions. - * - * @param Object obj Object of headers - * @return Headers - */ - function createHeadersLenient(obj) { - const headers = new Headers(); - for (const name of Object.keys(obj)) { - if (invalidTokenRegex.test(name)) { - continue; - } - if (Array.isArray(obj[name])) { - for (const val of obj[name]) { - if (invalidHeaderCharRegex.test(val)) { - continue; - } - if (headers[MAP][name] === undefined) { - headers[MAP][name] = [val]; - } else { - headers[MAP][name].push(val); + canonicalHeaders: function canonicalHeaders() { + var headers = []; + AWS.util.each.call(this, this.request.headers, function (key, item) { + headers.push([key, item]); + }); + headers.sort(function (a, b) { + return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1; + }); + var parts = []; + AWS.util.arrayEach.call(this, headers, function (item) { + var key = item[0].toLowerCase(); + if (this.isSignableHeader(key)) { + var value = item[1]; + if ( + typeof value === "undefined" || + value === null || + typeof value.toString !== "function" + ) { + throw AWS.util.error( + new Error("Header " + key + " contains invalid value"), + { + code: "InvalidHeader", + } + ); } + parts.push( + key + ":" + this.canonicalHeaderValues(value.toString()) + ); } - } else if (!invalidHeaderCharRegex.test(obj[name])) { - headers[MAP][name] = [obj[name]]; - } - } - return headers; - } - - const INTERNALS$1 = Symbol("Response internals"); - - // fix an issue where "STATUS_CODES" aren't a named export for node <10 - const STATUS_CODES = http.STATUS_CODES; - - /** - * Response class - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ - class Response { - constructor() { - let body = - arguments.length > 0 && arguments[0] !== undefined - ? arguments[0] - : null; - let opts = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : {}; - - Body.call(this, body, opts); - - const status = opts.status || 200; - const headers = new Headers(opts.headers); - - if (body != null && !headers.has("Content-Type")) { - const contentType = extractContentType(body); - if (contentType) { - headers.append("Content-Type", contentType); - } - } - - this[INTERNALS$1] = { - url: opts.url, - status, - statusText: opts.statusText || STATUS_CODES[status], - headers, - counter: opts.counter, - }; - } + }); + return parts.join("\n"); + }, - get url() { - return this[INTERNALS$1].url || ""; - } + canonicalHeaderValues: function canonicalHeaderValues(values) { + return values.replace(/\s+/g, " ").replace(/^\s+|\s+$/g, ""); + }, - get status() { - return this[INTERNALS$1].status; - } + signedHeaders: function signedHeaders() { + var keys = []; + AWS.util.each.call(this, this.request.headers, function (key) { + key = key.toLowerCase(); + if (this.isSignableHeader(key)) keys.push(key); + }); + return keys.sort().join(";"); + }, - /** - * Convenience property representing if the request ended normally - */ - get ok() { - return ( - this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300 + credentialString: function credentialString(datetime) { + return v4Credentials.createScope( + datetime.substr(0, 8), + this.request.region, + this.serviceName ); - } - - get redirected() { - return this[INTERNALS$1].counter > 0; - } - - get statusText() { - return this[INTERNALS$1].statusText; - } + }, - get headers() { - return this[INTERNALS$1].headers; - } + hexEncodedHash: function hash(string) { + return AWS.util.crypto.sha256(string, "hex"); + }, - /** - * Clone this response - * - * @return Response - */ - clone() { - return new Response(clone(this), { - url: this.url, - status: this.status, - statusText: this.statusText, - headers: this.headers, - ok: this.ok, - redirected: this.redirected, - }); - } - } + hexEncodedBodyHash: function hexEncodedBodyHash() { + var request = this.request; + if ( + this.isPresigned() && + this.serviceName === "s3" && + !request.body + ) { + return "UNSIGNED-PAYLOAD"; + } else if (request.headers["X-Amz-Content-Sha256"]) { + return request.headers["X-Amz-Content-Sha256"]; + } else { + return this.hexEncodedHash(this.request.body || ""); + } + }, - Body.mixIn(Response.prototype); + unsignableHeaders: [ + "authorization", + "content-type", + "content-length", + "user-agent", + expiresHeader, + "expect", + "x-amzn-trace-id", + ], - Object.defineProperties(Response.prototype, { - url: { enumerable: true }, - status: { enumerable: true }, - ok: { enumerable: true }, - redirected: { enumerable: true }, - statusText: { enumerable: true }, - headers: { enumerable: true }, - clone: { enumerable: true }, - }); + isSignableHeader: function isSignableHeader(key) { + if (key.toLowerCase().indexOf("x-amz-") === 0) return true; + return this.unsignableHeaders.indexOf(key) < 0; + }, - Object.defineProperty(Response.prototype, Symbol.toStringTag, { - value: "Response", - writable: false, - enumerable: false, - configurable: true, + isPresigned: function isPresigned() { + return this.request.headers[expiresHeader] ? true : false; + }, }); - const INTERNALS$2 = Symbol("Request internals"); - - // fix an issue where "format", "parse" aren't a named export for node <10 - const parse_url = Url.parse; - const format_url = Url.format; - - const streamDestructionSupported = "destroy" in Stream.Readable.prototype; - /** - * Check if a value is an instance of Request. - * - * @param Mixed input - * @return Boolean + * @api private */ - function isRequest(input) { - return ( - typeof input === "object" && typeof input[INTERNALS$2] === "object" - ); - } - - function isAbortSignal(signal) { - const proto = - signal && typeof signal === "object" && Object.getPrototypeOf(signal); - return !!(proto && proto.constructor.name === "AbortSignal"); - } - - /** - * Request class - * - * @param Mixed input Url or Request instance - * @param Object init Custom options - * @return Void - */ - class Request { - constructor(input) { - let init = - arguments.length > 1 && arguments[1] !== undefined - ? arguments[1] - : {}; - - let parsedURL; - - // normalize input - if (!isRequest(input)) { - if (input && input.href) { - // in order to support Node.js' Url objects; though WHATWG's URL objects - // will fall into this branch also (since their `toString()` will return - // `href` property anyway) - parsedURL = parse_url(input.href); - } else { - // coerce input to a string before attempting to parse - parsedURL = parse_url(`${input}`); - } - input = {}; - } else { - parsedURL = parse_url(input.url); - } - - let method = init.method || input.method || "GET"; - method = method.toUpperCase(); - - if ( - (init.body != null || (isRequest(input) && input.body !== null)) && - (method === "GET" || method === "HEAD") - ) { - throw new TypeError( - "Request with GET/HEAD method cannot have body" - ); - } - - let inputBody = - init.body != null - ? init.body - : isRequest(input) && input.body !== null - ? clone(input) - : null; - - Body.call(this, inputBody, { - timeout: init.timeout || input.timeout || 0, - size: init.size || input.size || 0, - }); - - const headers = new Headers(init.headers || input.headers || {}); - - if (inputBody != null && !headers.has("Content-Type")) { - const contentType = extractContentType(inputBody); - if (contentType) { - headers.append("Content-Type", contentType); - } - } - - let signal = isRequest(input) ? input.signal : null; - if ("signal" in init) signal = init.signal; - - if (signal != null && !isAbortSignal(signal)) { - throw new TypeError( - "Expected signal to be an instanceof AbortSignal" - ); - } - - this[INTERNALS$2] = { - method, - redirect: init.redirect || input.redirect || "follow", - headers, - parsedURL, - signal, - }; - - // node-fetch-only options - this.follow = - init.follow !== undefined - ? init.follow - : input.follow !== undefined - ? input.follow - : 20; - this.compress = - init.compress !== undefined - ? init.compress - : input.compress !== undefined - ? input.compress - : true; - this.counter = init.counter || input.counter || 0; - this.agent = init.agent || input.agent; - } - - get method() { - return this[INTERNALS$2].method; - } - - get url() { - return format_url(this[INTERNALS$2].parsedURL); - } - - get headers() { - return this[INTERNALS$2].headers; - } - - get redirect() { - return this[INTERNALS$2].redirect; - } - - get signal() { - return this[INTERNALS$2].signal; - } - - /** - * Clone this request - * - * @return Request - */ - clone() { - return new Request(this); - } - } - - Body.mixIn(Request.prototype); - - Object.defineProperty(Request.prototype, Symbol.toStringTag, { - value: "Request", - writable: false, - enumerable: false, - configurable: true, - }); - - Object.defineProperties(Request.prototype, { - method: { enumerable: true }, - url: { enumerable: true }, - headers: { enumerable: true }, - redirect: { enumerable: true }, - clone: { enumerable: true }, - signal: { enumerable: true }, - }); - - /** - * Convert a Request to Node.js http request options. - * - * @param Request A Request instance - * @return Object The options object to be passed to http.request - */ - function getNodeRequestOptions(request) { - const parsedURL = request[INTERNALS$2].parsedURL; - const headers = new Headers(request[INTERNALS$2].headers); - - // fetch step 1.3 - if (!headers.has("Accept")) { - headers.set("Accept", "*/*"); - } - - // Basic fetch - if (!parsedURL.protocol || !parsedURL.hostname) { - throw new TypeError("Only absolute URLs are supported"); - } - - if (!/^https?:$/.test(parsedURL.protocol)) { - throw new TypeError("Only HTTP(S) protocols are supported"); - } - - if ( - request.signal && - request.body instanceof Stream.Readable && - !streamDestructionSupported - ) { - throw new Error( - "Cancellation of streamed requests with AbortSignal is not supported in node < 8" - ); - } - - // HTTP-network-or-cache fetch steps 2.4-2.7 - let contentLengthValue = null; - if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { - contentLengthValue = "0"; - } - if (request.body != null) { - const totalBytes = getTotalBytes(request); - if (typeof totalBytes === "number") { - contentLengthValue = String(totalBytes); - } - } - if (contentLengthValue) { - headers.set("Content-Length", contentLengthValue); - } - - // HTTP-network-or-cache fetch step 2.11 - if (!headers.has("User-Agent")) { - headers.set( - "User-Agent", - "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" - ); - } - - // HTTP-network-or-cache fetch step 2.15 - if (request.compress && !headers.has("Accept-Encoding")) { - headers.set("Accept-Encoding", "gzip,deflate"); - } - - let agent = request.agent; - if (typeof agent === "function") { - agent = agent(parsedURL); - } - - if (!headers.has("Connection") && !agent) { - headers.set("Connection", "close"); - } - - // HTTP-network fetch step 4.2 - // chunked encoding is handled by Node.js - - return Object.assign({}, parsedURL, { - method: request.method, - headers: exportNodeCompatibleHeaders(headers), - agent, - }); - } - - /** - * abort-error.js - * - * AbortError interface for cancelled requests - */ - - /** - * Create AbortError instance - * - * @param String message Error message for human - * @return AbortError - */ - function AbortError(message) { - Error.call(this, message); - - this.type = "aborted"; - this.message = message; - - // hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); - } - - AbortError.prototype = Object.create(Error.prototype); - AbortError.prototype.constructor = AbortError; - AbortError.prototype.name = "AbortError"; - - // fix an issue where "PassThrough", "resolve" aren't a named export for node <10 - const PassThrough$1 = Stream.PassThrough; - const resolve_url = Url.resolve; - - /** - * Fetch function - * - * @param Mixed url Absolute url or Request instance - * @param Object opts Fetch options - * @return Promise - */ - function fetch(url, opts) { - // allow custom promise - if (!fetch.Promise) { - throw new Error( - "native promise missing, set fetch.Promise to your favorite alternative" - ); - } - - Body.Promise = fetch.Promise; - - // wrap http.request into fetch - return new fetch.Promise(function (resolve, reject) { - // build request object - const request = new Request(url, opts); - const options = getNodeRequestOptions(request); - - const send = (options.protocol === "https:" ? https : http).request; - const signal = request.signal; - - let response = null; - - const abort = function abort() { - let error = new AbortError("The user aborted a request."); - reject(error); - if (request.body && request.body instanceof Stream.Readable) { - request.body.destroy(error); - } - if (!response || !response.body) return; - response.body.emit("error", error); - }; - - if (signal && signal.aborted) { - abort(); - return; - } - - const abortAndFinalize = function abortAndFinalize() { - abort(); - finalize(); - }; - - // send request - const req = send(options); - let reqTimeout; - - if (signal) { - signal.addEventListener("abort", abortAndFinalize); - } - - function finalize() { - req.abort(); - if (signal) signal.removeEventListener("abort", abortAndFinalize); - clearTimeout(reqTimeout); - } - - if (request.timeout) { - req.once("socket", function (socket) { - reqTimeout = setTimeout(function () { - reject( - new FetchError( - `network timeout at: ${request.url}`, - "request-timeout" - ) - ); - finalize(); - }, request.timeout); - }); - } - - req.on("error", function (err) { - reject( - new FetchError( - `request to ${request.url} failed, reason: ${err.message}`, - "system", - err - ) - ); - finalize(); - }); - - req.on("response", function (res) { - clearTimeout(reqTimeout); - - const headers = createHeadersLenient(res.headers); - - // HTTP fetch step 5 - if (fetch.isRedirect(res.statusCode)) { - // HTTP fetch step 5.2 - const location = headers.get("Location"); - - // HTTP fetch step 5.3 - const locationURL = - location === null ? null : resolve_url(request.url, location); - - // HTTP fetch step 5.5 - switch (request.redirect) { - case "error": - reject( - new FetchError( - `uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, - "no-redirect" - ) - ); - finalize(); - return; - case "manual": - // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. - if (locationURL !== null) { - // handle corrupted header - try { - headers.set("Location", locationURL); - } catch (err) { - // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request - reject(err); - } - } - break; - case "follow": - // HTTP-redirect fetch step 2 - if (locationURL === null) { - break; - } - - // HTTP-redirect fetch step 5 - if (request.counter >= request.follow) { - reject( - new FetchError( - `maximum redirect reached at: ${request.url}`, - "max-redirect" - ) - ); - finalize(); - return; - } - - // HTTP-redirect fetch step 6 (counter increment) - // Create a new Request object. - const requestOpts = { - headers: new Headers(request.headers), - follow: request.follow, - counter: request.counter + 1, - agent: request.agent, - compress: request.compress, - method: request.method, - body: request.body, - signal: request.signal, - timeout: request.timeout, - size: request.size, - }; - - // HTTP-redirect fetch step 9 - if ( - res.statusCode !== 303 && - request.body && - getTotalBytes(request) === null - ) { - reject( - new FetchError( - "Cannot follow redirect with body being a readable stream", - "unsupported-redirect" - ) - ); - finalize(); - return; - } - - // HTTP-redirect fetch step 11 - if ( - res.statusCode === 303 || - ((res.statusCode === 301 || res.statusCode === 302) && - request.method === "POST") - ) { - requestOpts.method = "GET"; - requestOpts.body = undefined; - requestOpts.headers.delete("content-length"); - } - - // HTTP-redirect fetch step 15 - resolve(fetch(new Request(locationURL, requestOpts))); - finalize(); - return; - } - } - - // prepare response - res.once("end", function () { - if (signal) signal.removeEventListener("abort", abortAndFinalize); - }); - let body = res.pipe(new PassThrough$1()); - - const response_options = { - url: request.url, - status: res.statusCode, - statusText: res.statusMessage, - headers: headers, - size: request.size, - timeout: request.timeout, - counter: request.counter, - }; - - // HTTP-network fetch step 12.1.1.3 - const codings = headers.get("Content-Encoding"); - - // HTTP-network fetch step 12.1.1.4: handle content codings - - // in following scenarios we ignore compression support - // 1. compression support is disabled - // 2. HEAD request - // 3. no Content-Encoding header - // 4. no content response (204) - // 5. content not modified response (304) - if ( - !request.compress || - request.method === "HEAD" || - codings === null || - res.statusCode === 204 || - res.statusCode === 304 - ) { - response = new Response(body, response_options); - resolve(response); - return; - } - - // For Node v6+ - // Be less strict when decoding compressed responses, since sometimes - // servers send slightly invalid responses that are still accepted - // by common browsers. - // Always using Z_SYNC_FLUSH is what cURL does. - const zlibOptions = { - flush: zlib.Z_SYNC_FLUSH, - finishFlush: zlib.Z_SYNC_FLUSH, - }; - - // for gzip - if (codings == "gzip" || codings == "x-gzip") { - body = body.pipe(zlib.createGunzip(zlibOptions)); - response = new Response(body, response_options); - resolve(response); - return; - } - - // for deflate - if (codings == "deflate" || codings == "x-deflate") { - // handle the infamous raw deflate response from old servers - // a hack for old IIS and Apache servers - const raw = res.pipe(new PassThrough$1()); - raw.once("data", function (chunk) { - // see http://stackoverflow.com/questions/37519828 - if ((chunk[0] & 0x0f) === 0x08) { - body = body.pipe(zlib.createInflate()); - } else { - body = body.pipe(zlib.createInflateRaw()); - } - response = new Response(body, response_options); - resolve(response); - }); - return; - } - - // for br - if ( - codings == "br" && - typeof zlib.createBrotliDecompress === "function" - ) { - body = body.pipe(zlib.createBrotliDecompress()); - response = new Response(body, response_options); - resolve(response); - return; - } - - // otherwise, use response as-is - response = new Response(body, response_options); - resolve(response); - }); - - writeToStream(req, request); - }); - } - /** - * Redirect code matching - * - * @param Number code Status code - * @return Boolean - */ - fetch.isRedirect = function (code) { - return ( - code === 301 || - code === 302 || - code === 303 || - code === 307 || - code === 308 - ); - }; - - // expose Promise - fetch.Promise = global.Promise; - - module.exports = exports = fetch; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.default = exports; - exports.Headers = Headers; - exports.Request = Request; - exports.Response = Response; - exports.FetchError = FetchError; - - /***/ - }, - - /***/ 4469: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["workdocs"] = {}; - AWS.WorkDocs = Service.defineService("workdocs", ["2016-05-01"]); - Object.defineProperty(apiLoader.services["workdocs"], "2016-05-01", { - get: function get() { - var model = __webpack_require__(6099); - model.paginators = __webpack_require__(8317).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.WorkDocs; + module.exports = AWS.Signers.V4; /***/ }, - /***/ 4480: /***/ function (module) { + /***/ 3756: /***/ function (module) { module.exports = { pagination: { - ListApplications: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + DescribeDBEngineVersions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBEngineVersions", }, - ListComponents: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + DescribeDBInstances: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBInstances", }, - ListConfigurationHistory: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + DescribeDBLogFiles: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DescribeDBLogFiles", }, - ListLogPatternSets: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + DescribeDBParameterGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBParameterGroups", }, - ListLogPatterns: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + DescribeDBParameters: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "Parameters", }, - ListProblems: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + DescribeDBSecurityGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBSecurityGroups", }, - }, - }; - - /***/ - }, - - /***/ 4483: /***/ function (module) { - module.exports = { - pagination: { - ListItems: { - input_token: "NextToken", - output_token: "NextToken", - limit_key: "MaxResults", + DescribeDBSnapshots: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBSnapshots", }, - }, - }; - - /***/ - }, - - /***/ 4487: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["kinesisvideomedia"] = {}; - AWS.KinesisVideoMedia = Service.defineService("kinesisvideomedia", [ - "2017-09-30", - ]); - Object.defineProperty( - apiLoader.services["kinesisvideomedia"], - "2017-09-30", - { - get: function get() { - var model = __webpack_require__(8258); - model.paginators = __webpack_require__(8784).pagination; - return model; + DescribeDBSubnetGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBSubnetGroups", }, - enumerable: true, - configurable: true, - } - ); - - module.exports = AWS.KinesisVideoMedia; - - /***/ - }, - - /***/ 4525: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - DBInstanceAvailable: { - delay: 30, - operation: "DescribeDBInstances", - maxAttempts: 60, - acceptors: [ - { - expected: "available", - matcher: "pathAll", - state: "success", - argument: "DBInstances[].DBInstanceStatus", - }, - { - expected: "deleted", - matcher: "pathAny", - state: "failure", - argument: "DBInstances[].DBInstanceStatus", - }, - { - expected: "deleting", - matcher: "pathAny", - state: "failure", - argument: "DBInstances[].DBInstanceStatus", - }, - { - expected: "failed", - matcher: "pathAny", - state: "failure", - argument: "DBInstances[].DBInstanceStatus", - }, - { - expected: "incompatible-restore", - matcher: "pathAny", - state: "failure", - argument: "DBInstances[].DBInstanceStatus", - }, - { - expected: "incompatible-parameters", - matcher: "pathAny", - state: "failure", - argument: "DBInstances[].DBInstanceStatus", - }, - ], + DescribeEngineDefaultParameters: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "EngineDefaults.Marker", + result_key: "EngineDefaults.Parameters", }, - DBInstanceDeleted: { - delay: 30, - operation: "DescribeDBInstances", - maxAttempts: 60, - acceptors: [ - { - expected: true, - matcher: "path", - state: "success", - argument: "length(DBInstances) == `0`", - }, - { - expected: "DBInstanceNotFound", - matcher: "error", - state: "success", - }, - { - expected: "creating", - matcher: "pathAny", - state: "failure", - argument: "DBInstances[].DBInstanceStatus", - }, - { - expected: "modifying", - matcher: "pathAny", - state: "failure", - argument: "DBInstances[].DBInstanceStatus", - }, - { - expected: "rebooting", - matcher: "pathAny", - state: "failure", - argument: "DBInstances[].DBInstanceStatus", - }, - { - expected: "resetting-master-credentials", - matcher: "pathAny", - state: "failure", - argument: "DBInstances[].DBInstanceStatus", - }, - ], + DescribeEventSubscriptions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "EventSubscriptionsList", }, - DBSnapshotAvailable: { - delay: 30, - operation: "DescribeDBSnapshots", - maxAttempts: 60, - acceptors: [ - { - expected: "available", - matcher: "pathAll", - state: "success", - argument: "DBSnapshots[].Status", - }, - { - expected: "deleted", - matcher: "pathAny", - state: "failure", - argument: "DBSnapshots[].Status", - }, - { - expected: "deleting", - matcher: "pathAny", - state: "failure", - argument: "DBSnapshots[].Status", - }, - { - expected: "failed", - matcher: "pathAny", - state: "failure", - argument: "DBSnapshots[].Status", - }, - { - expected: "incompatible-restore", - matcher: "pathAny", - state: "failure", - argument: "DBSnapshots[].Status", - }, - { - expected: "incompatible-parameters", - matcher: "pathAny", - state: "failure", - argument: "DBSnapshots[].Status", - }, - ], + DescribeEvents: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "Events", }, - DBSnapshotDeleted: { - delay: 30, - operation: "DescribeDBSnapshots", - maxAttempts: 60, - acceptors: [ - { - expected: true, - matcher: "path", - state: "success", - argument: "length(DBSnapshots) == `0`", - }, - { - expected: "DBSnapshotNotFound", - matcher: "error", - state: "success", - }, - { - expected: "creating", - matcher: "pathAny", - state: "failure", - argument: "DBSnapshots[].Status", - }, - { - expected: "modifying", - matcher: "pathAny", - state: "failure", - argument: "DBSnapshots[].Status", - }, - { - expected: "rebooting", - matcher: "pathAny", - state: "failure", - argument: "DBSnapshots[].Status", - }, - { - expected: "resetting-master-credentials", - matcher: "pathAny", - state: "failure", - argument: "DBSnapshots[].Status", - }, - ], + DescribeOptionGroupOptions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "OptionGroupOptions", }, - DBClusterSnapshotAvailable: { - delay: 30, - operation: "DescribeDBClusterSnapshots", - maxAttempts: 60, - acceptors: [ - { - expected: "available", - matcher: "pathAll", - state: "success", - argument: "DBClusterSnapshots[].Status", - }, - { - expected: "deleted", - matcher: "pathAny", - state: "failure", - argument: "DBClusterSnapshots[].Status", - }, - { - expected: "deleting", - matcher: "pathAny", - state: "failure", - argument: "DBClusterSnapshots[].Status", - }, - { - expected: "failed", - matcher: "pathAny", - state: "failure", - argument: "DBClusterSnapshots[].Status", - }, - { - expected: "incompatible-restore", - matcher: "pathAny", - state: "failure", - argument: "DBClusterSnapshots[].Status", - }, - { - expected: "incompatible-parameters", - matcher: "pathAny", - state: "failure", - argument: "DBClusterSnapshots[].Status", - }, - ], + DescribeOptionGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "OptionGroupsList", }, - DBClusterSnapshotDeleted: { - delay: 30, - operation: "DescribeDBClusterSnapshots", - maxAttempts: 60, - acceptors: [ - { - expected: true, - matcher: "path", - state: "success", - argument: "length(DBClusterSnapshots) == `0`", - }, - { - expected: "DBClusterSnapshotNotFoundFault", - matcher: "error", - state: "success", - }, - { - expected: "creating", - matcher: "pathAny", - state: "failure", - argument: "DBClusterSnapshots[].Status", - }, - { - expected: "modifying", - matcher: "pathAny", - state: "failure", - argument: "DBClusterSnapshots[].Status", - }, - { - expected: "rebooting", - matcher: "pathAny", - state: "failure", - argument: "DBClusterSnapshots[].Status", - }, - { - expected: "resetting-master-credentials", - matcher: "pathAny", - state: "failure", - argument: "DBClusterSnapshots[].Status", - }, - ], + DescribeOrderableDBInstanceOptions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "OrderableDBInstanceOptions", + }, + DescribeReservedDBInstances: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "ReservedDBInstances", + }, + DescribeReservedDBInstancesOfferings: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "ReservedDBInstancesOfferings", + }, + DownloadDBLogFilePortion: { + input_token: "Marker", + limit_key: "NumberOfLines", + more_results: "AdditionalDataPending", + output_token: "Marker", + result_key: "LogFileData", }, + ListTagsForResource: { result_key: "TagList" }, }, }; /***/ }, - /***/ 4535: /***/ function (module) { + /***/ 3762: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2019-02-03", - endpointPrefix: "kendra", + apiVersion: "2018-09-24", + endpointPrefix: "managedblockchain", jsonVersion: "1.1", - protocol: "json", - serviceAbbreviation: "kendra", - serviceFullName: "AWSKendraFrontendService", - serviceId: "kendra", - signatureVersion: "v4", - signingName: "kendra", - targetPrefix: "AWSKendraFrontendService", - uid: "kendra-2019-02-03", + protocol: "rest-json", + serviceAbbreviation: "ManagedBlockchain", + serviceFullName: "Amazon Managed Blockchain", + serviceId: "ManagedBlockchain", + signatureVersion: "v4", + signingName: "managedblockchain", + uid: "managedblockchain-2018-09-24", }, operations: { - BatchDeleteDocument: { + CreateMember: { + http: { requestUri: "/networks/{networkId}/members" }, input: { type: "structure", - required: ["IndexId", "DocumentIdList"], - members: { - IndexId: {}, - DocumentIdList: { type: "list", member: {} }, - }, - }, - output: { - type: "structure", + required: [ + "ClientRequestToken", + "InvitationId", + "NetworkId", + "MemberConfiguration", + ], members: { - FailedDocuments: { - type: "list", - member: { - type: "structure", - members: { Id: {}, ErrorCode: {}, ErrorMessage: {} }, - }, - }, + ClientRequestToken: { idempotencyToken: true }, + InvitationId: {}, + NetworkId: { location: "uri", locationName: "networkId" }, + MemberConfiguration: { shape: "S4" }, }, }, + output: { type: "structure", members: { MemberId: {} } }, }, - BatchPutDocument: { + CreateNetwork: { + http: { requestUri: "/networks" }, input: { type: "structure", - required: ["IndexId", "Documents"], + required: [ + "ClientRequestToken", + "Name", + "Framework", + "FrameworkVersion", + "VotingPolicy", + "MemberConfiguration", + ], members: { - IndexId: {}, - RoleArn: {}, - Documents: { - type: "list", - member: { - type: "structure", - required: ["Id"], - members: { - Id: {}, - Title: {}, - Blob: { type: "blob" }, - S3Path: { shape: "Sg" }, - Attributes: { shape: "Sj" }, - AccessControlList: { - type: "list", - member: { - type: "structure", - required: ["Name", "Type", "Access"], - members: { Name: {}, Type: {}, Access: {} }, - }, - }, - ContentType: {}, + ClientRequestToken: { idempotencyToken: true }, + Name: {}, + Description: {}, + Framework: {}, + FrameworkVersion: {}, + FrameworkConfiguration: { + type: "structure", + members: { + Fabric: { + type: "structure", + required: ["Edition"], + members: { Edition: {} }, }, }, }, + VotingPolicy: { shape: "So" }, + MemberConfiguration: { shape: "S4" }, }, }, output: { type: "structure", + members: { NetworkId: {}, MemberId: {} }, + }, + }, + CreateNode: { + http: { + requestUri: "/networks/{networkId}/members/{memberId}/nodes", + }, + input: { + type: "structure", + required: [ + "ClientRequestToken", + "NetworkId", + "MemberId", + "NodeConfiguration", + ], members: { - FailedDocuments: { - type: "list", - member: { - type: "structure", - members: { Id: {}, ErrorCode: {}, ErrorMessage: {} }, + ClientRequestToken: { idempotencyToken: true }, + NetworkId: { location: "uri", locationName: "networkId" }, + MemberId: { location: "uri", locationName: "memberId" }, + NodeConfiguration: { + type: "structure", + required: ["InstanceType", "AvailabilityZone"], + members: { + InstanceType: {}, + AvailabilityZone: {}, + LogPublishingConfiguration: { shape: "Sy" }, + StateDB: {}, }, }, }, }, + output: { type: "structure", members: { NodeId: {} } }, }, - CreateDataSource: { + CreateProposal: { + http: { requestUri: "/networks/{networkId}/proposals" }, input: { type: "structure", - required: ["Name", "IndexId", "Type", "Configuration", "RoleArn"], + required: [ + "ClientRequestToken", + "NetworkId", + "MemberId", + "Actions", + ], members: { - Name: {}, - IndexId: {}, - Type: {}, - Configuration: { shape: "S14" }, + ClientRequestToken: { idempotencyToken: true }, + NetworkId: { location: "uri", locationName: "networkId" }, + MemberId: {}, + Actions: { shape: "S13" }, Description: {}, - Schedule: {}, - RoleArn: {}, }, }, - output: { - type: "structure", - required: ["Id"], - members: { Id: {} }, - }, + output: { type: "structure", members: { ProposalId: {} } }, }, - CreateFaq: { + DeleteMember: { + http: { + method: "DELETE", + requestUri: "/networks/{networkId}/members/{memberId}", + }, input: { type: "structure", - required: ["IndexId", "Name", "S3Path", "RoleArn"], + required: ["NetworkId", "MemberId"], members: { - IndexId: {}, - Name: {}, - Description: {}, - S3Path: { shape: "Sg" }, - RoleArn: {}, + NetworkId: { location: "uri", locationName: "networkId" }, + MemberId: { location: "uri", locationName: "memberId" }, }, }, - output: { type: "structure", members: { Id: {} } }, + output: { type: "structure", members: {} }, }, - CreateIndex: { + DeleteNode: { + http: { + method: "DELETE", + requestUri: + "/networks/{networkId}/members/{memberId}/nodes/{nodeId}", + }, input: { type: "structure", - required: ["Name", "RoleArn"], + required: ["NetworkId", "MemberId", "NodeId"], members: { - Name: {}, - RoleArn: {}, - ServerSideEncryptionConfiguration: { shape: "S2b" }, - Description: {}, - ClientToken: { idempotencyToken: true }, + NetworkId: { location: "uri", locationName: "networkId" }, + MemberId: { location: "uri", locationName: "memberId" }, + NodeId: { location: "uri", locationName: "nodeId" }, }, }, - output: { type: "structure", members: { Id: {} } }, + output: { type: "structure", members: {} }, }, - DeleteFaq: { - input: { - type: "structure", - required: ["Id", "IndexId"], - members: { Id: {}, IndexId: {} }, + GetMember: { + http: { + method: "GET", + requestUri: "/networks/{networkId}/members/{memberId}", }, - }, - DeleteIndex: { - input: { type: "structure", required: ["Id"], members: { Id: {} } }, - }, - DescribeDataSource: { input: { type: "structure", - required: ["Id", "IndexId"], - members: { Id: {}, IndexId: {} }, + required: ["NetworkId", "MemberId"], + members: { + NetworkId: { location: "uri", locationName: "networkId" }, + MemberId: { location: "uri", locationName: "memberId" }, + }, }, output: { type: "structure", members: { - Id: {}, - IndexId: {}, - Name: {}, - Type: {}, - Configuration: { shape: "S14" }, - CreatedAt: { type: "timestamp" }, - UpdatedAt: { type: "timestamp" }, - Description: {}, - Status: {}, - Schedule: {}, - RoleArn: {}, - ErrorMessage: {}, + Member: { + type: "structure", + members: { + NetworkId: {}, + Id: {}, + Name: {}, + Description: {}, + FrameworkAttributes: { + type: "structure", + members: { + Fabric: { + type: "structure", + members: { AdminUsername: {}, CaEndpoint: {} }, + }, + }, + }, + LogPublishingConfiguration: { shape: "Sb" }, + Status: {}, + CreationDate: { shape: "S1l" }, + }, + }, }, }, }, - DescribeFaq: { + GetNetwork: { + http: { method: "GET", requestUri: "/networks/{networkId}" }, input: { type: "structure", - required: ["Id", "IndexId"], - members: { Id: {}, IndexId: {} }, - }, - output: { - type: "structure", + required: ["NetworkId"], members: { - Id: {}, - IndexId: {}, - Name: {}, - Description: {}, - CreatedAt: { type: "timestamp" }, - UpdatedAt: { type: "timestamp" }, - S3Path: { shape: "Sg" }, - Status: {}, - RoleArn: {}, - ErrorMessage: {}, + NetworkId: { location: "uri", locationName: "networkId" }, }, }, - }, - DescribeIndex: { - input: { type: "structure", required: ["Id"], members: { Id: {} } }, output: { type: "structure", members: { - Name: {}, - Id: {}, - RoleArn: {}, - ServerSideEncryptionConfiguration: { shape: "S2b" }, - Status: {}, - Description: {}, - CreatedAt: { type: "timestamp" }, - UpdatedAt: { type: "timestamp" }, - DocumentMetadataConfigurations: { shape: "S2q" }, - IndexStatistics: { + Network: { type: "structure", - required: ["FaqStatistics", "TextDocumentStatistics"], members: { - FaqStatistics: { + Id: {}, + Name: {}, + Description: {}, + Framework: {}, + FrameworkVersion: {}, + FrameworkAttributes: { type: "structure", - required: ["IndexedQuestionAnswersCount"], members: { - IndexedQuestionAnswersCount: { type: "integer" }, + Fabric: { + type: "structure", + members: { OrderingServiceEndpoint: {}, Edition: {} }, + }, }, }, - TextDocumentStatistics: { + VpcEndpointServiceName: {}, + VotingPolicy: { shape: "So" }, + Status: {}, + CreationDate: { shape: "S1l" }, + }, + }, + }, + }, + }, + GetNode: { + http: { + method: "GET", + requestUri: + "/networks/{networkId}/members/{memberId}/nodes/{nodeId}", + }, + input: { + type: "structure", + required: ["NetworkId", "MemberId", "NodeId"], + members: { + NetworkId: { location: "uri", locationName: "networkId" }, + MemberId: { location: "uri", locationName: "memberId" }, + NodeId: { location: "uri", locationName: "nodeId" }, + }, + }, + output: { + type: "structure", + members: { + Node: { + type: "structure", + members: { + NetworkId: {}, + MemberId: {}, + Id: {}, + InstanceType: {}, + AvailabilityZone: {}, + FrameworkAttributes: { type: "structure", - required: ["IndexedTextDocumentsCount"], members: { - IndexedTextDocumentsCount: { type: "integer" }, + Fabric: { + type: "structure", + members: { PeerEndpoint: {}, PeerEventEndpoint: {} }, + }, }, }, + LogPublishingConfiguration: { shape: "Sy" }, + StateDB: {}, + Status: {}, + CreationDate: { shape: "S1l" }, }, }, - ErrorMessage: {}, }, }, }, - ListDataSourceSyncJobs: { + GetProposal: { + http: { + method: "GET", + requestUri: "/networks/{networkId}/proposals/{proposalId}", + }, input: { type: "structure", - required: ["Id", "IndexId"], + required: ["NetworkId", "ProposalId"], members: { - Id: {}, - IndexId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, - StartTimeFilter: { + NetworkId: { location: "uri", locationName: "networkId" }, + ProposalId: { location: "uri", locationName: "proposalId" }, + }, + }, + output: { + type: "structure", + members: { + Proposal: { type: "structure", members: { - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, + ProposalId: {}, + NetworkId: {}, + Description: {}, + Actions: { shape: "S13" }, + ProposedByMemberId: {}, + ProposedByMemberName: {}, + Status: {}, + CreationDate: { shape: "S1l" }, + ExpirationDate: { shape: "S1l" }, + YesVoteCount: { type: "integer" }, + NoVoteCount: { type: "integer" }, + OutstandingVoteCount: { type: "integer" }, }, }, - StatusFilter: {}, + }, + }, + }, + ListInvitations: { + http: { method: "GET", requestUri: "/invitations" }, + input: { + type: "structure", + members: { + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, }, }, output: { type: "structure", members: { - History: { + Invitations: { type: "list", member: { type: "structure", members: { - ExecutionId: {}, - StartTime: { type: "timestamp" }, - EndTime: { type: "timestamp" }, + InvitationId: {}, + CreationDate: { shape: "S1l" }, + ExpirationDate: { shape: "S1l" }, Status: {}, - ErrorMessage: {}, - ErrorCode: {}, - DataSourceErrorCode: {}, + NetworkSummary: { shape: "S2a" }, }, }, }, @@ -125268,30 +127083,48 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - ListDataSources: { + ListMembers: { + http: { + method: "GET", + requestUri: "/networks/{networkId}/members", + }, input: { type: "structure", - required: ["IndexId"], + required: ["NetworkId"], members: { - IndexId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + NetworkId: { location: "uri", locationName: "networkId" }, + Name: { location: "querystring", locationName: "name" }, + Status: { location: "querystring", locationName: "status" }, + IsOwned: { + location: "querystring", + locationName: "isOwned", + type: "boolean", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, }, }, output: { type: "structure", members: { - SummaryItems: { + Members: { type: "list", member: { type: "structure", members: { - Name: {}, Id: {}, - Type: {}, - CreatedAt: { type: "timestamp" }, - UpdatedAt: { type: "timestamp" }, + Name: {}, + Description: {}, Status: {}, + CreationDate: { shape: "S1l" }, + IsOwned: { type: "boolean" }, }, }, }, @@ -125299,55 +127132,72 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - ListFaqs: { + ListNetworks: { + http: { method: "GET", requestUri: "/networks" }, input: { type: "structure", - required: ["IndexId"], members: { - IndexId: {}, - NextToken: {}, - MaxResults: { type: "integer" }, + Name: { location: "querystring", locationName: "name" }, + Framework: { + location: "querystring", + locationName: "framework", + }, + Status: { location: "querystring", locationName: "status" }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, }, }, output: { type: "structure", members: { + Networks: { type: "list", member: { shape: "S2a" } }, NextToken: {}, - FaqSummaryItems: { - type: "list", - member: { - type: "structure", - members: { - Id: {}, - Name: {}, - Status: {}, - CreatedAt: { type: "timestamp" }, - UpdatedAt: { type: "timestamp" }, - }, - }, - }, }, }, }, - ListIndices: { + ListNodes: { + http: { + method: "GET", + requestUri: "/networks/{networkId}/members/{memberId}/nodes", + }, input: { type: "structure", - members: { NextToken: {}, MaxResults: { type: "integer" } }, + required: ["NetworkId", "MemberId"], + members: { + NetworkId: { location: "uri", locationName: "networkId" }, + MemberId: { location: "uri", locationName: "memberId" }, + Status: { location: "querystring", locationName: "status" }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + }, }, output: { type: "structure", members: { - IndexConfigurationSummaryItems: { + Nodes: { type: "list", member: { type: "structure", - required: ["CreatedAt", "UpdatedAt", "Status"], members: { - Name: {}, Id: {}, - CreatedAt: { type: "timestamp" }, - UpdatedAt: { type: "timestamp" }, Status: {}, + CreationDate: { shape: "S1l" }, + AvailabilityZone: {}, + InstanceType: {}, }, }, }, @@ -125355,9123 +127205,10228 @@ module.exports = /******/ (function (modules, runtime) { }, }, }, - Query: { + ListProposalVotes: { + http: { + method: "GET", + requestUri: "/networks/{networkId}/proposals/{proposalId}/votes", + }, input: { type: "structure", - required: ["IndexId", "QueryText"], + required: ["NetworkId", "ProposalId"], members: { - IndexId: {}, - QueryText: {}, - AttributeFilter: { shape: "S3w" }, - Facets: { - type: "list", - member: { - type: "structure", - members: { DocumentAttributeKey: {} }, - }, + NetworkId: { location: "uri", locationName: "networkId" }, + ProposalId: { location: "uri", locationName: "proposalId" }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", }, - RequestedDocumentAttributes: { type: "list", member: {} }, - QueryResultTypeFilter: {}, - PageNumber: { type: "integer" }, - PageSize: { type: "integer" }, }, }, output: { type: "structure", members: { - QueryId: {}, - ResultItems: { + ProposalVotes: { type: "list", member: { type: "structure", - members: { - Id: {}, - Type: {}, - AdditionalAttributes: { - type: "list", - member: { - type: "structure", - required: ["Key", "ValueType", "Value"], - members: { - Key: {}, - ValueType: {}, - Value: { - type: "structure", - members: { - TextWithHighlightsValue: { shape: "S4c" }, - }, - }, - }, - }, - }, - DocumentId: {}, - DocumentTitle: { shape: "S4c" }, - DocumentExcerpt: { shape: "S4c" }, - DocumentURI: {}, - DocumentAttributes: { shape: "Sj" }, - }, + members: { Vote: {}, MemberName: {}, MemberId: {} }, }, }, - FacetResults: { + NextToken: {}, + }, + }, + }, + ListProposals: { + http: { + method: "GET", + requestUri: "/networks/{networkId}/proposals", + }, + input: { + type: "structure", + required: ["NetworkId"], + members: { + NetworkId: { location: "uri", locationName: "networkId" }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + }, + }, + output: { + type: "structure", + members: { + Proposals: { type: "list", member: { type: "structure", members: { - DocumentAttributeKey: {}, - DocumentAttributeValueCountPairs: { - type: "list", - member: { - type: "structure", - members: { - DocumentAttributeValue: { shape: "Sm" }, - Count: { type: "integer" }, - }, - }, - }, + ProposalId: {}, + Description: {}, + ProposedByMemberId: {}, + ProposedByMemberName: {}, + Status: {}, + CreationDate: { shape: "S1l" }, + ExpirationDate: { shape: "S1l" }, }, }, }, - TotalNumberOfResults: { type: "integer" }, + NextToken: {}, }, }, }, - StartDataSourceSyncJob: { - input: { - type: "structure", - required: ["Id", "IndexId"], - members: { Id: {}, IndexId: {} }, + RejectInvitation: { + http: { + method: "DELETE", + requestUri: "/invitations/{invitationId}", }, - output: { type: "structure", members: { ExecutionId: {} } }, - }, - StopDataSourceSyncJob: { input: { type: "structure", - required: ["Id", "IndexId"], - members: { Id: {}, IndexId: {} }, + required: ["InvitationId"], + members: { + InvitationId: { location: "uri", locationName: "invitationId" }, + }, }, + output: { type: "structure", members: {} }, }, - SubmitFeedback: { + UpdateMember: { + http: { + method: "PATCH", + requestUri: "/networks/{networkId}/members/{memberId}", + }, input: { type: "structure", - required: ["IndexId", "QueryId"], + required: ["NetworkId", "MemberId"], members: { - IndexId: {}, - QueryId: {}, - ClickFeedbackItems: { - type: "list", - member: { - type: "structure", - required: ["ResultId", "ClickTime"], - members: { ResultId: {}, ClickTime: { type: "timestamp" } }, - }, - }, - RelevanceFeedbackItems: { - type: "list", - member: { - type: "structure", - required: ["ResultId", "RelevanceValue"], - members: { ResultId: {}, RelevanceValue: {} }, - }, - }, + NetworkId: { location: "uri", locationName: "networkId" }, + MemberId: { location: "uri", locationName: "memberId" }, + LogPublishingConfiguration: { shape: "Sb" }, }, }, + output: { type: "structure", members: {} }, }, - UpdateDataSource: { + UpdateNode: { + http: { + method: "PATCH", + requestUri: + "/networks/{networkId}/members/{memberId}/nodes/{nodeId}", + }, input: { type: "structure", - required: ["Id", "IndexId"], + required: ["NetworkId", "MemberId", "NodeId"], members: { - Id: {}, - Name: {}, - IndexId: {}, - Configuration: { shape: "S14" }, - Description: {}, - Schedule: {}, - RoleArn: {}, + NetworkId: { location: "uri", locationName: "networkId" }, + MemberId: { location: "uri", locationName: "memberId" }, + NodeId: { location: "uri", locationName: "nodeId" }, + LogPublishingConfiguration: { shape: "Sy" }, }, }, + output: { type: "structure", members: {} }, }, - UpdateIndex: { + VoteOnProposal: { + http: { + requestUri: "/networks/{networkId}/proposals/{proposalId}/votes", + }, input: { type: "structure", - required: ["Id"], + required: ["NetworkId", "ProposalId", "VoterMemberId", "Vote"], members: { - Id: {}, - Name: {}, - RoleArn: {}, - Description: {}, - DocumentMetadataConfigurationUpdates: { shape: "S2q" }, + NetworkId: { location: "uri", locationName: "networkId" }, + ProposalId: { location: "uri", locationName: "proposalId" }, + VoterMemberId: {}, + Vote: {}, }, }, + output: { type: "structure", members: {} }, }, }, shapes: { - Sg: { - type: "structure", - required: ["Bucket", "Key"], - members: { Bucket: {}, Key: {} }, - }, - Sj: { type: "list", member: { shape: "Sk" } }, - Sk: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: { shape: "Sm" } }, - }, - Sm: { - type: "structure", - members: { - StringValue: {}, - StringListValue: { type: "list", member: {} }, - LongValue: { type: "long" }, - DateValue: { type: "timestamp" }, - }, - }, - S14: { + S4: { type: "structure", + required: ["Name", "FrameworkConfiguration"], members: { - S3Configuration: { - type: "structure", - required: ["BucketName"], - members: { - BucketName: {}, - InclusionPrefixes: { shape: "S16" }, - ExclusionPatterns: { shape: "S16" }, - DocumentsMetadataConfiguration: { - type: "structure", - members: { S3Prefix: {} }, - }, - AccessControlListConfiguration: { - type: "structure", - members: { KeyPath: {} }, - }, - }, - }, - SharePointConfiguration: { - type: "structure", - required: ["SharePointVersion", "Urls", "SecretArn"], - members: { - SharePointVersion: {}, - Urls: { type: "list", member: {} }, - SecretArn: {}, - CrawlAttachments: { type: "boolean" }, - UseChangeLog: { type: "boolean" }, - InclusionPatterns: { shape: "S16" }, - ExclusionPatterns: { shape: "S16" }, - VpcConfiguration: { shape: "S1g" }, - FieldMappings: { shape: "S1l" }, - DocumentTitleFieldName: {}, - }, - }, - DatabaseConfiguration: { + Name: {}, + Description: {}, + FrameworkConfiguration: { type: "structure", - required: [ - "DatabaseEngineType", - "ConnectionConfiguration", - "ColumnConfiguration", - ], members: { - DatabaseEngineType: {}, - ConnectionConfiguration: { - type: "structure", - required: [ - "DatabaseHost", - "DatabasePort", - "DatabaseName", - "TableName", - "SecretArn", - ], - members: { - DatabaseHost: {}, - DatabasePort: { type: "integer" }, - DatabaseName: {}, - TableName: {}, - SecretArn: {}, - }, - }, - VpcConfiguration: { shape: "S1g" }, - ColumnConfiguration: { + Fabric: { type: "structure", - required: [ - "DocumentIdColumnName", - "DocumentDataColumnName", - "ChangeDetectingColumns", - ], + required: ["AdminUsername", "AdminPassword"], members: { - DocumentIdColumnName: {}, - DocumentDataColumnName: {}, - DocumentTitleColumnName: {}, - FieldMappings: { shape: "S1l" }, - ChangeDetectingColumns: { type: "list", member: {} }, + AdminUsername: {}, + AdminPassword: { type: "string", sensitive: true }, }, }, - AclConfiguration: { - type: "structure", - required: ["AllowedGroupsColumnName"], - members: { AllowedGroupsColumnName: {} }, - }, }, }, + LogPublishingConfiguration: { shape: "Sb" }, }, }, - S16: { type: "list", member: {} }, - S1g: { + Sb: { type: "structure", - required: ["SubnetIds", "SecurityGroupIds"], members: { - SubnetIds: { type: "list", member: {} }, - SecurityGroupIds: { type: "list", member: {} }, + Fabric: { + type: "structure", + members: { CaLogs: { shape: "Sd" } }, + }, }, }, - S1l: { - type: "list", - member: { - type: "structure", - required: ["DataSourceFieldName", "IndexFieldName"], - members: { - DataSourceFieldName: {}, - DateFieldFormat: {}, - IndexFieldName: {}, + Sd: { + type: "structure", + members: { + Cloudwatch: { + type: "structure", + members: { Enabled: { type: "boolean" } }, }, }, }, - S2b: { + So: { type: "structure", - members: { KmsKeyId: { type: "string", sensitive: true } }, - }, - S2q: { - type: "list", - member: { - type: "structure", - required: ["Name", "Type"], - members: { - Name: {}, - Type: {}, - Relevance: { - type: "structure", - members: { - Freshness: { type: "boolean" }, - Importance: { type: "integer" }, - Duration: {}, - RankOrder: {}, - ValueImportanceMap: { - type: "map", - key: {}, - value: { type: "integer" }, - }, - }, - }, - Search: { - type: "structure", - members: { - Facetable: { type: "boolean" }, - Searchable: { type: "boolean" }, - Displayable: { type: "boolean" }, - }, + members: { + ApprovalThresholdPolicy: { + type: "structure", + members: { + ThresholdPercentage: { type: "integer" }, + ProposalDurationInHours: { type: "integer" }, + ThresholdComparator: {}, }, }, }, }, - S3w: { + Sy: { type: "structure", members: { - AndAllFilters: { shape: "S3x" }, - OrAllFilters: { shape: "S3x" }, - NotFilter: { shape: "S3w" }, - EqualsTo: { shape: "Sk" }, - ContainsAll: { shape: "Sk" }, - ContainsAny: { shape: "Sk" }, - GreaterThan: { shape: "Sk" }, - GreaterThanOrEquals: { shape: "Sk" }, - LessThan: { shape: "Sk" }, - LessThanOrEquals: { shape: "Sk" }, + Fabric: { + type: "structure", + members: { + ChaincodeLogs: { shape: "Sd" }, + PeerLogs: { shape: "Sd" }, + }, + }, }, }, - S3x: { type: "list", member: { shape: "S3w" } }, - S4c: { + S13: { type: "structure", members: { - Text: {}, - Highlights: { + Invitations: { type: "list", member: { type: "structure", - required: ["BeginOffset", "EndOffset"], - members: { - BeginOffset: { type: "integer" }, - EndOffset: { type: "integer" }, - TopAnswer: { type: "boolean" }, - }, + required: ["Principal"], + members: { Principal: {} }, + }, + }, + Removals: { + type: "list", + member: { + type: "structure", + required: ["MemberId"], + members: { MemberId: {} }, }, }, }, }, + S1l: { type: "timestamp", timestampFormat: "iso8601" }, + S2a: { + type: "structure", + members: { + Id: {}, + Name: {}, + Description: {}, + Framework: {}, + FrameworkVersion: {}, + Status: {}, + CreationDate: { shape: "S1l" }, + }, + }, }, }; /***/ }, - /***/ 4540: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2013-06-30", - endpointPrefix: "storagegateway", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Storage Gateway", - serviceId: "Storage Gateway", - signatureVersion: "v4", - targetPrefix: "StorageGateway_20130630", - uid: "storagegateway-2013-06-30", - }, - operations: { - ActivateGateway: { - input: { - type: "structure", - required: [ - "ActivationKey", - "GatewayName", - "GatewayTimezone", - "GatewayRegion", - ], - members: { - ActivationKey: {}, - GatewayName: {}, - GatewayTimezone: {}, - GatewayRegion: {}, - GatewayType: {}, - TapeDriveType: {}, - MediumChangerType: {}, - Tags: { shape: "S9" }, - }, - }, - output: { type: "structure", members: { GatewayARN: {} } }, - }, - AddCache: { - input: { - type: "structure", - required: ["GatewayARN", "DiskIds"], - members: { GatewayARN: {}, DiskIds: { shape: "Sg" } }, - }, - output: { type: "structure", members: { GatewayARN: {} } }, - }, - AddTagsToResource: { - input: { - type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S9" } }, - }, - output: { type: "structure", members: { ResourceARN: {} } }, - }, - AddUploadBuffer: { - input: { - type: "structure", - required: ["GatewayARN", "DiskIds"], - members: { GatewayARN: {}, DiskIds: { shape: "Sg" } }, - }, - output: { type: "structure", members: { GatewayARN: {} } }, - }, - AddWorkingStorage: { - input: { - type: "structure", - required: ["GatewayARN", "DiskIds"], - members: { GatewayARN: {}, DiskIds: { shape: "Sg" } }, - }, - output: { type: "structure", members: { GatewayARN: {} } }, - }, - AssignTapePool: { - input: { - type: "structure", - required: ["TapeARN", "PoolId"], - members: { TapeARN: {}, PoolId: {} }, - }, - output: { type: "structure", members: { TapeARN: {} } }, - }, - AttachVolume: { - input: { - type: "structure", - required: ["GatewayARN", "VolumeARN", "NetworkInterfaceId"], - members: { - GatewayARN: {}, - TargetName: {}, - VolumeARN: {}, - NetworkInterfaceId: {}, - DiskId: {}, - }, - }, - output: { - type: "structure", - members: { VolumeARN: {}, TargetARN: {} }, - }, - }, - CancelArchival: { - input: { - type: "structure", - required: ["GatewayARN", "TapeARN"], - members: { GatewayARN: {}, TapeARN: {} }, - }, - output: { type: "structure", members: { TapeARN: {} } }, - }, - CancelRetrieval: { - input: { - type: "structure", - required: ["GatewayARN", "TapeARN"], - members: { GatewayARN: {}, TapeARN: {} }, - }, - output: { type: "structure", members: { TapeARN: {} } }, - }, - CreateCachediSCSIVolume: { - input: { - type: "structure", - required: [ - "GatewayARN", - "VolumeSizeInBytes", - "TargetName", - "NetworkInterfaceId", - "ClientToken", - ], - members: { - GatewayARN: {}, - VolumeSizeInBytes: { type: "long" }, - SnapshotId: {}, - TargetName: {}, - SourceVolumeARN: {}, - NetworkInterfaceId: {}, - ClientToken: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - Tags: { shape: "S9" }, - }, - }, - output: { - type: "structure", - members: { VolumeARN: {}, TargetARN: {} }, - }, - }, - CreateNFSFileShare: { - input: { - type: "structure", - required: ["ClientToken", "GatewayARN", "Role", "LocationARN"], - members: { - ClientToken: {}, - NFSFileShareDefaults: { shape: "S1c" }, - GatewayARN: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - Role: {}, - LocationARN: {}, - DefaultStorageClass: {}, - ObjectACL: {}, - ClientList: { shape: "S1j" }, - Squash: {}, - ReadOnly: { type: "boolean" }, - GuessMIMETypeEnabled: { type: "boolean" }, - RequesterPays: { type: "boolean" }, - Tags: { shape: "S9" }, - }, - }, - output: { type: "structure", members: { FileShareARN: {} } }, - }, - CreateSMBFileShare: { - input: { - type: "structure", - required: ["ClientToken", "GatewayARN", "Role", "LocationARN"], - members: { - ClientToken: {}, - GatewayARN: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - Role: {}, - LocationARN: {}, - DefaultStorageClass: {}, - ObjectACL: {}, - ReadOnly: { type: "boolean" }, - GuessMIMETypeEnabled: { type: "boolean" }, - RequesterPays: { type: "boolean" }, - SMBACLEnabled: { type: "boolean" }, - AdminUserList: { shape: "S1p" }, - ValidUserList: { shape: "S1p" }, - InvalidUserList: { shape: "S1p" }, - AuditDestinationARN: {}, - Authentication: {}, - Tags: { shape: "S9" }, - }, - }, - output: { type: "structure", members: { FileShareARN: {} } }, + /***/ 3763: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 3768: /***/ function (module) { + "use strict"; + + module.exports = function (x) { + var lf = typeof x === "string" ? "\n" : "\n".charCodeAt(); + var cr = typeof x === "string" ? "\r" : "\r".charCodeAt(); + + if (x[x.length - 1] === lf) { + x = x.slice(0, x.length - 1); + } + + if (x[x.length - 1] === cr) { + x = x.slice(0, x.length - 1); + } + + return x; + }; + + /***/ + }, + + /***/ 3773: /***/ function (module, __unusedexports, __webpack_require__) { + var rng = __webpack_require__(1881); + var bytesToUuid = __webpack_require__(2390); + + // **`v1()` - Generate time-based UUID** + // + // Inspired by https://github.com/LiosK/UUID.js + // and http://docs.python.org/library/uuid.html + + var _nodeId; + var _clockseq; + + // Previous uuid creation time + var _lastMSecs = 0; + var _lastNSecs = 0; + + // See https://github.com/broofa/node-uuid for API details + function v1(options, buf, offset) { + var i = (buf && offset) || 0; + var b = buf || []; + + options = options || {}; + var node = options.node || _nodeId; + var clockseq = + options.clockseq !== undefined ? options.clockseq : _clockseq; + + // node and clockseq need to be initialized to random values if they're not + // specified. We do this lazily to minimize issues related to insufficient + // system entropy. See #189 + if (node == null || clockseq == null) { + var seedBytes = rng(); + if (node == null) { + // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) + node = _nodeId = [ + seedBytes[0] | 0x01, + seedBytes[1], + seedBytes[2], + seedBytes[3], + seedBytes[4], + seedBytes[5], + ]; + } + if (clockseq == null) { + // Per 4.2.2, randomize (14 bit) clockseq + clockseq = _clockseq = + ((seedBytes[6] << 8) | seedBytes[7]) & 0x3fff; + } + } + + // UUID timestamps are 100 nano-second units since the Gregorian epoch, + // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so + // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' + // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. + var msecs = + options.msecs !== undefined ? options.msecs : new Date().getTime(); + + // Per 4.2.1.2, use count of uuid's generated during the current clock + // cycle to simulate higher resolution clock + var nsecs = + options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; + + // Time since last uuid creation (in msecs) + var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; + + // Per 4.2.1.2, Bump clockseq on clock regression + if (dt < 0 && options.clockseq === undefined) { + clockseq = (clockseq + 1) & 0x3fff; + } + + // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new + // time interval + if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { + nsecs = 0; + } + + // Per 4.2.1.2 Throw error if too many uuids are requested + if (nsecs >= 10000) { + throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); + } + + _lastMSecs = msecs; + _lastNSecs = nsecs; + _clockseq = clockseq; + + // Per 4.1.4 - Convert from unix epoch to Gregorian epoch + msecs += 12219292800000; + + // `time_low` + var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; + b[i++] = (tl >>> 24) & 0xff; + b[i++] = (tl >>> 16) & 0xff; + b[i++] = (tl >>> 8) & 0xff; + b[i++] = tl & 0xff; + + // `time_mid` + var tmh = ((msecs / 0x100000000) * 10000) & 0xfffffff; + b[i++] = (tmh >>> 8) & 0xff; + b[i++] = tmh & 0xff; + + // `time_high_and_version` + b[i++] = ((tmh >>> 24) & 0xf) | 0x10; // include version + b[i++] = (tmh >>> 16) & 0xff; + + // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) + b[i++] = (clockseq >>> 8) | 0x80; + + // `clock_seq_low` + b[i++] = clockseq & 0xff; + + // `node` + for (var n = 0; n < 6; ++n) { + b[i + n] = node[n]; + } + + return buf ? buf : bytesToUuid(b); + } + + module.exports = v1; + + /***/ + }, + + /***/ 3777: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = getFirstPage; + + const getPage = __webpack_require__(3265); + + function getFirstPage(octokit, link, headers) { + return getPage(octokit, link, "first", headers); + } + + /***/ + }, + + /***/ 3788: /***/ function (module) { + module.exports = { + pagination: { + GetComplianceSummary: { + input_token: "PaginationToken", + limit_key: "MaxResults", + output_token: "PaginationToken", + result_key: "SummaryList", }, - CreateSnapshot: { + GetResources: { + input_token: "PaginationToken", + limit_key: "ResourcesPerPage", + output_token: "PaginationToken", + result_key: "ResourceTagMappingList", + }, + GetTagKeys: { + input_token: "PaginationToken", + output_token: "PaginationToken", + result_key: "TagKeys", + }, + GetTagValues: { + input_token: "PaginationToken", + output_token: "PaginationToken", + result_key: "TagValues", + }, + }, + }; + + /***/ + }, + + /***/ 3801: /***/ function (module, __unusedexports, __webpack_require__) { + // Generated by CoffeeScript 1.12.7 + (function () { + var XMLDTDAttList, + XMLNode, + extend = function (child, parent) { + for (var key in parent) { + if (hasProp.call(parent, key)) child[key] = parent[key]; + } + function ctor() { + this.constructor = child; + } + ctor.prototype = parent.prototype; + child.prototype = new ctor(); + child.__super__ = parent.prototype; + return child; + }, + hasProp = {}.hasOwnProperty; + + XMLNode = __webpack_require__(6855); + + module.exports = XMLDTDAttList = (function (superClass) { + extend(XMLDTDAttList, superClass); + + function XMLDTDAttList( + parent, + elementName, + attributeName, + attributeType, + defaultValueType, + defaultValue + ) { + XMLDTDAttList.__super__.constructor.call(this, parent); + if (elementName == null) { + throw new Error("Missing DTD element name"); + } + if (attributeName == null) { + throw new Error("Missing DTD attribute name"); + } + if (!attributeType) { + throw new Error("Missing DTD attribute type"); + } + if (!defaultValueType) { + throw new Error("Missing DTD attribute default"); + } + if (defaultValueType.indexOf("#") !== 0) { + defaultValueType = "#" + defaultValueType; + } + if ( + !defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/) + ) { + throw new Error( + "Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT" + ); + } + if ( + defaultValue && + !defaultValueType.match(/^(#FIXED|#DEFAULT)$/) + ) { + throw new Error( + "Default value only applies to #FIXED or #DEFAULT" + ); + } + this.elementName = this.stringify.eleName(elementName); + this.attributeName = this.stringify.attName(attributeName); + this.attributeType = this.stringify.dtdAttType(attributeType); + this.defaultValue = this.stringify.dtdAttDefault(defaultValue); + this.defaultValueType = defaultValueType; + } + + XMLDTDAttList.prototype.toString = function (options) { + return this.options.writer.set(options).dtdAttList(this); + }; + + return XMLDTDAttList; + })(XMLNode); + }.call(this)); + + /***/ + }, + + /***/ 3814: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = which; + which.sync = whichSync; + + var isWindows = + process.platform === "win32" || + process.env.OSTYPE === "cygwin" || + process.env.OSTYPE === "msys"; + + var path = __webpack_require__(5622); + var COLON = isWindows ? ";" : ":"; + var isexe = __webpack_require__(8742); + + function getNotFoundError(cmd) { + var er = new Error("not found: " + cmd); + er.code = "ENOENT"; + + return er; + } + + function getPathInfo(cmd, opt) { + var colon = opt.colon || COLON; + var pathEnv = opt.path || process.env.PATH || ""; + var pathExt = [""]; + + pathEnv = pathEnv.split(colon); + + var pathExtExe = ""; + if (isWindows) { + pathEnv.unshift(process.cwd()); + pathExtExe = + opt.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM"; + pathExt = pathExtExe.split(colon); + + // Always test the cmd itself first. isexe will check to make sure + // it's found in the pathExt set. + if (cmd.indexOf(".") !== -1 && pathExt[0] !== "") pathExt.unshift(""); + } + + // If it has a slash, then we don't bother searching the pathenv. + // just check the file itself, and that's it. + if (cmd.match(/\//) || (isWindows && cmd.match(/\\/))) pathEnv = [""]; + + return { + env: pathEnv, + ext: pathExt, + extExe: pathExtExe, + }; + } + + function which(cmd, opt, cb) { + if (typeof opt === "function") { + cb = opt; + opt = {}; + } + + var info = getPathInfo(cmd, opt); + var pathEnv = info.env; + var pathExt = info.ext; + var pathExtExe = info.extExe; + var found = []; + + (function F(i, l) { + if (i === l) { + if (opt.all && found.length) return cb(null, found); + else return cb(getNotFoundError(cmd)); + } + + var pathPart = pathEnv[i]; + if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') + pathPart = pathPart.slice(1, -1); + + var p = path.join(pathPart, cmd); + if (!pathPart && /^\.[\\\/]/.test(cmd)) { + p = cmd.slice(0, 2) + p; + } + (function E(ii, ll) { + if (ii === ll) return F(i + 1, l); + var ext = pathExt[ii]; + isexe(p + ext, { pathExt: pathExtExe }, function (er, is) { + if (!er && is) { + if (opt.all) found.push(p + ext); + else return cb(null, p + ext); + } + return E(ii + 1, ll); + }); + })(0, pathExt.length); + })(0, pathEnv.length); + } + + function whichSync(cmd, opt) { + opt = opt || {}; + + var info = getPathInfo(cmd, opt); + var pathEnv = info.env; + var pathExt = info.ext; + var pathExtExe = info.extExe; + var found = []; + + for (var i = 0, l = pathEnv.length; i < l; i++) { + var pathPart = pathEnv[i]; + if (pathPart.charAt(0) === '"' && pathPart.slice(-1) === '"') + pathPart = pathPart.slice(1, -1); + + var p = path.join(pathPart, cmd); + if (!pathPart && /^\.[\\\/]/.test(cmd)) { + p = cmd.slice(0, 2) + p; + } + for (var j = 0, ll = pathExt.length; j < ll; j++) { + var cur = p + pathExt[j]; + var is; + try { + is = isexe.sync(cur, { pathExt: pathExtExe }); + if (is) { + if (opt.all) found.push(cur); + else return cur; + } + } catch (ex) {} + } + } + + if (opt.all && found.length) return found; + + if (opt.nothrow) return null; + + throw getNotFoundError(cmd); + } + + /***/ + }, + + /***/ 3815: /***/ function (module, __unusedexports, __webpack_require__) { + var util = __webpack_require__(395).util; + var typeOf = __webpack_require__(8194).typeOf; + + /** + * @api private + */ + var memberTypeToSetType = { + String: "String", + Number: "Number", + NumberValue: "Number", + Binary: "Binary", + }; + + /** + * @api private + */ + var DynamoDBSet = util.inherit({ + constructor: function Set(list, options) { + options = options || {}; + this.wrapperName = "Set"; + this.initialize(list, options.validate); + }, + + initialize: function (list, validate) { + var self = this; + self.values = [].concat(list); + self.detectType(); + if (validate) { + self.validate(); + } + }, + + detectType: function () { + this.type = memberTypeToSetType[typeOf(this.values[0])]; + if (!this.type) { + throw util.error(new Error(), { + code: "InvalidSetType", + message: "Sets can contain string, number, or binary values", + }); + } + }, + + validate: function () { + var self = this; + var length = self.values.length; + var values = self.values; + for (var i = 0; i < length; i++) { + if (memberTypeToSetType[typeOf(values[i])] !== self.type) { + throw util.error(new Error(), { + code: "InvalidType", + message: + self.type + " Set contains " + typeOf(values[i]) + " value", + }); + } + } + }, + + /** + * Render the underlying values only when converting to JSON. + */ + toJSON: function () { + var self = this; + return self.values; + }, + }); + + /** + * @api private + */ + module.exports = DynamoDBSet; + + /***/ + }, + + /***/ 3824: /***/ function (module) { + module.exports = { + pagination: { + ListLanguageModels: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListMedicalTranscriptionJobs: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListMedicalVocabularies: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListTranscriptionJobs: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListVocabularies: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListVocabularyFilters: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + }, + }; + + /***/ + }, + + /***/ 3825: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["sagemakeredge"] = {}; + AWS.SagemakerEdge = Service.defineService("sagemakeredge", [ + "2020-09-23", + ]); + Object.defineProperty(apiLoader.services["sagemakeredge"], "2020-09-23", { + get: function get() { + var model = __webpack_require__(7375); + model.paginators = __webpack_require__(6178).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.SagemakerEdge; + + /***/ + }, + + /***/ 3853: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["codestarnotifications"] = {}; + AWS.CodeStarNotifications = Service.defineService( + "codestarnotifications", + ["2019-10-15"] + ); + Object.defineProperty( + apiLoader.services["codestarnotifications"], + "2019-10-15", + { + get: function get() { + var model = __webpack_require__(7913); + model.paginators = __webpack_require__(4409).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.CodeStarNotifications; + + /***/ + }, + + /***/ 3861: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); + var resolveRegionalEndpointsFlag = __webpack_require__(6232); + var ENV_REGIONAL_ENDPOINT_ENABLED = "AWS_STS_REGIONAL_ENDPOINTS"; + var CONFIG_REGIONAL_ENDPOINT_ENABLED = "sts_regional_endpoints"; + + AWS.util.update(AWS.STS.prototype, { + /** + * @overload credentialsFrom(data, credentials = null) + * Creates a credentials object from STS response data containing + * credentials information. Useful for quickly setting AWS credentials. + * + * @note This is a low-level utility function. If you want to load temporary + * credentials into your process for subsequent requests to AWS resources, + * you should use {AWS.TemporaryCredentials} instead. + * @param data [map] data retrieved from a call to {getFederatedToken}, + * {getSessionToken}, {assumeRole}, or {assumeRoleWithWebIdentity}. + * @param credentials [AWS.Credentials] an optional credentials object to + * fill instead of creating a new object. Useful when modifying an + * existing credentials object from a refresh call. + * @return [AWS.TemporaryCredentials] the set of temporary credentials + * loaded from a raw STS operation response. + * @example Using credentialsFrom to load global AWS credentials + * var sts = new AWS.STS(); + * sts.getSessionToken(function (err, data) { + * if (err) console.log("Error getting credentials"); + * else { + * AWS.config.credentials = sts.credentialsFrom(data); + * } + * }); + * @see AWS.TemporaryCredentials + */ + credentialsFrom: function credentialsFrom(data, credentials) { + if (!data) return null; + if (!credentials) credentials = new AWS.TemporaryCredentials(); + credentials.expired = false; + credentials.accessKeyId = data.Credentials.AccessKeyId; + credentials.secretAccessKey = data.Credentials.SecretAccessKey; + credentials.sessionToken = data.Credentials.SessionToken; + credentials.expireTime = data.Credentials.Expiration; + return credentials; + }, + + assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity( + params, + callback + ) { + return this.makeUnauthenticatedRequest( + "assumeRoleWithWebIdentity", + params, + callback + ); + }, + + assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) { + return this.makeUnauthenticatedRequest( + "assumeRoleWithSAML", + params, + callback + ); + }, + + /** + * @api private + */ + setupRequestListeners: function setupRequestListeners(request) { + request.addListener("validate", this.optInRegionalEndpoint, true); + }, + + /** + * @api private + */ + optInRegionalEndpoint: function optInRegionalEndpoint(req) { + var service = req.service; + var config = service.config; + config.stsRegionalEndpoints = resolveRegionalEndpointsFlag( + service._originalConfig, + { + env: ENV_REGIONAL_ENDPOINT_ENABLED, + sharedConfig: CONFIG_REGIONAL_ENDPOINT_ENABLED, + clientConfig: "stsRegionalEndpoints", + } + ); + if ( + config.stsRegionalEndpoints === "regional" && + service.isGlobalEndpoint + ) { + //client will throw if region is not supplied; request will be signed with specified region + if (!config.region) { + throw AWS.util.error(new Error(), { + code: "ConfigError", + message: "Missing region in config", + }); + } + var insertPoint = config.endpoint.indexOf(".amazonaws.com"); + var regionalEndpoint = + config.endpoint.substring(0, insertPoint) + + "." + + config.region + + config.endpoint.substring(insertPoint); + req.httpRequest.updateEndpoint(regionalEndpoint); + req.httpRequest.region = config.region; + } + }, + }); + + /***/ + }, + + /***/ 3862: /***/ function (module, __unusedexports, __webpack_require__) { + var util = __webpack_require__(395).util; + var Transform = __webpack_require__(2413).Transform; + var allocBuffer = util.buffer.alloc; + + /** @type {Transform} */ + function EventMessageChunkerStream(options) { + Transform.call(this, options); + + this.currentMessageTotalLength = 0; + this.currentMessagePendingLength = 0; + /** @type {Buffer} */ + this.currentMessage = null; + + /** @type {Buffer} */ + this.messageLengthBuffer = null; + } + + EventMessageChunkerStream.prototype = Object.create(Transform.prototype); + + /** + * + * @param {Buffer} chunk + * @param {string} encoding + * @param {*} callback + */ + EventMessageChunkerStream.prototype._transform = function ( + chunk, + encoding, + callback + ) { + var chunkLength = chunk.length; + var currentOffset = 0; + + while (currentOffset < chunkLength) { + // create new message if necessary + if (!this.currentMessage) { + // working on a new message, determine total length + var bytesRemaining = chunkLength - currentOffset; + // prevent edge case where total length spans 2 chunks + if (!this.messageLengthBuffer) { + this.messageLengthBuffer = allocBuffer(4); + } + var numBytesForTotal = Math.min( + 4 - this.currentMessagePendingLength, // remaining bytes to fill the messageLengthBuffer + bytesRemaining // bytes left in chunk + ); + + chunk.copy( + this.messageLengthBuffer, + this.currentMessagePendingLength, + currentOffset, + currentOffset + numBytesForTotal + ); + + this.currentMessagePendingLength += numBytesForTotal; + currentOffset += numBytesForTotal; + + if (this.currentMessagePendingLength < 4) { + // not enough information to create the current message + break; + } + this.allocateMessage(this.messageLengthBuffer.readUInt32BE(0)); + this.messageLengthBuffer = null; + } + + // write data into current message + var numBytesToWrite = Math.min( + this.currentMessageTotalLength - this.currentMessagePendingLength, // number of bytes left to complete message + chunkLength - currentOffset // number of bytes left in the original chunk + ); + chunk.copy( + this.currentMessage, // target buffer + this.currentMessagePendingLength, // target offset + currentOffset, // chunk offset + currentOffset + numBytesToWrite // chunk end to write + ); + this.currentMessagePendingLength += numBytesToWrite; + currentOffset += numBytesToWrite; + + // check if a message is ready to be pushed + if ( + this.currentMessageTotalLength && + this.currentMessageTotalLength === this.currentMessagePendingLength + ) { + // push out the message + this.push(this.currentMessage); + // cleanup + this.currentMessage = null; + this.currentMessageTotalLength = 0; + this.currentMessagePendingLength = 0; + } + } + + callback(); + }; + + EventMessageChunkerStream.prototype._flush = function (callback) { + if (this.currentMessageTotalLength) { + if ( + this.currentMessageTotalLength === this.currentMessagePendingLength + ) { + callback(null, this.currentMessage); + } else { + callback(new Error("Truncated event message received.")); + } + } else { + callback(); + } + }; + + /** + * @param {number} size Size of the message to be allocated. + * @api private + */ + EventMessageChunkerStream.prototype.allocateMessage = function (size) { + if (typeof size !== "number") { + throw new Error( + "Attempted to allocate an event message where size was not a number: " + + size + ); + } + this.currentMessageTotalLength = size; + this.currentMessagePendingLength = 4; + this.currentMessage = allocBuffer(size); + this.currentMessage.writeUInt32BE(size, 0); + }; + + /** + * @api private + */ + module.exports = { + EventMessageChunkerStream: EventMessageChunkerStream, + }; + + /***/ + }, + + /***/ 3870: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["appflow"] = {}; + AWS.Appflow = Service.defineService("appflow", ["2020-08-23"]); + Object.defineProperty(apiLoader.services["appflow"], "2020-08-23", { + get: function get() { + var model = __webpack_require__(8431); + model.paginators = __webpack_require__(9839).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.Appflow; + + /***/ + }, + + /***/ 3877: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["ec2"] = {}; + AWS.EC2 = Service.defineService("ec2", [ + "2013-06-15*", + "2013-10-15*", + "2014-02-01*", + "2014-05-01*", + "2014-06-15*", + "2014-09-01*", + "2014-10-01*", + "2015-03-01*", + "2015-04-15*", + "2015-10-01*", + "2016-04-01*", + "2016-09-15*", + "2016-11-15", + ]); + __webpack_require__(6925); + Object.defineProperty(apiLoader.services["ec2"], "2016-11-15", { + get: function get() { + var model = __webpack_require__(9206); + model.paginators = __webpack_require__(47).pagination; + model.waiters = __webpack_require__(1511).waiters; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.EC2; + + /***/ + }, + + /***/ 3881: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2019-06-10", + endpointPrefix: "portal.sso", + jsonVersion: "1.1", + protocol: "rest-json", + serviceAbbreviation: "SSO", + serviceFullName: "AWS Single Sign-On", + serviceId: "SSO", + signatureVersion: "v4", + signingName: "awsssoportal", + uid: "sso-2019-06-10", + }, + operations: { + GetRoleCredentials: { + http: { method: "GET", requestUri: "/federation/credentials" }, input: { type: "structure", - required: ["VolumeARN", "SnapshotDescription"], + required: ["roleName", "accountId", "accessToken"], members: { - VolumeARN: {}, - SnapshotDescription: {}, - Tags: { shape: "S9" }, + roleName: { + location: "querystring", + locationName: "role_name", + }, + accountId: { + location: "querystring", + locationName: "account_id", + }, + accessToken: { + shape: "S4", + location: "header", + locationName: "x-amz-sso_bearer_token", + }, }, }, output: { type: "structure", - members: { VolumeARN: {}, SnapshotId: {} }, + members: { + roleCredentials: { + type: "structure", + members: { + accessKeyId: {}, + secretAccessKey: { type: "string", sensitive: true }, + sessionToken: { type: "string", sensitive: true }, + expiration: { type: "long" }, + }, + }, + }, }, + authtype: "none", }, - CreateSnapshotFromVolumeRecoveryPoint: { + ListAccountRoles: { + http: { method: "GET", requestUri: "/assignment/roles" }, input: { type: "structure", - required: ["VolumeARN", "SnapshotDescription"], + required: ["accessToken", "accountId"], members: { - VolumeARN: {}, - SnapshotDescription: {}, - Tags: { shape: "S9" }, + nextToken: { + location: "querystring", + locationName: "next_token", + }, + maxResults: { + location: "querystring", + locationName: "max_result", + type: "integer", + }, + accessToken: { + shape: "S4", + location: "header", + locationName: "x-amz-sso_bearer_token", + }, + accountId: { + location: "querystring", + locationName: "account_id", + }, }, }, output: { type: "structure", members: { - SnapshotId: {}, - VolumeARN: {}, - VolumeRecoveryPointTime: {}, + nextToken: {}, + roleList: { + type: "list", + member: { + type: "structure", + members: { roleName: {}, accountId: {} }, + }, + }, }, }, + authtype: "none", }, - CreateStorediSCSIVolume: { + ListAccounts: { + http: { method: "GET", requestUri: "/assignment/accounts" }, input: { type: "structure", - required: [ - "GatewayARN", - "DiskId", - "PreserveExistingData", - "TargetName", - "NetworkInterfaceId", - ], + required: ["accessToken"], members: { - GatewayARN: {}, - DiskId: {}, - SnapshotId: {}, - PreserveExistingData: { type: "boolean" }, - TargetName: {}, - NetworkInterfaceId: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - Tags: { shape: "S9" }, + nextToken: { + location: "querystring", + locationName: "next_token", + }, + maxResults: { + location: "querystring", + locationName: "max_result", + type: "integer", + }, + accessToken: { + shape: "S4", + location: "header", + locationName: "x-amz-sso_bearer_token", + }, }, }, output: { type: "structure", members: { - VolumeARN: {}, - VolumeSizeInBytes: { type: "long" }, - TargetARN: {}, - }, - }, - }, - CreateTapeWithBarcode: { - input: { - type: "structure", - required: ["GatewayARN", "TapeSizeInBytes", "TapeBarcode"], - members: { - GatewayARN: {}, - TapeSizeInBytes: { type: "long" }, - TapeBarcode: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - PoolId: {}, - Tags: { shape: "S9" }, + nextToken: {}, + accountList: { + type: "list", + member: { + type: "structure", + members: { + accountId: {}, + accountName: {}, + emailAddress: {}, + }, + }, + }, }, }, - output: { type: "structure", members: { TapeARN: {} } }, + authtype: "none", }, - CreateTapes: { + Logout: { + http: { requestUri: "/logout" }, input: { type: "structure", - required: [ - "GatewayARN", - "TapeSizeInBytes", - "ClientToken", - "NumTapesToCreate", - "TapeBarcodePrefix", - ], + required: ["accessToken"], members: { - GatewayARN: {}, - TapeSizeInBytes: { type: "long" }, - ClientToken: {}, - NumTapesToCreate: { type: "integer" }, - TapeBarcodePrefix: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - PoolId: {}, - Tags: { shape: "S9" }, + accessToken: { + shape: "S4", + location: "header", + locationName: "x-amz-sso_bearer_token", + }, + }, + }, + authtype: "none", + }, + }, + shapes: { S4: { type: "string", sensitive: true } }, + }; + + /***/ + }, + + /***/ 3889: /***/ function (module) { + module.exports = { + pagination: { + DescribeApplicationVersions: { result_key: "ApplicationVersions" }, + DescribeApplications: { result_key: "Applications" }, + DescribeConfigurationOptions: { result_key: "Options" }, + DescribeEnvironmentManagedActionHistory: { + input_token: "NextToken", + limit_key: "MaxItems", + output_token: "NextToken", + result_key: "ManagedActionHistoryItems", + }, + DescribeEnvironments: { result_key: "Environments" }, + DescribeEvents: { + input_token: "NextToken", + limit_key: "MaxRecords", + output_token: "NextToken", + result_key: "Events", + }, + ListAvailableSolutionStacks: { result_key: "SolutionStacks" }, + ListPlatformBranches: { + input_token: "NextToken", + limit_key: "MaxRecords", + output_token: "NextToken", + }, + ListPlatformVersions: { + input_token: "NextToken", + limit_key: "MaxRecords", + output_token: "NextToken", + result_key: "PlatformSummaryList", + }, + }, + }; + + /***/ + }, + + /***/ 3916: /***/ function (module) { + module.exports = { + pagination: { + DescribeDBClusterEndpoints: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBClusterEndpoints", + }, + DescribeDBEngineVersions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBEngineVersions", + }, + DescribeDBInstances: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBInstances", + }, + DescribeDBParameterGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBParameterGroups", + }, + DescribeDBParameters: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "Parameters", + }, + DescribeDBSubnetGroups: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "DBSubnetGroups", + }, + DescribeEngineDefaultParameters: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "EngineDefaults.Marker", + result_key: "EngineDefaults.Parameters", + }, + DescribeEventSubscriptions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "EventSubscriptionsList", + }, + DescribeEvents: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "Events", + }, + DescribeOrderableDBInstanceOptions: { + input_token: "Marker", + limit_key: "MaxRecords", + output_token: "Marker", + result_key: "OrderableDBInstanceOptions", + }, + ListTagsForResource: { result_key: "TagList" }, + }, + }; + + /***/ + }, + + /***/ 3929: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = hasNextPage; + + const deprecate = __webpack_require__(6370); + const getPageLinks = __webpack_require__(4577); + + function hasNextPage(link) { + deprecate( + `octokit.hasNextPage() – You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.` + ); + return getPageLinks(link).next; + } + + /***/ + }, + + /***/ 3964: /***/ function (module, __unusedexports, __webpack_require__) { + var Shape = __webpack_require__(3682); + + var util = __webpack_require__(153); + var property = util.property; + var memoizedProperty = util.memoizedProperty; + + function Operation(name, operation, options) { + var self = this; + options = options || {}; + + property(this, "name", operation.name || name); + property(this, "api", options.api, false); + + operation.http = operation.http || {}; + property(this, "endpoint", operation.endpoint); + property(this, "httpMethod", operation.http.method || "POST"); + property(this, "httpPath", operation.http.requestUri || "/"); + property(this, "authtype", operation.authtype || ""); + property( + this, + "endpointDiscoveryRequired", + operation.endpointdiscovery + ? operation.endpointdiscovery.required + ? "REQUIRED" + : "OPTIONAL" + : "NULL" + ); + + memoizedProperty(this, "input", function () { + if (!operation.input) { + return new Shape.create({ type: "structure" }, options); + } + return Shape.create(operation.input, options); + }); + + memoizedProperty(this, "output", function () { + if (!operation.output) { + return new Shape.create({ type: "structure" }, options); + } + return Shape.create(operation.output, options); + }); + + memoizedProperty(this, "errors", function () { + var list = []; + if (!operation.errors) return null; + + for (var i = 0; i < operation.errors.length; i++) { + list.push(Shape.create(operation.errors[i], options)); + } + + return list; + }); + + memoizedProperty(this, "paginator", function () { + return options.api.paginators[name]; + }); + + if (options.documentation) { + property(this, "documentation", operation.documentation); + property(this, "documentationUrl", operation.documentationUrl); + } + + // idempotentMembers only tracks top-level input shapes + memoizedProperty(this, "idempotentMembers", function () { + var idempotentMembers = []; + var input = self.input; + var members = input.members; + if (!input.members) { + return idempotentMembers; + } + for (var name in members) { + if (!members.hasOwnProperty(name)) { + continue; + } + if (members[name].isIdempotent === true) { + idempotentMembers.push(name); + } + } + return idempotentMembers; + }); + + memoizedProperty(this, "hasEventOutput", function () { + var output = self.output; + return hasEventStream(output); + }); + } + + function hasEventStream(topLevelShape) { + var members = topLevelShape.members; + var payload = topLevelShape.payload; + + if (!topLevelShape.members) { + return false; + } + + if (payload) { + var payloadMember = members[payload]; + return payloadMember.isEventStream; + } + + // check if any member is an event stream + for (var name in members) { + if (!members.hasOwnProperty(name)) { + if (members[name].isEventStream === true) { + return true; + } + } + } + return false; + } + + /** + * @api private + */ + module.exports = Operation; + + /***/ + }, + + /***/ 3977: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); + + /** + * @api private + */ + AWS.ParamValidator = AWS.util.inherit({ + /** + * Create a new validator object. + * + * @param validation [Boolean|map] whether input parameters should be + * validated against the operation description before sending the + * request. Pass a map to enable any of the following specific + * validation features: + * + * * **min** [Boolean] — Validates that a value meets the min + * constraint. This is enabled by default when paramValidation is set + * to `true`. + * * **max** [Boolean] — Validates that a value meets the max + * constraint. + * * **pattern** [Boolean] — Validates that a string value matches a + * regular expression. + * * **enum** [Boolean] — Validates that a string value matches one + * of the allowable enum values. + */ + constructor: function ParamValidator(validation) { + if (validation === true || validation === undefined) { + validation = { min: true }; + } + this.validation = validation; + }, + + validate: function validate(shape, params, context) { + this.errors = []; + this.validateMember(shape, params || {}, context || "params"); + + if (this.errors.length > 1) { + var msg = this.errors.join("\n* "); + msg = + "There were " + + this.errors.length + + " validation errors:\n* " + + msg; + throw AWS.util.error(new Error(msg), { + code: "MultipleValidationErrors", + errors: this.errors, + }); + } else if (this.errors.length === 1) { + throw this.errors[0]; + } else { + return true; + } + }, + + fail: function fail(code, message) { + this.errors.push(AWS.util.error(new Error(message), { code: code })); + }, + + validateStructure: function validateStructure(shape, params, context) { + this.validateType(params, context, ["object"], "structure"); + + var paramName; + for (var i = 0; shape.required && i < shape.required.length; i++) { + paramName = shape.required[i]; + var value = params[paramName]; + if (value === undefined || value === null) { + this.fail( + "MissingRequiredParameter", + "Missing required key '" + paramName + "' in " + context + ); + } + } + + // validate hash members + for (paramName in params) { + if (!Object.prototype.hasOwnProperty.call(params, paramName)) + continue; + + var paramValue = params[paramName], + memberShape = shape.members[paramName]; + + if (memberShape !== undefined) { + var memberContext = [context, paramName].join("."); + this.validateMember(memberShape, paramValue, memberContext); + } else { + this.fail( + "UnexpectedParameter", + "Unexpected key '" + paramName + "' found in " + context + ); + } + } + + return true; + }, + + validateMember: function validateMember(shape, param, context) { + switch (shape.type) { + case "structure": + return this.validateStructure(shape, param, context); + case "list": + return this.validateList(shape, param, context); + case "map": + return this.validateMap(shape, param, context); + default: + return this.validateScalar(shape, param, context); + } + }, + + validateList: function validateList(shape, params, context) { + if (this.validateType(params, context, [Array])) { + this.validateRange( + shape, + params.length, + context, + "list member count" + ); + // validate array members + for (var i = 0; i < params.length; i++) { + this.validateMember( + shape.member, + params[i], + context + "[" + i + "]" + ); + } + } + }, + + validateMap: function validateMap(shape, params, context) { + if (this.validateType(params, context, ["object"], "map")) { + // Build up a count of map members to validate range traits. + var mapCount = 0; + for (var param in params) { + if (!Object.prototype.hasOwnProperty.call(params, param)) + continue; + // Validate any map key trait constraints + this.validateMember( + shape.key, + param, + context + "[key='" + param + "']" + ); + this.validateMember( + shape.value, + params[param], + context + "['" + param + "']" + ); + mapCount++; + } + this.validateRange(shape, mapCount, context, "map member count"); + } + }, + + validateScalar: function validateScalar(shape, value, context) { + switch (shape.type) { + case null: + case undefined: + case "string": + return this.validateString(shape, value, context); + case "base64": + case "binary": + return this.validatePayload(value, context); + case "integer": + case "float": + return this.validateNumber(shape, value, context); + case "boolean": + return this.validateType(value, context, ["boolean"]); + case "timestamp": + return this.validateType( + value, + context, + [ + Date, + /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, + "number", + ], + "Date object, ISO-8601 string, or a UNIX timestamp" + ); + default: + return this.fail( + "UnkownType", + "Unhandled type " + shape.type + " for " + context + ); + } + }, + + validateString: function validateString(shape, value, context) { + var validTypes = ["string"]; + if (shape.isJsonValue) { + validTypes = validTypes.concat(["number", "object", "boolean"]); + } + if (value !== null && this.validateType(value, context, validTypes)) { + this.validateEnum(shape, value, context); + this.validateRange(shape, value.length, context, "string length"); + this.validatePattern(shape, value, context); + this.validateUri(shape, value, context); + } + }, + + validateUri: function validateUri(shape, value, context) { + if (shape["location"] === "uri") { + if (value.length === 0) { + this.fail( + "UriParameterError", + "Expected uri parameter to have length >= 1," + + ' but found "' + + value + + '" for ' + + context + ); + } + } + }, + + validatePattern: function validatePattern(shape, value, context) { + if (this.validation["pattern"] && shape["pattern"] !== undefined) { + if (!new RegExp(shape["pattern"]).test(value)) { + this.fail( + "PatternMatchError", + 'Provided value "' + + value + + '" ' + + "does not match regex pattern /" + + shape["pattern"] + + "/ for " + + context + ); + } + } + }, + + validateRange: function validateRange( + shape, + value, + context, + descriptor + ) { + if (this.validation["min"]) { + if (shape["min"] !== undefined && value < shape["min"]) { + this.fail( + "MinRangeError", + "Expected " + + descriptor + + " >= " + + shape["min"] + + ", but found " + + value + + " for " + + context + ); + } + } + if (this.validation["max"]) { + if (shape["max"] !== undefined && value > shape["max"]) { + this.fail( + "MaxRangeError", + "Expected " + + descriptor + + " <= " + + shape["max"] + + ", but found " + + value + + " for " + + context + ); + } + } + }, + + validateEnum: function validateRange(shape, value, context) { + if (this.validation["enum"] && shape["enum"] !== undefined) { + // Fail if the string value is not present in the enum list + if (shape["enum"].indexOf(value) === -1) { + this.fail( + "EnumError", + "Found string value of " + + value + + ", but " + + "expected " + + shape["enum"].join("|") + + " for " + + context + ); + } + } + }, + + validateType: function validateType( + value, + context, + acceptedTypes, + type + ) { + // We will not log an error for null or undefined, but we will return + // false so that callers know that the expected type was not strictly met. + if (value === null || value === undefined) return false; + + var foundInvalidType = false; + for (var i = 0; i < acceptedTypes.length; i++) { + if (typeof acceptedTypes[i] === "string") { + if (typeof value === acceptedTypes[i]) return true; + } else if (acceptedTypes[i] instanceof RegExp) { + if ((value || "").toString().match(acceptedTypes[i])) return true; + } else { + if (value instanceof acceptedTypes[i]) return true; + if (AWS.util.isType(value, acceptedTypes[i])) return true; + if (!type && !foundInvalidType) + acceptedTypes = acceptedTypes.slice(); + acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]); + } + foundInvalidType = true; + } + + var acceptedType = type; + if (!acceptedType) { + acceptedType = acceptedTypes + .join(", ") + .replace(/,([^,]+)$/, ", or$1"); + } + + var vowel = acceptedType.match(/^[aeiou]/i) ? "n" : ""; + this.fail( + "InvalidParameterType", + "Expected " + context + " to be a" + vowel + " " + acceptedType + ); + return false; + }, + + validateNumber: function validateNumber(shape, value, context) { + if (value === null || value === undefined) return; + if (typeof value === "string") { + var castedValue = parseFloat(value); + if (castedValue.toString() === value) value = castedValue; + } + if (this.validateType(value, context, ["number"])) { + this.validateRange(shape, value, context, "numeric value"); + } + }, + + validatePayload: function validatePayload(value, context) { + if (value === null || value === undefined) return; + if (typeof value === "string") return; + if (value && typeof value.byteLength === "number") return; // typed arrays + if (AWS.util.isNode()) { + // special check for buffer/stream in Node.js + var Stream = AWS.util.stream.Stream; + if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) + return; + } else { + if (typeof Blob !== void 0 && value instanceof Blob) return; + } + + var types = [ + "Buffer", + "Stream", + "File", + "Blob", + "ArrayBuffer", + "DataView", + ]; + if (value) { + for (var i = 0; i < types.length; i++) { + if (AWS.util.isType(value, types[i])) return; + if (AWS.util.typeName(value.constructor) === types[i]) return; + } + } + + this.fail( + "InvalidParameterType", + "Expected " + + context + + " to be a " + + "string, Buffer, Stream, Blob, or typed array object" + ); + }, + }); + + /***/ + }, + + /***/ 3985: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2010-03-31", + endpointPrefix: "sns", + protocol: "query", + serviceAbbreviation: "Amazon SNS", + serviceFullName: "Amazon Simple Notification Service", + serviceId: "SNS", + signatureVersion: "v4", + uid: "sns-2010-03-31", + xmlNamespace: "http://sns.amazonaws.com/doc/2010-03-31/", + }, + operations: { + AddPermission: { + input: { + type: "structure", + required: ["TopicArn", "Label", "AWSAccountId", "ActionName"], + members: { + TopicArn: {}, + Label: {}, + AWSAccountId: { type: "list", member: {} }, + ActionName: { type: "list", member: {} }, }, }, + }, + CheckIfPhoneNumberIsOptedOut: { + input: { + type: "structure", + required: ["phoneNumber"], + members: { phoneNumber: {} }, + }, output: { + resultWrapper: "CheckIfPhoneNumberIsOptedOutResult", type: "structure", - members: { TapeARNs: { shape: "S2b" } }, + members: { isOptedOut: { type: "boolean" } }, }, }, - DeleteBandwidthRateLimit: { + ConfirmSubscription: { input: { type: "structure", - required: ["GatewayARN", "BandwidthType"], - members: { GatewayARN: {}, BandwidthType: {} }, + required: ["TopicArn", "Token"], + members: { + TopicArn: {}, + Token: {}, + AuthenticateOnUnsubscribe: {}, + }, + }, + output: { + resultWrapper: "ConfirmSubscriptionResult", + type: "structure", + members: { SubscriptionArn: {} }, }, - output: { type: "structure", members: { GatewayARN: {} } }, }, - DeleteChapCredentials: { + CreatePlatformApplication: { input: { type: "structure", - required: ["TargetARN", "InitiatorName"], - members: { TargetARN: {}, InitiatorName: {} }, + required: ["Name", "Platform", "Attributes"], + members: { Name: {}, Platform: {}, Attributes: { shape: "Sj" } }, }, output: { + resultWrapper: "CreatePlatformApplicationResult", type: "structure", - members: { TargetARN: {}, InitiatorName: {} }, + members: { PlatformApplicationArn: {} }, }, }, - DeleteFileShare: { + CreatePlatformEndpoint: { input: { type: "structure", - required: ["FileShareARN"], - members: { FileShareARN: {}, ForceDelete: { type: "boolean" } }, + required: ["PlatformApplicationArn", "Token"], + members: { + PlatformApplicationArn: {}, + Token: {}, + CustomUserData: {}, + Attributes: { shape: "Sj" }, + }, + }, + output: { + resultWrapper: "CreatePlatformEndpointResult", + type: "structure", + members: { EndpointArn: {} }, }, - output: { type: "structure", members: { FileShareARN: {} } }, }, - DeleteGateway: { + CreateTopic: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["Name"], + members: { + Name: {}, + Attributes: { shape: "Sp" }, + Tags: { shape: "Ss" }, + }, + }, + output: { + resultWrapper: "CreateTopicResult", + type: "structure", + members: { TopicArn: {} }, }, - output: { type: "structure", members: { GatewayARN: {} } }, }, - DeleteSnapshotSchedule: { + DeleteEndpoint: { input: { type: "structure", - required: ["VolumeARN"], - members: { VolumeARN: {} }, + required: ["EndpointArn"], + members: { EndpointArn: {} }, }, - output: { type: "structure", members: { VolumeARN: {} } }, }, - DeleteTape: { + DeletePlatformApplication: { input: { type: "structure", - required: ["GatewayARN", "TapeARN"], - members: { GatewayARN: {}, TapeARN: {} }, + required: ["PlatformApplicationArn"], + members: { PlatformApplicationArn: {} }, }, - output: { type: "structure", members: { TapeARN: {} } }, }, - DeleteTapeArchive: { + DeleteTopic: { input: { type: "structure", - required: ["TapeARN"], - members: { TapeARN: {} }, + required: ["TopicArn"], + members: { TopicArn: {} }, }, - output: { type: "structure", members: { TapeARN: {} } }, }, - DeleteVolume: { + GetEndpointAttributes: { input: { type: "structure", - required: ["VolumeARN"], - members: { VolumeARN: {} }, + required: ["EndpointArn"], + members: { EndpointArn: {} }, + }, + output: { + resultWrapper: "GetEndpointAttributesResult", + type: "structure", + members: { Attributes: { shape: "Sj" } }, }, - output: { type: "structure", members: { VolumeARN: {} } }, }, - DescribeAvailabilityMonitorTest: { + GetPlatformApplicationAttributes: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["PlatformApplicationArn"], + members: { PlatformApplicationArn: {} }, }, output: { + resultWrapper: "GetPlatformApplicationAttributesResult", type: "structure", - members: { - GatewayARN: {}, - Status: {}, - StartTime: { type: "timestamp" }, - }, + members: { Attributes: { shape: "Sj" } }, }, }, - DescribeBandwidthRateLimit: { + GetSMSAttributes: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + members: { attributes: { type: "list", member: {} } }, }, output: { + resultWrapper: "GetSMSAttributesResult", type: "structure", - members: { - GatewayARN: {}, - AverageUploadRateLimitInBitsPerSec: { type: "long" }, - AverageDownloadRateLimitInBitsPerSec: { type: "long" }, - }, + members: { attributes: { shape: "Sj" } }, }, }, - DescribeCache: { + GetSubscriptionAttributes: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["SubscriptionArn"], + members: { SubscriptionArn: {} }, }, output: { + resultWrapper: "GetSubscriptionAttributesResult", type: "structure", - members: { - GatewayARN: {}, - DiskIds: { shape: "Sg" }, - CacheAllocatedInBytes: { type: "long" }, - CacheUsedPercentage: { type: "double" }, - CacheDirtyPercentage: { type: "double" }, - CacheHitPercentage: { type: "double" }, - CacheMissPercentage: { type: "double" }, - }, + members: { Attributes: { shape: "S19" } }, }, }, - DescribeCachediSCSIVolumes: { + GetTopicAttributes: { input: { type: "structure", - required: ["VolumeARNs"], - members: { VolumeARNs: { shape: "S36" } }, + required: ["TopicArn"], + members: { TopicArn: {} }, }, output: { + resultWrapper: "GetTopicAttributesResult", type: "structure", - members: { - CachediSCSIVolumes: { - type: "list", - member: { - type: "structure", - members: { - VolumeARN: {}, - VolumeId: {}, - VolumeType: {}, - VolumeStatus: {}, - VolumeAttachmentStatus: {}, - VolumeSizeInBytes: { type: "long" }, - VolumeProgress: { type: "double" }, - SourceSnapshotId: {}, - VolumeiSCSIAttributes: { shape: "S3f" }, - CreatedDate: { type: "timestamp" }, - VolumeUsedInBytes: { type: "long" }, - KMSKey: {}, - TargetName: {}, - }, - }, - }, - }, + members: { Attributes: { shape: "Sp" } }, }, }, - DescribeChapCredentials: { + ListEndpointsByPlatformApplication: { input: { type: "structure", - required: ["TargetARN"], - members: { TargetARN: {} }, + required: ["PlatformApplicationArn"], + members: { PlatformApplicationArn: {}, NextToken: {} }, }, output: { + resultWrapper: "ListEndpointsByPlatformApplicationResult", type: "structure", members: { - ChapCredentials: { + Endpoints: { type: "list", member: { type: "structure", - members: { - TargetARN: {}, - SecretToAuthenticateInitiator: { shape: "S3o" }, - InitiatorName: {}, - SecretToAuthenticateTarget: { shape: "S3o" }, - }, + members: { EndpointArn: {}, Attributes: { shape: "Sj" } }, }, }, + NextToken: {}, }, }, }, - DescribeGatewayInformation: { - input: { + ListPhoneNumbersOptedOut: { + input: { type: "structure", members: { nextToken: {} } }, + output: { + resultWrapper: "ListPhoneNumbersOptedOutResult", type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + members: { + phoneNumbers: { type: "list", member: {} }, + nextToken: {}, + }, }, + }, + ListPlatformApplications: { + input: { type: "structure", members: { NextToken: {} } }, output: { + resultWrapper: "ListPlatformApplicationsResult", type: "structure", members: { - GatewayARN: {}, - GatewayId: {}, - GatewayName: {}, - GatewayTimezone: {}, - GatewayState: {}, - GatewayNetworkInterfaces: { + PlatformApplications: { type: "list", member: { type: "structure", members: { - Ipv4Address: {}, - MacAddress: {}, - Ipv6Address: {}, + PlatformApplicationArn: {}, + Attributes: { shape: "Sj" }, }, }, }, - GatewayType: {}, - NextUpdateAvailabilityDate: {}, - LastSoftwareUpdate: {}, - Ec2InstanceId: {}, - Ec2InstanceRegion: {}, - Tags: { shape: "S9" }, - VPCEndpoint: {}, - CloudWatchLogGroupARN: {}, - HostEnvironment: {}, + NextToken: {}, }, }, }, - DescribeMaintenanceStartTime: { - input: { - type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, - }, + ListSubscriptions: { + input: { type: "structure", members: { NextToken: {} } }, output: { + resultWrapper: "ListSubscriptionsResult", type: "structure", - members: { - GatewayARN: {}, - HourOfDay: { type: "integer" }, - MinuteOfHour: { type: "integer" }, - DayOfWeek: { type: "integer" }, - DayOfMonth: { type: "integer" }, - Timezone: {}, - }, + members: { Subscriptions: { shape: "S1r" }, NextToken: {} }, }, }, - DescribeNFSFileShares: { + ListSubscriptionsByTopic: { input: { type: "structure", - required: ["FileShareARNList"], - members: { FileShareARNList: { shape: "S48" } }, + required: ["TopicArn"], + members: { TopicArn: {}, NextToken: {} }, }, output: { + resultWrapper: "ListSubscriptionsByTopicResult", type: "structure", - members: { - NFSFileShareInfoList: { - type: "list", - member: { - type: "structure", - members: { - NFSFileShareDefaults: { shape: "S1c" }, - FileShareARN: {}, - FileShareId: {}, - FileShareStatus: {}, - GatewayARN: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - Path: {}, - Role: {}, - LocationARN: {}, - DefaultStorageClass: {}, - ObjectACL: {}, - ClientList: { shape: "S1j" }, - Squash: {}, - ReadOnly: { type: "boolean" }, - GuessMIMETypeEnabled: { type: "boolean" }, - RequesterPays: { type: "boolean" }, - Tags: { shape: "S9" }, - }, - }, - }, - }, + members: { Subscriptions: { shape: "S1r" }, NextToken: {} }, }, }, - DescribeSMBFileShares: { + ListTagsForResource: { input: { type: "structure", - required: ["FileShareARNList"], - members: { FileShareARNList: { shape: "S48" } }, + required: ["ResourceArn"], + members: { ResourceArn: {} }, + }, + output: { + resultWrapper: "ListTagsForResourceResult", + type: "structure", + members: { Tags: { shape: "Ss" } }, }, + }, + ListTopics: { + input: { type: "structure", members: { NextToken: {} } }, output: { + resultWrapper: "ListTopicsResult", type: "structure", members: { - SMBFileShareInfoList: { + Topics: { type: "list", - member: { - type: "structure", - members: { - FileShareARN: {}, - FileShareId: {}, - FileShareStatus: {}, - GatewayARN: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - Path: {}, - Role: {}, - LocationARN: {}, - DefaultStorageClass: {}, - ObjectACL: {}, - ReadOnly: { type: "boolean" }, - GuessMIMETypeEnabled: { type: "boolean" }, - RequesterPays: { type: "boolean" }, - SMBACLEnabled: { type: "boolean" }, - AdminUserList: { shape: "S1p" }, - ValidUserList: { shape: "S1p" }, - InvalidUserList: { shape: "S1p" }, - AuditDestinationARN: {}, - Authentication: {}, - Tags: { shape: "S9" }, - }, - }, + member: { type: "structure", members: { TopicArn: {} } }, }, + NextToken: {}, }, }, }, - DescribeSMBSettings: { + OptInPhoneNumber: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["phoneNumber"], + members: { phoneNumber: {} }, }, output: { + resultWrapper: "OptInPhoneNumberResult", type: "structure", - members: { - GatewayARN: {}, - DomainName: {}, - ActiveDirectoryStatus: {}, - SMBGuestPasswordSet: { type: "boolean" }, - SMBSecurityStrategy: {}, - }, + members: {}, }, }, - DescribeSnapshotSchedule: { + Publish: { input: { type: "structure", - required: ["VolumeARN"], - members: { VolumeARN: {} }, + required: ["Message"], + members: { + TopicArn: {}, + TargetArn: {}, + PhoneNumber: {}, + Message: {}, + Subject: {}, + MessageStructure: {}, + MessageAttributes: { + type: "map", + key: { locationName: "Name" }, + value: { + locationName: "Value", + type: "structure", + required: ["DataType"], + members: { + DataType: {}, + StringValue: {}, + BinaryValue: { type: "blob" }, + }, + }, + }, + MessageDeduplicationId: {}, + MessageGroupId: {}, + }, }, output: { + resultWrapper: "PublishResult", type: "structure", - members: { - VolumeARN: {}, - StartAt: { type: "integer" }, - RecurrenceInHours: { type: "integer" }, - Description: {}, - Timezone: {}, - Tags: { shape: "S9" }, - }, + members: { MessageId: {}, SequenceNumber: {} }, }, }, - DescribeStorediSCSIVolumes: { + RemovePermission: { input: { type: "structure", - required: ["VolumeARNs"], - members: { VolumeARNs: { shape: "S36" } }, + required: ["TopicArn", "Label"], + members: { TopicArn: {}, Label: {} }, }, - output: { + }, + SetEndpointAttributes: { + input: { type: "structure", - members: { - StorediSCSIVolumes: { - type: "list", - member: { - type: "structure", - members: { - VolumeARN: {}, - VolumeId: {}, - VolumeType: {}, - VolumeStatus: {}, - VolumeAttachmentStatus: {}, - VolumeSizeInBytes: { type: "long" }, - VolumeProgress: { type: "double" }, - VolumeDiskId: {}, - SourceSnapshotId: {}, - PreservedExistingData: { type: "boolean" }, - VolumeiSCSIAttributes: { shape: "S3f" }, - CreatedDate: { type: "timestamp" }, - VolumeUsedInBytes: { type: "long" }, - KMSKey: {}, - TargetName: {}, - }, - }, - }, - }, + required: ["EndpointArn", "Attributes"], + members: { EndpointArn: {}, Attributes: { shape: "Sj" } }, }, }, - DescribeTapeArchives: { + SetPlatformApplicationAttributes: { input: { type: "structure", + required: ["PlatformApplicationArn", "Attributes"], members: { - TapeARNs: { shape: "S2b" }, - Marker: {}, - Limit: { type: "integer" }, + PlatformApplicationArn: {}, + Attributes: { shape: "Sj" }, }, }, + }, + SetSMSAttributes: { + input: { + type: "structure", + required: ["attributes"], + members: { attributes: { shape: "Sj" } }, + }, output: { + resultWrapper: "SetSMSAttributesResult", type: "structure", - members: { - TapeArchives: { - type: "list", - member: { - type: "structure", - members: { - TapeARN: {}, - TapeBarcode: {}, - TapeCreatedDate: { type: "timestamp" }, - TapeSizeInBytes: { type: "long" }, - CompletionTime: { type: "timestamp" }, - RetrievedTo: {}, - TapeStatus: {}, - TapeUsedInBytes: { type: "long" }, - KMSKey: {}, - PoolId: {}, - }, - }, - }, - Marker: {}, - }, + members: {}, }, }, - DescribeTapeRecoveryPoints: { + SetSubscriptionAttributes: { input: { type: "structure", - required: ["GatewayARN"], + required: ["SubscriptionArn", "AttributeName"], members: { - GatewayARN: {}, - Marker: {}, - Limit: { type: "integer" }, + SubscriptionArn: {}, + AttributeName: {}, + AttributeValue: {}, }, }, - output: { + }, + SetTopicAttributes: { + input: { type: "structure", - members: { - GatewayARN: {}, - TapeRecoveryPointInfos: { - type: "list", - member: { - type: "structure", - members: { - TapeARN: {}, - TapeRecoveryPointTime: { type: "timestamp" }, - TapeSizeInBytes: { type: "long" }, - TapeStatus: {}, - }, - }, - }, - Marker: {}, - }, + required: ["TopicArn", "AttributeName"], + members: { TopicArn: {}, AttributeName: {}, AttributeValue: {} }, }, }, - DescribeTapes: { + Subscribe: { input: { type: "structure", - required: ["GatewayARN"], + required: ["TopicArn", "Protocol"], members: { - GatewayARN: {}, - TapeARNs: { shape: "S2b" }, - Marker: {}, - Limit: { type: "integer" }, + TopicArn: {}, + Protocol: {}, + Endpoint: {}, + Attributes: { shape: "S19" }, + ReturnSubscriptionArn: { type: "boolean" }, }, }, output: { + resultWrapper: "SubscribeResult", type: "structure", - members: { - Tapes: { - type: "list", - member: { - type: "structure", - members: { - TapeARN: {}, - TapeBarcode: {}, - TapeCreatedDate: { type: "timestamp" }, - TapeSizeInBytes: { type: "long" }, - TapeStatus: {}, - VTLDevice: {}, - Progress: { type: "double" }, - TapeUsedInBytes: { type: "long" }, - KMSKey: {}, - PoolId: {}, - }, - }, - }, - Marker: {}, - }, + members: { SubscriptionArn: {} }, }, }, - DescribeUploadBuffer: { + TagResource: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["ResourceArn", "Tags"], + members: { ResourceArn: {}, Tags: { shape: "Ss" } }, }, output: { + resultWrapper: "TagResourceResult", type: "structure", - members: { - GatewayARN: {}, - DiskIds: { shape: "Sg" }, - UploadBufferUsedInBytes: { type: "long" }, - UploadBufferAllocatedInBytes: { type: "long" }, - }, + members: {}, }, }, - DescribeVTLDevices: { + Unsubscribe: { input: { type: "structure", - required: ["GatewayARN"], + required: ["SubscriptionArn"], + members: { SubscriptionArn: {} }, + }, + }, + UntagResource: { + input: { + type: "structure", + required: ["ResourceArn", "TagKeys"], members: { - GatewayARN: {}, - VTLDeviceARNs: { type: "list", member: {} }, - Marker: {}, - Limit: { type: "integer" }, + ResourceArn: {}, + TagKeys: { type: "list", member: {} }, }, }, output: { + resultWrapper: "UntagResourceResult", type: "structure", - members: { - GatewayARN: {}, - VTLDevices: { - type: "list", - member: { - type: "structure", - members: { - VTLDeviceARN: {}, - VTLDeviceType: {}, - VTLDeviceVendor: {}, - VTLDeviceProductIdentifier: {}, - DeviceiSCSIAttributes: { - type: "structure", - members: { - TargetARN: {}, - NetworkInterfaceId: {}, - NetworkInterfacePort: { type: "integer" }, - ChapEnabled: { type: "boolean" }, - }, - }, - }, - }, - }, - Marker: {}, - }, + members: {}, }, }, - DescribeWorkingStorage: { - input: { + }, + shapes: { + Sj: { type: "map", key: {}, value: {} }, + Sp: { type: "map", key: {}, value: {} }, + Ss: { + type: "list", + member: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, }, - output: { + }, + S19: { type: "map", key: {}, value: {} }, + S1r: { + type: "list", + member: { type: "structure", members: { - GatewayARN: {}, - DiskIds: { shape: "Sg" }, - WorkingStorageUsedInBytes: { type: "long" }, - WorkingStorageAllocatedInBytes: { type: "long" }, + SubscriptionArn: {}, + Owner: {}, + Protocol: {}, + Endpoint: {}, + TopicArn: {}, }, }, }, - DetachVolume: { + }, + }; + + /***/ + }, + + /***/ 3989: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["pricing"] = {}; + AWS.Pricing = Service.defineService("pricing", ["2017-10-15"]); + Object.defineProperty(apiLoader.services["pricing"], "2017-10-15", { + get: function get() { + var model = __webpack_require__(2760); + model.paginators = __webpack_require__(5437).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.Pricing; + + /***/ + }, + + /***/ 3992: /***/ function (__unusedmodule, exports, __webpack_require__) { + // Generated by CoffeeScript 1.12.7 + (function () { + "use strict"; + var builder, + defaults, + parser, + processors, + extend = function (child, parent) { + for (var key in parent) { + if (hasProp.call(parent, key)) child[key] = parent[key]; + } + function ctor() { + this.constructor = child; + } + ctor.prototype = parent.prototype; + child.prototype = new ctor(); + child.__super__ = parent.prototype; + return child; + }, + hasProp = {}.hasOwnProperty; + + defaults = __webpack_require__(1514); + + builder = __webpack_require__(2476); + + parser = __webpack_require__(1885); + + processors = __webpack_require__(5350); + + exports.defaults = defaults.defaults; + + exports.processors = processors; + + exports.ValidationError = (function (superClass) { + extend(ValidationError, superClass); + + function ValidationError(message) { + this.message = message; + } + + return ValidationError; + })(Error); + + exports.Builder = builder.Builder; + + exports.Parser = parser.Parser; + + exports.parseString = parser.parseString; + }.call(this)); + + /***/ + }, + + /***/ 3998: /***/ function (module) { + module.exports = { + pagination: { + DescribeActionTargets: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + DescribeProducts: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + DescribeStandards: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + DescribeStandardsControls: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + GetEnabledStandards: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + GetFindings: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + GetInsights: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListEnabledProductsForImport: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListInvitations: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListMembers: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + ListOrganizationAdminAccounts: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + }, + }; + + /***/ + }, + + /***/ 4004: /***/ function (__unusedmodule, exports) { + "use strict"; + + Object.defineProperty(exports, "__esModule", { + value: true, + }); + exports.default = void 0; + var _default = "00000000-0000-0000-0000-000000000000"; + exports.default = _default; + + /***/ + }, + + /***/ 4008: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2015-12-10", + endpointPrefix: "servicecatalog", + jsonVersion: "1.1", + protocol: "json", + serviceFullName: "AWS Service Catalog", + serviceId: "Service Catalog", + signatureVersion: "v4", + targetPrefix: "AWS242ServiceCatalogService", + uid: "servicecatalog-2015-12-10", + }, + operations: { + AcceptPortfolioShare: { input: { type: "structure", - required: ["VolumeARN"], - members: { VolumeARN: {}, ForceDetach: { type: "boolean" } }, + required: ["PortfolioId"], + members: { + AcceptLanguage: {}, + PortfolioId: {}, + PortfolioShareType: {}, + }, }, - output: { type: "structure", members: { VolumeARN: {} } }, + output: { type: "structure", members: {} }, }, - DisableGateway: { + AssociateBudgetWithResource: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["BudgetName", "ResourceId"], + members: { BudgetName: {}, ResourceId: {} }, }, - output: { type: "structure", members: { GatewayARN: {} } }, + output: { type: "structure", members: {} }, }, - JoinDomain: { + AssociatePrincipalWithPortfolio: { input: { type: "structure", - required: ["GatewayARN", "DomainName", "UserName", "Password"], + required: ["PortfolioId", "PrincipalARN", "PrincipalType"], members: { - GatewayARN: {}, - DomainName: {}, - OrganizationalUnit: {}, - DomainControllers: { type: "list", member: {} }, - TimeoutInSeconds: { type: "integer" }, - UserName: {}, - Password: { type: "string", sensitive: true }, + AcceptLanguage: {}, + PortfolioId: {}, + PrincipalARN: {}, + PrincipalType: {}, }, }, - output: { - type: "structure", - members: { GatewayARN: {}, ActiveDirectoryStatus: {} }, - }, + output: { type: "structure", members: {} }, }, - ListFileShares: { + AssociateProductWithPortfolio: { input: { type: "structure", + required: ["ProductId", "PortfolioId"], members: { - GatewayARN: {}, - Limit: { type: "integer" }, - Marker: {}, + AcceptLanguage: {}, + ProductId: {}, + PortfolioId: {}, + SourcePortfolioId: {}, }, }, - output: { + output: { type: "structure", members: {} }, + }, + AssociateServiceActionWithProvisioningArtifact: { + input: { type: "structure", + required: [ + "ProductId", + "ProvisioningArtifactId", + "ServiceActionId", + ], members: { - Marker: {}, - NextMarker: {}, - FileShareInfoList: { - type: "list", - member: { - type: "structure", - members: { - FileShareType: {}, - FileShareARN: {}, - FileShareId: {}, - FileShareStatus: {}, - GatewayARN: {}, - }, - }, - }, + ProductId: {}, + ProvisioningArtifactId: {}, + ServiceActionId: {}, + AcceptLanguage: {}, }, }, + output: { type: "structure", members: {} }, }, - ListGateways: { + AssociateTagOptionWithResource: { input: { type: "structure", - members: { Marker: {}, Limit: { type: "integer" } }, + required: ["ResourceId", "TagOptionId"], + members: { ResourceId: {}, TagOptionId: {} }, }, - output: { + output: { type: "structure", members: {} }, + }, + BatchAssociateServiceActionWithProvisioningArtifact: { + input: { type: "structure", + required: ["ServiceActionAssociations"], members: { - Gateways: { - type: "list", - member: { - type: "structure", - members: { - GatewayId: {}, - GatewayARN: {}, - GatewayType: {}, - GatewayOperationalState: {}, - GatewayName: {}, - Ec2InstanceId: {}, - Ec2InstanceRegion: {}, - }, - }, - }, - Marker: {}, + ServiceActionAssociations: { shape: "Sm" }, + AcceptLanguage: {}, }, }, + output: { + type: "structure", + members: { FailedServiceActionAssociations: { shape: "Sp" } }, + }, }, - ListLocalDisks: { + BatchDisassociateServiceActionFromProvisioningArtifact: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["ServiceActionAssociations"], + members: { + ServiceActionAssociations: { shape: "Sm" }, + AcceptLanguage: {}, + }, }, output: { type: "structure", + members: { FailedServiceActionAssociations: { shape: "Sp" } }, + }, + }, + CopyProduct: { + input: { + type: "structure", + required: ["SourceProductArn", "IdempotencyToken"], members: { - GatewayARN: {}, - Disks: { + AcceptLanguage: {}, + SourceProductArn: {}, + TargetProductId: {}, + TargetProductName: {}, + SourceProvisioningArtifactIdentifiers: { type: "list", - member: { - type: "structure", - members: { - DiskId: {}, - DiskPath: {}, - DiskNode: {}, - DiskStatus: {}, - DiskSizeInBytes: { type: "long" }, - DiskAllocationType: {}, - DiskAllocationResource: {}, - DiskAttributeList: { type: "list", member: {} }, - }, - }, + member: { type: "map", key: {}, value: {} }, }, + CopyOptions: { type: "list", member: {} }, + IdempotencyToken: { idempotencyToken: true }, }, }, + output: { type: "structure", members: { CopyProductToken: {} } }, }, - ListTagsForResource: { + CreateConstraint: { input: { type: "structure", - required: ["ResourceARN"], + required: [ + "PortfolioId", + "ProductId", + "Parameters", + "Type", + "IdempotencyToken", + ], members: { - ResourceARN: {}, - Marker: {}, - Limit: { type: "integer" }, + AcceptLanguage: {}, + PortfolioId: {}, + ProductId: {}, + Parameters: {}, + Type: {}, + Description: {}, + IdempotencyToken: { idempotencyToken: true }, }, }, output: { type: "structure", - members: { ResourceARN: {}, Marker: {}, Tags: { shape: "S9" } }, + members: { + ConstraintDetail: { shape: "S1b" }, + ConstraintParameters: {}, + Status: {}, + }, }, }, - ListTapes: { + CreatePortfolio: { input: { type: "structure", + required: ["DisplayName", "ProviderName", "IdempotencyToken"], members: { - TapeARNs: { shape: "S2b" }, - Marker: {}, - Limit: { type: "integer" }, + AcceptLanguage: {}, + DisplayName: {}, + Description: {}, + ProviderName: {}, + Tags: { shape: "S1i" }, + IdempotencyToken: { idempotencyToken: true }, }, }, output: { type: "structure", members: { - TapeInfos: { - type: "list", - member: { - type: "structure", - members: { - TapeARN: {}, - TapeBarcode: {}, - TapeSizeInBytes: { type: "long" }, - TapeStatus: {}, - GatewayARN: {}, - PoolId: {}, - }, - }, - }, - Marker: {}, + PortfolioDetail: { shape: "S1n" }, + Tags: { shape: "S1q" }, }, }, }, - ListVolumeInitiators: { + CreatePortfolioShare: { input: { type: "structure", - required: ["VolumeARN"], - members: { VolumeARN: {} }, - }, - output: { - type: "structure", - members: { Initiators: { type: "list", member: {} } }, + required: ["PortfolioId"], + members: { + AcceptLanguage: {}, + PortfolioId: {}, + AccountId: {}, + OrganizationNode: { shape: "S1s" }, + ShareTagOptions: { type: "boolean" }, + }, }, + output: { type: "structure", members: { PortfolioShareToken: {} } }, }, - ListVolumeRecoveryPoints: { + CreateProduct: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: [ + "Name", + "Owner", + "ProductType", + "ProvisioningArtifactParameters", + "IdempotencyToken", + ], + members: { + AcceptLanguage: {}, + Name: {}, + Owner: {}, + Description: {}, + Distributor: {}, + SupportDescription: {}, + SupportEmail: {}, + SupportUrl: {}, + ProductType: {}, + Tags: { shape: "S1i" }, + ProvisioningArtifactParameters: { shape: "S24" }, + IdempotencyToken: { idempotencyToken: true }, + }, }, output: { type: "structure", members: { - GatewayARN: {}, - VolumeRecoveryPointInfos: { - type: "list", - member: { - type: "structure", - members: { - VolumeARN: {}, - VolumeSizeInBytes: { type: "long" }, - VolumeUsageInBytes: { type: "long" }, - VolumeRecoveryPointTime: {}, - }, - }, - }, + ProductViewDetail: { shape: "S2d" }, + ProvisioningArtifactDetail: { shape: "S2i" }, + Tags: { shape: "S1q" }, }, }, }, - ListVolumes: { + CreateProvisionedProductPlan: { input: { type: "structure", + required: [ + "PlanName", + "PlanType", + "ProductId", + "ProvisionedProductName", + "ProvisioningArtifactId", + "IdempotencyToken", + ], members: { - GatewayARN: {}, - Marker: {}, - Limit: { type: "integer" }, + AcceptLanguage: {}, + PlanName: {}, + PlanType: {}, + NotificationArns: { shape: "S2o" }, + PathId: {}, + ProductId: {}, + ProvisionedProductName: {}, + ProvisioningArtifactId: {}, + ProvisioningParameters: { shape: "S2r" }, + IdempotencyToken: { idempotencyToken: true }, + Tags: { shape: "S1q" }, }, }, output: { type: "structure", members: { - GatewayARN: {}, - Marker: {}, - VolumeInfos: { - type: "list", - member: { - type: "structure", - members: { - VolumeARN: {}, - VolumeId: {}, - GatewayARN: {}, - GatewayId: {}, - VolumeType: {}, - VolumeSizeInBytes: { type: "long" }, - VolumeAttachmentStatus: {}, - }, - }, - }, + PlanName: {}, + PlanId: {}, + ProvisionProductId: {}, + ProvisionedProductName: {}, + ProvisioningArtifactId: {}, }, }, }, - NotifyWhenUploaded: { + CreateProvisioningArtifact: { input: { type: "structure", - required: ["FileShareARN"], - members: { FileShareARN: {} }, + required: ["ProductId", "Parameters", "IdempotencyToken"], + members: { + AcceptLanguage: {}, + ProductId: {}, + Parameters: { shape: "S24" }, + IdempotencyToken: { idempotencyToken: true }, + }, }, output: { type: "structure", - members: { FileShareARN: {}, NotificationId: {} }, + members: { + ProvisioningArtifactDetail: { shape: "S2i" }, + Info: { shape: "S27" }, + Status: {}, + }, }, }, - RefreshCache: { + CreateServiceAction: { input: { type: "structure", - required: ["FileShareARN"], + required: [ + "Name", + "DefinitionType", + "Definition", + "IdempotencyToken", + ], members: { - FileShareARN: {}, - FolderList: { type: "list", member: {} }, - Recursive: { type: "boolean" }, + Name: {}, + DefinitionType: {}, + Definition: { shape: "S32" }, + Description: {}, + AcceptLanguage: {}, + IdempotencyToken: { idempotencyToken: true }, }, }, output: { type: "structure", - members: { FileShareARN: {}, NotificationId: {} }, + members: { ServiceActionDetail: { shape: "S37" } }, }, }, - RemoveTagsFromResource: { + CreateTagOption: { input: { type: "structure", - required: ["ResourceARN", "TagKeys"], - members: { - ResourceARN: {}, - TagKeys: { type: "list", member: {} }, - }, + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, }, - output: { type: "structure", members: { ResourceARN: {} } }, - }, - ResetCache: { - input: { + output: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + members: { TagOptionDetail: { shape: "S3d" } }, }, - output: { type: "structure", members: { GatewayARN: {} } }, }, - RetrieveTapeArchive: { + DeleteConstraint: { input: { type: "structure", - required: ["TapeARN", "GatewayARN"], - members: { TapeARN: {}, GatewayARN: {} }, + required: ["Id"], + members: { AcceptLanguage: {}, Id: {} }, }, - output: { type: "structure", members: { TapeARN: {} } }, + output: { type: "structure", members: {} }, }, - RetrieveTapeRecoveryPoint: { + DeletePortfolio: { input: { type: "structure", - required: ["TapeARN", "GatewayARN"], - members: { TapeARN: {}, GatewayARN: {} }, + required: ["Id"], + members: { AcceptLanguage: {}, Id: {} }, }, - output: { type: "structure", members: { TapeARN: {} } }, + output: { type: "structure", members: {} }, }, - SetLocalConsolePassword: { + DeletePortfolioShare: { input: { type: "structure", - required: ["GatewayARN", "LocalConsolePassword"], + required: ["PortfolioId"], members: { - GatewayARN: {}, - LocalConsolePassword: { type: "string", sensitive: true }, + AcceptLanguage: {}, + PortfolioId: {}, + AccountId: {}, + OrganizationNode: { shape: "S1s" }, }, }, - output: { type: "structure", members: { GatewayARN: {} } }, + output: { type: "structure", members: { PortfolioShareToken: {} } }, }, - SetSMBGuestPassword: { + DeleteProduct: { input: { type: "structure", - required: ["GatewayARN", "Password"], - members: { - GatewayARN: {}, - Password: { type: "string", sensitive: true }, - }, + required: ["Id"], + members: { AcceptLanguage: {}, Id: {} }, }, - output: { type: "structure", members: { GatewayARN: {} } }, + output: { type: "structure", members: {} }, }, - ShutdownGateway: { + DeleteProvisionedProductPlan: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["PlanId"], + members: { + AcceptLanguage: {}, + PlanId: {}, + IgnoreErrors: { type: "boolean" }, + }, }, - output: { type: "structure", members: { GatewayARN: {} } }, + output: { type: "structure", members: {} }, }, - StartAvailabilityMonitorTest: { + DeleteProvisioningArtifact: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["ProductId", "ProvisioningArtifactId"], + members: { + AcceptLanguage: {}, + ProductId: {}, + ProvisioningArtifactId: {}, + }, }, - output: { type: "structure", members: { GatewayARN: {} } }, + output: { type: "structure", members: {} }, }, - StartGateway: { + DeleteServiceAction: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["Id"], + members: { Id: {}, AcceptLanguage: {} }, }, - output: { type: "structure", members: { GatewayARN: {} } }, + output: { type: "structure", members: {} }, }, - UpdateBandwidthRateLimit: { + DeleteTagOption: { + input: { type: "structure", required: ["Id"], members: { Id: {} } }, + output: { type: "structure", members: {} }, + }, + DescribeConstraint: { input: { type: "structure", - required: ["GatewayARN"], + required: ["Id"], + members: { AcceptLanguage: {}, Id: {} }, + }, + output: { + type: "structure", members: { - GatewayARN: {}, - AverageUploadRateLimitInBitsPerSec: { type: "long" }, - AverageDownloadRateLimitInBitsPerSec: { type: "long" }, + ConstraintDetail: { shape: "S1b" }, + ConstraintParameters: {}, + Status: {}, }, }, - output: { type: "structure", members: { GatewayARN: {} } }, }, - UpdateChapCredentials: { + DescribeCopyProductStatus: { input: { type: "structure", - required: [ - "TargetARN", - "SecretToAuthenticateInitiator", - "InitiatorName", - ], - members: { - TargetARN: {}, - SecretToAuthenticateInitiator: { shape: "S3o" }, - InitiatorName: {}, - SecretToAuthenticateTarget: { shape: "S3o" }, - }, + required: ["CopyProductToken"], + members: { AcceptLanguage: {}, CopyProductToken: {} }, }, output: { type: "structure", - members: { TargetARN: {}, InitiatorName: {} }, + members: { + CopyProductStatus: {}, + TargetProductId: {}, + StatusDetail: {}, + }, }, }, - UpdateGatewayInformation: { + DescribePortfolio: { input: { type: "structure", - required: ["GatewayARN"], - members: { - GatewayARN: {}, - GatewayName: {}, - GatewayTimezone: {}, - CloudWatchLogGroupARN: {}, - }, + required: ["Id"], + members: { AcceptLanguage: {}, Id: {} }, }, output: { type: "structure", - members: { GatewayARN: {}, GatewayName: {} }, + members: { + PortfolioDetail: { shape: "S1n" }, + Tags: { shape: "S1q" }, + TagOptions: { shape: "S45" }, + Budgets: { shape: "S46" }, + }, }, }, - UpdateGatewaySoftwareNow: { + DescribePortfolioShareStatus: { input: { type: "structure", - required: ["GatewayARN"], - members: { GatewayARN: {} }, + required: ["PortfolioShareToken"], + members: { PortfolioShareToken: {} }, }, - output: { type: "structure", members: { GatewayARN: {} } }, - }, - UpdateMaintenanceStartTime: { - input: { + output: { type: "structure", - required: ["GatewayARN", "HourOfDay", "MinuteOfHour"], members: { - GatewayARN: {}, - HourOfDay: { type: "integer" }, - MinuteOfHour: { type: "integer" }, - DayOfWeek: { type: "integer" }, - DayOfMonth: { type: "integer" }, + PortfolioShareToken: {}, + PortfolioId: {}, + OrganizationNodeValue: {}, + Status: {}, + ShareDetails: { + type: "structure", + members: { + SuccessfulShares: { type: "list", member: {} }, + ShareErrors: { + type: "list", + member: { + type: "structure", + members: { + Accounts: { type: "list", member: {} }, + Message: {}, + Error: {}, + }, + }, + }, + }, + }, }, }, - output: { type: "structure", members: { GatewayARN: {} } }, }, - UpdateNFSFileShare: { + DescribePortfolioShares: { input: { type: "structure", - required: ["FileShareARN"], + required: ["PortfolioId", "Type"], members: { - FileShareARN: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - NFSFileShareDefaults: { shape: "S1c" }, - DefaultStorageClass: {}, - ObjectACL: {}, - ClientList: { shape: "S1j" }, - Squash: {}, - ReadOnly: { type: "boolean" }, - GuessMIMETypeEnabled: { type: "boolean" }, - RequesterPays: { type: "boolean" }, + PortfolioId: {}, + Type: {}, + PageToken: {}, + PageSize: { type: "integer" }, }, }, - output: { type: "structure", members: { FileShareARN: {} } }, - }, - UpdateSMBFileShare: { - input: { + output: { type: "structure", - required: ["FileShareARN"], members: { - FileShareARN: {}, - KMSEncrypted: { type: "boolean" }, - KMSKey: {}, - DefaultStorageClass: {}, - ObjectACL: {}, - ReadOnly: { type: "boolean" }, - GuessMIMETypeEnabled: { type: "boolean" }, - RequesterPays: { type: "boolean" }, - SMBACLEnabled: { type: "boolean" }, - AdminUserList: { shape: "S1p" }, - ValidUserList: { shape: "S1p" }, - InvalidUserList: { shape: "S1p" }, - AuditDestinationARN: {}, + NextPageToken: {}, + PortfolioShareDetails: { + type: "list", + member: { + type: "structure", + members: { + PrincipalId: {}, + Type: {}, + Accepted: { type: "boolean" }, + ShareTagOptions: { type: "boolean" }, + }, + }, + }, }, }, - output: { type: "structure", members: { FileShareARN: {} } }, }, - UpdateSMBSecurityStrategy: { + DescribeProduct: { input: { type: "structure", - required: ["GatewayARN", "SMBSecurityStrategy"], - members: { GatewayARN: {}, SMBSecurityStrategy: {} }, + members: { AcceptLanguage: {}, Id: {}, Name: {} }, }, - output: { type: "structure", members: { GatewayARN: {} } }, - }, - UpdateSnapshotSchedule: { - input: { + output: { type: "structure", - required: ["VolumeARN", "StartAt", "RecurrenceInHours"], members: { - VolumeARN: {}, - StartAt: { type: "integer" }, - RecurrenceInHours: { type: "integer" }, - Description: {}, - Tags: { shape: "S9" }, + ProductViewSummary: { shape: "S2e" }, + ProvisioningArtifacts: { shape: "S4r" }, + Budgets: { shape: "S46" }, + LaunchPaths: { + type: "list", + member: { type: "structure", members: { Id: {}, Name: {} } }, + }, }, }, - output: { type: "structure", members: { VolumeARN: {} } }, }, - UpdateVTLDeviceType: { + DescribeProductAsAdmin: { input: { type: "structure", - required: ["VTLDeviceARN", "DeviceType"], - members: { VTLDeviceARN: {}, DeviceType: {} }, - }, - output: { type: "structure", members: { VTLDeviceARN: {} } }, - }, - }, - shapes: { - S9: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, - }, - }, - Sg: { type: "list", member: {} }, - S1c: { - type: "structure", - members: { - FileMode: {}, - DirectoryMode: {}, - GroupId: { type: "long" }, - OwnerId: { type: "long" }, - }, - }, - S1j: { type: "list", member: {} }, - S1p: { type: "list", member: {} }, - S2b: { type: "list", member: {} }, - S36: { type: "list", member: {} }, - S3f: { - type: "structure", - members: { - TargetARN: {}, - NetworkInterfaceId: {}, - NetworkInterfacePort: { type: "integer" }, - LunNumber: { type: "integer" }, - ChapEnabled: { type: "boolean" }, - }, - }, - S3o: { type: "string", sensitive: true }, - S48: { type: "list", member: {} }, - }, - }; - - /***/ - }, - - /***/ 4563: /***/ function (module, __unusedexports, __webpack_require__) { - module.exports = getPreviousPage; - - const getPage = __webpack_require__(3265); - - function getPreviousPage(octokit, link, headers) { - return getPage(octokit, link, "prev", headers); - } - - /***/ - }, - - /***/ 4568: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; - - const path = __webpack_require__(5622); - const niceTry = __webpack_require__(948); - const resolveCommand = __webpack_require__(489); - const escape = __webpack_require__(462); - const readShebang = __webpack_require__(4389); - const semver = __webpack_require__(9280); - - const isWin = process.platform === "win32"; - const isExecutableRegExp = /\.(?:com|exe)$/i; - const isCmdShimRegExp = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i; - - // `options.shell` is supported in Node ^4.8.0, ^5.7.0 and >= 6.0.0 - const supportsShellOption = - niceTry(() => - semver.satisfies( - process.version, - "^4.8.0 || ^5.7.0 || >= 6.0.0", - true - ) - ) || false; - - function detectShebang(parsed) { - parsed.file = resolveCommand(parsed); - - const shebang = parsed.file && readShebang(parsed.file); - - if (shebang) { - parsed.args.unshift(parsed.file); - parsed.command = shebang; - - return resolveCommand(parsed); - } - - return parsed.file; - } - - function parseNonShell(parsed) { - if (!isWin) { - return parsed; - } - - // Detect & add support for shebangs - const commandFile = detectShebang(parsed); - - // We don't need a shell if the command filename is an executable - const needsShell = !isExecutableRegExp.test(commandFile); - - // If a shell is required, use cmd.exe and take care of escaping everything correctly - // Note that `forceShell` is an hidden option used only in tests - if (parsed.options.forceShell || needsShell) { - // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/` - // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument - // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called, - // we need to double escape them - const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile); - - // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\bar) - // This is necessary otherwise it will always fail with ENOENT in those cases - parsed.command = path.normalize(parsed.command); - - // Escape command & arguments - parsed.command = escape.command(parsed.command); - parsed.args = parsed.args.map((arg) => - escape.argument(arg, needsDoubleEscapeMetaChars) - ); - - const shellCommand = [parsed.command].concat(parsed.args).join(" "); - - parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`]; - parsed.command = process.env.comspec || "cmd.exe"; - parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped - } - - return parsed; - } - - function parseShell(parsed) { - // If node supports the shell option, there's no need to mimic its behavior - if (supportsShellOption) { - return parsed; - } - - // Mimic node shell option - // See https://github.com/nodejs/node/blob/b9f6a2dc059a1062776133f3d4fd848c4da7d150/lib/child_process.js#L335 - const shellCommand = [parsed.command].concat(parsed.args).join(" "); - - if (isWin) { - parsed.command = - typeof parsed.options.shell === "string" - ? parsed.options.shell - : process.env.comspec || "cmd.exe"; - parsed.args = ["/d", "/s", "/c", `"${shellCommand}"`]; - parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped - } else { - if (typeof parsed.options.shell === "string") { - parsed.command = parsed.options.shell; - } else if (process.platform === "android") { - parsed.command = "/system/bin/sh"; - } else { - parsed.command = "/bin/sh"; - } - - parsed.args = ["-c", shellCommand]; - } - - return parsed; - } - - function parse(command, args, options) { - // Normalize arguments, similar to nodejs - if (args && !Array.isArray(args)) { - options = args; - args = null; - } - - args = args ? args.slice(0) : []; // Clone array to avoid changing the original - options = Object.assign({}, options); // Clone object to avoid changing the original - - // Build our parsed object - const parsed = { - command, - args, - options, - file: undefined, - original: { - command, - args, - }, - }; - - // Delegate further parsing to shell or non-shell - return options.shell ? parseShell(parsed) : parseNonShell(parsed); - } - - module.exports = parse; - - /***/ - }, - - /***/ 4571: /***/ function (module) { - module.exports = { - pagination: { - ListProfileTimes: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - ListProfilingGroups: { - input_token: "nextToken", - output_token: "nextToken", - limit_key: "maxResults", - }, - }, - }; - - /***/ - }, - - /***/ 4572: /***/ function (module) { - module.exports = { - version: 2, - waiters: { - NotebookInstanceInService: { - delay: 30, - maxAttempts: 60, - operation: "DescribeNotebookInstance", - acceptors: [ - { - expected: "InService", - matcher: "path", - state: "success", - argument: "NotebookInstanceStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "NotebookInstanceStatus", - }, - ], - }, - NotebookInstanceStopped: { - delay: 30, - operation: "DescribeNotebookInstance", - maxAttempts: 60, - acceptors: [ - { - expected: "Stopped", - matcher: "path", - state: "success", - argument: "NotebookInstanceStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "NotebookInstanceStatus", - }, - ], - }, - NotebookInstanceDeleted: { - delay: 30, - maxAttempts: 60, - operation: "DescribeNotebookInstance", - acceptors: [ - { - expected: "ValidationException", - matcher: "error", - state: "success", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "NotebookInstanceStatus", - }, - ], - }, - TrainingJobCompletedOrStopped: { - delay: 120, - maxAttempts: 180, - operation: "DescribeTrainingJob", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "TrainingJobStatus", - }, - { - expected: "Stopped", - matcher: "path", - state: "success", - argument: "TrainingJobStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "TrainingJobStatus", - }, - { - expected: "ValidationException", - matcher: "error", - state: "failure", - }, - ], - }, - EndpointInService: { - delay: 30, - maxAttempts: 120, - operation: "DescribeEndpoint", - acceptors: [ - { - expected: "InService", - matcher: "path", - state: "success", - argument: "EndpointStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "EndpointStatus", - }, - { - expected: "ValidationException", - matcher: "error", - state: "failure", - }, - ], - }, - EndpointDeleted: { - delay: 30, - maxAttempts: 60, - operation: "DescribeEndpoint", - acceptors: [ - { - expected: "ValidationException", - matcher: "error", - state: "success", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "EndpointStatus", - }, - ], - }, - TransformJobCompletedOrStopped: { - delay: 60, - maxAttempts: 60, - operation: "DescribeTransformJob", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "TransformJobStatus", - }, - { - expected: "Stopped", - matcher: "path", - state: "success", - argument: "TransformJobStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "TransformJobStatus", - }, - { - expected: "ValidationException", - matcher: "error", - state: "failure", - }, - ], - }, - ProcessingJobCompletedOrStopped: { - delay: 60, - maxAttempts: 60, - operation: "DescribeProcessingJob", - acceptors: [ - { - expected: "Completed", - matcher: "path", - state: "success", - argument: "ProcessingJobStatus", - }, - { - expected: "Stopped", - matcher: "path", - state: "success", - argument: "ProcessingJobStatus", - }, - { - expected: "Failed", - matcher: "path", - state: "failure", - argument: "ProcessingJobStatus", - }, - { - expected: "ValidationException", - matcher: "error", - state: "failure", + members: { + AcceptLanguage: {}, + Id: {}, + Name: {}, + SourcePortfolioId: {}, }, - ], - }, - }, - }; - - /***/ - }, - - /***/ 4575: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2019-11-01", - endpointPrefix: "access-analyzer", - jsonVersion: "1.1", - protocol: "rest-json", - serviceFullName: "Access Analyzer", - serviceId: "AccessAnalyzer", - signatureVersion: "v4", - signingName: "access-analyzer", - uid: "accessanalyzer-2019-11-01", - }, - operations: { - CreateAnalyzer: { - http: { method: "PUT", requestUri: "/analyzer", responseCode: 200 }, - input: { + }, + output: { type: "structure", - required: ["analyzerName", "type"], members: { - analyzerName: {}, - archiveRules: { + ProductViewDetail: { shape: "S2d" }, + ProvisioningArtifactSummaries: { type: "list", member: { type: "structure", - required: ["filter", "ruleName"], - members: { filter: { shape: "S5" }, ruleName: {} }, + members: { + Id: {}, + Name: {}, + Description: {}, + CreatedTime: { type: "timestamp" }, + ProvisioningArtifactMetadata: { shape: "S27" }, + }, }, }, - clientToken: { idempotencyToken: true }, - tags: { shape: "Sa" }, - type: {}, + Tags: { shape: "S1q" }, + TagOptions: { shape: "S45" }, + Budgets: { shape: "S46" }, }, }, - output: { type: "structure", members: { arn: {} } }, - idempotent: true, }, - CreateArchiveRule: { - http: { - method: "PUT", - requestUri: "/analyzer/{analyzerName}/archive-rule", - responseCode: 200, - }, + DescribeProductView: { input: { type: "structure", - required: ["analyzerName", "filter", "ruleName"], - members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - clientToken: { idempotencyToken: true }, - filter: { shape: "S5" }, - ruleName: {}, - }, - }, - idempotent: true, - }, - DeleteAnalyzer: { - http: { - method: "DELETE", - requestUri: "/analyzer/{analyzerName}", - responseCode: 200, + required: ["Id"], + members: { AcceptLanguage: {}, Id: {} }, }, - input: { + output: { type: "structure", - required: ["analyzerName"], members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - clientToken: { - idempotencyToken: true, - location: "querystring", - locationName: "clientToken", - }, + ProductViewSummary: { shape: "S2e" }, + ProvisioningArtifacts: { shape: "S4r" }, }, }, - idempotent: true, }, - DeleteArchiveRule: { - http: { - method: "DELETE", - requestUri: "/analyzer/{analyzerName}/archive-rule/{ruleName}", - responseCode: 200, - }, + DescribeProvisionedProduct: { input: { type: "structure", - required: ["analyzerName", "ruleName"], + members: { AcceptLanguage: {}, Id: {}, Name: {} }, + }, + output: { + type: "structure", members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - clientToken: { - idempotencyToken: true, - location: "querystring", - locationName: "clientToken", + ProvisionedProductDetail: { shape: "S55" }, + CloudWatchDashboards: { + type: "list", + member: { type: "structure", members: { Name: {} } }, }, - ruleName: { location: "uri", locationName: "ruleName" }, }, }, - idempotent: true, }, - GetAnalyzedResource: { - http: { - method: "GET", - requestUri: "/analyzed-resource", - responseCode: 200, - }, + DescribeProvisionedProductPlan: { input: { type: "structure", - required: ["analyzerArn", "resourceArn"], + required: ["PlanId"], members: { - analyzerArn: { - location: "querystring", - locationName: "analyzerArn", - }, - resourceArn: { - location: "querystring", - locationName: "resourceArn", - }, + AcceptLanguage: {}, + PlanId: {}, + PageSize: { type: "integer" }, + PageToken: {}, }, }, output: { type: "structure", members: { - resource: { + ProvisionedProductPlanDetails: { type: "structure", - required: [ - "analyzedAt", - "createdAt", - "isPublic", - "resourceArn", - "resourceOwnerAccount", - "resourceType", - "updatedAt", - ], members: { - actions: { shape: "Sl" }, - analyzedAt: { shape: "Sm" }, - createdAt: { shape: "Sm" }, - error: {}, - isPublic: { type: "boolean" }, - resourceArn: {}, - resourceOwnerAccount: {}, - resourceType: {}, - sharedVia: { type: "list", member: {} }, - status: {}, - updatedAt: { shape: "Sm" }, + CreatedTime: { type: "timestamp" }, + PathId: {}, + ProductId: {}, + PlanName: {}, + PlanId: {}, + ProvisionProductId: {}, + ProvisionProductName: {}, + PlanType: {}, + ProvisioningArtifactId: {}, + Status: {}, + UpdatedTime: { type: "timestamp" }, + NotificationArns: { shape: "S2o" }, + ProvisioningParameters: { shape: "S2r" }, + Tags: { shape: "S1q" }, + StatusMessage: {}, + }, + }, + ResourceChanges: { + type: "list", + member: { + type: "structure", + members: { + Action: {}, + LogicalResourceId: {}, + PhysicalResourceId: {}, + ResourceType: {}, + Replacement: {}, + Scope: { type: "list", member: {} }, + Details: { + type: "list", + member: { + type: "structure", + members: { + Target: { + type: "structure", + members: { + Attribute: {}, + Name: {}, + RequiresRecreation: {}, + }, + }, + Evaluation: {}, + CausingEntity: {}, + }, + }, + }, + }, }, }, + NextPageToken: {}, }, }, }, - GetAnalyzer: { - http: { - method: "GET", - requestUri: "/analyzer/{analyzerName}", - responseCode: 200, - }, + DescribeProvisioningArtifact: { input: { type: "structure", - required: ["analyzerName"], members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, + AcceptLanguage: {}, + ProvisioningArtifactId: {}, + ProductId: {}, + ProvisioningArtifactName: {}, + ProductName: {}, + Verbose: { type: "boolean" }, }, }, output: { type: "structure", - required: ["analyzer"], - members: { analyzer: { shape: "Ss" } }, - }, - }, - GetArchiveRule: { - http: { - method: "GET", - requestUri: "/analyzer/{analyzerName}/archive-rule/{ruleName}", - responseCode: 200, - }, - input: { - type: "structure", - required: ["analyzerName", "ruleName"], members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - ruleName: { location: "uri", locationName: "ruleName" }, + ProvisioningArtifactDetail: { shape: "S2i" }, + Info: { shape: "S27" }, + Status: {}, }, }, - output: { - type: "structure", - required: ["archiveRule"], - members: { archiveRule: { shape: "Sy" } }, - }, }, - GetFinding: { - http: { - method: "GET", - requestUri: "/finding/{id}", - responseCode: 200, - }, + DescribeProvisioningParameters: { input: { type: "structure", - required: ["analyzerArn", "id"], members: { - analyzerArn: { - location: "querystring", - locationName: "analyzerArn", - }, - id: { location: "uri", locationName: "id" }, + AcceptLanguage: {}, + ProductId: {}, + ProductName: {}, + ProvisioningArtifactId: {}, + ProvisioningArtifactName: {}, + PathId: {}, + PathName: {}, }, }, output: { type: "structure", members: { - finding: { + ProvisioningArtifactParameters: { + type: "list", + member: { + type: "structure", + members: { + ParameterKey: {}, + DefaultValue: {}, + ParameterType: {}, + IsNoEcho: { type: "boolean" }, + Description: {}, + ParameterConstraints: { + type: "structure", + members: { + AllowedValues: { type: "list", member: {} }, + }, + }, + }, + }, + }, + ConstraintSummaries: { shape: "S6h" }, + UsageInstructions: { + type: "list", + member: { + type: "structure", + members: { Type: {}, Value: {} }, + }, + }, + TagOptions: { + type: "list", + member: { + type: "structure", + members: { Key: {}, Values: { type: "list", member: {} } }, + }, + }, + ProvisioningArtifactPreferences: { type: "structure", - required: [ - "analyzedAt", - "condition", - "createdAt", - "id", - "resourceOwnerAccount", - "resourceType", - "status", - "updatedAt", - ], members: { - action: { shape: "Sl" }, - analyzedAt: { shape: "Sm" }, - condition: { shape: "S13" }, - createdAt: { shape: "Sm" }, - error: {}, - id: {}, - isPublic: { type: "boolean" }, - principal: { shape: "S14" }, - resource: {}, - resourceOwnerAccount: {}, - resourceType: {}, - status: {}, - updatedAt: { shape: "Sm" }, + StackSetAccounts: { shape: "S6r" }, + StackSetRegions: { shape: "S6s" }, }, }, - }, - }, - }, - ListAnalyzedResources: { - http: { requestUri: "/analyzed-resource", responseCode: 200 }, - input: { - type: "structure", - required: ["analyzerArn"], - members: { - analyzerArn: {}, - maxResults: { type: "integer" }, - nextToken: {}, - resourceType: {}, - }, - }, - output: { - type: "structure", - required: ["analyzedResources"], - members: { - analyzedResources: { + ProvisioningArtifactOutputs: { type: "list", member: { type: "structure", - required: [ - "resourceArn", - "resourceOwnerAccount", - "resourceType", - ], - members: { - resourceArn: {}, - resourceOwnerAccount: {}, - resourceType: {}, - }, + members: { Key: {}, Description: {} }, }, }, - nextToken: {}, }, }, }, - ListAnalyzers: { - http: { method: "GET", requestUri: "/analyzer", responseCode: 200 }, + DescribeRecord: { input: { type: "structure", + required: ["Id"], members: { - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - type: { location: "querystring", locationName: "type" }, + AcceptLanguage: {}, + Id: {}, + PageToken: {}, + PageSize: { type: "integer" }, }, }, output: { type: "structure", - required: ["analyzers"], members: { - analyzers: { type: "list", member: { shape: "Ss" } }, - nextToken: {}, + RecordDetail: { shape: "S70" }, + RecordOutputs: { shape: "S7b" }, + NextPageToken: {}, }, }, }, - ListArchiveRules: { - http: { - method: "GET", - requestUri: "/analyzer/{analyzerName}/archive-rule", - responseCode: 200, - }, + DescribeServiceAction: { input: { type: "structure", - required: ["analyzerName"], - members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, + required: ["Id"], + members: { Id: {}, AcceptLanguage: {} }, }, output: { type: "structure", - required: ["archiveRules"], - members: { - archiveRules: { type: "list", member: { shape: "Sy" } }, - nextToken: {}, - }, + members: { ServiceActionDetail: { shape: "S37" } }, }, }, - ListFindings: { - http: { requestUri: "/finding", responseCode: 200 }, + DescribeServiceActionExecutionParameters: { input: { type: "structure", - required: ["analyzerArn"], + required: ["ProvisionedProductId", "ServiceActionId"], members: { - analyzerArn: {}, - filter: { shape: "S5" }, - maxResults: { type: "integer" }, - nextToken: {}, - sort: { - type: "structure", - members: { attributeName: {}, orderBy: {} }, - }, + ProvisionedProductId: {}, + ServiceActionId: {}, + AcceptLanguage: {}, }, }, output: { type: "structure", - required: ["findings"], members: { - findings: { + ServiceActionParameters: { type: "list", member: { type: "structure", - required: [ - "analyzedAt", - "condition", - "createdAt", - "id", - "resourceOwnerAccount", - "resourceType", - "status", - "updatedAt", - ], members: { - action: { shape: "Sl" }, - analyzedAt: { shape: "Sm" }, - condition: { shape: "S13" }, - createdAt: { shape: "Sm" }, - error: {}, - id: {}, - isPublic: { type: "boolean" }, - principal: { shape: "S14" }, - resource: {}, - resourceOwnerAccount: {}, - resourceType: {}, - status: {}, - updatedAt: { shape: "Sm" }, + Name: {}, + Type: {}, + DefaultValues: { shape: "S7n" }, }, }, }, - nextToken: {}, }, }, }, - ListTagsForResource: { - http: { - method: "GET", - requestUri: "/tags/{resourceArn}", - responseCode: 200, + DescribeTagOption: { + input: { type: "structure", required: ["Id"], members: { Id: {} } }, + output: { + type: "structure", + members: { TagOptionDetail: { shape: "S3d" } }, }, + }, + DisableAWSOrganizationsAccess: { + input: { type: "structure", members: {} }, + output: { type: "structure", members: {} }, + }, + DisassociateBudgetFromResource: { input: { type: "structure", - required: ["resourceArn"], + required: ["BudgetName", "ResourceId"], + members: { BudgetName: {}, ResourceId: {} }, + }, + output: { type: "structure", members: {} }, + }, + DisassociatePrincipalFromPortfolio: { + input: { + type: "structure", + required: ["PortfolioId", "PrincipalARN"], members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, + AcceptLanguage: {}, + PortfolioId: {}, + PrincipalARN: {}, }, }, - output: { type: "structure", members: { tags: { shape: "Sa" } } }, + output: { type: "structure", members: {} }, }, - StartResourceScan: { - http: { requestUri: "/resource/scan", responseCode: 200 }, + DisassociateProductFromPortfolio: { input: { type: "structure", - required: ["analyzerArn", "resourceArn"], - members: { analyzerArn: {}, resourceArn: {} }, + required: ["ProductId", "PortfolioId"], + members: { AcceptLanguage: {}, ProductId: {}, PortfolioId: {} }, }, + output: { type: "structure", members: {} }, }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}", responseCode: 200 }, + DisassociateServiceActionFromProvisioningArtifact: { input: { type: "structure", - required: ["resourceArn", "tags"], + required: [ + "ProductId", + "ProvisioningArtifactId", + "ServiceActionId", + ], members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tags: { shape: "Sa" }, + ProductId: {}, + ProvisioningArtifactId: {}, + ServiceActionId: {}, + AcceptLanguage: {}, }, }, output: { type: "structure", members: {} }, - idempotent: true, }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/tags/{resourceArn}", - responseCode: 200, + DisassociateTagOptionFromResource: { + input: { + type: "structure", + required: ["ResourceId", "TagOptionId"], + members: { ResourceId: {}, TagOptionId: {} }, }, + output: { type: "structure", members: {} }, + }, + EnableAWSOrganizationsAccess: { + input: { type: "structure", members: {} }, + output: { type: "structure", members: {} }, + }, + ExecuteProvisionedProductPlan: { input: { type: "structure", - required: ["resourceArn", "tagKeys"], + required: ["PlanId", "IdempotencyToken"], members: { - resourceArn: { location: "uri", locationName: "resourceArn" }, - tagKeys: { - location: "querystring", - locationName: "tagKeys", - type: "list", - member: {}, - }, + AcceptLanguage: {}, + PlanId: {}, + IdempotencyToken: { idempotencyToken: true }, }, }, - output: { type: "structure", members: {} }, - idempotent: true, - }, - UpdateArchiveRule: { - http: { - method: "PUT", - requestUri: "/analyzer/{analyzerName}/archive-rule/{ruleName}", - responseCode: 200, + output: { + type: "structure", + members: { RecordDetail: { shape: "S70" } }, }, + }, + ExecuteProvisionedProductServiceAction: { input: { type: "structure", - required: ["analyzerName", "filter", "ruleName"], + required: [ + "ProvisionedProductId", + "ServiceActionId", + "ExecuteToken", + ], members: { - analyzerName: { location: "uri", locationName: "analyzerName" }, - clientToken: { idempotencyToken: true }, - filter: { shape: "S5" }, - ruleName: { location: "uri", locationName: "ruleName" }, + ProvisionedProductId: {}, + ServiceActionId: {}, + ExecuteToken: { idempotencyToken: true }, + AcceptLanguage: {}, + Parameters: { type: "map", key: {}, value: { shape: "S7n" } }, }, }, - idempotent: true, + output: { + type: "structure", + members: { RecordDetail: { shape: "S70" } }, + }, }, - UpdateFindings: { - http: { method: "PUT", requestUri: "/finding", responseCode: 200 }, + GetAWSOrganizationsAccessStatus: { + input: { type: "structure", members: {} }, + output: { type: "structure", members: { AccessStatus: {} } }, + }, + GetProvisionedProductOutputs: { input: { type: "structure", - required: ["analyzerArn", "status"], members: { - analyzerArn: {}, - clientToken: { idempotencyToken: true }, - ids: { type: "list", member: {} }, - resourceArn: {}, - status: {}, + AcceptLanguage: {}, + ProvisionedProductId: {}, + ProvisionedProductName: {}, + OutputKeys: { type: "list", member: {} }, + PageSize: { type: "integer" }, + PageToken: {}, }, }, - idempotent: true, + output: { + type: "structure", + members: { Outputs: { shape: "S7b" }, NextPageToken: {} }, + }, }, - }, - shapes: { - S5: { - type: "map", - key: {}, - value: { + ImportAsProvisionedProduct: { + input: { type: "structure", + required: [ + "ProductId", + "ProvisioningArtifactId", + "ProvisionedProductName", + "PhysicalId", + "IdempotencyToken", + ], members: { - contains: { shape: "S8" }, - eq: { shape: "S8" }, - exists: { type: "boolean" }, - neq: { shape: "S8" }, + AcceptLanguage: {}, + ProductId: {}, + ProvisioningArtifactId: {}, + ProvisionedProductName: {}, + PhysicalId: {}, + IdempotencyToken: { idempotencyToken: true }, }, }, + output: { + type: "structure", + members: { RecordDetail: { shape: "S70" } }, + }, }, - S8: { type: "list", member: {} }, - Sa: { type: "map", key: {}, value: {} }, - Sl: { type: "list", member: {} }, - Sm: { type: "timestamp", timestampFormat: "iso8601" }, - Ss: { - type: "structure", - required: ["arn", "createdAt", "name", "status", "type"], - members: { - arn: {}, - createdAt: { shape: "Sm" }, - lastResourceAnalyzed: {}, - lastResourceAnalyzedAt: { shape: "Sm" }, - name: {}, - status: {}, - statusReason: { - type: "structure", - required: ["code"], - members: { code: {} }, + ListAcceptedPortfolioShares: { + input: { + type: "structure", + members: { + AcceptLanguage: {}, + PageToken: {}, + PageSize: { type: "integer" }, + PortfolioShareType: {}, + }, + }, + output: { + type: "structure", + members: { + PortfolioDetails: { shape: "S8l" }, + NextPageToken: {}, }, - tags: { shape: "Sa" }, - type: {}, }, }, - Sy: { - type: "structure", - required: ["createdAt", "filter", "ruleName", "updatedAt"], - members: { - createdAt: { shape: "Sm" }, - filter: { shape: "S5" }, - ruleName: {}, - updatedAt: { shape: "Sm" }, + ListBudgetsForResource: { + input: { + type: "structure", + required: ["ResourceId"], + members: { + AcceptLanguage: {}, + ResourceId: {}, + PageSize: { type: "integer" }, + PageToken: {}, + }, + }, + output: { + type: "structure", + members: { Budgets: { shape: "S46" }, NextPageToken: {} }, }, }, - S13: { type: "map", key: {}, value: {} }, - S14: { type: "map", key: {}, value: {} }, - }, - }; - - /***/ - }, - - /***/ 4577: /***/ function (module) { - module.exports = getPageLinks; - - function getPageLinks(link) { - link = link.link || link.headers.link || ""; - - const links = {}; - - // link format: - // '; rel="next", ; rel="last"' - link.replace(/<([^>]*)>;\s*rel="([\w]*)"/g, (m, uri, type) => { - links[type] = uri; - }); - - return links; - } - - /***/ - }, - - /***/ 4599: /***/ function (module) { - module.exports = { - version: "2.0", - metadata: { - apiVersion: "2015-05-28", - endpointPrefix: "iot", - protocol: "rest-json", - serviceFullName: "AWS IoT", - serviceId: "IoT", - signatureVersion: "v4", - signingName: "execute-api", - uid: "iot-2015-05-28", - }, - operations: { - AcceptCertificateTransfer: { - http: { - method: "PATCH", - requestUri: "/accept-certificate-transfer/{certificateId}", - }, - input: { - type: "structure", - required: ["certificateId"], - members: { - certificateId: { - location: "uri", - locationName: "certificateId", - }, - setAsActive: { - location: "querystring", - locationName: "setAsActive", - type: "boolean", - }, - }, - }, - }, - AddThingToBillingGroup: { - http: { - method: "PUT", - requestUri: "/billing-groups/addThingToBillingGroup", - }, + ListConstraintsForPortfolio: { input: { type: "structure", + required: ["PortfolioId"], members: { - billingGroupName: {}, - billingGroupArn: {}, - thingName: {}, - thingArn: {}, + AcceptLanguage: {}, + PortfolioId: {}, + ProductId: {}, + PageSize: { type: "integer" }, + PageToken: {}, }, }, - output: { type: "structure", members: {} }, - }, - AddThingToThingGroup: { - http: { - method: "PUT", - requestUri: "/thing-groups/addThingToThingGroup", - }, - input: { + output: { type: "structure", members: { - thingGroupName: {}, - thingGroupArn: {}, - thingName: {}, - thingArn: {}, - overrideDynamicGroups: { type: "boolean" }, + ConstraintDetails: { type: "list", member: { shape: "S1b" } }, + NextPageToken: {}, }, }, - output: { type: "structure", members: {} }, }, - AssociateTargetsWithJob: { - http: { requestUri: "/jobs/{jobId}/targets" }, + ListLaunchPaths: { input: { type: "structure", - required: ["targets", "jobId"], + required: ["ProductId"], members: { - targets: { shape: "Sg" }, - jobId: { location: "uri", locationName: "jobId" }, - comment: {}, + AcceptLanguage: {}, + ProductId: {}, + PageSize: { type: "integer" }, + PageToken: {}, }, }, output: { type: "structure", - members: { jobArn: {}, jobId: {}, description: {} }, - }, - }, - AttachPolicy: { - http: { - method: "PUT", - requestUri: "/target-policies/{policyName}", - }, - input: { - type: "structure", - required: ["policyName", "target"], members: { - policyName: { location: "uri", locationName: "policyName" }, - target: {}, + LaunchPathSummaries: { + type: "list", + member: { + type: "structure", + members: { + Id: {}, + ConstraintSummaries: { shape: "S6h" }, + Tags: { shape: "S1q" }, + Name: {}, + }, + }, + }, + NextPageToken: {}, }, }, }, - AttachPrincipalPolicy: { - http: { - method: "PUT", - requestUri: "/principal-policies/{policyName}", - }, + ListOrganizationPortfolioAccess: { input: { type: "structure", - required: ["policyName", "principal"], + required: ["PortfolioId", "OrganizationNodeType"], members: { - policyName: { location: "uri", locationName: "policyName" }, - principal: { - location: "header", - locationName: "x-amzn-iot-principal", - }, + AcceptLanguage: {}, + PortfolioId: {}, + OrganizationNodeType: {}, + PageToken: {}, + PageSize: { type: "integer" }, }, }, - deprecated: true, - }, - AttachSecurityProfile: { - http: { - method: "PUT", - requestUri: "/security-profiles/{securityProfileName}/targets", - }, - input: { + output: { type: "structure", - required: ["securityProfileName", "securityProfileTargetArn"], members: { - securityProfileName: { - location: "uri", - locationName: "securityProfileName", - }, - securityProfileTargetArn: { - location: "querystring", - locationName: "securityProfileTargetArn", - }, + OrganizationNodes: { type: "list", member: { shape: "S1s" } }, + NextPageToken: {}, }, }, - output: { type: "structure", members: {} }, }, - AttachThingPrincipal: { - http: { - method: "PUT", - requestUri: "/things/{thingName}/principals", - }, + ListPortfolioAccess: { input: { type: "structure", - required: ["thingName", "principal"], + required: ["PortfolioId"], members: { - thingName: { location: "uri", locationName: "thingName" }, - principal: { - location: "header", - locationName: "x-amzn-principal", - }, + AcceptLanguage: {}, + PortfolioId: {}, + OrganizationParentId: {}, + PageToken: {}, + PageSize: { type: "integer" }, }, }, - output: { type: "structure", members: {} }, - }, - CancelAuditMitigationActionsTask: { - http: { - method: "PUT", - requestUri: "/audit/mitigationactions/tasks/{taskId}/cancel", - }, - input: { - type: "structure", - required: ["taskId"], - members: { taskId: { location: "uri", locationName: "taskId" } }, - }, - output: { type: "structure", members: {} }, - }, - CancelAuditTask: { - http: { method: "PUT", requestUri: "/audit/tasks/{taskId}/cancel" }, - input: { - type: "structure", - required: ["taskId"], - members: { taskId: { location: "uri", locationName: "taskId" } }, - }, - output: { type: "structure", members: {} }, - }, - CancelCertificateTransfer: { - http: { - method: "PATCH", - requestUri: "/cancel-certificate-transfer/{certificateId}", - }, - input: { + output: { type: "structure", - required: ["certificateId"], members: { - certificateId: { - location: "uri", - locationName: "certificateId", - }, + AccountIds: { type: "list", member: {} }, + NextPageToken: {}, }, }, }, - CancelJob: { - http: { method: "PUT", requestUri: "/jobs/{jobId}/cancel" }, + ListPortfolios: { input: { type: "structure", - required: ["jobId"], members: { - jobId: { location: "uri", locationName: "jobId" }, - reasonCode: {}, - comment: {}, - force: { - location: "querystring", - locationName: "force", - type: "boolean", - }, + AcceptLanguage: {}, + PageToken: {}, + PageSize: { type: "integer" }, }, }, output: { type: "structure", - members: { jobArn: {}, jobId: {}, description: {} }, - }, - }, - CancelJobExecution: { - http: { - method: "PUT", - requestUri: "/things/{thingName}/jobs/{jobId}/cancel", - }, - input: { - type: "structure", - required: ["jobId", "thingName"], members: { - jobId: { location: "uri", locationName: "jobId" }, - thingName: { location: "uri", locationName: "thingName" }, - force: { - location: "querystring", - locationName: "force", - type: "boolean", - }, - expectedVersion: { type: "long" }, - statusDetails: { shape: "S1b" }, + PortfolioDetails: { shape: "S8l" }, + NextPageToken: {}, }, }, }, - ClearDefaultAuthorizer: { - http: { method: "DELETE", requestUri: "/default-authorizer" }, - input: { type: "structure", members: {} }, - output: { type: "structure", members: {} }, - }, - ConfirmTopicRuleDestination: { - http: { - method: "GET", - requestUri: "/confirmdestination/{confirmationToken+}", - }, + ListPortfoliosForProduct: { input: { type: "structure", - required: ["confirmationToken"], + required: ["ProductId"], members: { - confirmationToken: { - location: "uri", - locationName: "confirmationToken", - }, + AcceptLanguage: {}, + ProductId: {}, + PageToken: {}, + PageSize: { type: "integer" }, }, }, - output: { type: "structure", members: {} }, - }, - CreateAuthorizer: { - http: { requestUri: "/authorizer/{authorizerName}" }, - input: { + output: { type: "structure", - required: ["authorizerName", "authorizerFunctionArn"], members: { - authorizerName: { - location: "uri", - locationName: "authorizerName", - }, - authorizerFunctionArn: {}, - tokenKeyName: {}, - tokenSigningPublicKeys: { shape: "S1n" }, - status: {}, - signingDisabled: { type: "boolean" }, + PortfolioDetails: { shape: "S8l" }, + NextPageToken: {}, }, }, - output: { - type: "structure", - members: { authorizerName: {}, authorizerArn: {} }, - }, }, - CreateBillingGroup: { - http: { requestUri: "/billing-groups/{billingGroupName}" }, + ListPrincipalsForPortfolio: { input: { type: "structure", - required: ["billingGroupName"], + required: ["PortfolioId"], members: { - billingGroupName: { - location: "uri", - locationName: "billingGroupName", - }, - billingGroupProperties: { shape: "S1v" }, - tags: { shape: "S1x" }, + AcceptLanguage: {}, + PortfolioId: {}, + PageSize: { type: "integer" }, + PageToken: {}, }, }, output: { type: "structure", members: { - billingGroupName: {}, - billingGroupArn: {}, - billingGroupId: {}, + Principals: { + type: "list", + member: { + type: "structure", + members: { PrincipalARN: {}, PrincipalType: {} }, + }, + }, + NextPageToken: {}, }, }, }, - CreateCertificateFromCsr: { - http: { requestUri: "/certificates" }, + ListProvisionedProductPlans: { input: { type: "structure", - required: ["certificateSigningRequest"], members: { - certificateSigningRequest: {}, - setAsActive: { - location: "querystring", - locationName: "setAsActive", - type: "boolean", - }, + AcceptLanguage: {}, + ProvisionProductId: {}, + PageSize: { type: "integer" }, + PageToken: {}, + AccessLevelFilter: { shape: "S9a" }, }, }, output: { type: "structure", members: { - certificateArn: {}, - certificateId: {}, - certificatePem: {}, + ProvisionedProductPlans: { + type: "list", + member: { + type: "structure", + members: { + PlanName: {}, + PlanId: {}, + ProvisionProductId: {}, + ProvisionProductName: {}, + PlanType: {}, + ProvisioningArtifactId: {}, + }, + }, + }, + NextPageToken: {}, }, }, }, - CreateDimension: { - http: { requestUri: "/dimensions/{name}" }, + ListProvisioningArtifacts: { input: { type: "structure", - required: ["name", "type", "stringValues", "clientRequestToken"], + required: ["ProductId"], + members: { AcceptLanguage: {}, ProductId: {} }, + }, + output: { + type: "structure", members: { - name: { location: "uri", locationName: "name" }, - type: {}, - stringValues: { shape: "S2b" }, - tags: { shape: "S1x" }, - clientRequestToken: { idempotencyToken: true }, + ProvisioningArtifactDetails: { + type: "list", + member: { shape: "S2i" }, + }, + NextPageToken: {}, }, }, - output: { type: "structure", members: { name: {}, arn: {} } }, }, - CreateDomainConfiguration: { - http: { - requestUri: "/domainConfigurations/{domainConfigurationName}", - }, + ListProvisioningArtifactsForServiceAction: { input: { type: "structure", - required: ["domainConfigurationName"], + required: ["ServiceActionId"], members: { - domainConfigurationName: { - location: "uri", - locationName: "domainConfigurationName", - }, - domainName: {}, - serverCertificateArns: { type: "list", member: {} }, - validationCertificateArn: {}, - authorizerConfig: { shape: "S2l" }, - serviceType: {}, + ServiceActionId: {}, + PageSize: { type: "integer" }, + PageToken: {}, + AcceptLanguage: {}, }, }, output: { type: "structure", members: { - domainConfigurationName: {}, - domainConfigurationArn: {}, + ProvisioningArtifactViews: { + type: "list", + member: { + type: "structure", + members: { + ProductViewSummary: { shape: "S2e" }, + ProvisioningArtifact: { shape: "S4s" }, + }, + }, + }, + NextPageToken: {}, }, }, }, - CreateDynamicThingGroup: { - http: { requestUri: "/dynamic-thing-groups/{thingGroupName}" }, + ListRecordHistory: { input: { type: "structure", - required: ["thingGroupName", "queryString"], members: { - thingGroupName: { - location: "uri", - locationName: "thingGroupName", + AcceptLanguage: {}, + AccessLevelFilter: { shape: "S9a" }, + SearchFilter: { + type: "structure", + members: { Key: {}, Value: {} }, }, - thingGroupProperties: { shape: "S2r" }, - indexName: {}, - queryString: {}, - queryVersion: {}, - tags: { shape: "S1x" }, + PageSize: { type: "integer" }, + PageToken: {}, }, }, output: { type: "structure", members: { - thingGroupName: {}, - thingGroupArn: {}, - thingGroupId: {}, - indexName: {}, - queryString: {}, - queryVersion: {}, + RecordDetails: { type: "list", member: { shape: "S70" } }, + NextPageToken: {}, }, }, }, - CreateJob: { - http: { method: "PUT", requestUri: "/jobs/{jobId}" }, + ListResourcesForTagOption: { input: { type: "structure", - required: ["jobId", "targets"], + required: ["TagOptionId"], members: { - jobId: { location: "uri", locationName: "jobId" }, - targets: { shape: "Sg" }, - documentSource: {}, - document: {}, - description: {}, - presignedUrlConfig: { shape: "S36" }, - targetSelection: {}, - jobExecutionsRolloutConfig: { shape: "S3a" }, - abortConfig: { shape: "S3h" }, - timeoutConfig: { shape: "S3o" }, - tags: { shape: "S1x" }, + TagOptionId: {}, + ResourceType: {}, + PageSize: { type: "integer" }, + PageToken: {}, }, }, output: { type: "structure", - members: { jobArn: {}, jobId: {}, description: {} }, + members: { + ResourceDetails: { + type: "list", + member: { + type: "structure", + members: { + Id: {}, + ARN: {}, + Name: {}, + Description: {}, + CreatedTime: { type: "timestamp" }, + }, + }, + }, + PageToken: {}, + }, }, }, - CreateKeysAndCertificate: { - http: { requestUri: "/keys-and-certificate" }, + ListServiceActions: { input: { type: "structure", members: { - setAsActive: { - location: "querystring", - locationName: "setAsActive", - type: "boolean", - }, + AcceptLanguage: {}, + PageSize: { type: "integer" }, + PageToken: {}, }, }, output: { type: "structure", members: { - certificateArn: {}, - certificateId: {}, - certificatePem: {}, - keyPair: { shape: "S3t" }, + ServiceActionSummaries: { shape: "Sa5" }, + NextPageToken: {}, }, }, }, - CreateMitigationAction: { - http: { requestUri: "/mitigationactions/actions/{actionName}" }, + ListServiceActionsForProvisioningArtifact: { input: { type: "structure", - required: ["actionName", "roleArn", "actionParams"], + required: ["ProductId", "ProvisioningArtifactId"], members: { - actionName: { location: "uri", locationName: "actionName" }, - roleArn: {}, - actionParams: { shape: "S3y" }, - tags: { shape: "S1x" }, + ProductId: {}, + ProvisioningArtifactId: {}, + PageSize: { type: "integer" }, + PageToken: {}, + AcceptLanguage: {}, }, }, output: { type: "structure", - members: { actionArn: {}, actionId: {} }, + members: { + ServiceActionSummaries: { shape: "Sa5" }, + NextPageToken: {}, + }, }, }, - CreateOTAUpdate: { - http: { requestUri: "/otaUpdates/{otaUpdateId}" }, + ListStackInstancesForProvisionedProduct: { input: { type: "structure", - required: ["otaUpdateId", "targets", "files", "roleArn"], + required: ["ProvisionedProductId"], members: { - otaUpdateId: { location: "uri", locationName: "otaUpdateId" }, - description: {}, - targets: { shape: "S4h" }, - protocols: { shape: "S4j" }, - targetSelection: {}, - awsJobExecutionsRolloutConfig: { shape: "S4l" }, - awsJobPresignedUrlConfig: { shape: "S4n" }, - files: { shape: "S4p" }, - roleArn: {}, - additionalParameters: { shape: "S5m" }, - tags: { shape: "S1x" }, + AcceptLanguage: {}, + ProvisionedProductId: {}, + PageToken: {}, + PageSize: { type: "integer" }, }, }, output: { type: "structure", members: { - otaUpdateId: {}, - awsIotJobId: {}, - otaUpdateArn: {}, - awsIotJobArn: {}, - otaUpdateStatus: {}, + StackInstances: { + type: "list", + member: { + type: "structure", + members: { + Account: {}, + Region: {}, + StackInstanceStatus: {}, + }, + }, + }, + NextPageToken: {}, }, }, }, - CreatePolicy: { - http: { requestUri: "/policies/{policyName}" }, + ListTagOptions: { input: { type: "structure", - required: ["policyName", "policyDocument"], members: { - policyName: { location: "uri", locationName: "policyName" }, - policyDocument: {}, + Filters: { + type: "structure", + members: { Key: {}, Value: {}, Active: { type: "boolean" } }, + }, + PageSize: { type: "integer" }, + PageToken: {}, }, }, output: { type: "structure", - members: { - policyName: {}, - policyArn: {}, - policyDocument: {}, - policyVersionId: {}, - }, + members: { TagOptionDetails: { shape: "S45" }, PageToken: {} }, }, }, - CreatePolicyVersion: { - http: { requestUri: "/policies/{policyName}/version" }, + ProvisionProduct: { input: { type: "structure", - required: ["policyName", "policyDocument"], + required: ["ProvisionedProductName", "ProvisionToken"], members: { - policyName: { location: "uri", locationName: "policyName" }, - policyDocument: {}, - setAsDefault: { - location: "querystring", - locationName: "setAsDefault", - type: "boolean", + AcceptLanguage: {}, + ProductId: {}, + ProductName: {}, + ProvisioningArtifactId: {}, + ProvisioningArtifactName: {}, + PathId: {}, + PathName: {}, + ProvisionedProductName: {}, + ProvisioningParameters: { + type: "list", + member: { + type: "structure", + members: { Key: {}, Value: {} }, + }, + }, + ProvisioningPreferences: { + type: "structure", + members: { + StackSetAccounts: { shape: "S6r" }, + StackSetRegions: { shape: "S6s" }, + StackSetFailureToleranceCount: { type: "integer" }, + StackSetFailureTolerancePercentage: { type: "integer" }, + StackSetMaxConcurrencyCount: { type: "integer" }, + StackSetMaxConcurrencyPercentage: { type: "integer" }, + }, }, + Tags: { shape: "S1q" }, + NotificationArns: { shape: "S2o" }, + ProvisionToken: { idempotencyToken: true }, }, }, output: { type: "structure", + members: { RecordDetail: { shape: "S70" } }, + }, + }, + RejectPortfolioShare: { + input: { + type: "structure", + required: ["PortfolioId"], members: { - policyArn: {}, - policyDocument: {}, - policyVersionId: {}, - isDefaultVersion: { type: "boolean" }, + AcceptLanguage: {}, + PortfolioId: {}, + PortfolioShareType: {}, }, }, + output: { type: "structure", members: {} }, }, - CreateProvisioningClaim: { - http: { - requestUri: - "/provisioning-templates/{templateName}/provisioning-claim", - }, + ScanProvisionedProducts: { input: { type: "structure", - required: ["templateName"], members: { - templateName: { location: "uri", locationName: "templateName" }, + AcceptLanguage: {}, + AccessLevelFilter: { shape: "S9a" }, + PageSize: { type: "integer" }, + PageToken: {}, }, }, output: { type: "structure", members: { - certificateId: {}, - certificatePem: {}, - keyPair: { shape: "S3t" }, - expiration: { type: "timestamp" }, + ProvisionedProducts: { type: "list", member: { shape: "S55" } }, + NextPageToken: {}, }, }, }, - CreateProvisioningTemplate: { - http: { requestUri: "/provisioning-templates" }, + SearchProducts: { input: { type: "structure", - required: ["templateName", "templateBody", "provisioningRoleArn"], members: { - templateName: {}, - description: {}, - templateBody: {}, - enabled: { type: "boolean" }, - provisioningRoleArn: {}, - tags: { shape: "S1x" }, + AcceptLanguage: {}, + Filters: { shape: "Sav" }, + PageSize: { type: "integer" }, + SortBy: {}, + SortOrder: {}, + PageToken: {}, }, }, output: { type: "structure", members: { - templateArn: {}, - templateName: {}, - defaultVersionId: { type: "integer" }, + ProductViewSummaries: { + type: "list", + member: { shape: "S2e" }, + }, + ProductViewAggregations: { + type: "map", + key: {}, + value: { + type: "list", + member: { + type: "structure", + members: { + Value: {}, + ApproximateCount: { type: "integer" }, + }, + }, + }, + }, + NextPageToken: {}, }, }, }, - CreateProvisioningTemplateVersion: { - http: { - requestUri: "/provisioning-templates/{templateName}/versions", - }, + SearchProductsAsAdmin: { input: { type: "structure", - required: ["templateName", "templateBody"], members: { - templateName: { location: "uri", locationName: "templateName" }, - templateBody: {}, - setAsDefault: { - location: "querystring", - locationName: "setAsDefault", - type: "boolean", - }, + AcceptLanguage: {}, + PortfolioId: {}, + Filters: { shape: "Sav" }, + SortBy: {}, + SortOrder: {}, + PageToken: {}, + PageSize: { type: "integer" }, + ProductSource: {}, }, }, output: { type: "structure", members: { - templateArn: {}, - templateName: {}, - versionId: { type: "integer" }, - isDefaultVersion: { type: "boolean" }, + ProductViewDetails: { type: "list", member: { shape: "S2d" } }, + NextPageToken: {}, }, }, }, - CreateRoleAlias: { - http: { requestUri: "/role-aliases/{roleAlias}" }, + SearchProvisionedProducts: { input: { type: "structure", - required: ["roleAlias", "roleArn"], members: { - roleAlias: { location: "uri", locationName: "roleAlias" }, - roleArn: {}, - credentialDurationSeconds: { type: "integer" }, + AcceptLanguage: {}, + AccessLevelFilter: { shape: "S9a" }, + Filters: { + type: "map", + key: {}, + value: { type: "list", member: {} }, + }, + SortBy: {}, + SortOrder: {}, + PageSize: { type: "integer" }, + PageToken: {}, }, }, output: { type: "structure", - members: { roleAlias: {}, roleAliasArn: {} }, - }, - }, - CreateScheduledAudit: { - http: { requestUri: "/audit/scheduledaudits/{scheduledAuditName}" }, - input: { - type: "structure", - required: ["frequency", "targetCheckNames", "scheduledAuditName"], members: { - frequency: {}, - dayOfMonth: {}, - dayOfWeek: {}, - targetCheckNames: { shape: "S6n" }, - scheduledAuditName: { - location: "uri", - locationName: "scheduledAuditName", + ProvisionedProducts: { + type: "list", + member: { + type: "structure", + members: { + Name: {}, + Arn: {}, + Type: {}, + Id: {}, + Status: {}, + StatusMessage: {}, + CreatedTime: { type: "timestamp" }, + IdempotencyToken: {}, + LastRecordId: {}, + LastProvisioningRecordId: {}, + LastSuccessfulProvisioningRecordId: {}, + Tags: { shape: "S1q" }, + PhysicalId: {}, + ProductId: {}, + ProductName: {}, + ProvisioningArtifactId: {}, + ProvisioningArtifactName: {}, + UserArn: {}, + UserArnSession: {}, + }, + }, }, - tags: { shape: "S1x" }, + TotalResultsCount: { type: "integer" }, + NextPageToken: {}, }, }, - output: { type: "structure", members: { scheduledAuditArn: {} } }, }, - CreateSecurityProfile: { - http: { requestUri: "/security-profiles/{securityProfileName}" }, + TerminateProvisionedProduct: { input: { type: "structure", - required: ["securityProfileName"], + required: ["TerminateToken"], members: { - securityProfileName: { - location: "uri", - locationName: "securityProfileName", - }, - securityProfileDescription: {}, - behaviors: { shape: "S6u" }, - alertTargets: { shape: "S7d" }, - additionalMetricsToRetain: { - shape: "S7h", - deprecated: true, - deprecatedMessage: "Use additionalMetricsToRetainV2.", - }, - additionalMetricsToRetainV2: { shape: "S7i" }, - tags: { shape: "S1x" }, + ProvisionedProductName: {}, + ProvisionedProductId: {}, + TerminateToken: { idempotencyToken: true }, + IgnoreErrors: { type: "boolean" }, + AcceptLanguage: {}, + RetainPhysicalResources: { type: "boolean" }, }, }, output: { type: "structure", - members: { securityProfileName: {}, securityProfileArn: {} }, + members: { RecordDetail: { shape: "S70" } }, }, }, - CreateStream: { - http: { requestUri: "/streams/{streamId}" }, + UpdateConstraint: { input: { type: "structure", - required: ["streamId", "files", "roleArn"], + required: ["Id"], members: { - streamId: { location: "uri", locationName: "streamId" }, - description: {}, - files: { shape: "S7o" }, - roleArn: {}, - tags: { shape: "S1x" }, + AcceptLanguage: {}, + Id: {}, + Description: {}, + Parameters: {}, }, }, output: { type: "structure", members: { - streamId: {}, - streamArn: {}, - description: {}, - streamVersion: { type: "integer" }, + ConstraintDetail: { shape: "S1b" }, + ConstraintParameters: {}, + Status: {}, }, }, }, - CreateThing: { - http: { requestUri: "/things/{thingName}" }, + UpdatePortfolio: { input: { type: "structure", - required: ["thingName"], + required: ["Id"], members: { - thingName: { location: "uri", locationName: "thingName" }, - thingTypeName: {}, - attributePayload: { shape: "S2t" }, - billingGroupName: {}, + AcceptLanguage: {}, + Id: {}, + DisplayName: {}, + Description: {}, + ProviderName: {}, + AddTags: { shape: "S1i" }, + RemoveTags: { shape: "Sbw" }, }, }, output: { type: "structure", - members: { thingName: {}, thingArn: {}, thingId: {} }, + members: { + PortfolioDetail: { shape: "S1n" }, + Tags: { shape: "S1q" }, + }, }, }, - CreateThingGroup: { - http: { requestUri: "/thing-groups/{thingGroupName}" }, + UpdatePortfolioShare: { input: { type: "structure", - required: ["thingGroupName"], + required: ["PortfolioId"], members: { - thingGroupName: { - location: "uri", - locationName: "thingGroupName", - }, - parentGroupName: {}, - thingGroupProperties: { shape: "S2r" }, - tags: { shape: "S1x" }, + AcceptLanguage: {}, + PortfolioId: {}, + AccountId: {}, + OrganizationNode: { shape: "S1s" }, + ShareTagOptions: { type: "boolean" }, }, }, output: { type: "structure", - members: { - thingGroupName: {}, - thingGroupArn: {}, - thingGroupId: {}, - }, + members: { PortfolioShareToken: {}, Status: {} }, }, }, - CreateThingType: { - http: { requestUri: "/thing-types/{thingTypeName}" }, + UpdateProduct: { input: { type: "structure", - required: ["thingTypeName"], + required: ["Id"], members: { - thingTypeName: { - location: "uri", - locationName: "thingTypeName", - }, - thingTypeProperties: { shape: "S80" }, - tags: { shape: "S1x" }, + AcceptLanguage: {}, + Id: {}, + Name: {}, + Owner: {}, + Description: {}, + Distributor: {}, + SupportDescription: {}, + SupportEmail: {}, + SupportUrl: {}, + AddTags: { shape: "S1i" }, + RemoveTags: { shape: "Sbw" }, }, }, output: { type: "structure", - members: { thingTypeName: {}, thingTypeArn: {}, thingTypeId: {} }, - }, - }, - CreateTopicRule: { - http: { requestUri: "/rules/{ruleName}" }, - input: { - type: "structure", - required: ["ruleName", "topicRulePayload"], members: { - ruleName: { location: "uri", locationName: "ruleName" }, - topicRulePayload: { shape: "S88" }, - tags: { location: "header", locationName: "x-amz-tagging" }, + ProductViewDetail: { shape: "S2d" }, + Tags: { shape: "S1q" }, }, - payload: "topicRulePayload", }, }, - CreateTopicRuleDestination: { - http: { requestUri: "/destinations" }, + UpdateProvisionedProduct: { input: { type: "structure", - required: ["destinationConfiguration"], + required: ["UpdateToken"], members: { - destinationConfiguration: { + AcceptLanguage: {}, + ProvisionedProductName: {}, + ProvisionedProductId: {}, + ProductId: {}, + ProductName: {}, + ProvisioningArtifactId: {}, + ProvisioningArtifactName: {}, + PathId: {}, + PathName: {}, + ProvisioningParameters: { shape: "S2r" }, + ProvisioningPreferences: { type: "structure", members: { - httpUrlConfiguration: { - type: "structure", - required: ["confirmationUrl"], - members: { confirmationUrl: {} }, - }, + StackSetAccounts: { shape: "S6r" }, + StackSetRegions: { shape: "S6s" }, + StackSetFailureToleranceCount: { type: "integer" }, + StackSetFailureTolerancePercentage: { type: "integer" }, + StackSetMaxConcurrencyCount: { type: "integer" }, + StackSetMaxConcurrencyPercentage: { type: "integer" }, + StackSetOperationType: {}, }, }, + Tags: { shape: "S1q" }, + UpdateToken: { idempotencyToken: true }, }, }, output: { type: "structure", - members: { topicRuleDestination: { shape: "Sav" } }, + members: { RecordDetail: { shape: "S70" } }, }, }, - DeleteAccountAuditConfiguration: { - http: { method: "DELETE", requestUri: "/audit/configuration" }, + UpdateProvisionedProductProperties: { input: { type: "structure", + required: [ + "ProvisionedProductId", + "ProvisionedProductProperties", + "IdempotencyToken", + ], members: { - deleteScheduledAudits: { - location: "querystring", - locationName: "deleteScheduledAudits", - type: "boolean", - }, + AcceptLanguage: {}, + ProvisionedProductId: {}, + ProvisionedProductProperties: { shape: "Sc8" }, + IdempotencyToken: { idempotencyToken: true }, }, }, - output: { type: "structure", members: {} }, - }, - DeleteAuthorizer: { - http: { - method: "DELETE", - requestUri: "/authorizer/{authorizerName}", - }, - input: { + output: { type: "structure", - required: ["authorizerName"], members: { - authorizerName: { - location: "uri", - locationName: "authorizerName", - }, + ProvisionedProductId: {}, + ProvisionedProductProperties: { shape: "Sc8" }, + RecordId: {}, + Status: {}, }, }, - output: { type: "structure", members: {} }, }, - DeleteBillingGroup: { - http: { - method: "DELETE", - requestUri: "/billing-groups/{billingGroupName}", - }, + UpdateProvisioningArtifact: { input: { type: "structure", - required: ["billingGroupName"], + required: ["ProductId", "ProvisioningArtifactId"], members: { - billingGroupName: { - location: "uri", - locationName: "billingGroupName", - }, - expectedVersion: { - location: "querystring", - locationName: "expectedVersion", - type: "long", - }, + AcceptLanguage: {}, + ProductId: {}, + ProvisioningArtifactId: {}, + Name: {}, + Description: {}, + Active: { type: "boolean" }, + Guidance: {}, }, }, - output: { type: "structure", members: {} }, - }, - DeleteCACertificate: { - http: { - method: "DELETE", - requestUri: "/cacertificate/{caCertificateId}", - }, - input: { + output: { type: "structure", - required: ["certificateId"], members: { - certificateId: { - location: "uri", - locationName: "caCertificateId", - }, + ProvisioningArtifactDetail: { shape: "S2i" }, + Info: { shape: "S27" }, + Status: {}, }, }, - output: { type: "structure", members: {} }, }, - DeleteCertificate: { - http: { - method: "DELETE", - requestUri: "/certificates/{certificateId}", - }, + UpdateServiceAction: { input: { type: "structure", - required: ["certificateId"], + required: ["Id"], members: { - certificateId: { - location: "uri", - locationName: "certificateId", - }, - forceDelete: { - location: "querystring", - locationName: "forceDelete", - type: "boolean", - }, + Id: {}, + Name: {}, + Definition: { shape: "S32" }, + Description: {}, + AcceptLanguage: {}, }, }, - }, - DeleteDimension: { - http: { method: "DELETE", requestUri: "/dimensions/{name}" }, - input: { + output: { type: "structure", - required: ["name"], - members: { name: { location: "uri", locationName: "name" } }, + members: { ServiceActionDetail: { shape: "S37" } }, }, - output: { type: "structure", members: {} }, }, - DeleteDomainConfiguration: { - http: { - method: "DELETE", - requestUri: "/domainConfigurations/{domainConfigurationName}", - }, + UpdateTagOption: { input: { type: "structure", - required: ["domainConfigurationName"], - members: { - domainConfigurationName: { - location: "uri", - locationName: "domainConfigurationName", - }, - }, + required: ["Id"], + members: { Id: {}, Value: {}, Active: { type: "boolean" } }, }, - output: { type: "structure", members: {} }, - }, - DeleteDynamicThingGroup: { - http: { - method: "DELETE", - requestUri: "/dynamic-thing-groups/{thingGroupName}", + output: { + type: "structure", + members: { TagOptionDetail: { shape: "S3d" } }, }, - input: { + }, + }, + shapes: { + Sm: { + type: "list", + member: { type: "structure", - required: ["thingGroupName"], + required: [ + "ServiceActionId", + "ProductId", + "ProvisioningArtifactId", + ], members: { - thingGroupName: { - location: "uri", - locationName: "thingGroupName", - }, - expectedVersion: { - location: "querystring", - locationName: "expectedVersion", - type: "long", - }, + ServiceActionId: {}, + ProductId: {}, + ProvisioningArtifactId: {}, }, }, - output: { type: "structure", members: {} }, }, - DeleteJob: { - http: { method: "DELETE", requestUri: "/jobs/{jobId}" }, - input: { + Sp: { + type: "list", + member: { type: "structure", - required: ["jobId"], members: { - jobId: { location: "uri", locationName: "jobId" }, - force: { - location: "querystring", - locationName: "force", - type: "boolean", - }, + ServiceActionId: {}, + ProductId: {}, + ProvisioningArtifactId: {}, + ErrorCode: {}, + ErrorMessage: {}, }, }, }, - DeleteJobExecution: { - http: { - method: "DELETE", - requestUri: - "/things/{thingName}/jobs/{jobId}/executionNumber/{executionNumber}", - }, - input: { - type: "structure", - required: ["jobId", "thingName", "executionNumber"], - members: { - jobId: { location: "uri", locationName: "jobId" }, - thingName: { location: "uri", locationName: "thingName" }, - executionNumber: { - location: "uri", - locationName: "executionNumber", - type: "long", - }, - force: { - location: "querystring", - locationName: "force", - type: "boolean", - }, - }, + S1b: { + type: "structure", + members: { + ConstraintId: {}, + Type: {}, + Description: {}, + Owner: {}, + ProductId: {}, + PortfolioId: {}, }, }, - DeleteMitigationAction: { - http: { - method: "DELETE", - requestUri: "/mitigationactions/actions/{actionName}", + S1i: { type: "list", member: { shape: "S1j" } }, + S1j: { + type: "structure", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, + }, + S1n: { + type: "structure", + members: { + Id: {}, + ARN: {}, + DisplayName: {}, + Description: {}, + CreatedTime: { type: "timestamp" }, + ProviderName: {}, }, - input: { - type: "structure", - required: ["actionName"], - members: { - actionName: { location: "uri", locationName: "actionName" }, - }, + }, + S1q: { type: "list", member: { shape: "S1j" } }, + S1s: { type: "structure", members: { Type: {}, Value: {} } }, + S24: { + type: "structure", + required: ["Info"], + members: { + Name: {}, + Description: {}, + Info: { shape: "S27" }, + Type: {}, + DisableTemplateValidation: { type: "boolean" }, }, - output: { type: "structure", members: {} }, }, - DeleteOTAUpdate: { - http: { method: "DELETE", requestUri: "/otaUpdates/{otaUpdateId}" }, - input: { - type: "structure", - required: ["otaUpdateId"], - members: { - otaUpdateId: { location: "uri", locationName: "otaUpdateId" }, - deleteStream: { - location: "querystring", - locationName: "deleteStream", - type: "boolean", - }, - forceDeleteAWSJob: { - location: "querystring", - locationName: "forceDeleteAWSJob", - type: "boolean", - }, - }, + S27: { type: "map", key: {}, value: {} }, + S2d: { + type: "structure", + members: { + ProductViewSummary: { shape: "S2e" }, + Status: {}, + ProductARN: {}, + CreatedTime: { type: "timestamp" }, }, - output: { type: "structure", members: {} }, }, - DeletePolicy: { - http: { method: "DELETE", requestUri: "/policies/{policyName}" }, - input: { - type: "structure", - required: ["policyName"], - members: { - policyName: { location: "uri", locationName: "policyName" }, - }, + S2e: { + type: "structure", + members: { + Id: {}, + ProductId: {}, + Name: {}, + Owner: {}, + ShortDescription: {}, + Type: {}, + Distributor: {}, + HasDefaultPath: { type: "boolean" }, + SupportEmail: {}, + SupportDescription: {}, + SupportUrl: {}, }, }, - DeletePolicyVersion: { - http: { - method: "DELETE", - requestUri: "/policies/{policyName}/version/{policyVersionId}", + S2i: { + type: "structure", + members: { + Id: {}, + Name: {}, + Description: {}, + Type: {}, + CreatedTime: { type: "timestamp" }, + Active: { type: "boolean" }, + Guidance: {}, }, - input: { + }, + S2o: { type: "list", member: {} }, + S2r: { + type: "list", + member: { type: "structure", - required: ["policyName", "policyVersionId"], members: { - policyName: { location: "uri", locationName: "policyName" }, - policyVersionId: { - location: "uri", - locationName: "policyVersionId", - }, + Key: {}, + Value: {}, + UsePreviousValue: { type: "boolean" }, }, }, }, - DeleteProvisioningTemplate: { - http: { - method: "DELETE", - requestUri: "/provisioning-templates/{templateName}", + S32: { type: "map", key: {}, value: {} }, + S37: { + type: "structure", + members: { + ServiceActionSummary: { shape: "S38" }, + Definition: { shape: "S32" }, }, - input: { - type: "structure", - required: ["templateName"], - members: { - templateName: { location: "uri", locationName: "templateName" }, - }, + }, + S38: { + type: "structure", + members: { Id: {}, Name: {}, Description: {}, DefinitionType: {} }, + }, + S3d: { + type: "structure", + members: { + Key: {}, + Value: {}, + Active: { type: "boolean" }, + Id: {}, + Owner: {}, }, - output: { type: "structure", members: {} }, }, - DeleteProvisioningTemplateVersion: { - http: { - method: "DELETE", - requestUri: - "/provisioning-templates/{templateName}/versions/{versionId}", + S45: { type: "list", member: { shape: "S3d" } }, + S46: { + type: "list", + member: { type: "structure", members: { BudgetName: {} } }, + }, + S4r: { type: "list", member: { shape: "S4s" } }, + S4s: { + type: "structure", + members: { + Id: {}, + Name: {}, + Description: {}, + CreatedTime: { type: "timestamp" }, + Guidance: {}, }, - input: { + }, + S55: { + type: "structure", + members: { + Name: {}, + Arn: {}, + Type: {}, + Id: {}, + Status: {}, + StatusMessage: {}, + CreatedTime: { type: "timestamp" }, + IdempotencyToken: {}, + LastRecordId: {}, + LastProvisioningRecordId: {}, + LastSuccessfulProvisioningRecordId: {}, + ProductId: {}, + ProvisioningArtifactId: {}, + LaunchRoleArn: {}, + }, + }, + S6h: { + type: "list", + member: { type: "structure", - required: ["templateName", "versionId"], - members: { - templateName: { location: "uri", locationName: "templateName" }, - versionId: { - location: "uri", - locationName: "versionId", - type: "integer", + members: { Type: {}, Description: {} }, + }, + }, + S6r: { type: "list", member: {} }, + S6s: { type: "list", member: {} }, + S70: { + type: "structure", + members: { + RecordId: {}, + ProvisionedProductName: {}, + Status: {}, + CreatedTime: { type: "timestamp" }, + UpdatedTime: { type: "timestamp" }, + ProvisionedProductType: {}, + RecordType: {}, + ProvisionedProductId: {}, + ProductId: {}, + ProvisioningArtifactId: {}, + PathId: {}, + RecordErrors: { + type: "list", + member: { + type: "structure", + members: { Code: {}, Description: {} }, }, }, + RecordTags: { + type: "list", + member: { type: "structure", members: { Key: {}, Value: {} } }, + }, + LaunchRoleArn: {}, }, - output: { type: "structure", members: {} }, }, - DeleteRegistrationCode: { - http: { method: "DELETE", requestUri: "/registrationcode" }, - input: { type: "structure", members: {} }, - output: { type: "structure", members: {} }, + S7b: { + type: "list", + member: { + type: "structure", + members: { OutputKey: {}, OutputValue: {}, Description: {} }, + }, }, - DeleteRoleAlias: { - http: { method: "DELETE", requestUri: "/role-aliases/{roleAlias}" }, + S7n: { type: "list", member: {} }, + S8l: { type: "list", member: { shape: "S1n" } }, + S9a: { type: "structure", members: { Key: {}, Value: {} } }, + Sa5: { type: "list", member: { shape: "S38" } }, + Sav: { type: "map", key: {}, value: { type: "list", member: {} } }, + Sbw: { type: "list", member: {} }, + Sc8: { type: "map", key: {}, value: {} }, + }, + }; + + /***/ + }, + + /***/ 4016: /***/ function (module) { + module.exports = require("tls"); + + /***/ + }, + + /***/ 4035: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["codeartifact"] = {}; + AWS.CodeArtifact = Service.defineService("codeartifact", ["2018-09-22"]); + Object.defineProperty(apiLoader.services["codeartifact"], "2018-09-22", { + get: function get() { + var model = __webpack_require__(9069); + model.paginators = __webpack_require__(848).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.CodeArtifact; + + /***/ + }, + + /***/ 4068: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["forecastqueryservice"] = {}; + AWS.ForecastQueryService = Service.defineService("forecastqueryservice", [ + "2018-06-26", + ]); + Object.defineProperty( + apiLoader.services["forecastqueryservice"], + "2018-06-26", + { + get: function get() { + var model = __webpack_require__(890); + model.paginators = __webpack_require__(520).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.ForecastQueryService; + + /***/ + }, + + /***/ 4074: /***/ function (module) { + module.exports = { + metadata: { + apiVersion: "2017-11-27", + endpointPrefix: "mq", + signingName: "mq", + serviceFullName: "AmazonMQ", + serviceId: "mq", + protocol: "rest-json", + jsonVersion: "1.1", + uid: "mq-2017-11-27", + signatureVersion: "v4", + }, + operations: { + CreateBroker: { + http: { requestUri: "/v1/brokers", responseCode: 200 }, input: { type: "structure", - required: ["roleAlias"], members: { - roleAlias: { location: "uri", locationName: "roleAlias" }, + AuthenticationStrategy: { + locationName: "authenticationStrategy", + }, + AutoMinorVersionUpgrade: { + locationName: "autoMinorVersionUpgrade", + type: "boolean", + }, + BrokerName: { locationName: "brokerName" }, + Configuration: { shape: "S5", locationName: "configuration" }, + CreatorRequestId: { + locationName: "creatorRequestId", + idempotencyToken: true, + }, + DeploymentMode: { locationName: "deploymentMode" }, + EncryptionOptions: { + shape: "S8", + locationName: "encryptionOptions", + }, + EngineType: { locationName: "engineType" }, + EngineVersion: { locationName: "engineVersion" }, + HostInstanceType: { locationName: "hostInstanceType" }, + LdapServerMetadata: { + shape: "Sa", + locationName: "ldapServerMetadata", + }, + Logs: { shape: "Sc", locationName: "logs" }, + MaintenanceWindowStartTime: { + shape: "Sd", + locationName: "maintenanceWindowStartTime", + }, + PubliclyAccessible: { + locationName: "publiclyAccessible", + type: "boolean", + }, + SecurityGroups: { shape: "Sb", locationName: "securityGroups" }, + StorageType: { locationName: "storageType" }, + SubnetIds: { shape: "Sb", locationName: "subnetIds" }, + Tags: { shape: "Sg", locationName: "tags" }, + Users: { + locationName: "users", + type: "list", + member: { + type: "structure", + members: { + ConsoleAccess: { + locationName: "consoleAccess", + type: "boolean", + }, + Groups: { shape: "Sb", locationName: "groups" }, + Password: { locationName: "password" }, + Username: { locationName: "username" }, + }, + }, + }, }, }, - output: { type: "structure", members: {} }, - }, - DeleteScheduledAudit: { - http: { - method: "DELETE", - requestUri: "/audit/scheduledaudits/{scheduledAuditName}", - }, - input: { + output: { type: "structure", - required: ["scheduledAuditName"], members: { - scheduledAuditName: { - location: "uri", - locationName: "scheduledAuditName", - }, + BrokerArn: { locationName: "brokerArn" }, + BrokerId: { locationName: "brokerId" }, }, }, - output: { type: "structure", members: {} }, }, - DeleteSecurityProfile: { - http: { - method: "DELETE", - requestUri: "/security-profiles/{securityProfileName}", - }, + CreateConfiguration: { + http: { requestUri: "/v1/configurations", responseCode: 200 }, input: { type: "structure", - required: ["securityProfileName"], members: { - securityProfileName: { - location: "uri", - locationName: "securityProfileName", - }, - expectedVersion: { - location: "querystring", - locationName: "expectedVersion", - type: "long", + AuthenticationStrategy: { + locationName: "authenticationStrategy", }, + EngineType: { locationName: "engineType" }, + EngineVersion: { locationName: "engineVersion" }, + Name: { locationName: "name" }, + Tags: { shape: "Sg", locationName: "tags" }, }, }, - output: { type: "structure", members: {} }, - }, - DeleteStream: { - http: { method: "DELETE", requestUri: "/streams/{streamId}" }, - input: { + output: { type: "structure", - required: ["streamId"], members: { - streamId: { location: "uri", locationName: "streamId" }, + Arn: { locationName: "arn" }, + AuthenticationStrategy: { + locationName: "authenticationStrategy", + }, + Created: { shape: "Sm", locationName: "created" }, + Id: { locationName: "id" }, + LatestRevision: { shape: "Sn", locationName: "latestRevision" }, + Name: { locationName: "name" }, }, }, - output: { type: "structure", members: {} }, }, - DeleteThing: { - http: { method: "DELETE", requestUri: "/things/{thingName}" }, + CreateTags: { + http: { requestUri: "/v1/tags/{resource-arn}", responseCode: 204 }, input: { type: "structure", - required: ["thingName"], members: { - thingName: { location: "uri", locationName: "thingName" }, - expectedVersion: { - location: "querystring", - locationName: "expectedVersion", - type: "long", - }, + ResourceArn: { location: "uri", locationName: "resource-arn" }, + Tags: { shape: "Sg", locationName: "tags" }, }, + required: ["ResourceArn"], }, - output: { type: "structure", members: {} }, }, - DeleteThingGroup: { + CreateUser: { http: { - method: "DELETE", - requestUri: "/thing-groups/{thingGroupName}", + requestUri: "/v1/brokers/{broker-id}/users/{username}", + responseCode: 200, }, input: { type: "structure", - required: ["thingGroupName"], members: { - thingGroupName: { - location: "uri", - locationName: "thingGroupName", - }, - expectedVersion: { - location: "querystring", - locationName: "expectedVersion", - type: "long", + BrokerId: { location: "uri", locationName: "broker-id" }, + ConsoleAccess: { + locationName: "consoleAccess", + type: "boolean", }, + Groups: { shape: "Sb", locationName: "groups" }, + Password: { locationName: "password" }, + Username: { location: "uri", locationName: "username" }, }, + required: ["Username", "BrokerId"], }, output: { type: "structure", members: {} }, }, - DeleteThingType: { + DeleteBroker: { http: { method: "DELETE", - requestUri: "/thing-types/{thingTypeName}", + requestUri: "/v1/brokers/{broker-id}", + responseCode: 200, }, input: { type: "structure", - required: ["thingTypeName"], members: { - thingTypeName: { - location: "uri", - locationName: "thingTypeName", - }, + BrokerId: { location: "uri", locationName: "broker-id" }, }, + required: ["BrokerId"], }, - output: { type: "structure", members: {} }, - }, - DeleteTopicRule: { - http: { method: "DELETE", requestUri: "/rules/{ruleName}" }, - input: { + output: { type: "structure", - required: ["ruleName"], - members: { - ruleName: { location: "uri", locationName: "ruleName" }, - }, + members: { BrokerId: { locationName: "brokerId" } }, }, }, - DeleteTopicRuleDestination: { - http: { method: "DELETE", requestUri: "/destinations/{arn+}" }, - input: { - type: "structure", - required: ["arn"], - members: { arn: { location: "uri", locationName: "arn" } }, + DeleteTags: { + http: { + method: "DELETE", + requestUri: "/v1/tags/{resource-arn}", + responseCode: 204, }, - output: { type: "structure", members: {} }, - }, - DeleteV2LoggingLevel: { - http: { method: "DELETE", requestUri: "/v2LoggingLevel" }, input: { type: "structure", - required: ["targetType", "targetName"], members: { - targetType: { - location: "querystring", - locationName: "targetType", - }, - targetName: { + ResourceArn: { location: "uri", locationName: "resource-arn" }, + TagKeys: { + shape: "Sb", location: "querystring", - locationName: "targetName", + locationName: "tagKeys", }, }, + required: ["TagKeys", "ResourceArn"], }, }, - DeprecateThingType: { - http: { requestUri: "/thing-types/{thingTypeName}/deprecate" }, + DeleteUser: { + http: { + method: "DELETE", + requestUri: "/v1/brokers/{broker-id}/users/{username}", + responseCode: 200, + }, input: { type: "structure", - required: ["thingTypeName"], members: { - thingTypeName: { - location: "uri", - locationName: "thingTypeName", - }, - undoDeprecate: { type: "boolean" }, + BrokerId: { location: "uri", locationName: "broker-id" }, + Username: { location: "uri", locationName: "username" }, }, + required: ["Username", "BrokerId"], }, output: { type: "structure", members: {} }, }, - DescribeAccountAuditConfiguration: { - http: { method: "GET", requestUri: "/audit/configuration" }, - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - roleArn: {}, - auditNotificationTargetConfigurations: { shape: "Scm" }, - auditCheckConfigurations: { shape: "Scp" }, - }, + DescribeBroker: { + http: { + method: "GET", + requestUri: "/v1/brokers/{broker-id}", + responseCode: 200, }, - }, - DescribeAuditFinding: { - http: { method: "GET", requestUri: "/audit/findings/{findingId}" }, input: { type: "structure", - required: ["findingId"], members: { - findingId: { location: "uri", locationName: "findingId" }, + BrokerId: { location: "uri", locationName: "broker-id" }, }, + required: ["BrokerId"], }, output: { type: "structure", - members: { finding: { shape: "Scu" } }, + members: { + AuthenticationStrategy: { + locationName: "authenticationStrategy", + }, + AutoMinorVersionUpgrade: { + locationName: "autoMinorVersionUpgrade", + type: "boolean", + }, + BrokerArn: { locationName: "brokerArn" }, + BrokerId: { locationName: "brokerId" }, + BrokerInstances: { + locationName: "brokerInstances", + type: "list", + member: { + type: "structure", + members: { + ConsoleURL: { locationName: "consoleURL" }, + Endpoints: { shape: "Sb", locationName: "endpoints" }, + IpAddress: { locationName: "ipAddress" }, + }, + }, + }, + BrokerName: { locationName: "brokerName" }, + BrokerState: { locationName: "brokerState" }, + Configurations: { + locationName: "configurations", + type: "structure", + members: { + Current: { shape: "S5", locationName: "current" }, + History: { + locationName: "history", + type: "list", + member: { shape: "S5" }, + }, + Pending: { shape: "S5", locationName: "pending" }, + }, + }, + Created: { shape: "Sm", locationName: "created" }, + DeploymentMode: { locationName: "deploymentMode" }, + EncryptionOptions: { + shape: "S8", + locationName: "encryptionOptions", + }, + EngineType: { locationName: "engineType" }, + EngineVersion: { locationName: "engineVersion" }, + HostInstanceType: { locationName: "hostInstanceType" }, + LdapServerMetadata: { + shape: "S13", + locationName: "ldapServerMetadata", + }, + Logs: { + locationName: "logs", + type: "structure", + members: { + Audit: { locationName: "audit", type: "boolean" }, + AuditLogGroup: { locationName: "auditLogGroup" }, + General: { locationName: "general", type: "boolean" }, + GeneralLogGroup: { locationName: "generalLogGroup" }, + Pending: { + locationName: "pending", + type: "structure", + members: { + Audit: { locationName: "audit", type: "boolean" }, + General: { locationName: "general", type: "boolean" }, + }, + }, + }, + }, + MaintenanceWindowStartTime: { + shape: "Sd", + locationName: "maintenanceWindowStartTime", + }, + PendingAuthenticationStrategy: { + locationName: "pendingAuthenticationStrategy", + }, + PendingEngineVersion: { locationName: "pendingEngineVersion" }, + PendingHostInstanceType: { + locationName: "pendingHostInstanceType", + }, + PendingLdapServerMetadata: { + shape: "S13", + locationName: "pendingLdapServerMetadata", + }, + PendingSecurityGroups: { + shape: "Sb", + locationName: "pendingSecurityGroups", + }, + PubliclyAccessible: { + locationName: "publiclyAccessible", + type: "boolean", + }, + SecurityGroups: { shape: "Sb", locationName: "securityGroups" }, + StorageType: { locationName: "storageType" }, + SubnetIds: { shape: "Sb", locationName: "subnetIds" }, + Tags: { shape: "Sg", locationName: "tags" }, + Users: { shape: "S16", locationName: "users" }, + }, }, }, - DescribeAuditMitigationActionsTask: { + DescribeBrokerEngineTypes: { http: { method: "GET", - requestUri: "/audit/mitigationactions/tasks/{taskId}", + requestUri: "/v1/broker-engine-types", + responseCode: 200, }, input: { type: "structure", - required: ["taskId"], - members: { taskId: { location: "uri", locationName: "taskId" } }, + members: { + EngineType: { + location: "querystring", + locationName: "engineType", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + }, }, output: { type: "structure", members: { - taskStatus: {}, - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, - taskStatistics: { - type: "map", - key: {}, - value: { - type: "structure", - members: { - totalFindingsCount: { type: "long" }, - failedFindingsCount: { type: "long" }, - succeededFindingsCount: { type: "long" }, - skippedFindingsCount: { type: "long" }, - canceledFindingsCount: { type: "long" }, - }, - }, - }, - target: { shape: "Sdj" }, - auditCheckToActionsMapping: { shape: "Sdn" }, - actionsDefinition: { + BrokerEngineTypes: { + locationName: "brokerEngineTypes", type: "list", member: { type: "structure", members: { - name: {}, - id: {}, - roleArn: {}, - actionParams: { shape: "S3y" }, + EngineType: { locationName: "engineType" }, + EngineVersions: { + locationName: "engineVersions", + type: "list", + member: { + type: "structure", + members: { Name: { locationName: "name" } }, + }, + }, }, }, }, + MaxResults: { locationName: "maxResults", type: "integer" }, + NextToken: { locationName: "nextToken" }, }, }, }, - DescribeAuditTask: { - http: { method: "GET", requestUri: "/audit/tasks/{taskId}" }, + DescribeBrokerInstanceOptions: { + http: { + method: "GET", + requestUri: "/v1/broker-instance-options", + responseCode: 200, + }, input: { type: "structure", - required: ["taskId"], - members: { taskId: { location: "uri", locationName: "taskId" } }, + members: { + EngineType: { + location: "querystring", + locationName: "engineType", + }, + HostInstanceType: { + location: "querystring", + locationName: "hostInstanceType", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + StorageType: { + location: "querystring", + locationName: "storageType", + }, + }, }, output: { type: "structure", members: { - taskStatus: {}, - taskType: {}, - taskStartTime: { type: "timestamp" }, - taskStatistics: { - type: "structure", - members: { - totalChecks: { type: "integer" }, - inProgressChecks: { type: "integer" }, - waitingForDataCollectionChecks: { type: "integer" }, - compliantChecks: { type: "integer" }, - nonCompliantChecks: { type: "integer" }, - failedChecks: { type: "integer" }, - canceledChecks: { type: "integer" }, - }, - }, - scheduledAuditName: {}, - auditDetails: { - type: "map", - key: {}, - value: { + BrokerInstanceOptions: { + locationName: "brokerInstanceOptions", + type: "list", + member: { type: "structure", members: { - checkRunStatus: {}, - checkCompliant: { type: "boolean" }, - totalResourcesCount: { type: "long" }, - nonCompliantResourcesCount: { type: "long" }, - errorCode: {}, - message: {}, + AvailabilityZones: { + locationName: "availabilityZones", + type: "list", + member: { + type: "structure", + members: { Name: { locationName: "name" } }, + }, + }, + EngineType: { locationName: "engineType" }, + HostInstanceType: { locationName: "hostInstanceType" }, + StorageType: { locationName: "storageType" }, + SupportedDeploymentModes: { + locationName: "supportedDeploymentModes", + type: "list", + member: {}, + }, + SupportedEngineVersions: { + shape: "Sb", + locationName: "supportedEngineVersions", + }, }, }, }, + MaxResults: { locationName: "maxResults", type: "integer" }, + NextToken: { locationName: "nextToken" }, }, }, }, - DescribeAuthorizer: { - http: { method: "GET", requestUri: "/authorizer/{authorizerName}" }, + DescribeConfiguration: { + http: { + method: "GET", + requestUri: "/v1/configurations/{configuration-id}", + responseCode: 200, + }, input: { type: "structure", - required: ["authorizerName"], members: { - authorizerName: { + ConfigurationId: { location: "uri", - locationName: "authorizerName", + locationName: "configuration-id", }, }, + required: ["ConfigurationId"], }, output: { type: "structure", - members: { authorizerDescription: { shape: "Sed" } }, + members: { + Arn: { locationName: "arn" }, + AuthenticationStrategy: { + locationName: "authenticationStrategy", + }, + Created: { shape: "Sm", locationName: "created" }, + Description: { locationName: "description" }, + EngineType: { locationName: "engineType" }, + EngineVersion: { locationName: "engineVersion" }, + Id: { locationName: "id" }, + LatestRevision: { shape: "Sn", locationName: "latestRevision" }, + Name: { locationName: "name" }, + Tags: { shape: "Sg", locationName: "tags" }, + }, }, }, - DescribeBillingGroup: { + DescribeConfigurationRevision: { http: { method: "GET", - requestUri: "/billing-groups/{billingGroupName}", + requestUri: + "/v1/configurations/{configuration-id}/revisions/{configuration-revision}", + responseCode: 200, }, input: { type: "structure", - required: ["billingGroupName"], members: { - billingGroupName: { + ConfigurationId: { location: "uri", - locationName: "billingGroupName", + locationName: "configuration-id", + }, + ConfigurationRevision: { + location: "uri", + locationName: "configuration-revision", }, }, + required: ["ConfigurationRevision", "ConfigurationId"], }, output: { type: "structure", members: { - billingGroupName: {}, - billingGroupId: {}, - billingGroupArn: {}, - version: { type: "long" }, - billingGroupProperties: { shape: "S1v" }, - billingGroupMetadata: { - type: "structure", - members: { creationDate: { type: "timestamp" } }, - }, + ConfigurationId: { locationName: "configurationId" }, + Created: { shape: "Sm", locationName: "created" }, + Data: { locationName: "data" }, + Description: { locationName: "description" }, }, }, }, - DescribeCACertificate: { + DescribeUser: { http: { method: "GET", - requestUri: "/cacertificate/{caCertificateId}", + requestUri: "/v1/brokers/{broker-id}/users/{username}", + responseCode: 200, }, input: { type: "structure", - required: ["certificateId"], members: { - certificateId: { - location: "uri", - locationName: "caCertificateId", - }, + BrokerId: { location: "uri", locationName: "broker-id" }, + Username: { location: "uri", locationName: "username" }, }, + required: ["Username", "BrokerId"], }, output: { type: "structure", members: { - certificateDescription: { + BrokerId: { locationName: "brokerId" }, + ConsoleAccess: { + locationName: "consoleAccess", + type: "boolean", + }, + Groups: { shape: "Sb", locationName: "groups" }, + Pending: { + locationName: "pending", type: "structure", members: { - certificateArn: {}, - certificateId: {}, - status: {}, - certificatePem: {}, - ownedBy: {}, - creationDate: { type: "timestamp" }, - autoRegistrationStatus: {}, - lastModifiedDate: { type: "timestamp" }, - customerVersion: { type: "integer" }, - generationId: {}, - validity: { shape: "Seq" }, + ConsoleAccess: { + locationName: "consoleAccess", + type: "boolean", + }, + Groups: { shape: "Sb", locationName: "groups" }, + PendingChange: { locationName: "pendingChange" }, }, }, - registrationConfig: { shape: "Ser" }, + Username: { locationName: "username" }, }, }, }, - DescribeCertificate: { + ListBrokers: { http: { method: "GET", - requestUri: "/certificates/{certificateId}", + requestUri: "/v1/brokers", + responseCode: 200, }, input: { type: "structure", - required: ["certificateId"], members: { - certificateId: { - location: "uri", - locationName: "certificateId", + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", }, }, }, output: { type: "structure", members: { - certificateDescription: { - type: "structure", - members: { - certificateArn: {}, - certificateId: {}, - caCertificateId: {}, - status: {}, - certificatePem: {}, - ownedBy: {}, - previousOwnedBy: {}, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - customerVersion: { type: "integer" }, - transferData: { - type: "structure", - members: { - transferMessage: {}, - rejectReason: {}, - transferDate: { type: "timestamp" }, - acceptDate: { type: "timestamp" }, - rejectDate: { type: "timestamp" }, - }, + BrokerSummaries: { + locationName: "brokerSummaries", + type: "list", + member: { + type: "structure", + members: { + BrokerArn: { locationName: "brokerArn" }, + BrokerId: { locationName: "brokerId" }, + BrokerName: { locationName: "brokerName" }, + BrokerState: { locationName: "brokerState" }, + Created: { shape: "Sm", locationName: "created" }, + DeploymentMode: { locationName: "deploymentMode" }, + EngineType: { locationName: "engineType" }, + HostInstanceType: { locationName: "hostInstanceType" }, }, - generationId: {}, - validity: { shape: "Seq" }, }, }, + NextToken: { locationName: "nextToken" }, }, }, }, - DescribeDefaultAuthorizer: { - http: { method: "GET", requestUri: "/default-authorizer" }, - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { authorizerDescription: { shape: "Sed" } }, + ListConfigurationRevisions: { + http: { + method: "GET", + requestUri: "/v1/configurations/{configuration-id}/revisions", + responseCode: 200, }, - }, - DescribeDimension: { - http: { method: "GET", requestUri: "/dimensions/{name}" }, input: { type: "structure", - required: ["name"], - members: { name: { location: "uri", locationName: "name" } }, + members: { + ConfigurationId: { + location: "uri", + locationName: "configuration-id", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + }, + required: ["ConfigurationId"], }, output: { type: "structure", members: { - name: {}, - arn: {}, - type: {}, - stringValues: { shape: "S2b" }, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, + ConfigurationId: { locationName: "configurationId" }, + MaxResults: { locationName: "maxResults", type: "integer" }, + NextToken: { locationName: "nextToken" }, + Revisions: { + locationName: "revisions", + type: "list", + member: { shape: "Sn" }, + }, }, }, }, - DescribeDomainConfiguration: { + ListConfigurations: { http: { method: "GET", - requestUri: "/domainConfigurations/{domainConfigurationName}", + requestUri: "/v1/configurations", + responseCode: 200, }, input: { type: "structure", - required: ["domainConfigurationName"], members: { - domainConfigurationName: { - location: "uri", - locationName: "domainConfigurationName", + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", }, }, }, output: { type: "structure", members: { - domainConfigurationName: {}, - domainConfigurationArn: {}, - domainName: {}, - serverCertificates: { + Configurations: { + locationName: "configurations", type: "list", member: { type: "structure", members: { - serverCertificateArn: {}, - serverCertificateStatus: {}, - serverCertificateStatusDetail: {}, + Arn: { locationName: "arn" }, + AuthenticationStrategy: { + locationName: "authenticationStrategy", + }, + Created: { shape: "Sm", locationName: "created" }, + Description: { locationName: "description" }, + EngineType: { locationName: "engineType" }, + EngineVersion: { locationName: "engineVersion" }, + Id: { locationName: "id" }, + LatestRevision: { + shape: "Sn", + locationName: "latestRevision", + }, + Name: { locationName: "name" }, + Tags: { shape: "Sg", locationName: "tags" }, }, }, }, - authorizerConfig: { shape: "S2l" }, - domainConfigurationStatus: {}, - serviceType: {}, - domainType: {}, + MaxResults: { locationName: "maxResults", type: "integer" }, + NextToken: { locationName: "nextToken" }, }, }, }, - DescribeEndpoint: { - http: { method: "GET", requestUri: "/endpoint" }, + ListTags: { + http: { + method: "GET", + requestUri: "/v1/tags/{resource-arn}", + responseCode: 200, + }, input: { type: "structure", members: { - endpointType: { - location: "querystring", - locationName: "endpointType", - }, + ResourceArn: { location: "uri", locationName: "resource-arn" }, }, + required: ["ResourceArn"], }, - output: { type: "structure", members: { endpointAddress: {} } }, - }, - DescribeEventConfigurations: { - http: { method: "GET", requestUri: "/event-configurations" }, - input: { type: "structure", members: {} }, output: { type: "structure", - members: { - eventConfigurations: { shape: "Sfh" }, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - }, + members: { Tags: { shape: "Sg", locationName: "tags" } }, }, }, - DescribeIndex: { - http: { method: "GET", requestUri: "/indices/{indexName}" }, + ListUsers: { + http: { + method: "GET", + requestUri: "/v1/brokers/{broker-id}/users", + responseCode: 200, + }, input: { type: "structure", - required: ["indexName"], members: { - indexName: { location: "uri", locationName: "indexName" }, + BrokerId: { location: "uri", locationName: "broker-id" }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, }, - }, - output: { - type: "structure", - members: { indexName: {}, indexStatus: {}, schema: {} }, - }, - }, - DescribeJob: { - http: { method: "GET", requestUri: "/jobs/{jobId}" }, - input: { - type: "structure", - required: ["jobId"], - members: { jobId: { location: "uri", locationName: "jobId" } }, + required: ["BrokerId"], }, output: { type: "structure", members: { - documentSource: {}, - job: { - type: "structure", - members: { - jobArn: {}, - jobId: {}, - targetSelection: {}, - status: {}, - forceCanceled: { type: "boolean" }, - reasonCode: {}, - comment: {}, - targets: { shape: "Sg" }, - description: {}, - presignedUrlConfig: { shape: "S36" }, - jobExecutionsRolloutConfig: { shape: "S3a" }, - abortConfig: { shape: "S3h" }, - createdAt: { type: "timestamp" }, - lastUpdatedAt: { type: "timestamp" }, - completedAt: { type: "timestamp" }, - jobProcessDetails: { - type: "structure", - members: { - processingTargets: { type: "list", member: {} }, - numberOfCanceledThings: { type: "integer" }, - numberOfSucceededThings: { type: "integer" }, - numberOfFailedThings: { type: "integer" }, - numberOfRejectedThings: { type: "integer" }, - numberOfQueuedThings: { type: "integer" }, - numberOfInProgressThings: { type: "integer" }, - numberOfRemovedThings: { type: "integer" }, - numberOfTimedOutThings: { type: "integer" }, - }, - }, - timeoutConfig: { shape: "S3o" }, - }, - }, + BrokerId: { locationName: "brokerId" }, + MaxResults: { locationName: "maxResults", type: "integer" }, + NextToken: { locationName: "nextToken" }, + Users: { shape: "S16", locationName: "users" }, }, }, }, - DescribeJobExecution: { + RebootBroker: { http: { - method: "GET", - requestUri: "/things/{thingName}/jobs/{jobId}", + requestUri: "/v1/brokers/{broker-id}/reboot", + responseCode: 200, }, input: { - type: "structure", - required: ["jobId", "thingName"], - members: { - jobId: { location: "uri", locationName: "jobId" }, - thingName: { location: "uri", locationName: "thingName" }, - executionNumber: { - location: "querystring", - locationName: "executionNumber", - type: "long", - }, - }, - }, - output: { type: "structure", members: { - execution: { - type: "structure", - members: { - jobId: {}, - status: {}, - forceCanceled: { type: "boolean" }, - statusDetails: { - type: "structure", - members: { detailsMap: { shape: "S1b" } }, - }, - thingArn: {}, - queuedAt: { type: "timestamp" }, - startedAt: { type: "timestamp" }, - lastUpdatedAt: { type: "timestamp" }, - executionNumber: { type: "long" }, - versionNumber: { type: "long" }, - approximateSecondsBeforeTimedOut: { type: "long" }, - }, - }, + BrokerId: { location: "uri", locationName: "broker-id" }, }, + required: ["BrokerId"], }, + output: { type: "structure", members: {} }, }, - DescribeMitigationAction: { + UpdateBroker: { http: { - method: "GET", - requestUri: "/mitigationactions/actions/{actionName}", + method: "PUT", + requestUri: "/v1/brokers/{broker-id}", + responseCode: 200, }, input: { type: "structure", - required: ["actionName"], members: { - actionName: { location: "uri", locationName: "actionName" }, + AuthenticationStrategy: { + locationName: "authenticationStrategy", + }, + AutoMinorVersionUpgrade: { + locationName: "autoMinorVersionUpgrade", + type: "boolean", + }, + BrokerId: { location: "uri", locationName: "broker-id" }, + Configuration: { shape: "S5", locationName: "configuration" }, + EngineVersion: { locationName: "engineVersion" }, + HostInstanceType: { locationName: "hostInstanceType" }, + LdapServerMetadata: { + shape: "Sa", + locationName: "ldapServerMetadata", + }, + Logs: { shape: "Sc", locationName: "logs" }, + SecurityGroups: { shape: "Sb", locationName: "securityGroups" }, }, + required: ["BrokerId"], }, output: { type: "structure", members: { - actionName: {}, - actionType: {}, - actionArn: {}, - actionId: {}, - roleArn: {}, - actionParams: { shape: "S3y" }, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, + AuthenticationStrategy: { + locationName: "authenticationStrategy", + }, + AutoMinorVersionUpgrade: { + locationName: "autoMinorVersionUpgrade", + type: "boolean", + }, + BrokerId: { locationName: "brokerId" }, + Configuration: { shape: "S5", locationName: "configuration" }, + EngineVersion: { locationName: "engineVersion" }, + HostInstanceType: { locationName: "hostInstanceType" }, + LdapServerMetadata: { + shape: "S13", + locationName: "ldapServerMetadata", + }, + Logs: { shape: "Sc", locationName: "logs" }, + SecurityGroups: { shape: "Sb", locationName: "securityGroups" }, }, }, }, - DescribeProvisioningTemplate: { + UpdateConfiguration: { http: { - method: "GET", - requestUri: "/provisioning-templates/{templateName}", + method: "PUT", + requestUri: "/v1/configurations/{configuration-id}", + responseCode: 200, }, input: { type: "structure", - required: ["templateName"], members: { - templateName: { location: "uri", locationName: "templateName" }, + ConfigurationId: { + location: "uri", + locationName: "configuration-id", + }, + Data: { locationName: "data" }, + Description: { locationName: "description" }, }, + required: ["ConfigurationId"], }, output: { type: "structure", members: { - templateArn: {}, - templateName: {}, - description: {}, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - defaultVersionId: { type: "integer" }, - templateBody: {}, - enabled: { type: "boolean" }, - provisioningRoleArn: {}, + Arn: { locationName: "arn" }, + Created: { shape: "Sm", locationName: "created" }, + Id: { locationName: "id" }, + LatestRevision: { shape: "Sn", locationName: "latestRevision" }, + Name: { locationName: "name" }, + Warnings: { + locationName: "warnings", + type: "list", + member: { + type: "structure", + members: { + AttributeName: { locationName: "attributeName" }, + ElementName: { locationName: "elementName" }, + Reason: { locationName: "reason" }, + }, + }, + }, }, }, }, - DescribeProvisioningTemplateVersion: { + UpdateUser: { http: { - method: "GET", - requestUri: - "/provisioning-templates/{templateName}/versions/{versionId}", + method: "PUT", + requestUri: "/v1/brokers/{broker-id}/users/{username}", + responseCode: 200, }, input: { type: "structure", - required: ["templateName", "versionId"], members: { - templateName: { location: "uri", locationName: "templateName" }, - versionId: { - location: "uri", - locationName: "versionId", - type: "integer", + BrokerId: { location: "uri", locationName: "broker-id" }, + ConsoleAccess: { + locationName: "consoleAccess", + type: "boolean", }, + Groups: { shape: "Sb", locationName: "groups" }, + Password: { locationName: "password" }, + Username: { location: "uri", locationName: "username" }, }, + required: ["Username", "BrokerId"], }, - output: { - type: "structure", - members: { - versionId: { type: "integer" }, - creationDate: { type: "timestamp" }, - templateBody: {}, - isDefaultVersion: { type: "boolean" }, - }, - }, + output: { type: "structure", members: {} }, }, - DescribeRoleAlias: { - http: { method: "GET", requestUri: "/role-aliases/{roleAlias}" }, - input: { - type: "structure", - required: ["roleAlias"], - members: { - roleAlias: { location: "uri", locationName: "roleAlias" }, - }, + }, + shapes: { + S5: { + type: "structure", + members: { + Id: { locationName: "id" }, + Revision: { locationName: "revision", type: "integer" }, }, - output: { - type: "structure", - members: { - roleAliasDescription: { - type: "structure", - members: { - roleAlias: {}, - roleAliasArn: {}, - roleArn: {}, - owner: {}, - credentialDurationSeconds: { type: "integer" }, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - }, - }, + }, + S8: { + type: "structure", + members: { + KmsKeyId: { locationName: "kmsKeyId" }, + UseAwsOwnedKey: { + locationName: "useAwsOwnedKey", + type: "boolean", }, }, + required: ["UseAwsOwnedKey"], }, - DescribeScheduledAudit: { - http: { - method: "GET", - requestUri: "/audit/scheduledaudits/{scheduledAuditName}", - }, - input: { - type: "structure", - required: ["scheduledAuditName"], - members: { - scheduledAuditName: { - location: "uri", - locationName: "scheduledAuditName", - }, + Sa: { + type: "structure", + members: { + Hosts: { shape: "Sb", locationName: "hosts" }, + RoleBase: { locationName: "roleBase" }, + RoleName: { locationName: "roleName" }, + RoleSearchMatching: { locationName: "roleSearchMatching" }, + RoleSearchSubtree: { + locationName: "roleSearchSubtree", + type: "boolean", }, - }, - output: { - type: "structure", - members: { - frequency: {}, - dayOfMonth: {}, - dayOfWeek: {}, - targetCheckNames: { shape: "S6n" }, - scheduledAuditName: {}, - scheduledAuditArn: {}, + ServiceAccountPassword: { + locationName: "serviceAccountPassword", + }, + ServiceAccountUsername: { + locationName: "serviceAccountUsername", + }, + UserBase: { locationName: "userBase" }, + UserRoleName: { locationName: "userRoleName" }, + UserSearchMatching: { locationName: "userSearchMatching" }, + UserSearchSubtree: { + locationName: "userSearchSubtree", + type: "boolean", }, }, }, - DescribeSecurityProfile: { - http: { - method: "GET", - requestUri: "/security-profiles/{securityProfileName}", + Sb: { type: "list", member: {} }, + Sc: { + type: "structure", + members: { + Audit: { locationName: "audit", type: "boolean" }, + General: { locationName: "general", type: "boolean" }, }, - input: { - type: "structure", - required: ["securityProfileName"], - members: { - securityProfileName: { - location: "uri", - locationName: "securityProfileName", - }, - }, + }, + Sd: { + type: "structure", + members: { + DayOfWeek: { locationName: "dayOfWeek" }, + TimeOfDay: { locationName: "timeOfDay" }, + TimeZone: { locationName: "timeZone" }, }, - output: { - type: "structure", - members: { - securityProfileName: {}, - securityProfileArn: {}, - securityProfileDescription: {}, - behaviors: { shape: "S6u" }, - alertTargets: { shape: "S7d" }, - additionalMetricsToRetain: { - shape: "S7h", - deprecated: true, - deprecatedMessage: "Use additionalMetricsToRetainV2.", - }, - additionalMetricsToRetainV2: { shape: "S7i" }, - version: { type: "long" }, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - }, + }, + Sg: { type: "map", key: {}, value: {} }, + Sm: { type: "timestamp", timestampFormat: "iso8601" }, + Sn: { + type: "structure", + members: { + Created: { shape: "Sm", locationName: "created" }, + Description: { locationName: "description" }, + Revision: { locationName: "revision", type: "integer" }, }, }, - DescribeStream: { - http: { method: "GET", requestUri: "/streams/{streamId}" }, - input: { - type: "structure", - required: ["streamId"], - members: { - streamId: { location: "uri", locationName: "streamId" }, + S13: { + type: "structure", + members: { + Hosts: { shape: "Sb", locationName: "hosts" }, + RoleBase: { locationName: "roleBase" }, + RoleName: { locationName: "roleName" }, + RoleSearchMatching: { locationName: "roleSearchMatching" }, + RoleSearchSubtree: { + locationName: "roleSearchSubtree", + type: "boolean", }, - }, - output: { - type: "structure", - members: { - streamInfo: { - type: "structure", - members: { - streamId: {}, - streamArn: {}, - streamVersion: { type: "integer" }, - description: {}, - files: { shape: "S7o" }, - createdAt: { type: "timestamp" }, - lastUpdatedAt: { type: "timestamp" }, - roleArn: {}, - }, - }, + ServiceAccountUsername: { + locationName: "serviceAccountUsername", }, - }, - }, - DescribeThing: { - http: { method: "GET", requestUri: "/things/{thingName}" }, - input: { - type: "structure", - required: ["thingName"], - members: { - thingName: { location: "uri", locationName: "thingName" }, + UserBase: { locationName: "userBase" }, + UserRoleName: { locationName: "userRoleName" }, + UserSearchMatching: { locationName: "userSearchMatching" }, + UserSearchSubtree: { + locationName: "userSearchSubtree", + type: "boolean", }, }, - output: { + }, + S16: { + type: "list", + member: { type: "structure", members: { - defaultClientId: {}, - thingName: {}, - thingId: {}, - thingArn: {}, - thingTypeName: {}, - attributes: { shape: "S2u" }, - version: { type: "long" }, - billingGroupName: {}, + PendingChange: { locationName: "pendingChange" }, + Username: { locationName: "username" }, }, }, }, - DescribeThingGroup: { - http: { - method: "GET", - requestUri: "/thing-groups/{thingGroupName}", - }, + }, + authorizers: { + authorization_strategy: { + name: "authorization_strategy", + type: "provided", + placement: { location: "header", name: "Authorization" }, + }, + }, + }; + + /***/ + }, + + /***/ 4080: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2017-04-19", + endpointPrefix: "dax", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "Amazon DAX", + serviceFullName: "Amazon DynamoDB Accelerator (DAX)", + serviceId: "DAX", + signatureVersion: "v4", + targetPrefix: "AmazonDAXV3", + uid: "dax-2017-04-19", + }, + operations: { + CreateCluster: { input: { type: "structure", - required: ["thingGroupName"], + required: [ + "ClusterName", + "NodeType", + "ReplicationFactor", + "IamRoleArn", + ], members: { - thingGroupName: { - location: "uri", - locationName: "thingGroupName", + ClusterName: {}, + NodeType: {}, + Description: {}, + ReplicationFactor: { type: "integer" }, + AvailabilityZones: { shape: "S4" }, + SubnetGroupName: {}, + SecurityGroupIds: { shape: "S5" }, + PreferredMaintenanceWindow: {}, + NotificationTopicArn: {}, + IamRoleArn: {}, + ParameterGroupName: {}, + Tags: { shape: "S6" }, + SSESpecification: { + type: "structure", + required: ["Enabled"], + members: { Enabled: { type: "boolean" } }, }, }, }, output: { type: "structure", - members: { - thingGroupName: {}, - thingGroupId: {}, - thingGroupArn: {}, - version: { type: "long" }, - thingGroupProperties: { shape: "S2r" }, - thingGroupMetadata: { - type: "structure", - members: { - parentGroupName: {}, - rootToParentThingGroups: { shape: "Sgy" }, - creationDate: { type: "timestamp" }, - }, - }, - indexName: {}, - queryString: {}, - queryVersion: {}, - status: {}, - }, + members: { Cluster: { shape: "Sb" } }, }, }, - DescribeThingRegistrationTask: { - http: { - method: "GET", - requestUri: "/thing-registration-tasks/{taskId}", - }, + CreateParameterGroup: { input: { type: "structure", - required: ["taskId"], - members: { taskId: { location: "uri", locationName: "taskId" } }, + required: ["ParameterGroupName"], + members: { ParameterGroupName: {}, Description: {} }, }, output: { type: "structure", - members: { - taskId: {}, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - templateBody: {}, - inputFileBucket: {}, - inputFileKey: {}, - roleArn: {}, - status: {}, - message: {}, - successCount: { type: "integer" }, - failureCount: { type: "integer" }, - percentageProgress: { type: "integer" }, - }, + members: { ParameterGroup: { shape: "Sq" } }, }, }, - DescribeThingType: { - http: { method: "GET", requestUri: "/thing-types/{thingTypeName}" }, + CreateSubnetGroup: { input: { type: "structure", - required: ["thingTypeName"], + required: ["SubnetGroupName", "SubnetIds"], members: { - thingTypeName: { - location: "uri", - locationName: "thingTypeName", - }, + SubnetGroupName: {}, + Description: {}, + SubnetIds: { shape: "Ss" }, }, }, output: { type: "structure", - members: { - thingTypeName: {}, - thingTypeId: {}, - thingTypeArn: {}, - thingTypeProperties: { shape: "S80" }, - thingTypeMetadata: { shape: "Shb" }, - }, + members: { SubnetGroup: { shape: "Su" } }, }, }, - DetachPolicy: { - http: { requestUri: "/target-policies/{policyName}" }, + DecreaseReplicationFactor: { input: { type: "structure", - required: ["policyName", "target"], + required: ["ClusterName", "NewReplicationFactor"], members: { - policyName: { location: "uri", locationName: "policyName" }, - target: {}, + ClusterName: {}, + NewReplicationFactor: { type: "integer" }, + AvailabilityZones: { shape: "S4" }, + NodeIdsToRemove: { shape: "Se" }, }, }, - }, - DetachPrincipalPolicy: { - http: { - method: "DELETE", - requestUri: "/principal-policies/{policyName}", + output: { + type: "structure", + members: { Cluster: { shape: "Sb" } }, }, + }, + DeleteCluster: { input: { type: "structure", - required: ["policyName", "principal"], - members: { - policyName: { location: "uri", locationName: "policyName" }, - principal: { - location: "header", - locationName: "x-amzn-iot-principal", - }, - }, + required: ["ClusterName"], + members: { ClusterName: {} }, }, - deprecated: true, - }, - DetachSecurityProfile: { - http: { - method: "DELETE", - requestUri: "/security-profiles/{securityProfileName}/targets", + output: { + type: "structure", + members: { Cluster: { shape: "Sb" } }, }, + }, + DeleteParameterGroup: { input: { type: "structure", - required: ["securityProfileName", "securityProfileTargetArn"], - members: { - securityProfileName: { - location: "uri", - locationName: "securityProfileName", - }, - securityProfileTargetArn: { - location: "querystring", - locationName: "securityProfileTargetArn", - }, - }, + required: ["ParameterGroupName"], + members: { ParameterGroupName: {} }, }, - output: { type: "structure", members: {} }, + output: { type: "structure", members: { DeletionMessage: {} } }, }, - DetachThingPrincipal: { - http: { - method: "DELETE", - requestUri: "/things/{thingName}/principals", - }, + DeleteSubnetGroup: { input: { type: "structure", - required: ["thingName", "principal"], - members: { - thingName: { location: "uri", locationName: "thingName" }, - principal: { - location: "header", - locationName: "x-amzn-principal", - }, - }, + required: ["SubnetGroupName"], + members: { SubnetGroupName: {} }, }, - output: { type: "structure", members: {} }, + output: { type: "structure", members: { DeletionMessage: {} } }, }, - DisableTopicRule: { - http: { requestUri: "/rules/{ruleName}/disable" }, + DescribeClusters: { input: { type: "structure", - required: ["ruleName"], members: { - ruleName: { location: "uri", locationName: "ruleName" }, + ClusterNames: { type: "list", member: {} }, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, - }, - EnableTopicRule: { - http: { requestUri: "/rules/{ruleName}/enable" }, - input: { + output: { type: "structure", - required: ["ruleName"], members: { - ruleName: { location: "uri", locationName: "ruleName" }, + NextToken: {}, + Clusters: { type: "list", member: { shape: "Sb" } }, }, }, }, - GetCardinality: { - http: { requestUri: "/indices/cardinality" }, + DescribeDefaultParameters: { input: { type: "structure", - required: ["queryString"], - members: { - indexName: {}, - queryString: {}, - aggregationField: {}, - queryVersion: {}, - }, + members: { MaxResults: { type: "integer" }, NextToken: {} }, }, output: { type: "structure", - members: { cardinality: { type: "integer" } }, + members: { NextToken: {}, Parameters: { shape: "S1b" } }, }, }, - GetEffectivePolicies: { - http: { requestUri: "/effective-policies" }, + DescribeEvents: { input: { type: "structure", members: { - principal: {}, - cognitoIdentityPoolId: {}, - thingName: { - location: "querystring", - locationName: "thingName", - }, + SourceName: {}, + SourceType: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + Duration: { type: "integer" }, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, output: { type: "structure", members: { - effectivePolicies: { + NextToken: {}, + Events: { type: "list", member: { type: "structure", members: { - policyName: {}, - policyArn: {}, - policyDocument: {}, + SourceName: {}, + SourceType: {}, + Message: {}, + Date: { type: "timestamp" }, }, }, }, }, }, }, - GetIndexingConfiguration: { - http: { method: "GET", requestUri: "/indexing/config" }, - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { - thingIndexingConfiguration: { shape: "Shv" }, - thingGroupIndexingConfiguration: { shape: "Si2" }, - }, - }, - }, - GetJobDocument: { - http: { method: "GET", requestUri: "/jobs/{jobId}/job-document" }, - input: { - type: "structure", - required: ["jobId"], - members: { jobId: { location: "uri", locationName: "jobId" } }, - }, - output: { type: "structure", members: { document: {} } }, - }, - GetLoggingOptions: { - http: { method: "GET", requestUri: "/loggingOptions" }, - input: { type: "structure", members: {} }, - output: { - type: "structure", - members: { roleArn: {}, logLevel: {} }, - }, - }, - GetOTAUpdate: { - http: { method: "GET", requestUri: "/otaUpdates/{otaUpdateId}" }, + DescribeParameterGroups: { input: { type: "structure", - required: ["otaUpdateId"], members: { - otaUpdateId: { location: "uri", locationName: "otaUpdateId" }, + ParameterGroupNames: { type: "list", member: {} }, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, output: { type: "structure", members: { - otaUpdateInfo: { - type: "structure", - members: { - otaUpdateId: {}, - otaUpdateArn: {}, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - description: {}, - targets: { shape: "S4h" }, - protocols: { shape: "S4j" }, - awsJobExecutionsRolloutConfig: { shape: "S4l" }, - awsJobPresignedUrlConfig: { shape: "S4n" }, - targetSelection: {}, - otaUpdateFiles: { shape: "S4p" }, - otaUpdateStatus: {}, - awsIotJobId: {}, - awsIotJobArn: {}, - errorInfo: { - type: "structure", - members: { code: {}, message: {} }, - }, - additionalParameters: { shape: "S5m" }, - }, - }, + NextToken: {}, + ParameterGroups: { type: "list", member: { shape: "Sq" } }, }, }, }, - GetPercentiles: { - http: { requestUri: "/indices/percentiles" }, + DescribeParameters: { input: { type: "structure", - required: ["queryString"], + required: ["ParameterGroupName"], members: { - indexName: {}, - queryString: {}, - aggregationField: {}, - queryVersion: {}, - percents: { type: "list", member: { type: "double" } }, + ParameterGroupName: {}, + Source: {}, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, output: { type: "structure", - members: { - percentiles: { - type: "list", - member: { - type: "structure", - members: { - percent: { type: "double" }, - value: { type: "double" }, - }, - }, - }, - }, + members: { NextToken: {}, Parameters: { shape: "S1b" } }, }, }, - GetPolicy: { - http: { method: "GET", requestUri: "/policies/{policyName}" }, + DescribeSubnetGroups: { input: { type: "structure", - required: ["policyName"], members: { - policyName: { location: "uri", locationName: "policyName" }, + SubnetGroupNames: { type: "list", member: {} }, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, output: { type: "structure", members: { - policyName: {}, - policyArn: {}, - policyDocument: {}, - defaultVersionId: {}, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - generationId: {}, + NextToken: {}, + SubnetGroups: { type: "list", member: { shape: "Su" } }, }, }, }, - GetPolicyVersion: { - http: { - method: "GET", - requestUri: "/policies/{policyName}/version/{policyVersionId}", - }, + IncreaseReplicationFactor: { input: { type: "structure", - required: ["policyName", "policyVersionId"], + required: ["ClusterName", "NewReplicationFactor"], members: { - policyName: { location: "uri", locationName: "policyName" }, - policyVersionId: { - location: "uri", - locationName: "policyVersionId", - }, + ClusterName: {}, + NewReplicationFactor: { type: "integer" }, + AvailabilityZones: { shape: "S4" }, }, }, output: { type: "structure", - members: { - policyArn: {}, - policyName: {}, - policyDocument: {}, - policyVersionId: {}, - isDefaultVersion: { type: "boolean" }, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - generationId: {}, - }, + members: { Cluster: { shape: "Sb" } }, }, }, - GetRegistrationCode: { - http: { method: "GET", requestUri: "/registrationcode" }, - input: { type: "structure", members: {} }, - output: { type: "structure", members: { registrationCode: {} } }, - }, - GetStatistics: { - http: { requestUri: "/indices/statistics" }, + ListTags: { input: { type: "structure", - required: ["queryString"], - members: { - indexName: {}, - queryString: {}, - aggregationField: {}, - queryVersion: {}, - }, + required: ["ResourceName"], + members: { ResourceName: {}, NextToken: {} }, }, output: { type: "structure", - members: { - statistics: { - type: "structure", - members: { - count: { type: "integer" }, - average: { type: "double" }, - sum: { type: "double" }, - minimum: { type: "double" }, - maximum: { type: "double" }, - sumOfSquares: { type: "double" }, - variance: { type: "double" }, - stdDeviation: { type: "double" }, - }, - }, - }, + members: { Tags: { shape: "S6" }, NextToken: {} }, }, }, - GetTopicRule: { - http: { method: "GET", requestUri: "/rules/{ruleName}" }, + RebootNode: { input: { type: "structure", - required: ["ruleName"], - members: { - ruleName: { location: "uri", locationName: "ruleName" }, - }, + required: ["ClusterName", "NodeId"], + members: { ClusterName: {}, NodeId: {} }, }, output: { type: "structure", - members: { - ruleArn: {}, - rule: { - type: "structure", - members: { - ruleName: {}, - sql: {}, - description: {}, - createdAt: { type: "timestamp" }, - actions: { shape: "S8b" }, - ruleDisabled: { type: "boolean" }, - awsIotSqlVersion: {}, - errorAction: { shape: "S8c" }, - }, - }, - }, + members: { Cluster: { shape: "Sb" } }, }, }, - GetTopicRuleDestination: { - http: { method: "GET", requestUri: "/destinations/{arn+}" }, + TagResource: { input: { type: "structure", - required: ["arn"], - members: { arn: { location: "uri", locationName: "arn" } }, - }, - output: { - type: "structure", - members: { topicRuleDestination: { shape: "Sav" } }, + required: ["ResourceName", "Tags"], + members: { ResourceName: {}, Tags: { shape: "S6" } }, }, + output: { type: "structure", members: { Tags: { shape: "S6" } } }, }, - GetV2LoggingOptions: { - http: { method: "GET", requestUri: "/v2LoggingOptions" }, - input: { type: "structure", members: {} }, - output: { + UntagResource: { + input: { type: "structure", + required: ["ResourceName", "TagKeys"], members: { - roleArn: {}, - defaultLogLevel: {}, - disableAllLogs: { type: "boolean" }, + ResourceName: {}, + TagKeys: { type: "list", member: {} }, }, }, + output: { type: "structure", members: { Tags: { shape: "S6" } } }, }, - ListActiveViolations: { - http: { method: "GET", requestUri: "/active-violations" }, + UpdateCluster: { input: { type: "structure", + required: ["ClusterName"], members: { - thingName: { - location: "querystring", - locationName: "thingName", - }, - securityProfileName: { - location: "querystring", - locationName: "securityProfileName", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + ClusterName: {}, + Description: {}, + PreferredMaintenanceWindow: {}, + NotificationTopicArn: {}, + NotificationTopicStatus: {}, + ParameterGroupName: {}, + SecurityGroupIds: { shape: "S5" }, }, }, output: { type: "structure", - members: { - activeViolations: { - type: "list", - member: { - type: "structure", - members: { - violationId: {}, - thingName: {}, - securityProfileName: {}, - behavior: { shape: "S6v" }, - lastViolationValue: { shape: "S72" }, - lastViolationTime: { type: "timestamp" }, - violationStartTime: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, + members: { Cluster: { shape: "Sb" } }, }, }, - ListAttachedPolicies: { - http: { requestUri: "/attached-policies/{target}" }, + UpdateParameterGroup: { input: { type: "structure", - required: ["target"], + required: ["ParameterGroupName", "ParameterNameValues"], members: { - target: { location: "uri", locationName: "target" }, - recursive: { - location: "querystring", - locationName: "recursive", - type: "boolean", - }, - marker: { location: "querystring", locationName: "marker" }, - pageSize: { - location: "querystring", - locationName: "pageSize", - type: "integer", + ParameterGroupName: {}, + ParameterNameValues: { + type: "list", + member: { + type: "structure", + members: { ParameterName: {}, ParameterValue: {} }, + }, }, }, }, output: { type: "structure", - members: { policies: { shape: "Sjp" }, nextMarker: {} }, + members: { ParameterGroup: { shape: "Sq" } }, }, }, - ListAuditFindings: { - http: { requestUri: "/audit/findings" }, + UpdateSubnetGroup: { input: { type: "structure", + required: ["SubnetGroupName"], members: { - taskId: {}, - checkName: {}, - resourceIdentifier: { shape: "Scz" }, - maxResults: { type: "integer" }, - nextToken: {}, - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, + SubnetGroupName: {}, + Description: {}, + SubnetIds: { shape: "Ss" }, }, }, output: { type: "structure", - members: { - findings: { type: "list", member: { shape: "Scu" } }, - nextToken: {}, - }, + members: { SubnetGroup: { shape: "Su" } }, }, }, - ListAuditMitigationActionsExecutions: { - http: { - method: "GET", - requestUri: "/audit/mitigationactions/executions", - }, - input: { - type: "structure", - required: ["taskId", "findingId"], - members: { - taskId: { location: "querystring", locationName: "taskId" }, - actionStatus: { - location: "querystring", - locationName: "actionStatus", + }, + shapes: { + S4: { type: "list", member: {} }, + S5: { type: "list", member: {} }, + S6: { + type: "list", + member: { type: "structure", members: { Key: {}, Value: {} } }, + }, + Sb: { + type: "structure", + members: { + ClusterName: {}, + Description: {}, + ClusterArn: {}, + TotalNodes: { type: "integer" }, + ActiveNodes: { type: "integer" }, + NodeType: {}, + Status: {}, + ClusterDiscoveryEndpoint: { shape: "Sd" }, + NodeIdsToRemove: { shape: "Se" }, + Nodes: { + type: "list", + member: { + type: "structure", + members: { + NodeId: {}, + Endpoint: { shape: "Sd" }, + NodeCreateTime: { type: "timestamp" }, + AvailabilityZone: {}, + NodeStatus: {}, + ParameterGroupStatus: {}, + }, }, - findingId: { - location: "querystring", - locationName: "findingId", + }, + PreferredMaintenanceWindow: {}, + NotificationConfiguration: { + type: "structure", + members: { TopicArn: {}, TopicStatus: {} }, + }, + SubnetGroup: {}, + SecurityGroups: { + type: "list", + member: { + type: "structure", + members: { SecurityGroupIdentifier: {}, Status: {} }, }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + }, + IamRoleArn: {}, + ParameterGroup: { + type: "structure", + members: { + ParameterGroupName: {}, + ParameterApplyStatus: {}, + NodeIdsToReboot: { shape: "Se" }, }, - nextToken: { - location: "querystring", - locationName: "nextToken", + }, + SSEDescription: { type: "structure", members: { Status: {} } }, + }, + }, + Sd: { + type: "structure", + members: { Address: {}, Port: { type: "integer" } }, + }, + Se: { type: "list", member: {} }, + Sq: { + type: "structure", + members: { ParameterGroupName: {}, Description: {} }, + }, + Ss: { type: "list", member: {} }, + Su: { + type: "structure", + members: { + SubnetGroupName: {}, + Description: {}, + VpcId: {}, + Subnets: { + type: "list", + member: { + type: "structure", + members: { SubnetIdentifier: {}, SubnetAvailabilityZone: {} }, }, }, }, - output: { + }, + S1b: { + type: "list", + member: { type: "structure", members: { - actionsExecutions: { + ParameterName: {}, + ParameterType: {}, + ParameterValue: {}, + NodeTypeSpecificValues: { type: "list", member: { type: "structure", - members: { - taskId: {}, - findingId: {}, - actionName: {}, - actionId: {}, - status: {}, - startTime: { type: "timestamp" }, - endTime: { type: "timestamp" }, - errorCode: {}, - message: {}, - }, + members: { NodeType: {}, Value: {} }, }, }, - nextToken: {}, + Description: {}, + Source: {}, + DataType: {}, + AllowedValues: {}, + IsModifiable: {}, + ChangeType: {}, }, }, }, - ListAuditMitigationActionsTasks: { - http: { - method: "GET", - requestUri: "/audit/mitigationactions/tasks", - }, + }, + }; + + /***/ + }, + + /***/ 4086: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["codecommit"] = {}; + AWS.CodeCommit = Service.defineService("codecommit", ["2015-04-13"]); + Object.defineProperty(apiLoader.services["codecommit"], "2015-04-13", { + get: function get() { + var model = __webpack_require__(4208); + model.paginators = __webpack_require__(1327).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.CodeCommit; + + /***/ + }, + + /***/ 4105: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["eventbridge"] = {}; + AWS.EventBridge = Service.defineService("eventbridge", ["2015-10-07"]); + Object.defineProperty(apiLoader.services["eventbridge"], "2015-10-07", { + get: function get() { + var model = __webpack_require__(887); + model.paginators = __webpack_require__(6257).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.EventBridge; + + /***/ + }, + + /***/ 4112: /***/ function (module) { + module.exports = { + pagination: { + DescribeBackups: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Backups", + }, + DescribeEvents: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "ServerEvents", + }, + DescribeServers: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Servers", + }, + ListTagsForResource: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + result_key: "Tags", + }, + }, + }; + + /***/ + }, + + /***/ 4120: /***/ function (__unusedmodule, exports, __webpack_require__) { + "use strict"; + + Object.defineProperty(exports, "__esModule", { value: true }); + var LRU_1 = __webpack_require__(8629); + var CACHE_SIZE = 1000; + /** + * Inspired node-lru-cache[https://github.com/isaacs/node-lru-cache] + */ + var EndpointCache = /** @class */ (function () { + function EndpointCache(maxSize) { + if (maxSize === void 0) { + maxSize = CACHE_SIZE; + } + this.maxSize = maxSize; + this.cache = new LRU_1.LRUCache(maxSize); + } + Object.defineProperty(EndpointCache.prototype, "size", { + get: function () { + return this.cache.length; + }, + enumerable: true, + configurable: true, + }); + EndpointCache.prototype.put = function (key, value) { + var keyString = + typeof key !== "string" ? EndpointCache.getKeyString(key) : key; + var endpointRecord = this.populateValue(value); + this.cache.put(keyString, endpointRecord); + }; + EndpointCache.prototype.get = function (key) { + var keyString = + typeof key !== "string" ? EndpointCache.getKeyString(key) : key; + var now = Date.now(); + var records = this.cache.get(keyString); + if (records) { + for (var i = 0; i < records.length; i++) { + var record = records[i]; + if (record.Expire < now) { + this.cache.remove(keyString); + return undefined; + } + } + } + return records; + }; + EndpointCache.getKeyString = function (key) { + var identifiers = []; + var identifierNames = Object.keys(key).sort(); + for (var i = 0; i < identifierNames.length; i++) { + var identifierName = identifierNames[i]; + if (key[identifierName] === undefined) continue; + identifiers.push(key[identifierName]); + } + return identifiers.join(" "); + }; + EndpointCache.prototype.populateValue = function (endpoints) { + var now = Date.now(); + return endpoints.map(function (endpoint) { + return { + Address: endpoint.Address || "", + Expire: now + (endpoint.CachePeriodInMinutes || 1) * 60 * 1000, + }; + }); + }; + EndpointCache.prototype.empty = function () { + this.cache.empty(); + }; + EndpointCache.prototype.remove = function (key) { + var keyString = + typeof key !== "string" ? EndpointCache.getKeyString(key) : key; + this.cache.remove(keyString); + }; + return EndpointCache; + })(); + exports.EndpointCache = EndpointCache; + + /***/ + }, + + /***/ 4121: /***/ function (module) { + module.exports = { + pagination: { + ListSuiteDefinitions: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListSuiteRuns: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + ListTestCases: { + input_token: "nextToken", + output_token: "nextToken", + limit_key: "maxResults", + }, + }, + }; + + /***/ + }, + + /***/ 4122: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["connectparticipant"] = {}; + AWS.ConnectParticipant = Service.defineService("connectparticipant", [ + "2018-09-07", + ]); + Object.defineProperty( + apiLoader.services["connectparticipant"], + "2018-09-07", + { + get: function get() { + var model = __webpack_require__(8301); + model.paginators = __webpack_require__(4371).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.ConnectParticipant; + + /***/ + }, + + /***/ 4126: /***/ function (module) { + module.exports = { + pagination: { + ListJobs: { + input_token: "Marker", + output_token: "Jobs[-1].JobId", + more_results: "IsTruncated", + limit_key: "MaxJobs", + result_key: "Jobs", + }, + }, + }; + + /***/ + }, + + /***/ 4128: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["networkmanager"] = {}; + AWS.NetworkManager = Service.defineService("networkmanager", [ + "2019-07-05", + ]); + Object.defineProperty( + apiLoader.services["networkmanager"], + "2019-07-05", + { + get: function get() { + var model = __webpack_require__(8424); + model.paginators = __webpack_require__(8934).pagination; + return model; + }, + enumerable: true, + configurable: true, + } + ); + + module.exports = AWS.NetworkManager; + + /***/ + }, + + /***/ 4136: /***/ function (module) { + module.exports = { + pagination: { + DescribeInstanceHealth: { result_key: "InstanceStates" }, + DescribeLoadBalancerPolicies: { result_key: "PolicyDescriptions" }, + DescribeLoadBalancerPolicyTypes: { + result_key: "PolicyTypeDescriptions", + }, + DescribeLoadBalancers: { + input_token: "Marker", + output_token: "NextMarker", + result_key: "LoadBalancerDescriptions", + }, + }, + }; + + /***/ + }, + + /***/ 4152: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2020-08-15", + endpointPrefix: "profile", + jsonVersion: "1.1", + protocol: "rest-json", + serviceAbbreviation: "Customer Profiles", + serviceFullName: "Amazon Connect Customer Profiles", + serviceId: "Customer Profiles", + signatureVersion: "v4", + signingName: "profile", + uid: "customer-profiles-2020-08-15", + }, + operations: { + AddProfileKey: { + http: { requestUri: "/domains/{DomainName}/profiles/keys" }, input: { type: "structure", - required: ["startTime", "endTime"], + required: ["ProfileId", "KeyName", "Values", "DomainName"], members: { - auditTaskId: { - location: "querystring", - locationName: "auditTaskId", - }, - findingId: { - location: "querystring", - locationName: "findingId", - }, - taskStatus: { - location: "querystring", - locationName: "taskStatus", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - startTime: { - location: "querystring", - locationName: "startTime", - type: "timestamp", - }, - endTime: { - location: "querystring", - locationName: "endTime", - type: "timestamp", - }, + ProfileId: {}, + KeyName: {}, + Values: { shape: "S4" }, + DomainName: { location: "uri", locationName: "DomainName" }, }, }, output: { type: "structure", - members: { - tasks: { - type: "list", - member: { - type: "structure", - members: { - taskId: {}, - startTime: { type: "timestamp" }, - taskStatus: {}, - }, - }, - }, - nextToken: {}, - }, + members: { KeyName: {}, Values: { shape: "S4" } }, }, }, - ListAuditTasks: { - http: { method: "GET", requestUri: "/audit/tasks" }, + CreateDomain: { + http: { requestUri: "/domains/{DomainName}" }, input: { type: "structure", - required: ["startTime", "endTime"], + required: ["DomainName", "DefaultExpirationDays"], members: { - startTime: { - location: "querystring", - locationName: "startTime", - type: "timestamp", - }, - endTime: { - location: "querystring", - locationName: "endTime", - type: "timestamp", - }, - taskType: { location: "querystring", locationName: "taskType" }, - taskStatus: { - location: "querystring", - locationName: "taskStatus", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + DomainName: { location: "uri", locationName: "DomainName" }, + DefaultExpirationDays: { type: "integer" }, + DefaultEncryptionKey: {}, + DeadLetterQueueUrl: {}, + Tags: { shape: "Sb" }, }, }, output: { type: "structure", + required: [ + "DomainName", + "DefaultExpirationDays", + "CreatedAt", + "LastUpdatedAt", + ], members: { - tasks: { - type: "list", - member: { - type: "structure", - members: { taskId: {}, taskStatus: {}, taskType: {} }, - }, - }, - nextToken: {}, + DomainName: {}, + DefaultExpirationDays: { type: "integer" }, + DefaultEncryptionKey: {}, + DeadLetterQueueUrl: {}, + CreatedAt: { type: "timestamp" }, + LastUpdatedAt: { type: "timestamp" }, + Tags: { shape: "Sb" }, }, }, }, - ListAuthorizers: { - http: { method: "GET", requestUri: "/authorizers/" }, + CreateProfile: { + http: { requestUri: "/domains/{DomainName}/profiles" }, input: { type: "structure", + required: ["DomainName"], members: { - pageSize: { - location: "querystring", - locationName: "pageSize", - type: "integer", - }, - marker: { location: "querystring", locationName: "marker" }, - ascendingOrder: { - location: "querystring", - locationName: "isAscendingOrder", - type: "boolean", - }, - status: { location: "querystring", locationName: "status" }, + DomainName: { location: "uri", locationName: "DomainName" }, + AccountNumber: {}, + AdditionalInformation: {}, + PartyType: {}, + BusinessName: {}, + FirstName: {}, + MiddleName: {}, + LastName: {}, + BirthDate: {}, + Gender: {}, + PhoneNumber: {}, + MobilePhoneNumber: {}, + HomePhoneNumber: {}, + BusinessPhoneNumber: {}, + EmailAddress: {}, + PersonalEmailAddress: {}, + BusinessEmailAddress: {}, + Address: { shape: "Sk" }, + ShippingAddress: { shape: "Sk" }, + MailingAddress: { shape: "Sk" }, + BillingAddress: { shape: "Sk" }, + Attributes: { shape: "Sl" }, }, }, output: { type: "structure", - members: { - authorizers: { - type: "list", - member: { - type: "structure", - members: { authorizerName: {}, authorizerArn: {} }, - }, - }, - nextMarker: {}, - }, + required: ["ProfileId"], + members: { ProfileId: {} }, }, }, - ListBillingGroups: { - http: { method: "GET", requestUri: "/billing-groups" }, + DeleteDomain: { + http: { method: "DELETE", requestUri: "/domains/{DomainName}" }, input: { type: "structure", + required: ["DomainName"], members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - namePrefixFilter: { - location: "querystring", - locationName: "namePrefixFilter", - }, + DomainName: { location: "uri", locationName: "DomainName" }, }, }, output: { type: "structure", - members: { - billingGroups: { type: "list", member: { shape: "Sgz" } }, - nextToken: {}, - }, + required: ["Message"], + members: { Message: {} }, }, }, - ListCACertificates: { - http: { method: "GET", requestUri: "/cacertificates" }, + DeleteIntegration: { + http: { requestUri: "/domains/{DomainName}/integrations/delete" }, input: { type: "structure", + required: ["DomainName"], members: { - pageSize: { - location: "querystring", - locationName: "pageSize", - type: "integer", - }, - marker: { location: "querystring", locationName: "marker" }, - ascendingOrder: { - location: "querystring", - locationName: "isAscendingOrder", - type: "boolean", - }, + DomainName: { location: "uri", locationName: "DomainName" }, + Uri: {}, }, }, output: { type: "structure", + required: ["Message"], + members: { Message: {} }, + }, + }, + DeleteProfile: { + http: { requestUri: "/domains/{DomainName}/profiles/delete" }, + input: { + type: "structure", + required: ["ProfileId", "DomainName"], members: { - certificates: { - type: "list", - member: { - type: "structure", - members: { - certificateArn: {}, - certificateId: {}, - status: {}, - creationDate: { type: "timestamp" }, - }, - }, - }, - nextMarker: {}, + ProfileId: {}, + DomainName: { location: "uri", locationName: "DomainName" }, }, }, + output: { type: "structure", members: { Message: {} } }, }, - ListCertificates: { - http: { method: "GET", requestUri: "/certificates" }, + DeleteProfileKey: { + http: { requestUri: "/domains/{DomainName}/profiles/keys/delete" }, input: { type: "structure", + required: ["ProfileId", "KeyName", "Values", "DomainName"], members: { - pageSize: { - location: "querystring", - locationName: "pageSize", - type: "integer", - }, - marker: { location: "querystring", locationName: "marker" }, - ascendingOrder: { - location: "querystring", - locationName: "isAscendingOrder", - type: "boolean", - }, + ProfileId: {}, + KeyName: {}, + Values: { shape: "S4" }, + DomainName: { location: "uri", locationName: "DomainName" }, }, }, - output: { + output: { type: "structure", members: { Message: {} } }, + }, + DeleteProfileObject: { + http: { + requestUri: "/domains/{DomainName}/profiles/objects/delete", + }, + input: { type: "structure", - members: { certificates: { shape: "Skm" }, nextMarker: {} }, + required: [ + "ProfileId", + "ProfileObjectUniqueKey", + "ObjectTypeName", + "DomainName", + ], + members: { + ProfileId: {}, + ProfileObjectUniqueKey: {}, + ObjectTypeName: {}, + DomainName: { location: "uri", locationName: "DomainName" }, + }, }, + output: { type: "structure", members: { Message: {} } }, }, - ListCertificatesByCA: { + DeleteProfileObjectType: { http: { - method: "GET", - requestUri: "/certificates-by-ca/{caCertificateId}", + method: "DELETE", + requestUri: "/domains/{DomainName}/object-types/{ObjectTypeName}", }, input: { type: "structure", - required: ["caCertificateId"], + required: ["DomainName", "ObjectTypeName"], members: { - caCertificateId: { + DomainName: { location: "uri", locationName: "DomainName" }, + ObjectTypeName: { location: "uri", - locationName: "caCertificateId", - }, - pageSize: { - location: "querystring", - locationName: "pageSize", - type: "integer", - }, - marker: { location: "querystring", locationName: "marker" }, - ascendingOrder: { - location: "querystring", - locationName: "isAscendingOrder", - type: "boolean", + locationName: "ObjectTypeName", }, }, }, output: { type: "structure", - members: { certificates: { shape: "Skm" }, nextMarker: {} }, + required: ["Message"], + members: { Message: {} }, }, }, - ListDimensions: { - http: { method: "GET", requestUri: "/dimensions" }, + GetDomain: { + http: { method: "GET", requestUri: "/domains/{DomainName}" }, input: { type: "structure", + required: ["DomainName"], members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + DomainName: { location: "uri", locationName: "DomainName" }, }, }, output: { type: "structure", + required: ["DomainName", "CreatedAt", "LastUpdatedAt"], members: { - dimensionNames: { type: "list", member: {} }, - nextToken: {}, + DomainName: {}, + DefaultExpirationDays: { type: "integer" }, + DefaultEncryptionKey: {}, + DeadLetterQueueUrl: {}, + Stats: { + type: "structure", + members: { + ProfileCount: { type: "long" }, + MeteringProfileCount: { type: "long" }, + ObjectCount: { type: "long" }, + TotalSize: { type: "long" }, + }, + }, + CreatedAt: { type: "timestamp" }, + LastUpdatedAt: { type: "timestamp" }, + Tags: { shape: "Sb" }, }, }, }, - ListDomainConfigurations: { - http: { method: "GET", requestUri: "/domainConfigurations" }, + GetIntegration: { + http: { requestUri: "/domains/{DomainName}/integrations" }, input: { type: "structure", + required: ["DomainName"], members: { - marker: { location: "querystring", locationName: "marker" }, - pageSize: { - location: "querystring", - locationName: "pageSize", - type: "integer", - }, - serviceType: { - location: "querystring", - locationName: "serviceType", - }, + DomainName: { location: "uri", locationName: "DomainName" }, + Uri: {}, }, }, output: { type: "structure", + required: [ + "DomainName", + "Uri", + "ObjectTypeName", + "CreatedAt", + "LastUpdatedAt", + ], members: { - domainConfigurations: { - type: "list", - member: { - type: "structure", - members: { - domainConfigurationName: {}, - domainConfigurationArn: {}, - serviceType: {}, - }, - }, - }, - nextMarker: {}, + DomainName: {}, + Uri: {}, + ObjectTypeName: {}, + CreatedAt: { type: "timestamp" }, + LastUpdatedAt: { type: "timestamp" }, + Tags: { shape: "Sb" }, }, }, }, - ListIndices: { - http: { method: "GET", requestUri: "/indices" }, + GetProfileObjectType: { + http: { + method: "GET", + requestUri: "/domains/{DomainName}/object-types/{ObjectTypeName}", + }, input: { type: "structure", + required: ["DomainName", "ObjectTypeName"], members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + DomainName: { location: "uri", locationName: "DomainName" }, + ObjectTypeName: { + location: "uri", + locationName: "ObjectTypeName", }, }, }, output: { type: "structure", + required: ["ObjectTypeName", "Description"], members: { - indexNames: { type: "list", member: {} }, - nextToken: {}, + ObjectTypeName: {}, + Description: {}, + TemplateId: {}, + ExpirationDays: { type: "integer" }, + EncryptionKey: {}, + AllowProfileCreation: { type: "boolean" }, + Fields: { shape: "S1b" }, + Keys: { shape: "S1e" }, + CreatedAt: { type: "timestamp" }, + LastUpdatedAt: { type: "timestamp" }, + Tags: { shape: "Sb" }, }, }, }, - ListJobExecutionsForJob: { - http: { method: "GET", requestUri: "/jobs/{jobId}/things" }, + GetProfileObjectTypeTemplate: { + http: { method: "GET", requestUri: "/templates/{TemplateId}" }, input: { type: "structure", - required: ["jobId"], + required: ["TemplateId"], members: { - jobId: { location: "uri", locationName: "jobId" }, - status: { location: "querystring", locationName: "status" }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, + TemplateId: { location: "uri", locationName: "TemplateId" }, }, }, output: { type: "structure", members: { - executionSummaries: { - type: "list", - member: { - type: "structure", - members: { - thingArn: {}, - jobExecutionSummary: { shape: "Sl6" }, - }, - }, - }, - nextToken: {}, + TemplateId: {}, + SourceName: {}, + SourceObject: {}, + AllowProfileCreation: { type: "boolean" }, + Fields: { shape: "S1b" }, + Keys: { shape: "S1e" }, }, }, }, - ListJobExecutionsForThing: { - http: { method: "GET", requestUri: "/things/{thingName}/jobs" }, + ListAccountIntegrations: { + http: { requestUri: "/integrations" }, input: { type: "structure", - required: ["thingName"], + required: ["Uri"], members: { - thingName: { location: "uri", locationName: "thingName" }, - status: { location: "querystring", locationName: "status" }, - maxResults: { + Uri: {}, + NextToken: { location: "querystring", - locationName: "maxResults", - type: "integer", + locationName: "next-token", }, - nextToken: { + MaxResults: { location: "querystring", - locationName: "nextToken", + locationName: "max-results", + type: "integer", }, }, }, output: { type: "structure", - members: { - executionSummaries: { - type: "list", - member: { - type: "structure", - members: { - jobId: {}, - jobExecutionSummary: { shape: "Sl6" }, - }, - }, - }, - nextToken: {}, - }, + members: { Items: { shape: "S1q" }, NextToken: {} }, }, }, - ListJobs: { - http: { method: "GET", requestUri: "/jobs" }, + ListDomains: { + http: { method: "GET", requestUri: "/domains" }, input: { type: "structure", members: { - status: { location: "querystring", locationName: "status" }, - targetSelection: { + NextToken: { location: "querystring", - locationName: "targetSelection", + locationName: "next-token", }, - maxResults: { + MaxResults: { location: "querystring", - locationName: "maxResults", + locationName: "max-results", type: "integer", }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - thingGroupName: { - location: "querystring", - locationName: "thingGroupName", - }, - thingGroupId: { - location: "querystring", - locationName: "thingGroupId", - }, }, }, output: { type: "structure", members: { - jobs: { + Items: { type: "list", member: { type: "structure", + required: ["DomainName", "CreatedAt", "LastUpdatedAt"], members: { - jobArn: {}, - jobId: {}, - thingGroupId: {}, - targetSelection: {}, - status: {}, - createdAt: { type: "timestamp" }, - lastUpdatedAt: { type: "timestamp" }, - completedAt: { type: "timestamp" }, + DomainName: {}, + CreatedAt: { type: "timestamp" }, + LastUpdatedAt: { type: "timestamp" }, + Tags: { shape: "Sb" }, }, }, }, - nextToken: {}, + NextToken: {}, }, }, }, - ListMitigationActions: { - http: { method: "GET", requestUri: "/mitigationactions/actions" }, + ListIntegrations: { + http: { + method: "GET", + requestUri: "/domains/{DomainName}/integrations", + }, input: { type: "structure", + required: ["DomainName"], members: { - actionType: { + DomainName: { location: "uri", locationName: "DomainName" }, + NextToken: { location: "querystring", - locationName: "actionType", + locationName: "next-token", }, - maxResults: { + MaxResults: { location: "querystring", - locationName: "maxResults", + locationName: "max-results", type: "integer", }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, }, }, output: { type: "structure", - members: { - actionIdentifiers: { - type: "list", - member: { - type: "structure", - members: { - actionName: {}, - actionArn: {}, - creationDate: { type: "timestamp" }, - }, - }, - }, - nextToken: {}, - }, + members: { Items: { shape: "S1q" }, NextToken: {} }, }, }, - ListOTAUpdates: { - http: { method: "GET", requestUri: "/otaUpdates" }, + ListProfileObjectTypeTemplates: { + http: { method: "GET", requestUri: "/templates" }, input: { type: "structure", members: { - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { + NextToken: { location: "querystring", - locationName: "nextToken", + locationName: "next-token", }, - otaUpdateStatus: { + MaxResults: { location: "querystring", - locationName: "otaUpdateStatus", + locationName: "max-results", + type: "integer", }, }, }, output: { type: "structure", members: { - otaUpdates: { + Items: { type: "list", member: { type: "structure", members: { - otaUpdateId: {}, - otaUpdateArn: {}, - creationDate: { type: "timestamp" }, + TemplateId: {}, + SourceName: {}, + SourceObject: {}, }, }, }, - nextToken: {}, + NextToken: {}, }, }, }, - ListOutgoingCertificates: { - http: { method: "GET", requestUri: "/certificates-out-going" }, + ListProfileObjectTypes: { + http: { + method: "GET", + requestUri: "/domains/{DomainName}/object-types", + }, input: { type: "structure", + required: ["DomainName"], members: { - pageSize: { + DomainName: { location: "uri", locationName: "DomainName" }, + NextToken: { location: "querystring", - locationName: "pageSize", - type: "integer", + locationName: "next-token", }, - marker: { location: "querystring", locationName: "marker" }, - ascendingOrder: { + MaxResults: { location: "querystring", - locationName: "isAscendingOrder", - type: "boolean", + locationName: "max-results", + type: "integer", }, }, }, output: { type: "structure", members: { - outgoingCertificates: { + Items: { type: "list", member: { type: "structure", + required: ["ObjectTypeName", "Description"], members: { - certificateArn: {}, - certificateId: {}, - transferredTo: {}, - transferDate: { type: "timestamp" }, - transferMessage: {}, - creationDate: { type: "timestamp" }, + ObjectTypeName: {}, + Description: {}, + CreatedAt: { type: "timestamp" }, + LastUpdatedAt: { type: "timestamp" }, + Tags: { shape: "Sb" }, }, }, }, - nextMarker: {}, + NextToken: {}, }, }, }, - ListPolicies: { - http: { method: "GET", requestUri: "/policies" }, + ListProfileObjects: { + http: { requestUri: "/domains/{DomainName}/profiles/objects" }, input: { type: "structure", + required: ["DomainName", "ObjectTypeName", "ProfileId"], members: { - marker: { location: "querystring", locationName: "marker" }, - pageSize: { + NextToken: { location: "querystring", - locationName: "pageSize", - type: "integer", + locationName: "next-token", }, - ascendingOrder: { + MaxResults: { location: "querystring", - locationName: "isAscendingOrder", - type: "boolean", + locationName: "max-results", + type: "integer", }, + DomainName: { location: "uri", locationName: "DomainName" }, + ObjectTypeName: {}, + ProfileId: {}, }, }, output: { type: "structure", - members: { policies: { shape: "Sjp" }, nextMarker: {} }, + members: { + Items: { + type: "list", + member: { + type: "structure", + members: { + ObjectTypeName: {}, + ProfileObjectUniqueKey: {}, + Object: {}, + }, + }, + }, + NextToken: {}, + }, }, }, - ListPolicyPrincipals: { - http: { method: "GET", requestUri: "/policy-principals" }, + ListTagsForResource: { + http: { method: "GET", requestUri: "/tags/{resourceArn}" }, input: { type: "structure", - required: ["policyName"], + required: ["resourceArn"], members: { - policyName: { - location: "header", - locationName: "x-amzn-iot-policy", - }, - marker: { location: "querystring", locationName: "marker" }, - pageSize: { - location: "querystring", - locationName: "pageSize", - type: "integer", - }, - ascendingOrder: { - location: "querystring", - locationName: "isAscendingOrder", - type: "boolean", - }, + resourceArn: { location: "uri", locationName: "resourceArn" }, }, }, - output: { - type: "structure", - members: { principals: { shape: "Slv" }, nextMarker: {} }, - }, - deprecated: true, + output: { type: "structure", members: { tags: { shape: "Sb" } } }, }, - ListPolicyVersions: { + PutIntegration: { http: { - method: "GET", - requestUri: "/policies/{policyName}/version", + method: "PUT", + requestUri: "/domains/{DomainName}/integrations", }, input: { type: "structure", - required: ["policyName"], + required: ["DomainName", "Uri", "ObjectTypeName"], members: { - policyName: { location: "uri", locationName: "policyName" }, + DomainName: { location: "uri", locationName: "DomainName" }, + Uri: {}, + ObjectTypeName: {}, + Tags: { shape: "Sb" }, }, }, output: { type: "structure", + required: [ + "DomainName", + "Uri", + "ObjectTypeName", + "CreatedAt", + "LastUpdatedAt", + ], members: { - policyVersions: { - type: "list", - member: { - type: "structure", - members: { - versionId: {}, - isDefaultVersion: { type: "boolean" }, - createDate: { type: "timestamp" }, - }, - }, - }, + DomainName: {}, + Uri: {}, + ObjectTypeName: {}, + CreatedAt: { type: "timestamp" }, + LastUpdatedAt: { type: "timestamp" }, + Tags: { shape: "Sb" }, }, }, }, - ListPrincipalPolicies: { - http: { method: "GET", requestUri: "/principal-policies" }, + PutProfileObject: { + http: { + method: "PUT", + requestUri: "/domains/{DomainName}/profiles/objects", + }, input: { type: "structure", - required: ["principal"], + required: ["ObjectTypeName", "Object", "DomainName"], members: { - principal: { - location: "header", - locationName: "x-amzn-iot-principal", - }, - marker: { location: "querystring", locationName: "marker" }, - pageSize: { - location: "querystring", - locationName: "pageSize", - type: "integer", - }, - ascendingOrder: { - location: "querystring", - locationName: "isAscendingOrder", - type: "boolean", - }, + ObjectTypeName: {}, + Object: {}, + DomainName: { location: "uri", locationName: "DomainName" }, }, }, output: { type: "structure", - members: { policies: { shape: "Sjp" }, nextMarker: {} }, + members: { ProfileObjectUniqueKey: {} }, }, - deprecated: true, }, - ListPrincipalThings: { - http: { method: "GET", requestUri: "/principals/things" }, + PutProfileObjectType: { + http: { + method: "PUT", + requestUri: "/domains/{DomainName}/object-types/{ObjectTypeName}", + }, input: { type: "structure", - required: ["principal"], + required: ["DomainName", "ObjectTypeName", "Description"], members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - principal: { - location: "header", - locationName: "x-amzn-principal", + DomainName: { location: "uri", locationName: "DomainName" }, + ObjectTypeName: { + location: "uri", + locationName: "ObjectTypeName", }, + Description: {}, + TemplateId: {}, + ExpirationDays: { type: "integer" }, + EncryptionKey: {}, + AllowProfileCreation: { type: "boolean" }, + Fields: { shape: "S1b" }, + Keys: { shape: "S1e" }, + Tags: { shape: "Sb" }, }, }, output: { type: "structure", - members: { things: { shape: "Sm5" }, nextToken: {} }, + required: ["ObjectTypeName", "Description"], + members: { + ObjectTypeName: {}, + Description: {}, + TemplateId: {}, + ExpirationDays: { type: "integer" }, + EncryptionKey: {}, + AllowProfileCreation: { type: "boolean" }, + Fields: { shape: "S1b" }, + Keys: { shape: "S1e" }, + CreatedAt: { type: "timestamp" }, + LastUpdatedAt: { type: "timestamp" }, + Tags: { shape: "Sb" }, + }, }, }, - ListProvisioningTemplateVersions: { - http: { - method: "GET", - requestUri: "/provisioning-templates/{templateName}/versions", - }, + SearchProfiles: { + http: { requestUri: "/domains/{DomainName}/profiles/search" }, input: { type: "structure", - required: ["templateName"], + required: ["DomainName", "KeyName", "Values"], members: { - templateName: { location: "uri", locationName: "templateName" }, - maxResults: { + NextToken: { location: "querystring", - locationName: "maxResults", - type: "integer", + locationName: "next-token", }, - nextToken: { + MaxResults: { location: "querystring", - locationName: "nextToken", + locationName: "max-results", + type: "integer", }, + DomainName: { location: "uri", locationName: "DomainName" }, + KeyName: {}, + Values: { shape: "S4" }, }, }, output: { type: "structure", members: { - versions: { + Items: { type: "list", member: { type: "structure", members: { - versionId: { type: "integer" }, - creationDate: { type: "timestamp" }, - isDefaultVersion: { type: "boolean" }, + ProfileId: {}, + AccountNumber: {}, + AdditionalInformation: {}, + PartyType: {}, + BusinessName: {}, + FirstName: {}, + MiddleName: {}, + LastName: {}, + BirthDate: {}, + Gender: {}, + PhoneNumber: {}, + MobilePhoneNumber: {}, + HomePhoneNumber: {}, + BusinessPhoneNumber: {}, + EmailAddress: {}, + PersonalEmailAddress: {}, + BusinessEmailAddress: {}, + Address: { shape: "Sk" }, + ShippingAddress: { shape: "Sk" }, + MailingAddress: { shape: "Sk" }, + BillingAddress: { shape: "Sk" }, + Attributes: { shape: "Sl" }, }, }, }, - nextToken: {}, + NextToken: {}, }, }, }, - ListProvisioningTemplates: { - http: { method: "GET", requestUri: "/provisioning-templates" }, + TagResource: { + http: { requestUri: "/tags/{resourceArn}" }, input: { type: "structure", + required: ["resourceArn", "tags"], members: { - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, + resourceArn: { location: "uri", locationName: "resourceArn" }, + tags: { shape: "Sb" }, }, }, - output: { + output: { type: "structure", members: {} }, + }, + UntagResource: { + http: { method: "DELETE", requestUri: "/tags/{resourceArn}" }, + input: { type: "structure", + required: ["resourceArn", "tagKeys"], members: { - templates: { + resourceArn: { location: "uri", locationName: "resourceArn" }, + tagKeys: { + location: "querystring", + locationName: "tagKeys", type: "list", - member: { - type: "structure", - members: { - templateArn: {}, - templateName: {}, - description: {}, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - enabled: { type: "boolean" }, - }, - }, + member: {}, }, - nextToken: {}, }, }, + output: { type: "structure", members: {} }, }, - ListRoleAliases: { - http: { method: "GET", requestUri: "/role-aliases" }, + UpdateDomain: { + http: { method: "PUT", requestUri: "/domains/{DomainName}" }, input: { type: "structure", + required: ["DomainName"], members: { - pageSize: { - location: "querystring", - locationName: "pageSize", - type: "integer", - }, - marker: { location: "querystring", locationName: "marker" }, - ascendingOrder: { - location: "querystring", - locationName: "isAscendingOrder", - type: "boolean", - }, + DomainName: { location: "uri", locationName: "DomainName" }, + DefaultExpirationDays: { type: "integer" }, + DefaultEncryptionKey: {}, + DeadLetterQueueUrl: {}, + Tags: { shape: "Sb" }, }, }, output: { type: "structure", + required: ["DomainName", "CreatedAt", "LastUpdatedAt"], members: { - roleAliases: { type: "list", member: {} }, - nextMarker: {}, + DomainName: {}, + DefaultExpirationDays: { type: "integer" }, + DefaultEncryptionKey: {}, + DeadLetterQueueUrl: {}, + CreatedAt: { type: "timestamp" }, + LastUpdatedAt: { type: "timestamp" }, + Tags: { shape: "Sb" }, }, }, }, - ListScheduledAudits: { - http: { method: "GET", requestUri: "/audit/scheduledaudits" }, + UpdateProfile: { + http: { + method: "PUT", + requestUri: "/domains/{DomainName}/profiles", + }, input: { type: "structure", + required: ["DomainName", "ProfileId"], members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + DomainName: { location: "uri", locationName: "DomainName" }, + ProfileId: {}, + AdditionalInformation: {}, + AccountNumber: {}, + PartyType: {}, + BusinessName: {}, + FirstName: {}, + MiddleName: {}, + LastName: {}, + BirthDate: {}, + Gender: {}, + PhoneNumber: {}, + MobilePhoneNumber: {}, + HomePhoneNumber: {}, + BusinessPhoneNumber: {}, + EmailAddress: {}, + PersonalEmailAddress: {}, + BusinessEmailAddress: {}, + Address: { shape: "S2y" }, + ShippingAddress: { shape: "S2y" }, + MailingAddress: { shape: "S2y" }, + BillingAddress: { shape: "S2y" }, + Attributes: { type: "map", key: {}, value: {} }, }, }, output: { type: "structure", - members: { - scheduledAudits: { - type: "list", - member: { - type: "structure", - members: { - scheduledAuditName: {}, - scheduledAuditArn: {}, - frequency: {}, - dayOfMonth: {}, - dayOfWeek: {}, - }, - }, + required: ["ProfileId"], + members: { ProfileId: {} }, + }, + }, + }, + shapes: { + S4: { type: "list", member: {} }, + Sb: { type: "map", key: {}, value: {} }, + Sk: { + type: "structure", + members: { + Address1: {}, + Address2: {}, + Address3: {}, + Address4: {}, + City: {}, + County: {}, + State: {}, + Province: {}, + Country: {}, + PostalCode: {}, + }, + }, + Sl: { type: "map", key: {}, value: {} }, + S1b: { + type: "map", + key: {}, + value: { + type: "structure", + members: { Source: {}, Target: {}, ContentType: {} }, + }, + }, + S1e: { + type: "map", + key: {}, + value: { + type: "list", + member: { + type: "structure", + members: { + StandardIdentifiers: { type: "list", member: {} }, + FieldNames: { type: "list", member: {} }, }, - nextToken: {}, }, }, }, - ListSecurityProfiles: { - http: { method: "GET", requestUri: "/security-profiles" }, - input: { + S1q: { + type: "list", + member: { type: "structure", + required: [ + "DomainName", + "Uri", + "ObjectTypeName", + "CreatedAt", + "LastUpdatedAt", + ], members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - dimensionName: { - location: "querystring", - locationName: "dimensionName", - }, + DomainName: {}, + Uri: {}, + ObjectTypeName: {}, + CreatedAt: { type: "timestamp" }, + LastUpdatedAt: { type: "timestamp" }, + Tags: { shape: "Sb" }, }, }, + }, + S2y: { + type: "structure", + members: { + Address1: {}, + Address2: {}, + Address3: {}, + Address4: {}, + City: {}, + County: {}, + State: {}, + Province: {}, + Country: {}, + PostalCode: {}, + }, + }, + }, + }; + + /***/ + }, + + /***/ 4155: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2014-05-30", + endpointPrefix: "cloudhsm", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "CloudHSM", + serviceFullName: "Amazon CloudHSM", + serviceId: "CloudHSM", + signatureVersion: "v4", + targetPrefix: "CloudHsmFrontendService", + uid: "cloudhsm-2014-05-30", + }, + operations: { + AddTagsToResource: { + input: { + type: "structure", + required: ["ResourceArn", "TagList"], + members: { ResourceArn: {}, TagList: { shape: "S3" } }, + }, output: { type: "structure", - members: { - securityProfileIdentifiers: { - type: "list", - member: { shape: "Smo" }, - }, - nextToken: {}, - }, + required: ["Status"], + members: { Status: {} }, }, }, - ListSecurityProfilesForTarget: { - http: { - method: "GET", - requestUri: "/security-profiles-for-target", + CreateHapg: { + input: { + type: "structure", + required: ["Label"], + members: { Label: {} }, }, + output: { type: "structure", members: { HapgArn: {} } }, + }, + CreateHsm: { input: { type: "structure", - required: ["securityProfileTargetArn"], + required: [ + "SubnetId", + "SshKey", + "IamRoleArn", + "SubscriptionType", + ], members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - recursive: { - location: "querystring", - locationName: "recursive", - type: "boolean", - }, - securityProfileTargetArn: { - location: "querystring", - locationName: "securityProfileTargetArn", - }, + SubnetId: { locationName: "SubnetId" }, + SshKey: { locationName: "SshKey" }, + EniIp: { locationName: "EniIp" }, + IamRoleArn: { locationName: "IamRoleArn" }, + ExternalId: { locationName: "ExternalId" }, + SubscriptionType: { locationName: "SubscriptionType" }, + ClientToken: { locationName: "ClientToken" }, + SyslogIp: { locationName: "SyslogIp" }, }, + locationName: "CreateHsmRequest", + }, + output: { type: "structure", members: { HsmArn: {} } }, + }, + CreateLunaClient: { + input: { + type: "structure", + required: ["Certificate"], + members: { Label: {}, Certificate: {} }, + }, + output: { type: "structure", members: { ClientArn: {} } }, + }, + DeleteHapg: { + input: { + type: "structure", + required: ["HapgArn"], + members: { HapgArn: {} }, }, output: { type: "structure", - members: { - securityProfileTargetMappings: { - type: "list", - member: { - type: "structure", - members: { - securityProfileIdentifier: { shape: "Smo" }, - target: { shape: "Smt" }, - }, - }, - }, - nextToken: {}, - }, + required: ["Status"], + members: { Status: {} }, }, }, - ListStreams: { - http: { method: "GET", requestUri: "/streams" }, + DeleteHsm: { input: { type: "structure", - members: { - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - ascendingOrder: { - location: "querystring", - locationName: "isAscendingOrder", - type: "boolean", - }, - }, + required: ["HsmArn"], + members: { HsmArn: { locationName: "HsmArn" } }, + locationName: "DeleteHsmRequest", }, output: { type: "structure", - members: { - streams: { - type: "list", - member: { - type: "structure", - members: { - streamId: {}, - streamArn: {}, - streamVersion: { type: "integer" }, - description: {}, - }, - }, - }, - nextToken: {}, - }, + required: ["Status"], + members: { Status: {} }, }, }, - ListTagsForResource: { - http: { method: "GET", requestUri: "/tags" }, + DeleteLunaClient: { input: { type: "structure", - required: ["resourceArn"], - members: { - resourceArn: { - location: "querystring", - locationName: "resourceArn", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - }, + required: ["ClientArn"], + members: { ClientArn: {} }, }, output: { type: "structure", - members: { tags: { shape: "S1x" }, nextToken: {} }, + required: ["Status"], + members: { Status: {} }, }, }, - ListTargetsForPolicy: { - http: { requestUri: "/policy-targets/{policyName}" }, + DescribeHapg: { input: { type: "structure", - required: ["policyName"], - members: { - policyName: { location: "uri", locationName: "policyName" }, - marker: { location: "querystring", locationName: "marker" }, - pageSize: { - location: "querystring", - locationName: "pageSize", - type: "integer", - }, - }, + required: ["HapgArn"], + members: { HapgArn: {} }, }, output: { type: "structure", members: { - targets: { type: "list", member: {} }, - nextMarker: {}, + HapgArn: {}, + HapgSerial: {}, + HsmsLastActionFailed: { shape: "Sz" }, + HsmsPendingDeletion: { shape: "Sz" }, + HsmsPendingRegistration: { shape: "Sz" }, + Label: {}, + LastModifiedTimestamp: {}, + PartitionSerialList: { shape: "S11" }, + State: {}, }, }, }, - ListTargetsForSecurityProfile: { - http: { - method: "GET", - requestUri: "/security-profiles/{securityProfileName}/targets", - }, + DescribeHsm: { input: { type: "structure", - required: ["securityProfileName"], - members: { - securityProfileName: { - location: "uri", - locationName: "securityProfileName", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, + members: { HsmArn: {}, HsmSerialNumber: {} }, }, output: { type: "structure", members: { - securityProfileTargets: { - type: "list", - member: { shape: "Smt" }, - }, - nextToken: {}, + HsmArn: {}, + Status: {}, + StatusDetails: {}, + AvailabilityZone: {}, + EniId: {}, + EniIp: {}, + SubscriptionType: {}, + SubscriptionStartDate: {}, + SubscriptionEndDate: {}, + VpcId: {}, + SubnetId: {}, + IamRoleArn: {}, + SerialNumber: {}, + VendorName: {}, + HsmType: {}, + SoftwareVersion: {}, + SshPublicKey: {}, + SshKeyLastUpdated: {}, + ServerCertUri: {}, + ServerCertLastUpdated: {}, + Partitions: { type: "list", member: {} }, }, }, }, - ListThingGroups: { - http: { method: "GET", requestUri: "/thing-groups" }, + DescribeLunaClient: { input: { type: "structure", - members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - parentGroup: { - location: "querystring", - locationName: "parentGroup", - }, - namePrefixFilter: { - location: "querystring", - locationName: "namePrefixFilter", - }, - recursive: { - location: "querystring", - locationName: "recursive", - type: "boolean", - }, - }, + members: { ClientArn: {}, CertificateFingerprint: {} }, }, output: { type: "structure", - members: { thingGroups: { shape: "Sgy" }, nextToken: {} }, + members: { + ClientArn: {}, + Certificate: {}, + CertificateFingerprint: {}, + LastModifiedTimestamp: {}, + Label: {}, + }, }, }, - ListThingGroupsForThing: { - http: { - method: "GET", - requestUri: "/things/{thingName}/thing-groups", - }, + GetConfig: { input: { type: "structure", - required: ["thingName"], + required: ["ClientArn", "ClientVersion", "HapgList"], members: { - thingName: { location: "uri", locationName: "thingName" }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + ClientArn: {}, + ClientVersion: {}, + HapgList: { shape: "S1i" }, }, }, output: { type: "structure", - members: { thingGroups: { shape: "Sgy" }, nextToken: {} }, + members: { ConfigType: {}, ConfigFile: {}, ConfigCred: {} }, }, }, - ListThingPrincipals: { - http: { - method: "GET", - requestUri: "/things/{thingName}/principals", - }, - input: { + ListAvailableZones: { + input: { type: "structure", members: {} }, + output: { type: "structure", - required: ["thingName"], - members: { - thingName: { location: "uri", locationName: "thingName" }, - }, + members: { AZList: { type: "list", member: {} } }, }, + }, + ListHapgs: { + input: { type: "structure", members: { NextToken: {} } }, output: { type: "structure", - members: { principals: { shape: "Slv" } }, + required: ["HapgList"], + members: { HapgList: { shape: "S1i" }, NextToken: {} }, }, }, - ListThingRegistrationTaskReports: { - http: { - method: "GET", - requestUri: "/thing-registration-tasks/{taskId}/reports", - }, - input: { + ListHsms: { + input: { type: "structure", members: { NextToken: {} } }, + output: { type: "structure", - required: ["taskId", "reportType"], - members: { - taskId: { location: "uri", locationName: "taskId" }, - reportType: { - location: "querystring", - locationName: "reportType", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, + members: { HsmList: { shape: "Sz" }, NextToken: {} }, }, + }, + ListLunaClients: { + input: { type: "structure", members: { NextToken: {} } }, output: { type: "structure", + required: ["ClientList"], members: { - resourceLinks: { type: "list", member: {} }, - reportType: {}, - nextToken: {}, + ClientList: { type: "list", member: {} }, + NextToken: {}, }, }, }, - ListThingRegistrationTasks: { - http: { method: "GET", requestUri: "/thing-registration-tasks" }, + ListTagsForResource: { input: { type: "structure", - members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - status: { location: "querystring", locationName: "status" }, - }, + required: ["ResourceArn"], + members: { ResourceArn: {} }, }, output: { type: "structure", - members: { taskIds: { type: "list", member: {} }, nextToken: {} }, + required: ["TagList"], + members: { TagList: { shape: "S3" } }, }, }, - ListThingTypes: { - http: { method: "GET", requestUri: "/thing-types" }, + ModifyHapg: { input: { type: "structure", + required: ["HapgArn"], members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - thingTypeName: { - location: "querystring", - locationName: "thingTypeName", - }, - }, - }, - output: { - type: "structure", - members: { - thingTypes: { - type: "list", - member: { - type: "structure", - members: { - thingTypeName: {}, - thingTypeArn: {}, - thingTypeProperties: { shape: "S80" }, - thingTypeMetadata: { shape: "Shb" }, - }, - }, - }, - nextToken: {}, + HapgArn: {}, + Label: {}, + PartitionSerialList: { shape: "S11" }, }, }, + output: { type: "structure", members: { HapgArn: {} } }, }, - ListThings: { - http: { method: "GET", requestUri: "/things" }, + ModifyHsm: { input: { type: "structure", + required: ["HsmArn"], members: { - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - attributeName: { - location: "querystring", - locationName: "attributeName", - }, - attributeValue: { - location: "querystring", - locationName: "attributeValue", - }, - thingTypeName: { - location: "querystring", - locationName: "thingTypeName", - }, + HsmArn: { locationName: "HsmArn" }, + SubnetId: { locationName: "SubnetId" }, + EniIp: { locationName: "EniIp" }, + IamRoleArn: { locationName: "IamRoleArn" }, + ExternalId: { locationName: "ExternalId" }, + SyslogIp: { locationName: "SyslogIp" }, }, + locationName: "ModifyHsmRequest", }, - output: { + output: { type: "structure", members: { HsmArn: {} } }, + }, + ModifyLunaClient: { + input: { type: "structure", - members: { - things: { - type: "list", - member: { - type: "structure", - members: { - thingName: {}, - thingTypeName: {}, - thingArn: {}, - attributes: { shape: "S2u" }, - version: { type: "long" }, - }, - }, - }, - nextToken: {}, - }, + required: ["ClientArn", "Certificate"], + members: { ClientArn: {}, Certificate: {} }, }, + output: { type: "structure", members: { ClientArn: {} } }, }, - ListThingsInBillingGroup: { - http: { - method: "GET", - requestUri: "/billing-groups/{billingGroupName}/things", - }, + RemoveTagsFromResource: { input: { type: "structure", - required: ["billingGroupName"], + required: ["ResourceArn", "TagKeyList"], members: { - billingGroupName: { - location: "uri", - locationName: "billingGroupName", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + ResourceArn: {}, + TagKeyList: { type: "list", member: {} }, }, }, output: { type: "structure", - members: { things: { shape: "Sm5" }, nextToken: {} }, + required: ["Status"], + members: { Status: {} }, }, }, - ListThingsInThingGroup: { - http: { - method: "GET", - requestUri: "/thing-groups/{thingGroupName}/things", - }, - input: { + }, + shapes: { + S3: { + type: "list", + member: { type: "structure", - required: ["thingGroupName"], - members: { - thingGroupName: { - location: "uri", - locationName: "thingGroupName", - }, - recursive: { - location: "querystring", - locationName: "recursive", - type: "boolean", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - }, + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, }, - output: { + }, + Sz: { type: "list", member: {} }, + S11: { type: "list", member: {} }, + S1i: { type: "list", member: {} }, + }, + }; + + /***/ + }, + + /***/ 4190: /***/ function (module, __unusedexports, __webpack_require__) { + module.exports = authenticationPlugin; + + const { createTokenAuth } = __webpack_require__(9813); + const { Deprecation } = __webpack_require__(7692); + const once = __webpack_require__(6049); + + const beforeRequest = __webpack_require__(6863); + const requestError = __webpack_require__(7293); + const validate = __webpack_require__(6489); + const withAuthorizationPrefix = __webpack_require__(3143); + + const deprecateAuthBasic = once((log, deprecation) => + log.warn(deprecation) + ); + const deprecateAuthObject = once((log, deprecation) => + log.warn(deprecation) + ); + + function authenticationPlugin(octokit, options) { + // If `options.authStrategy` is set then use it and pass in `options.auth` + if (options.authStrategy) { + const auth = options.authStrategy(options.auth); + octokit.hook.wrap("request", auth.hook); + octokit.auth = auth; + return; + } + + // If neither `options.authStrategy` nor `options.auth` are set, the `octokit` instance + // is unauthenticated. The `octokit.auth()` method is a no-op and no request hook is registred. + if (!options.auth) { + octokit.auth = () => + Promise.resolve({ + type: "unauthenticated", + }); + return; + } + + const isBasicAuthString = + typeof options.auth === "string" && + /^basic/.test(withAuthorizationPrefix(options.auth)); + + // If only `options.auth` is set to a string, use the default token authentication strategy. + if (typeof options.auth === "string" && !isBasicAuthString) { + const auth = createTokenAuth(options.auth); + octokit.hook.wrap("request", auth.hook); + octokit.auth = auth; + return; + } + + // Otherwise log a deprecation message + const [deprecationMethod, deprecationMessapge] = isBasicAuthString + ? [ + deprecateAuthBasic, + 'Setting the "new Octokit({ auth })" option to a Basic Auth string is deprecated. Use https://github.com/octokit/auth-basic.js instead. See (https://octokit.github.io/rest.js/#authentication)', + ] + : [ + deprecateAuthObject, + 'Setting the "new Octokit({ auth })" option to an object without also setting the "authStrategy" option is deprecated and will be removed in v17. See (https://octokit.github.io/rest.js/#authentication)', + ]; + deprecationMethod( + octokit.log, + new Deprecation("[@octokit/rest] " + deprecationMessapge) + ); + + octokit.auth = () => + Promise.resolve({ + type: "deprecated", + message: deprecationMessapge, + }); + + validate(options.auth); + + const state = { + octokit, + auth: options.auth, + }; + + octokit.hook.before("request", beforeRequest.bind(null, state)); + octokit.hook.error("request", requestError.bind(null, state)); + } + + /***/ + }, + + /***/ 4208: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2015-04-13", + endpointPrefix: "codecommit", + jsonVersion: "1.1", + protocol: "json", + serviceAbbreviation: "CodeCommit", + serviceFullName: "AWS CodeCommit", + serviceId: "CodeCommit", + signatureVersion: "v4", + targetPrefix: "CodeCommit_20150413", + uid: "codecommit-2015-04-13", + }, + operations: { + AssociateApprovalRuleTemplateWithRepository: { + input: { type: "structure", - members: { things: { shape: "Sm5" }, nextToken: {} }, + required: ["approvalRuleTemplateName", "repositoryName"], + members: { approvalRuleTemplateName: {}, repositoryName: {} }, }, }, - ListTopicRuleDestinations: { - http: { method: "GET", requestUri: "/destinations" }, + BatchAssociateApprovalRuleTemplateWithRepositories: { input: { type: "structure", + required: ["approvalRuleTemplateName", "repositoryNames"], members: { - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, + approvalRuleTemplateName: {}, + repositoryNames: { shape: "S5" }, }, }, output: { type: "structure", + required: ["associatedRepositoryNames", "errors"], members: { - destinationSummaries: { + associatedRepositoryNames: { shape: "S5" }, + errors: { type: "list", member: { type: "structure", members: { - arn: {}, - status: {}, - statusReason: {}, - httpUrlSummary: { - type: "structure", - members: { confirmationUrl: {} }, - }, + repositoryName: {}, + errorCode: {}, + errorMessage: {}, }, }, }, - nextToken: {}, }, }, }, - ListTopicRules: { - http: { method: "GET", requestUri: "/rules" }, + BatchDescribeMergeConflicts: { input: { type: "structure", + required: [ + "repositoryName", + "destinationCommitSpecifier", + "sourceCommitSpecifier", + "mergeOption", + ], members: { - topic: { location: "querystring", locationName: "topic" }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - ruleDisabled: { - location: "querystring", - locationName: "ruleDisabled", - type: "boolean", - }, + repositoryName: {}, + destinationCommitSpecifier: {}, + sourceCommitSpecifier: {}, + mergeOption: {}, + maxMergeHunks: { type: "integer" }, + maxConflictFiles: { type: "integer" }, + filePaths: { type: "list", member: {} }, + conflictDetailLevel: {}, + conflictResolutionStrategy: {}, + nextToken: {}, }, }, output: { type: "structure", + required: ["conflicts", "destinationCommitId", "sourceCommitId"], members: { - rules: { + conflicts: { type: "list", member: { type: "structure", members: { - ruleArn: {}, - ruleName: {}, - topicPattern: {}, - createdAt: { type: "timestamp" }, - ruleDisabled: { type: "boolean" }, + conflictMetadata: { shape: "Sn" }, + mergeHunks: { shape: "S12" }, }, }, }, nextToken: {}, + errors: { + type: "list", + member: { + type: "structure", + required: ["filePath", "exceptionName", "message"], + members: { filePath: {}, exceptionName: {}, message: {} }, + }, + }, + destinationCommitId: {}, + sourceCommitId: {}, + baseCommitId: {}, }, }, }, - ListV2LoggingLevels: { - http: { method: "GET", requestUri: "/v2LoggingLevel" }, + BatchDisassociateApprovalRuleTemplateFromRepositories: { input: { type: "structure", + required: ["approvalRuleTemplateName", "repositoryNames"], members: { - targetType: { - location: "querystring", - locationName: "targetType", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + approvalRuleTemplateName: {}, + repositoryNames: { shape: "S5" }, }, }, output: { type: "structure", + required: ["disassociatedRepositoryNames", "errors"], members: { - logTargetConfigurations: { + disassociatedRepositoryNames: { shape: "S5" }, + errors: { type: "list", member: { type: "structure", - members: { logTarget: { shape: "Sof" }, logLevel: {} }, + members: { + repositoryName: {}, + errorCode: {}, + errorMessage: {}, + }, }, }, - nextToken: {}, }, }, }, - ListViolationEvents: { - http: { method: "GET", requestUri: "/violation-events" }, + BatchGetCommits: { input: { type: "structure", - required: ["startTime", "endTime"], + required: ["commitIds", "repositoryName"], members: { - startTime: { - location: "querystring", - locationName: "startTime", - type: "timestamp", - }, - endTime: { - location: "querystring", - locationName: "endTime", - type: "timestamp", - }, - thingName: { - location: "querystring", - locationName: "thingName", - }, - securityProfileName: { - location: "querystring", - locationName: "securityProfileName", - }, - nextToken: { - location: "querystring", - locationName: "nextToken", - }, - maxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, + commitIds: { type: "list", member: {} }, + repositoryName: {}, }, }, output: { type: "structure", members: { - violationEvents: { + commits: { type: "list", member: { shape: "S1l" } }, + errors: { type: "list", member: { type: "structure", - members: { - violationId: {}, - thingName: {}, - securityProfileName: {}, - behavior: { shape: "S6v" }, - metricValue: { shape: "S72" }, - violationEventType: {}, - violationEventTime: { type: "timestamp" }, - }, + members: { commitId: {}, errorCode: {}, errorMessage: {} }, }, }, - nextToken: {}, }, }, }, - RegisterCACertificate: { - http: { requestUri: "/cacertificate" }, + BatchGetRepositories: { input: { type: "structure", - required: ["caCertificate", "verificationCertificate"], - members: { - caCertificate: {}, - verificationCertificate: {}, - setAsActive: { - location: "querystring", - locationName: "setAsActive", - type: "boolean", - }, - allowAutoRegistration: { - location: "querystring", - locationName: "allowAutoRegistration", - type: "boolean", - }, - registrationConfig: { shape: "Ser" }, - }, + required: ["repositoryNames"], + members: { repositoryNames: { shape: "S5" } }, }, output: { type: "structure", - members: { certificateArn: {}, certificateId: {} }, + members: { + repositories: { type: "list", member: { shape: "S1x" } }, + repositoriesNotFound: { type: "list", member: {} }, + }, }, }, - RegisterCertificate: { - http: { requestUri: "/certificate/register" }, + CreateApprovalRuleTemplate: { input: { type: "structure", - required: ["certificatePem"], + required: [ + "approvalRuleTemplateName", + "approvalRuleTemplateContent", + ], members: { - certificatePem: {}, - caCertificatePem: {}, - setAsActive: { - deprecated: true, - location: "querystring", - locationName: "setAsActive", - type: "boolean", - }, - status: {}, + approvalRuleTemplateName: {}, + approvalRuleTemplateContent: {}, + approvalRuleTemplateDescription: {}, }, }, output: { type: "structure", - members: { certificateArn: {}, certificateId: {} }, + required: ["approvalRuleTemplate"], + members: { approvalRuleTemplate: { shape: "S2c" } }, }, }, - RegisterThing: { - http: { requestUri: "/things" }, + CreateBranch: { input: { type: "structure", - required: ["templateBody"], - members: { - templateBody: {}, - parameters: { type: "map", key: {}, value: {} }, - }, + required: ["repositoryName", "branchName", "commitId"], + members: { repositoryName: {}, branchName: {}, commitId: {} }, }, - output: { + }, + CreateCommit: { + input: { type: "structure", + required: ["repositoryName", "branchName"], members: { - certificatePem: {}, - resourceArns: { type: "map", key: {}, value: {} }, + repositoryName: {}, + branchName: {}, + parentCommitId: {}, + authorName: {}, + email: {}, + commitMessage: {}, + keepEmptyFolders: { type: "boolean" }, + putFiles: { + type: "list", + member: { + type: "structure", + required: ["filePath"], + members: { + filePath: {}, + fileMode: {}, + fileContent: { type: "blob" }, + sourceFile: { + type: "structure", + required: ["filePath"], + members: { filePath: {}, isMove: { type: "boolean" } }, + }, + }, + }, + }, + deleteFiles: { shape: "S2o" }, + setFileModes: { shape: "S2q" }, }, }, - }, - RejectCertificateTransfer: { - http: { - method: "PATCH", - requestUri: "/reject-certificate-transfer/{certificateId}", - }, - input: { + output: { type: "structure", - required: ["certificateId"], members: { - certificateId: { - location: "uri", - locationName: "certificateId", - }, - rejectReason: {}, + commitId: {}, + treeId: {}, + filesAdded: { shape: "S2t" }, + filesUpdated: { shape: "S2t" }, + filesDeleted: { shape: "S2t" }, }, }, }, - RemoveThingFromBillingGroup: { - http: { - method: "PUT", - requestUri: "/billing-groups/removeThingFromBillingGroup", - }, + CreatePullRequest: { input: { type: "structure", + required: ["title", "targets"], members: { - billingGroupName: {}, - billingGroupArn: {}, - thingName: {}, - thingArn: {}, + title: {}, + description: {}, + targets: { + type: "list", + member: { + type: "structure", + required: ["repositoryName", "sourceReference"], + members: { + repositoryName: {}, + sourceReference: {}, + destinationReference: {}, + }, + }, + }, + clientRequestToken: { idempotencyToken: true }, }, }, - output: { type: "structure", members: {} }, - }, - RemoveThingFromThingGroup: { - http: { - method: "PUT", - requestUri: "/thing-groups/removeThingFromThingGroup", + output: { + type: "structure", + required: ["pullRequest"], + members: { pullRequest: { shape: "S33" } }, }, + }, + CreatePullRequestApprovalRule: { input: { type: "structure", + required: [ + "pullRequestId", + "approvalRuleName", + "approvalRuleContent", + ], members: { - thingGroupName: {}, - thingGroupArn: {}, - thingName: {}, - thingArn: {}, + pullRequestId: {}, + approvalRuleName: {}, + approvalRuleContent: {}, }, }, - output: { type: "structure", members: {} }, + output: { + type: "structure", + required: ["approvalRule"], + members: { approvalRule: { shape: "S3c" } }, + }, }, - ReplaceTopicRule: { - http: { method: "PATCH", requestUri: "/rules/{ruleName}" }, + CreateRepository: { input: { type: "structure", - required: ["ruleName", "topicRulePayload"], + required: ["repositoryName"], members: { - ruleName: { location: "uri", locationName: "ruleName" }, - topicRulePayload: { shape: "S88" }, + repositoryName: {}, + repositoryDescription: {}, + tags: { shape: "S3k" }, }, - payload: "topicRulePayload", + }, + output: { + type: "structure", + members: { repositoryMetadata: { shape: "S1x" } }, }, }, - SearchIndex: { - http: { requestUri: "/indices/search" }, + CreateUnreferencedMergeCommit: { input: { type: "structure", - required: ["queryString"], + required: [ + "repositoryName", + "sourceCommitSpecifier", + "destinationCommitSpecifier", + "mergeOption", + ], members: { - indexName: {}, - queryString: {}, - nextToken: {}, - maxResults: { type: "integer" }, - queryVersion: {}, + repositoryName: {}, + sourceCommitSpecifier: {}, + destinationCommitSpecifier: {}, + mergeOption: {}, + conflictDetailLevel: {}, + conflictResolutionStrategy: {}, + authorName: {}, + email: {}, + commitMessage: {}, + keepEmptyFolders: { type: "boolean" }, + conflictResolution: { shape: "S3p" }, }, }, output: { type: "structure", - members: { - nextToken: {}, - things: { - type: "list", - member: { - type: "structure", - members: { - thingName: {}, - thingId: {}, - thingTypeName: {}, - thingGroupNames: { shape: "Sp7" }, - attributes: { shape: "S2u" }, - shadow: {}, - connectivity: { - type: "structure", - members: { - connected: { type: "boolean" }, - timestamp: { type: "long" }, - }, - }, - }, - }, - }, - thingGroups: { - type: "list", - member: { - type: "structure", - members: { - thingGroupName: {}, - thingGroupId: {}, - thingGroupDescription: {}, - attributes: { shape: "S2u" }, - parentGroupNames: { shape: "Sp7" }, - }, - }, - }, - }, + members: { commitId: {}, treeId: {} }, }, }, - SetDefaultAuthorizer: { - http: { requestUri: "/default-authorizer" }, + DeleteApprovalRuleTemplate: { input: { type: "structure", - required: ["authorizerName"], - members: { authorizerName: {} }, + required: ["approvalRuleTemplateName"], + members: { approvalRuleTemplateName: {} }, }, output: { type: "structure", - members: { authorizerName: {}, authorizerArn: {} }, + required: ["approvalRuleTemplateId"], + members: { approvalRuleTemplateId: {} }, }, }, - SetDefaultPolicyVersion: { - http: { - method: "PATCH", - requestUri: "/policies/{policyName}/version/{policyVersionId}", - }, + DeleteBranch: { input: { type: "structure", - required: ["policyName", "policyVersionId"], - members: { - policyName: { location: "uri", locationName: "policyName" }, - policyVersionId: { - location: "uri", - locationName: "policyVersionId", - }, - }, + required: ["repositoryName", "branchName"], + members: { repositoryName: {}, branchName: {} }, }, - }, - SetLoggingOptions: { - http: { requestUri: "/loggingOptions" }, - input: { + output: { type: "structure", - required: ["loggingOptionsPayload"], - members: { - loggingOptionsPayload: { - type: "structure", - required: ["roleArn"], - members: { roleArn: {}, logLevel: {} }, - }, - }, - payload: "loggingOptionsPayload", + members: { deletedBranch: { shape: "S3y" } }, }, }, - SetV2LoggingLevel: { - http: { requestUri: "/v2LoggingLevel" }, + DeleteCommentContent: { input: { type: "structure", - required: ["logTarget", "logLevel"], - members: { logTarget: { shape: "Sof" }, logLevel: {} }, + required: ["commentId"], + members: { commentId: {} }, }, - }, - SetV2LoggingOptions: { - http: { requestUri: "/v2LoggingOptions" }, - input: { + output: { type: "structure", - members: { - roleArn: {}, - defaultLogLevel: {}, - disableAllLogs: { type: "boolean" }, - }, + members: { comment: { shape: "S42" } }, }, }, - StartAuditMitigationActionsTask: { - http: { requestUri: "/audit/mitigationactions/tasks/{taskId}" }, + DeleteFile: { input: { type: "structure", required: [ - "taskId", - "target", - "auditCheckToActionsMapping", - "clientRequestToken", + "repositoryName", + "branchName", + "filePath", + "parentCommitId", ], members: { - taskId: { location: "uri", locationName: "taskId" }, - target: { shape: "Sdj" }, - auditCheckToActionsMapping: { shape: "Sdn" }, - clientRequestToken: { idempotencyToken: true }, + repositoryName: {}, + branchName: {}, + filePath: {}, + parentCommitId: {}, + keepEmptyFolders: { type: "boolean" }, + commitMessage: {}, + name: {}, + email: {}, }, }, - output: { type: "structure", members: { taskId: {} } }, - }, - StartOnDemandAuditTask: { - http: { requestUri: "/audit/tasks" }, - input: { + output: { type: "structure", - required: ["targetCheckNames"], - members: { targetCheckNames: { shape: "S6n" } }, + required: ["commitId", "blobId", "treeId", "filePath"], + members: { commitId: {}, blobId: {}, treeId: {}, filePath: {} }, }, - output: { type: "structure", members: { taskId: {} } }, }, - StartThingRegistrationTask: { - http: { requestUri: "/thing-registration-tasks" }, + DeletePullRequestApprovalRule: { input: { type: "structure", - required: [ - "templateBody", - "inputFileBucket", - "inputFileKey", - "roleArn", - ], - members: { - templateBody: {}, - inputFileBucket: {}, - inputFileKey: {}, - roleArn: {}, - }, + required: ["pullRequestId", "approvalRuleName"], + members: { pullRequestId: {}, approvalRuleName: {} }, }, - output: { type: "structure", members: { taskId: {} } }, - }, - StopThingRegistrationTask: { - http: { - method: "PUT", - requestUri: "/thing-registration-tasks/{taskId}/cancel", + output: { + type: "structure", + required: ["approvalRuleId"], + members: { approvalRuleId: {} }, }, + }, + DeleteRepository: { input: { type: "structure", - required: ["taskId"], - members: { taskId: { location: "uri", locationName: "taskId" } }, + required: ["repositoryName"], + members: { repositoryName: {} }, }, - output: { type: "structure", members: {} }, + output: { type: "structure", members: { repositoryId: {} } }, }, - TagResource: { - http: { requestUri: "/tags" }, + DescribeMergeConflicts: { input: { type: "structure", - required: ["resourceArn", "tags"], - members: { resourceArn: {}, tags: { shape: "S1x" } }, + required: [ + "repositoryName", + "destinationCommitSpecifier", + "sourceCommitSpecifier", + "mergeOption", + "filePath", + ], + members: { + repositoryName: {}, + destinationCommitSpecifier: {}, + sourceCommitSpecifier: {}, + mergeOption: {}, + maxMergeHunks: { type: "integer" }, + filePath: {}, + conflictDetailLevel: {}, + conflictResolutionStrategy: {}, + nextToken: {}, + }, + }, + output: { + type: "structure", + required: [ + "conflictMetadata", + "mergeHunks", + "destinationCommitId", + "sourceCommitId", + ], + members: { + conflictMetadata: { shape: "Sn" }, + mergeHunks: { shape: "S12" }, + nextToken: {}, + destinationCommitId: {}, + sourceCommitId: {}, + baseCommitId: {}, + }, }, - output: { type: "structure", members: {} }, }, - TestAuthorization: { - http: { requestUri: "/test-authorization" }, + DescribePullRequestEvents: { input: { type: "structure", - required: ["authInfos"], + required: ["pullRequestId"], members: { - principal: {}, - cognitoIdentityPoolId: {}, - authInfos: { type: "list", member: { shape: "Spw" } }, - clientId: { location: "querystring", locationName: "clientId" }, - policyNamesToAdd: { shape: "Sq0" }, - policyNamesToSkip: { shape: "Sq0" }, + pullRequestId: {}, + pullRequestEventType: {}, + actorArn: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { type: "structure", + required: ["pullRequestEvents"], members: { - authResults: { + pullRequestEvents: { type: "list", member: { type: "structure", members: { - authInfo: { shape: "Spw" }, - allowed: { + pullRequestId: {}, + eventDate: { type: "timestamp" }, + pullRequestEventType: {}, + actorArn: {}, + pullRequestCreatedEventMetadata: { + type: "structure", + members: { + repositoryName: {}, + sourceCommitId: {}, + destinationCommitId: {}, + mergeBase: {}, + }, + }, + pullRequestStatusChangedEventMetadata: { type: "structure", - members: { policies: { shape: "Sjp" } }, + members: { pullRequestStatus: {} }, }, - denied: { + pullRequestSourceReferenceUpdatedEventMetadata: { type: "structure", members: { - implicitDeny: { - type: "structure", - members: { policies: { shape: "Sjp" } }, - }, - explicitDeny: { - type: "structure", - members: { policies: { shape: "Sjp" } }, - }, + repositoryName: {}, + beforeCommitId: {}, + afterCommitId: {}, + mergeBase: {}, }, }, - authDecision: {}, - missingContextValues: { type: "list", member: {} }, + pullRequestMergedStateChangedEventMetadata: { + type: "structure", + members: { + repositoryName: {}, + destinationReference: {}, + mergeMetadata: { shape: "S38" }, + }, + }, + approvalRuleEventMetadata: { + type: "structure", + members: { + approvalRuleName: {}, + approvalRuleId: {}, + approvalRuleContent: {}, + }, + }, + approvalStateChangedEventMetadata: { + type: "structure", + members: { revisionId: {}, approvalStatus: {} }, + }, + approvalRuleOverriddenEventMetadata: { + type: "structure", + members: { revisionId: {}, overrideStatus: {} }, + }, }, }, }, + nextToken: {}, }, }, }, - TestInvokeAuthorizer: { - http: { requestUri: "/authorizer/{authorizerName}/test" }, + DisassociateApprovalRuleTemplateFromRepository: { input: { type: "structure", - required: ["authorizerName"], + required: ["approvalRuleTemplateName", "repositoryName"], + members: { approvalRuleTemplateName: {}, repositoryName: {} }, + }, + }, + EvaluatePullRequestApprovalRules: { + input: { + type: "structure", + required: ["pullRequestId", "revisionId"], + members: { pullRequestId: {}, revisionId: {} }, + }, + output: { + type: "structure", + required: ["evaluation"], members: { - authorizerName: { - location: "uri", - locationName: "authorizerName", - }, - token: {}, - tokenSignature: {}, - httpContext: { - type: "structure", - members: { - headers: { type: "map", key: {}, value: {} }, - queryString: {}, - }, - }, - mqttContext: { + evaluation: { type: "structure", members: { - username: {}, - password: { type: "blob" }, - clientId: {}, + approved: { type: "boolean" }, + overridden: { type: "boolean" }, + approvalRulesSatisfied: { type: "list", member: {} }, + approvalRulesNotSatisfied: { type: "list", member: {} }, }, }, - tlsContext: { type: "structure", members: { serverName: {} } }, }, }, + }, + GetApprovalRuleTemplate: { + input: { + type: "structure", + required: ["approvalRuleTemplateName"], + members: { approvalRuleTemplateName: {} }, + }, output: { type: "structure", - members: { - isAuthenticated: { type: "boolean" }, - principalId: {}, - policyDocuments: { type: "list", member: {} }, - refreshAfterInSeconds: { type: "integer" }, - disconnectAfterInSeconds: { type: "integer" }, - }, + required: ["approvalRuleTemplate"], + members: { approvalRuleTemplate: { shape: "S2c" } }, }, }, - TransferCertificate: { - http: { - method: "PATCH", - requestUri: "/transfer-certificate/{certificateId}", - }, + GetBlob: { input: { type: "structure", - required: ["certificateId", "targetAwsAccount"], - members: { - certificateId: { - location: "uri", - locationName: "certificateId", - }, - targetAwsAccount: { - location: "querystring", - locationName: "targetAwsAccount", - }, - transferMessage: {}, - }, + required: ["repositoryName", "blobId"], + members: { repositoryName: {}, blobId: {} }, }, output: { type: "structure", - members: { transferredCertificateArn: {} }, + required: ["content"], + members: { content: { type: "blob" } }, }, }, - UntagResource: { - http: { requestUri: "/untag" }, + GetBranch: { input: { type: "structure", - required: ["resourceArn", "tagKeys"], - members: { - resourceArn: {}, - tagKeys: { type: "list", member: {} }, - }, + members: { repositoryName: {}, branchName: {} }, }, - output: { type: "structure", members: {} }, - }, - UpdateAccountAuditConfiguration: { - http: { method: "PATCH", requestUri: "/audit/configuration" }, - input: { + output: { type: "structure", - members: { - roleArn: {}, - auditNotificationTargetConfigurations: { shape: "Scm" }, - auditCheckConfigurations: { shape: "Scp" }, - }, + members: { branch: { shape: "S3y" } }, }, - output: { type: "structure", members: {} }, }, - UpdateAuthorizer: { - http: { method: "PUT", requestUri: "/authorizer/{authorizerName}" }, + GetComment: { input: { type: "structure", - required: ["authorizerName"], - members: { - authorizerName: { - location: "uri", - locationName: "authorizerName", - }, - authorizerFunctionArn: {}, - tokenKeyName: {}, - tokenSigningPublicKeys: { shape: "S1n" }, - status: {}, - }, + required: ["commentId"], + members: { commentId: {} }, }, output: { type: "structure", - members: { authorizerName: {}, authorizerArn: {} }, + members: { comment: { shape: "S42" } }, }, }, - UpdateBillingGroup: { - http: { - method: "PATCH", - requestUri: "/billing-groups/{billingGroupName}", - }, + GetCommentReactions: { input: { type: "structure", - required: ["billingGroupName", "billingGroupProperties"], + required: ["commentId"], members: { - billingGroupName: { - location: "uri", - locationName: "billingGroupName", - }, - billingGroupProperties: { shape: "S1v" }, - expectedVersion: { type: "long" }, + commentId: {}, + reactionUserArn: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { type: "structure", - members: { version: { type: "long" } }, + required: ["reactionsForComment"], + members: { + reactionsForComment: { + type: "list", + member: { + type: "structure", + members: { + reaction: { + type: "structure", + members: { emoji: {}, shortCode: {}, unicode: {} }, + }, + reactionUsers: { type: "list", member: {} }, + reactionsFromDeletedUsersCount: { type: "integer" }, + }, + }, + }, + nextToken: {}, + }, }, }, - UpdateCACertificate: { - http: { - method: "PUT", - requestUri: "/cacertificate/{caCertificateId}", - }, + GetCommentsForComparedCommit: { input: { type: "structure", - required: ["certificateId"], + required: ["repositoryName", "afterCommitId"], members: { - certificateId: { - location: "uri", - locationName: "caCertificateId", - }, - newStatus: { - location: "querystring", - locationName: "newStatus", - }, - newAutoRegistrationStatus: { - location: "querystring", - locationName: "newAutoRegistrationStatus", - }, - registrationConfig: { shape: "Ser" }, - removeAutoRegistration: { type: "boolean" }, + repositoryName: {}, + beforeCommitId: {}, + afterCommitId: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, - }, - UpdateCertificate: { - http: { - method: "PUT", - requestUri: "/certificates/{certificateId}", - }, - input: { + output: { type: "structure", - required: ["certificateId", "newStatus"], members: { - certificateId: { - location: "uri", - locationName: "certificateId", - }, - newStatus: { - location: "querystring", - locationName: "newStatus", + commentsForComparedCommitData: { + type: "list", + member: { + type: "structure", + members: { + repositoryName: {}, + beforeCommitId: {}, + afterCommitId: {}, + beforeBlobId: {}, + afterBlobId: {}, + location: { shape: "S5q" }, + comments: { shape: "S5t" }, + }, + }, }, + nextToken: {}, }, }, }, - UpdateDimension: { - http: { method: "PATCH", requestUri: "/dimensions/{name}" }, + GetCommentsForPullRequest: { input: { type: "structure", - required: ["name", "stringValues"], + required: ["pullRequestId"], members: { - name: { location: "uri", locationName: "name" }, - stringValues: { shape: "S2b" }, + pullRequestId: {}, + repositoryName: {}, + beforeCommitId: {}, + afterCommitId: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { type: "structure", members: { - name: {}, - arn: {}, - type: {}, - stringValues: { shape: "S2b" }, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, + commentsForPullRequestData: { + type: "list", + member: { + type: "structure", + members: { + pullRequestId: {}, + repositoryName: {}, + beforeCommitId: {}, + afterCommitId: {}, + beforeBlobId: {}, + afterBlobId: {}, + location: { shape: "S5q" }, + comments: { shape: "S5t" }, + }, + }, + }, + nextToken: {}, }, }, }, - UpdateDomainConfiguration: { - http: { - method: "PUT", - requestUri: "/domainConfigurations/{domainConfigurationName}", + GetCommit: { + input: { + type: "structure", + required: ["repositoryName", "commitId"], + members: { repositoryName: {}, commitId: {} }, + }, + output: { + type: "structure", + required: ["commit"], + members: { commit: { shape: "S1l" } }, }, + }, + GetDifferences: { input: { type: "structure", - required: ["domainConfigurationName"], + required: ["repositoryName", "afterCommitSpecifier"], members: { - domainConfigurationName: { - location: "uri", - locationName: "domainConfigurationName", - }, - authorizerConfig: { shape: "S2l" }, - domainConfigurationStatus: {}, - removeAuthorizerConfig: { type: "boolean" }, + repositoryName: {}, + beforeCommitSpecifier: {}, + afterCommitSpecifier: {}, + beforePath: {}, + afterPath: {}, + MaxResults: { type: "integer" }, + NextToken: {}, }, }, output: { type: "structure", members: { - domainConfigurationName: {}, - domainConfigurationArn: {}, + differences: { + type: "list", + member: { + type: "structure", + members: { + beforeBlob: { shape: "S65" }, + afterBlob: { shape: "S65" }, + changeType: {}, + }, + }, + }, + NextToken: {}, }, }, }, - UpdateDynamicThingGroup: { - http: { - method: "PATCH", - requestUri: "/dynamic-thing-groups/{thingGroupName}", - }, + GetFile: { input: { type: "structure", - required: ["thingGroupName", "thingGroupProperties"], + required: ["repositoryName", "filePath"], members: { - thingGroupName: { - location: "uri", - locationName: "thingGroupName", - }, - thingGroupProperties: { shape: "S2r" }, - expectedVersion: { type: "long" }, - indexName: {}, - queryString: {}, - queryVersion: {}, + repositoryName: {}, + commitSpecifier: {}, + filePath: {}, }, }, output: { type: "structure", - members: { version: { type: "long" } }, + required: [ + "commitId", + "blobId", + "filePath", + "fileMode", + "fileSize", + "fileContent", + ], + members: { + commitId: {}, + blobId: {}, + filePath: {}, + fileMode: {}, + fileSize: { type: "long" }, + fileContent: { type: "blob" }, + }, }, }, - UpdateEventConfigurations: { - http: { method: "PATCH", requestUri: "/event-configurations" }, + GetFolder: { input: { type: "structure", - members: { eventConfigurations: { shape: "Sfh" } }, + required: ["repositoryName", "folderPath"], + members: { + repositoryName: {}, + commitSpecifier: {}, + folderPath: {}, + }, }, - output: { type: "structure", members: {} }, - }, - UpdateIndexingConfiguration: { - http: { requestUri: "/indexing/config" }, - input: { + output: { type: "structure", + required: ["commitId", "folderPath"], members: { - thingIndexingConfiguration: { shape: "Shv" }, - thingGroupIndexingConfiguration: { shape: "Si2" }, + commitId: {}, + folderPath: {}, + treeId: {}, + subFolders: { + type: "list", + member: { + type: "structure", + members: { treeId: {}, absolutePath: {}, relativePath: {} }, + }, + }, + files: { + type: "list", + member: { + type: "structure", + members: { + blobId: {}, + absolutePath: {}, + relativePath: {}, + fileMode: {}, + }, + }, + }, + symbolicLinks: { + type: "list", + member: { + type: "structure", + members: { + blobId: {}, + absolutePath: {}, + relativePath: {}, + fileMode: {}, + }, + }, + }, + subModules: { + type: "list", + member: { + type: "structure", + members: { + commitId: {}, + absolutePath: {}, + relativePath: {}, + }, + }, + }, }, }, - output: { type: "structure", members: {} }, }, - UpdateJob: { - http: { method: "PATCH", requestUri: "/jobs/{jobId}" }, + GetMergeCommit: { input: { type: "structure", - required: ["jobId"], + required: [ + "repositoryName", + "sourceCommitSpecifier", + "destinationCommitSpecifier", + ], members: { - jobId: { location: "uri", locationName: "jobId" }, - description: {}, - presignedUrlConfig: { shape: "S36" }, - jobExecutionsRolloutConfig: { shape: "S3a" }, - abortConfig: { shape: "S3h" }, - timeoutConfig: { shape: "S3o" }, + repositoryName: {}, + sourceCommitSpecifier: {}, + destinationCommitSpecifier: {}, + conflictDetailLevel: {}, + conflictResolutionStrategy: {}, }, }, - }, - UpdateMitigationAction: { - http: { - method: "PATCH", - requestUri: "/mitigationactions/actions/{actionName}", + output: { + type: "structure", + members: { + sourceCommitId: {}, + destinationCommitId: {}, + baseCommitId: {}, + mergedCommitId: {}, + }, }, + }, + GetMergeConflicts: { input: { type: "structure", - required: ["actionName"], + required: [ + "repositoryName", + "destinationCommitSpecifier", + "sourceCommitSpecifier", + "mergeOption", + ], members: { - actionName: { location: "uri", locationName: "actionName" }, - roleArn: {}, - actionParams: { shape: "S3y" }, + repositoryName: {}, + destinationCommitSpecifier: {}, + sourceCommitSpecifier: {}, + mergeOption: {}, + conflictDetailLevel: {}, + maxConflictFiles: { type: "integer" }, + conflictResolutionStrategy: {}, + nextToken: {}, }, }, output: { type: "structure", - members: { actionArn: {}, actionId: {} }, + required: [ + "mergeable", + "destinationCommitId", + "sourceCommitId", + "conflictMetadataList", + ], + members: { + mergeable: { type: "boolean" }, + destinationCommitId: {}, + sourceCommitId: {}, + baseCommitId: {}, + conflictMetadataList: { type: "list", member: { shape: "Sn" } }, + nextToken: {}, + }, }, }, - UpdateProvisioningTemplate: { - http: { - method: "PATCH", - requestUri: "/provisioning-templates/{templateName}", - }, + GetMergeOptions: { input: { type: "structure", - required: ["templateName"], + required: [ + "repositoryName", + "sourceCommitSpecifier", + "destinationCommitSpecifier", + ], members: { - templateName: { location: "uri", locationName: "templateName" }, - description: {}, - enabled: { type: "boolean" }, - defaultVersionId: { type: "integer" }, - provisioningRoleArn: {}, + repositoryName: {}, + sourceCommitSpecifier: {}, + destinationCommitSpecifier: {}, + conflictDetailLevel: {}, + conflictResolutionStrategy: {}, }, }, - output: { type: "structure", members: {} }, - }, - UpdateRoleAlias: { - http: { method: "PUT", requestUri: "/role-aliases/{roleAlias}" }, - input: { + output: { type: "structure", - required: ["roleAlias"], + required: [ + "mergeOptions", + "sourceCommitId", + "destinationCommitId", + "baseCommitId", + ], members: { - roleAlias: { location: "uri", locationName: "roleAlias" }, - roleArn: {}, - credentialDurationSeconds: { type: "integer" }, + mergeOptions: { type: "list", member: {} }, + sourceCommitId: {}, + destinationCommitId: {}, + baseCommitId: {}, }, }, + }, + GetPullRequest: { + input: { + type: "structure", + required: ["pullRequestId"], + members: { pullRequestId: {} }, + }, output: { type: "structure", - members: { roleAlias: {}, roleAliasArn: {} }, + required: ["pullRequest"], + members: { pullRequest: { shape: "S33" } }, }, }, - UpdateScheduledAudit: { - http: { - method: "PATCH", - requestUri: "/audit/scheduledaudits/{scheduledAuditName}", - }, + GetPullRequestApprovalStates: { input: { type: "structure", - required: ["scheduledAuditName"], + required: ["pullRequestId", "revisionId"], + members: { pullRequestId: {}, revisionId: {} }, + }, + output: { + type: "structure", members: { - frequency: {}, - dayOfMonth: {}, - dayOfWeek: {}, - targetCheckNames: { shape: "S6n" }, - scheduledAuditName: { - location: "uri", - locationName: "scheduledAuditName", + approvals: { + type: "list", + member: { + type: "structure", + members: { userArn: {}, approvalState: {} }, + }, }, }, }, - output: { type: "structure", members: { scheduledAuditArn: {} } }, }, - UpdateSecurityProfile: { - http: { - method: "PATCH", - requestUri: "/security-profiles/{securityProfileName}", + GetPullRequestOverrideState: { + input: { + type: "structure", + required: ["pullRequestId", "revisionId"], + members: { pullRequestId: {}, revisionId: {} }, + }, + output: { + type: "structure", + members: { overridden: { type: "boolean" }, overrider: {} }, }, + }, + GetRepository: { input: { type: "structure", - required: ["securityProfileName"], - members: { - securityProfileName: { - location: "uri", - locationName: "securityProfileName", - }, - securityProfileDescription: {}, - behaviors: { shape: "S6u" }, - alertTargets: { shape: "S7d" }, - additionalMetricsToRetain: { - shape: "S7h", - deprecated: true, - deprecatedMessage: "Use additionalMetricsToRetainV2.", - }, - additionalMetricsToRetainV2: { shape: "S7i" }, - deleteBehaviors: { type: "boolean" }, - deleteAlertTargets: { type: "boolean" }, - deleteAdditionalMetricsToRetain: { type: "boolean" }, - expectedVersion: { - location: "querystring", - locationName: "expectedVersion", - type: "long", - }, - }, + required: ["repositoryName"], + members: { repositoryName: {} }, }, output: { type: "structure", - members: { - securityProfileName: {}, - securityProfileArn: {}, - securityProfileDescription: {}, - behaviors: { shape: "S6u" }, - alertTargets: { shape: "S7d" }, - additionalMetricsToRetain: { - shape: "S7h", - deprecated: true, - deprecatedMessage: "Use additionalMetricsToRetainV2.", - }, - additionalMetricsToRetainV2: { shape: "S7i" }, - version: { type: "long" }, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - }, + members: { repositoryMetadata: { shape: "S1x" } }, }, }, - UpdateStream: { - http: { method: "PUT", requestUri: "/streams/{streamId}" }, + GetRepositoryTriggers: { input: { type: "structure", - required: ["streamId"], - members: { - streamId: { location: "uri", locationName: "streamId" }, - description: {}, - files: { shape: "S7o" }, - roleArn: {}, - }, + required: ["repositoryName"], + members: { repositoryName: {} }, }, output: { type: "structure", - members: { - streamId: {}, - streamArn: {}, - description: {}, - streamVersion: { type: "integer" }, - }, + members: { configurationId: {}, triggers: { shape: "S76" } }, }, }, - UpdateThing: { - http: { method: "PATCH", requestUri: "/things/{thingName}" }, + ListApprovalRuleTemplates: { input: { type: "structure", - required: ["thingName"], + members: { nextToken: {}, maxResults: { type: "integer" } }, + }, + output: { + type: "structure", members: { - thingName: { location: "uri", locationName: "thingName" }, - thingTypeName: {}, - attributePayload: { shape: "S2t" }, - expectedVersion: { type: "long" }, - removeThingType: { type: "boolean" }, + approvalRuleTemplateNames: { shape: "S7f" }, + nextToken: {}, }, }, - output: { type: "structure", members: {} }, }, - UpdateThingGroup: { - http: { - method: "PATCH", - requestUri: "/thing-groups/{thingGroupName}", - }, + ListAssociatedApprovalRuleTemplatesForRepository: { input: { type: "structure", - required: ["thingGroupName", "thingGroupProperties"], + required: ["repositoryName"], members: { - thingGroupName: { - location: "uri", - locationName: "thingGroupName", - }, - thingGroupProperties: { shape: "S2r" }, - expectedVersion: { type: "long" }, + repositoryName: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, output: { type: "structure", - members: { version: { type: "long" } }, + members: { + approvalRuleTemplateNames: { shape: "S7f" }, + nextToken: {}, + }, }, }, - UpdateThingGroupsForThing: { - http: { - method: "PUT", - requestUri: "/thing-groups/updateThingGroupsForThing", + ListBranches: { + input: { + type: "structure", + required: ["repositoryName"], + members: { repositoryName: {}, nextToken: {} }, + }, + output: { + type: "structure", + members: { branches: { shape: "S7a" }, nextToken: {} }, }, + }, + ListPullRequests: { input: { type: "structure", + required: ["repositoryName"], members: { - thingName: {}, - thingGroupsToAdd: { shape: "Ss5" }, - thingGroupsToRemove: { shape: "Ss5" }, - overrideDynamicGroups: { type: "boolean" }, + repositoryName: {}, + authorArn: {}, + pullRequestStatus: {}, + nextToken: {}, + maxResults: { type: "integer" }, }, }, - output: { type: "structure", members: {} }, - }, - UpdateTopicRuleDestination: { - http: { method: "PATCH", requestUri: "/destinations" }, - input: { + output: { type: "structure", - required: ["arn", "status"], - members: { arn: {}, status: {} }, + required: ["pullRequestIds"], + members: { + pullRequestIds: { type: "list", member: {} }, + nextToken: {}, + }, }, - output: { type: "structure", members: {} }, }, - ValidateSecurityProfileBehaviors: { - http: { requestUri: "/security-profile-behaviors/validate" }, + ListRepositories: { input: { type: "structure", - required: ["behaviors"], - members: { behaviors: { shape: "S6u" } }, + members: { nextToken: {}, sortBy: {}, order: {} }, }, output: { type: "structure", members: { - valid: { type: "boolean" }, - validationErrors: { + repositories: { type: "list", - member: { type: "structure", members: { errorMessage: {} } }, + member: { + type: "structure", + members: { repositoryName: {}, repositoryId: {} }, + }, }, + nextToken: {}, }, }, }, - }, - shapes: { - Sg: { type: "list", member: {} }, - S1b: { type: "map", key: {}, value: {} }, - S1n: { type: "map", key: {}, value: {} }, - S1v: { type: "structure", members: { billingGroupDescription: {} } }, - S1x: { - type: "list", - member: { type: "structure", members: { Key: {}, Value: {} } }, - }, - S2b: { type: "list", member: {} }, - S2l: { - type: "structure", - members: { - defaultAuthorizerName: {}, - allowAuthorizerOverride: { type: "boolean" }, + ListRepositoriesForApprovalRuleTemplate: { + input: { + type: "structure", + required: ["approvalRuleTemplateName"], + members: { + approvalRuleTemplateName: {}, + nextToken: {}, + maxResults: { type: "integer" }, + }, }, - }, - S2r: { - type: "structure", - members: { - thingGroupDescription: {}, - attributePayload: { shape: "S2t" }, + output: { + type: "structure", + members: { repositoryNames: { shape: "S5" }, nextToken: {} }, }, }, - S2t: { - type: "structure", - members: { - attributes: { shape: "S2u" }, - merge: { type: "boolean" }, + ListTagsForResource: { + input: { + type: "structure", + required: ["resourceArn"], + members: { resourceArn: {}, nextToken: {} }, }, - }, - S2u: { type: "map", key: {}, value: {} }, - S36: { - type: "structure", - members: { roleArn: {}, expiresInSec: { type: "long" } }, - }, - S3a: { - type: "structure", - members: { - maximumPerMinute: { type: "integer" }, - exponentialRate: { - type: "structure", - required: [ - "baseRatePerMinute", - "incrementFactor", - "rateIncreaseCriteria", - ], - members: { - baseRatePerMinute: { type: "integer" }, - incrementFactor: { type: "double" }, - rateIncreaseCriteria: { - type: "structure", - members: { - numberOfNotifiedThings: { type: "integer" }, - numberOfSucceededThings: { type: "integer" }, - }, - }, - }, - }, + output: { + type: "structure", + members: { tags: { shape: "S3k" }, nextToken: {} }, }, }, - S3h: { - type: "structure", - required: ["criteriaList"], - members: { - criteriaList: { - type: "list", - member: { - type: "structure", - required: [ - "failureType", - "action", - "thresholdPercentage", - "minNumberOfExecutedThings", - ], - members: { - failureType: {}, - action: {}, - thresholdPercentage: { type: "double" }, - minNumberOfExecutedThings: { type: "integer" }, - }, - }, + MergeBranchesByFastForward: { + input: { + type: "structure", + required: [ + "repositoryName", + "sourceCommitSpecifier", + "destinationCommitSpecifier", + ], + members: { + repositoryName: {}, + sourceCommitSpecifier: {}, + destinationCommitSpecifier: {}, + targetBranch: {}, }, }, - }, - S3o: { - type: "structure", - members: { inProgressTimeoutInMinutes: { type: "long" } }, - }, - S3t: { - type: "structure", - members: { - PublicKey: {}, - PrivateKey: { type: "string", sensitive: true }, + output: { + type: "structure", + members: { commitId: {}, treeId: {} }, }, }, - S3y: { - type: "structure", - members: { - updateDeviceCertificateParams: { - type: "structure", - required: ["action"], - members: { action: {} }, - }, - updateCACertificateParams: { - type: "structure", - required: ["action"], - members: { action: {} }, - }, - addThingsToThingGroupParams: { - type: "structure", - required: ["thingGroupNames"], - members: { - thingGroupNames: { type: "list", member: {} }, - overrideDynamicGroups: { type: "boolean" }, - }, - }, - replaceDefaultPolicyVersionParams: { - type: "structure", - required: ["templateName"], - members: { templateName: {} }, - }, - enableIoTLoggingParams: { - type: "structure", - required: ["roleArnForLogging", "logLevel"], - members: { roleArnForLogging: {}, logLevel: {} }, - }, - publishFindingToSnsParams: { - type: "structure", - required: ["topicArn"], - members: { topicArn: {} }, + MergeBranchesBySquash: { + input: { + type: "structure", + required: [ + "repositoryName", + "sourceCommitSpecifier", + "destinationCommitSpecifier", + ], + members: { + repositoryName: {}, + sourceCommitSpecifier: {}, + destinationCommitSpecifier: {}, + targetBranch: {}, + conflictDetailLevel: {}, + conflictResolutionStrategy: {}, + authorName: {}, + email: {}, + commitMessage: {}, + keepEmptyFolders: { type: "boolean" }, + conflictResolution: { shape: "S3p" }, }, }, + output: { + type: "structure", + members: { commitId: {}, treeId: {} }, + }, }, - S4h: { type: "list", member: {} }, - S4j: { type: "list", member: {} }, - S4l: { - type: "structure", - members: { maximumPerMinute: { type: "integer" } }, - }, - S4n: { - type: "structure", - members: { expiresInSec: { type: "long" } }, - }, - S4p: { - type: "list", - member: { + MergeBranchesByThreeWay: { + input: { type: "structure", + required: [ + "repositoryName", + "sourceCommitSpecifier", + "destinationCommitSpecifier", + ], members: { - fileName: {}, - fileVersion: {}, - fileLocation: { - type: "structure", - members: { - stream: { - type: "structure", - members: { streamId: {}, fileId: { type: "integer" } }, - }, - s3Location: { shape: "S4x" }, - }, - }, - codeSigning: { - type: "structure", - members: { - awsSignerJobId: {}, - startSigningJobParameter: { - type: "structure", - members: { - signingProfileParameter: { - type: "structure", - members: { - certificateArn: {}, - platform: {}, - certificatePathOnDevice: {}, - }, - }, - signingProfileName: {}, - destination: { - type: "structure", - members: { - s3Destination: { - type: "structure", - members: { bucket: {}, prefix: {} }, - }, - }, - }, - }, - }, - customCodeSigning: { - type: "structure", - members: { - signature: { - type: "structure", - members: { inlineDocument: { type: "blob" } }, - }, - certificateChain: { - type: "structure", - members: { certificateName: {}, inlineDocument: {} }, - }, - hashAlgorithm: {}, - signatureAlgorithm: {}, - }, - }, - }, - }, - attributes: { type: "map", key: {}, value: {} }, + repositoryName: {}, + sourceCommitSpecifier: {}, + destinationCommitSpecifier: {}, + targetBranch: {}, + conflictDetailLevel: {}, + conflictResolutionStrategy: {}, + authorName: {}, + email: {}, + commitMessage: {}, + keepEmptyFolders: { type: "boolean" }, + conflictResolution: { shape: "S3p" }, }, }, + output: { + type: "structure", + members: { commitId: {}, treeId: {} }, + }, }, - S4x: { - type: "structure", - members: { bucket: {}, key: {}, version: {} }, - }, - S5m: { type: "map", key: {}, value: {} }, - S6n: { type: "list", member: {} }, - S6u: { type: "list", member: { shape: "S6v" } }, - S6v: { - type: "structure", - required: ["name"], - members: { - name: {}, - metric: {}, - metricDimension: { shape: "S6y" }, - criteria: { - type: "structure", - members: { - comparisonOperator: {}, - value: { shape: "S72" }, - durationSeconds: { type: "integer" }, - consecutiveDatapointsToAlarm: { type: "integer" }, - consecutiveDatapointsToClear: { type: "integer" }, - statisticalThreshold: { - type: "structure", - members: { statistic: {} }, - }, - }, + MergePullRequestByFastForward: { + input: { + type: "structure", + required: ["pullRequestId", "repositoryName"], + members: { + pullRequestId: {}, + repositoryName: {}, + sourceCommitId: {}, }, }, - }, - S6y: { - type: "structure", - required: ["dimensionName"], - members: { dimensionName: {}, operator: {} }, - }, - S72: { - type: "structure", - members: { - count: { type: "long" }, - cidrs: { type: "list", member: {} }, - ports: { type: "list", member: { type: "integer" } }, + output: { + type: "structure", + members: { pullRequest: { shape: "S33" } }, }, }, - S7d: { - type: "map", - key: {}, - value: { + MergePullRequestBySquash: { + input: { type: "structure", - required: ["alertTargetArn", "roleArn"], - members: { alertTargetArn: {}, roleArn: {} }, + required: ["pullRequestId", "repositoryName"], + members: { + pullRequestId: {}, + repositoryName: {}, + sourceCommitId: {}, + conflictDetailLevel: {}, + conflictResolutionStrategy: {}, + commitMessage: {}, + authorName: {}, + email: {}, + keepEmptyFolders: { type: "boolean" }, + conflictResolution: { shape: "S3p" }, + }, }, - }, - S7h: { type: "list", member: {} }, - S7i: { - type: "list", - member: { + output: { type: "structure", - required: ["metric"], - members: { metric: {}, metricDimension: { shape: "S6y" } }, + members: { pullRequest: { shape: "S33" } }, }, }, - S7o: { - type: "list", - member: { + MergePullRequestByThreeWay: { + input: { type: "structure", + required: ["pullRequestId", "repositoryName"], members: { - fileId: { type: "integer" }, - s3Location: { shape: "S4x" }, + pullRequestId: {}, + repositoryName: {}, + sourceCommitId: {}, + conflictDetailLevel: {}, + conflictResolutionStrategy: {}, + commitMessage: {}, + authorName: {}, + email: {}, + keepEmptyFolders: { type: "boolean" }, + conflictResolution: { shape: "S3p" }, }, }, - }, - S80: { - type: "structure", - members: { - thingTypeDescription: {}, - searchableAttributes: { type: "list", member: {} }, - }, - }, - S88: { - type: "structure", - required: ["sql", "actions"], - members: { - sql: {}, - description: {}, - actions: { shape: "S8b" }, - ruleDisabled: { type: "boolean" }, - awsIotSqlVersion: {}, - errorAction: { shape: "S8c" }, + output: { + type: "structure", + members: { pullRequest: { shape: "S33" } }, }, }, - S8b: { type: "list", member: { shape: "S8c" } }, - S8c: { - type: "structure", - members: { - dynamoDB: { - type: "structure", - required: [ - "tableName", - "roleArn", - "hashKeyField", - "hashKeyValue", - ], - members: { - tableName: {}, - roleArn: {}, - operation: {}, - hashKeyField: {}, - hashKeyValue: {}, - hashKeyType: {}, - rangeKeyField: {}, - rangeKeyValue: {}, - rangeKeyType: {}, - payloadField: {}, - }, - }, - dynamoDBv2: { - type: "structure", - required: ["roleArn", "putItem"], - members: { - roleArn: {}, - putItem: { - type: "structure", - required: ["tableName"], - members: { tableName: {} }, - }, - }, - }, - lambda: { - type: "structure", - required: ["functionArn"], - members: { functionArn: {} }, - }, - sns: { - type: "structure", - required: ["targetArn", "roleArn"], - members: { targetArn: {}, roleArn: {}, messageFormat: {} }, - }, - sqs: { - type: "structure", - required: ["roleArn", "queueUrl"], - members: { - roleArn: {}, - queueUrl: {}, - useBase64: { type: "boolean" }, - }, - }, - kinesis: { - type: "structure", - required: ["roleArn", "streamName"], - members: { roleArn: {}, streamName: {}, partitionKey: {} }, - }, - republish: { - type: "structure", - required: ["roleArn", "topic"], - members: { roleArn: {}, topic: {}, qos: { type: "integer" } }, - }, - s3: { - type: "structure", - required: ["roleArn", "bucketName", "key"], - members: { - roleArn: {}, - bucketName: {}, - key: {}, - cannedAcl: {}, - }, - }, - firehose: { - type: "structure", - required: ["roleArn", "deliveryStreamName"], - members: { roleArn: {}, deliveryStreamName: {}, separator: {} }, - }, - cloudwatchMetric: { - type: "structure", - required: [ - "roleArn", - "metricNamespace", - "metricName", - "metricValue", - "metricUnit", - ], - members: { - roleArn: {}, - metricNamespace: {}, - metricName: {}, - metricValue: {}, - metricUnit: {}, - metricTimestamp: {}, - }, - }, - cloudwatchAlarm: { - type: "structure", - required: ["roleArn", "alarmName", "stateReason", "stateValue"], - members: { - roleArn: {}, - alarmName: {}, - stateReason: {}, - stateValue: {}, - }, - }, - cloudwatchLogs: { - type: "structure", - required: ["roleArn", "logGroupName"], - members: { roleArn: {}, logGroupName: {} }, - }, - elasticsearch: { - type: "structure", - required: ["roleArn", "endpoint", "index", "type", "id"], - members: { - roleArn: {}, - endpoint: {}, - index: {}, - type: {}, - id: {}, - }, - }, - salesforce: { - type: "structure", - required: ["token", "url"], - members: { token: {}, url: {} }, - }, - iotAnalytics: { - type: "structure", - members: { channelArn: {}, channelName: {}, roleArn: {} }, - }, - iotEvents: { - type: "structure", - required: ["inputName", "roleArn"], - members: { inputName: {}, messageId: {}, roleArn: {} }, - }, - iotSiteWise: { - type: "structure", - required: ["putAssetPropertyValueEntries", "roleArn"], - members: { - putAssetPropertyValueEntries: { - type: "list", - member: { - type: "structure", - required: ["propertyValues"], - members: { - entryId: {}, - assetId: {}, - propertyId: {}, - propertyAlias: {}, - propertyValues: { - type: "list", - member: { - type: "structure", - required: ["value", "timestamp"], - members: { - value: { - type: "structure", - members: { - stringValue: {}, - integerValue: {}, - doubleValue: {}, - booleanValue: {}, - }, - }, - timestamp: { - type: "structure", - required: ["timeInSeconds"], - members: { - timeInSeconds: {}, - offsetInNanos: {}, - }, - }, - quality: {}, - }, - }, - }, - }, - }, - }, - roleArn: {}, - }, - }, - stepFunctions: { - type: "structure", - required: ["stateMachineName", "roleArn"], - members: { - executionNamePrefix: {}, - stateMachineName: {}, - roleArn: {}, - }, - }, - http: { - type: "structure", - required: ["url"], - members: { - url: {}, - confirmationUrl: {}, - headers: { - type: "list", - member: { - type: "structure", - required: ["key", "value"], - members: { key: {}, value: {} }, - }, - }, - auth: { - type: "structure", - members: { - sigv4: { - type: "structure", - required: ["signingRegion", "serviceName", "roleArn"], - members: { - signingRegion: {}, - serviceName: {}, - roleArn: {}, - }, - }, - }, - }, - }, + OverridePullRequestApprovalRules: { + input: { + type: "structure", + required: ["pullRequestId", "revisionId", "overrideStatus"], + members: { + pullRequestId: {}, + revisionId: {}, + overrideStatus: {}, }, }, }, - Sav: { - type: "structure", - members: { - arn: {}, - status: {}, - statusReason: {}, - httpUrlProperties: { - type: "structure", - members: { confirmationUrl: {} }, + PostCommentForComparedCommit: { + input: { + type: "structure", + required: ["repositoryName", "afterCommitId", "content"], + members: { + repositoryName: {}, + beforeCommitId: {}, + afterCommitId: {}, + location: { shape: "S5q" }, + content: {}, + clientRequestToken: { idempotencyToken: true }, }, }, - }, - Scm: { - type: "map", - key: {}, - value: { + output: { type: "structure", members: { - targetArn: {}, - roleArn: {}, - enabled: { type: "boolean" }, + repositoryName: {}, + beforeCommitId: {}, + afterCommitId: {}, + beforeBlobId: {}, + afterBlobId: {}, + location: { shape: "S5q" }, + comment: { shape: "S42" }, }, }, + idempotent: true, }, - Scp: { - type: "map", - key: {}, - value: { + PostCommentForPullRequest: { + input: { type: "structure", - members: { enabled: { type: "boolean" } }, - }, - }, - Scu: { - type: "structure", - members: { - findingId: {}, - taskId: {}, - checkName: {}, - taskStartTime: { type: "timestamp" }, - findingTime: { type: "timestamp" }, - severity: {}, - nonCompliantResource: { - type: "structure", - members: { - resourceType: {}, - resourceIdentifier: { shape: "Scz" }, - additionalInfo: { shape: "Sd4" }, - }, - }, - relatedResources: { - type: "list", - member: { - type: "structure", - members: { - resourceType: {}, - resourceIdentifier: { shape: "Scz" }, - additionalInfo: { shape: "Sd4" }, - }, - }, + required: [ + "pullRequestId", + "repositoryName", + "beforeCommitId", + "afterCommitId", + "content", + ], + members: { + pullRequestId: {}, + repositoryName: {}, + beforeCommitId: {}, + afterCommitId: {}, + location: { shape: "S5q" }, + content: {}, + clientRequestToken: { idempotencyToken: true }, }, - reasonForNonCompliance: {}, - reasonForNonComplianceCode: {}, }, - }, - Scz: { - type: "structure", - members: { - deviceCertificateId: {}, - caCertificateId: {}, - cognitoIdentityPoolId: {}, - clientId: {}, - policyVersionIdentifier: { - type: "structure", - members: { policyName: {}, policyVersionId: {} }, + output: { + type: "structure", + members: { + repositoryName: {}, + pullRequestId: {}, + beforeCommitId: {}, + afterCommitId: {}, + beforeBlobId: {}, + afterBlobId: {}, + location: { shape: "S5q" }, + comment: { shape: "S42" }, }, - account: {}, - iamRoleArn: {}, - roleAliasArn: {}, }, + idempotent: true, }, - Sd4: { type: "map", key: {}, value: {} }, - Sdj: { - type: "structure", - members: { - auditTaskId: {}, - findingIds: { type: "list", member: {} }, - auditCheckToReasonCodeFilter: { - type: "map", - key: {}, - value: { type: "list", member: {} }, + PostCommentReply: { + input: { + type: "structure", + required: ["inReplyTo", "content"], + members: { + inReplyTo: {}, + clientRequestToken: { idempotencyToken: true }, + content: {}, }, }, - }, - Sdn: { type: "map", key: {}, value: { type: "list", member: {} } }, - Sed: { - type: "structure", - members: { - authorizerName: {}, - authorizerArn: {}, - authorizerFunctionArn: {}, - tokenKeyName: {}, - tokenSigningPublicKeys: { shape: "S1n" }, - status: {}, - creationDate: { type: "timestamp" }, - lastModifiedDate: { type: "timestamp" }, - signingDisabled: { type: "boolean" }, - }, - }, - Seq: { - type: "structure", - members: { - notBefore: { type: "timestamp" }, - notAfter: { type: "timestamp" }, - }, - }, - Ser: { - type: "structure", - members: { templateBody: {}, roleArn: {} }, - }, - Sfh: { - type: "map", - key: {}, - value: { + output: { type: "structure", - members: { Enabled: { type: "boolean" } }, - }, - }, - Sgy: { type: "list", member: { shape: "Sgz" } }, - Sgz: { type: "structure", members: { groupName: {}, groupArn: {} } }, - Shb: { - type: "structure", - members: { - deprecated: { type: "boolean" }, - deprecationDate: { type: "timestamp" }, - creationDate: { type: "timestamp" }, - }, - }, - Shv: { - type: "structure", - required: ["thingIndexingMode"], - members: { - thingIndexingMode: {}, - thingConnectivityIndexingMode: {}, - managedFields: { shape: "Shy" }, - customFields: { shape: "Shy" }, - }, - }, - Shy: { - type: "list", - member: { type: "structure", members: { name: {}, type: {} } }, - }, - Si2: { - type: "structure", - required: ["thingGroupIndexingMode"], - members: { - thingGroupIndexingMode: {}, - managedFields: { shape: "Shy" }, - customFields: { shape: "Shy" }, + members: { comment: { shape: "S42" } }, }, + idempotent: true, }, - Sjp: { - type: "list", - member: { + PutCommentReaction: { + input: { type: "structure", - members: { policyName: {}, policyArn: {} }, + required: ["commentId", "reactionValue"], + members: { commentId: {}, reactionValue: {} }, }, }, - Skm: { - type: "list", - member: { + PutFile: { + input: { type: "structure", + required: [ + "repositoryName", + "branchName", + "fileContent", + "filePath", + ], members: { - certificateArn: {}, - certificateId: {}, - status: {}, - creationDate: { type: "timestamp" }, + repositoryName: {}, + branchName: {}, + fileContent: { type: "blob" }, + filePath: {}, + fileMode: {}, + parentCommitId: {}, + commitMessage: {}, + name: {}, + email: {}, }, }, - }, - Sl6: { - type: "structure", - members: { - status: {}, - queuedAt: { type: "timestamp" }, - startedAt: { type: "timestamp" }, - lastUpdatedAt: { type: "timestamp" }, - executionNumber: { type: "long" }, + output: { + type: "structure", + required: ["commitId", "blobId", "treeId"], + members: { commitId: {}, blobId: {}, treeId: {} }, }, }, - Slv: { type: "list", member: {} }, - Sm5: { type: "list", member: {} }, - Smo: { - type: "structure", - required: ["name", "arn"], - members: { name: {}, arn: {} }, - }, - Smt: { type: "structure", required: ["arn"], members: { arn: {} } }, - Sof: { - type: "structure", - required: ["targetType"], - members: { targetType: {}, targetName: {} }, - }, - Sp7: { type: "list", member: {} }, - Spw: { - type: "structure", - members: { - actionType: {}, - resources: { type: "list", member: {} }, + PutRepositoryTriggers: { + input: { + type: "structure", + required: ["repositoryName", "triggers"], + members: { repositoryName: {}, triggers: { shape: "S76" } }, }, + output: { type: "structure", members: { configurationId: {} } }, }, - Sq0: { type: "list", member: {} }, - Ss5: { type: "list", member: {} }, - }, - }; - - /***/ - }, - - /***/ 4604: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["backup"] = {}; - AWS.Backup = Service.defineService("backup", ["2018-11-15"]); - Object.defineProperty(apiLoader.services["backup"], "2018-11-15", { - get: function get() { - var model = __webpack_require__(9601); - model.paginators = __webpack_require__(8447).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.Backup; - - /***/ - }, - - /***/ 4608: /***/ function (module) { - module.exports = { - metadata: { - apiVersion: "2018-11-14", - endpointPrefix: "mediaconnect", - signingName: "mediaconnect", - serviceFullName: "AWS MediaConnect", - serviceId: "MediaConnect", - protocol: "rest-json", - jsonVersion: "1.1", - uid: "mediaconnect-2018-11-14", - signatureVersion: "v4", - }, - operations: { - AddFlowOutputs: { - http: { - requestUri: "/v1/flows/{flowArn}/outputs", - responseCode: 201, + TagResource: { + input: { + type: "structure", + required: ["resourceArn", "tags"], + members: { resourceArn: {}, tags: { shape: "S3k" } }, }, + }, + TestRepositoryTriggers: { input: { type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - Outputs: { shape: "S3", locationName: "outputs" }, - }, - required: ["FlowArn", "Outputs"], + required: ["repositoryName", "triggers"], + members: { repositoryName: {}, triggers: { shape: "S76" } }, }, output: { type: "structure", members: { - FlowArn: { locationName: "flowArn" }, - Outputs: { shape: "Sc", locationName: "outputs" }, + successfulExecutions: { type: "list", member: {} }, + failedExecutions: { + type: "list", + member: { + type: "structure", + members: { trigger: {}, failureMessage: {} }, + }, + }, }, }, }, - AddFlowSources: { - http: { - requestUri: "/v1/flows/{flowArn}/source", - responseCode: 201, - }, + UntagResource: { input: { type: "structure", + required: ["resourceArn", "tagKeys"], members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - Sources: { shape: "Sg", locationName: "sources" }, - }, - required: ["FlowArn", "Sources"], - }, - output: { - type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - Sources: { shape: "Sj", locationName: "sources" }, + resourceArn: {}, + tagKeys: { type: "list", member: {} }, }, }, }, - AddFlowVpcInterfaces: { - http: { - requestUri: "/v1/flows/{flowArn}/vpcInterfaces", - responseCode: 201, - }, + UpdateApprovalRuleTemplateContent: { input: { type: "structure", + required: ["approvalRuleTemplateName", "newRuleContent"], members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - VpcInterfaces: { shape: "Sm", locationName: "vpcInterfaces" }, + approvalRuleTemplateName: {}, + newRuleContent: {}, + existingRuleContentSha256: {}, }, - required: ["FlowArn", "VpcInterfaces"], }, output: { type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - VpcInterfaces: { shape: "Sp", locationName: "vpcInterfaces" }, - }, + required: ["approvalRuleTemplate"], + members: { approvalRuleTemplate: { shape: "S2c" } }, }, }, - CreateFlow: { - http: { requestUri: "/v1/flows", responseCode: 201 }, + UpdateApprovalRuleTemplateDescription: { input: { type: "structure", + required: [ + "approvalRuleTemplateName", + "approvalRuleTemplateDescription", + ], members: { - AvailabilityZone: { locationName: "availabilityZone" }, - Entitlements: { shape: "Ss", locationName: "entitlements" }, - Name: { locationName: "name" }, - Outputs: { shape: "S3", locationName: "outputs" }, - Source: { shape: "Sh", locationName: "source" }, - SourceFailoverConfig: { - shape: "Su", - locationName: "sourceFailoverConfig", - }, - Sources: { shape: "Sg", locationName: "sources" }, - VpcInterfaces: { shape: "Sm", locationName: "vpcInterfaces" }, + approvalRuleTemplateName: {}, + approvalRuleTemplateDescription: {}, }, - required: ["Name"], }, output: { type: "structure", - members: { Flow: { shape: "Sx", locationName: "flow" } }, + required: ["approvalRuleTemplate"], + members: { approvalRuleTemplate: { shape: "S2c" } }, }, }, - DeleteFlow: { - http: { - method: "DELETE", - requestUri: "/v1/flows/{flowArn}", - responseCode: 202, - }, + UpdateApprovalRuleTemplateName: { input: { type: "structure", + required: [ + "oldApprovalRuleTemplateName", + "newApprovalRuleTemplateName", + ], members: { - FlowArn: { location: "uri", locationName: "flowArn" }, + oldApprovalRuleTemplateName: {}, + newApprovalRuleTemplateName: {}, }, - required: ["FlowArn"], }, output: { type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - Status: { locationName: "status" }, - }, + required: ["approvalRuleTemplate"], + members: { approvalRuleTemplate: { shape: "S2c" } }, }, }, - DescribeFlow: { - http: { - method: "GET", - requestUri: "/v1/flows/{flowArn}", - responseCode: 200, - }, + UpdateComment: { input: { type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - }, - required: ["FlowArn"], + required: ["commentId", "content"], + members: { commentId: {}, content: {} }, }, output: { type: "structure", - members: { - Flow: { shape: "Sx", locationName: "flow" }, - Messages: { - locationName: "messages", - type: "structure", - members: { Errors: { shape: "S5", locationName: "errors" } }, - required: ["Errors"], - }, - }, + members: { comment: { shape: "S42" } }, }, }, - GrantFlowEntitlements: { - http: { - requestUri: "/v1/flows/{flowArn}/entitlements", - responseCode: 200, + UpdateDefaultBranch: { + input: { + type: "structure", + required: ["repositoryName", "defaultBranchName"], + members: { repositoryName: {}, defaultBranchName: {} }, }, + }, + UpdatePullRequestApprovalRuleContent: { input: { type: "structure", + required: ["pullRequestId", "approvalRuleName", "newRuleContent"], members: { - Entitlements: { shape: "Ss", locationName: "entitlements" }, - FlowArn: { location: "uri", locationName: "flowArn" }, + pullRequestId: {}, + approvalRuleName: {}, + existingRuleContentSha256: {}, + newRuleContent: {}, }, - required: ["FlowArn", "Entitlements"], }, output: { type: "structure", - members: { - Entitlements: { shape: "Sy", locationName: "entitlements" }, - FlowArn: { locationName: "flowArn" }, - }, + required: ["approvalRule"], + members: { approvalRule: { shape: "S3c" } }, }, }, - ListEntitlements: { - http: { - method: "GET", - requestUri: "/v1/entitlements", - responseCode: 200, + UpdatePullRequestApprovalState: { + input: { + type: "structure", + required: ["pullRequestId", "revisionId", "approvalState"], + members: { pullRequestId: {}, revisionId: {}, approvalState: {} }, }, + }, + UpdatePullRequestDescription: { input: { type: "structure", - members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", + required: ["pullRequestId", "description"], + members: { pullRequestId: {}, description: {} }, + }, + output: { + type: "structure", + required: ["pullRequest"], + members: { pullRequest: { shape: "S33" } }, + }, + }, + UpdatePullRequestStatus: { + input: { + type: "structure", + required: ["pullRequestId", "pullRequestStatus"], + members: { pullRequestId: {}, pullRequestStatus: {} }, + }, + output: { + type: "structure", + required: ["pullRequest"], + members: { pullRequest: { shape: "S33" } }, + }, + }, + UpdatePullRequestTitle: { + input: { + type: "structure", + required: ["pullRequestId", "title"], + members: { pullRequestId: {}, title: {} }, + }, + output: { + type: "structure", + required: ["pullRequest"], + members: { pullRequest: { shape: "S33" } }, + }, + }, + UpdateRepositoryDescription: { + input: { + type: "structure", + required: ["repositoryName"], + members: { repositoryName: {}, repositoryDescription: {} }, + }, + }, + UpdateRepositoryName: { + input: { + type: "structure", + required: ["oldName", "newName"], + members: { oldName: {}, newName: {} }, + }, + }, + }, + shapes: { + S5: { type: "list", member: {} }, + Sn: { + type: "structure", + members: { + filePath: {}, + fileSizes: { + type: "structure", + members: { + source: { type: "long" }, + destination: { type: "long" }, + base: { type: "long" }, }, - NextToken: { - location: "querystring", - locationName: "nextToken", + }, + fileModes: { + type: "structure", + members: { source: {}, destination: {}, base: {} }, + }, + objectTypes: { + type: "structure", + members: { source: {}, destination: {}, base: {} }, + }, + numberOfConflicts: { type: "integer" }, + isBinaryFile: { + type: "structure", + members: { + source: { type: "boolean" }, + destination: { type: "boolean" }, + base: { type: "boolean" }, }, }, + contentConflict: { type: "boolean" }, + fileModeConflict: { type: "boolean" }, + objectTypeConflict: { type: "boolean" }, + mergeOperations: { + type: "structure", + members: { source: {}, destination: {} }, + }, }, - output: { + }, + S12: { + type: "list", + member: { type: "structure", members: { - Entitlements: { - locationName: "entitlements", - type: "list", - member: { - type: "structure", - members: { - DataTransferSubscriberFeePercent: { - locationName: "dataTransferSubscriberFeePercent", - type: "integer", - }, - EntitlementArn: { locationName: "entitlementArn" }, - EntitlementName: { locationName: "entitlementName" }, - }, - required: ["EntitlementArn", "EntitlementName"], + isConflict: { type: "boolean" }, + source: { shape: "S15" }, + destination: { shape: "S15" }, + base: { shape: "S15" }, + }, + }, + }, + S15: { + type: "structure", + members: { + startLine: { type: "integer" }, + endLine: { type: "integer" }, + hunkContent: {}, + }, + }, + S1l: { + type: "structure", + members: { + commitId: {}, + treeId: {}, + parents: { type: "list", member: {} }, + message: {}, + author: { shape: "S1n" }, + committer: { shape: "S1n" }, + additionalData: {}, + }, + }, + S1n: { + type: "structure", + members: { name: {}, email: {}, date: {} }, + }, + S1x: { + type: "structure", + members: { + accountId: {}, + repositoryId: {}, + repositoryName: {}, + repositoryDescription: {}, + defaultBranch: {}, + lastModifiedDate: { type: "timestamp" }, + creationDate: { type: "timestamp" }, + cloneUrlHttp: {}, + cloneUrlSsh: {}, + Arn: {}, + }, + }, + S2c: { + type: "structure", + members: { + approvalRuleTemplateId: {}, + approvalRuleTemplateName: {}, + approvalRuleTemplateDescription: {}, + approvalRuleTemplateContent: {}, + ruleContentSha256: {}, + lastModifiedDate: { type: "timestamp" }, + creationDate: { type: "timestamp" }, + lastModifiedUser: {}, + }, + }, + S2o: { + type: "list", + member: { + type: "structure", + required: ["filePath"], + members: { filePath: {} }, + }, + }, + S2q: { + type: "list", + member: { + type: "structure", + required: ["filePath", "fileMode"], + members: { filePath: {}, fileMode: {} }, + }, + }, + S2t: { + type: "list", + member: { + type: "structure", + members: { absolutePath: {}, blobId: {}, fileMode: {} }, + }, + }, + S33: { + type: "structure", + members: { + pullRequestId: {}, + title: {}, + description: {}, + lastActivityDate: { type: "timestamp" }, + creationDate: { type: "timestamp" }, + pullRequestStatus: {}, + authorArn: {}, + pullRequestTargets: { + type: "list", + member: { + type: "structure", + members: { + repositoryName: {}, + sourceReference: {}, + destinationReference: {}, + destinationCommit: {}, + sourceCommit: {}, + mergeBase: {}, + mergeMetadata: { shape: "S38" }, }, }, - NextToken: { locationName: "nextToken" }, }, + clientRequestToken: {}, + revisionId: {}, + approvalRules: { type: "list", member: { shape: "S3c" } }, }, }, - ListFlows: { - http: { method: "GET", requestUri: "/v1/flows", responseCode: 200 }, + S38: { + type: "structure", + members: { + isMerged: { type: "boolean" }, + mergedBy: {}, + mergeCommitId: {}, + mergeOption: {}, + }, + }, + S3c: { + type: "structure", + members: { + approvalRuleId: {}, + approvalRuleName: {}, + approvalRuleContent: {}, + ruleContentSha256: {}, + lastModifiedDate: { type: "timestamp" }, + creationDate: { type: "timestamp" }, + lastModifiedUser: {}, + originApprovalRuleTemplate: { + type: "structure", + members: { + approvalRuleTemplateId: {}, + approvalRuleTemplateName: {}, + }, + }, + }, + }, + S3k: { type: "map", key: {}, value: {} }, + S3p: { + type: "structure", + members: { + replaceContents: { + type: "list", + member: { + type: "structure", + required: ["filePath", "replacementType"], + members: { + filePath: {}, + replacementType: {}, + content: { type: "blob" }, + fileMode: {}, + }, + }, + }, + deleteFiles: { shape: "S2o" }, + setFileModes: { shape: "S2q" }, + }, + }, + S3y: { type: "structure", members: { branchName: {}, commitId: {} } }, + S42: { + type: "structure", + members: { + commentId: {}, + content: {}, + inReplyTo: {}, + creationDate: { type: "timestamp" }, + lastModifiedDate: { type: "timestamp" }, + authorArn: {}, + deleted: { type: "boolean" }, + clientRequestToken: {}, + callerReactions: { type: "list", member: {} }, + reactionCounts: { + type: "map", + key: {}, + value: { type: "integer" }, + }, + }, + }, + S5q: { + type: "structure", + members: { + filePath: {}, + filePosition: { type: "long" }, + relativeFileVersion: {}, + }, + }, + S5t: { type: "list", member: { shape: "S42" } }, + S65: { + type: "structure", + members: { blobId: {}, path: {}, mode: {} }, + }, + S76: { + type: "list", + member: { + type: "structure", + required: ["name", "destinationArn", "events"], + members: { + name: {}, + destinationArn: {}, + customData: {}, + branches: { shape: "S7a" }, + events: { type: "list", member: {} }, + }, + }, + }, + S7a: { type: "list", member: {} }, + S7f: { type: "list", member: {} }, + }, + }; + + /***/ + }, + + /***/ 4211: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["polly"] = {}; + AWS.Polly = Service.defineService("polly", ["2016-06-10"]); + __webpack_require__(1531); + Object.defineProperty(apiLoader.services["polly"], "2016-06-10", { + get: function get() { + var model = __webpack_require__(3132); + model.paginators = __webpack_require__(5902).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.Polly; + + /***/ + }, + + /***/ 4213: /***/ function (module) { + module.exports = require("punycode"); + + /***/ + }, + + /***/ 4220: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2017-10-01", + endpointPrefix: "workmail", + jsonVersion: "1.1", + protocol: "json", + serviceFullName: "Amazon WorkMail", + serviceId: "WorkMail", + signatureVersion: "v4", + targetPrefix: "WorkMailService", + uid: "workmail-2017-10-01", + }, + operations: { + AssociateDelegateToResource: { + input: { + type: "structure", + required: ["OrganizationId", "ResourceId", "EntityId"], + members: { OrganizationId: {}, ResourceId: {}, EntityId: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + AssociateMemberToGroup: { + input: { + type: "structure", + required: ["OrganizationId", "GroupId", "MemberId"], + members: { OrganizationId: {}, GroupId: {}, MemberId: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + CancelMailboxExportJob: { input: { type: "structure", + required: ["ClientToken", "JobId", "OrganizationId"], members: { - MaxResults: { - location: "querystring", - locationName: "maxResults", - type: "integer", - }, - NextToken: { - location: "querystring", - locationName: "nextToken", - }, + ClientToken: { idempotencyToken: true }, + JobId: {}, + OrganizationId: {}, }, }, - output: { + output: { type: "structure", members: {} }, + idempotent: true, + }, + CreateAlias: { + input: { + type: "structure", + required: ["OrganizationId", "EntityId", "Alias"], + members: { OrganizationId: {}, EntityId: {}, Alias: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + CreateGroup: { + input: { + type: "structure", + required: ["OrganizationId", "Name"], + members: { OrganizationId: {}, Name: {} }, + }, + output: { type: "structure", members: { GroupId: {} } }, + idempotent: true, + }, + CreateOrganization: { + input: { type: "structure", + required: ["Alias"], members: { - Flows: { - locationName: "flows", + DirectoryId: {}, + Alias: {}, + ClientToken: { idempotencyToken: true }, + Domains: { type: "list", member: { type: "structure", - members: { - AvailabilityZone: { locationName: "availabilityZone" }, - Description: { locationName: "description" }, - FlowArn: { locationName: "flowArn" }, - Name: { locationName: "name" }, - SourceType: { locationName: "sourceType" }, - Status: { locationName: "status" }, - }, - required: [ - "Status", - "Description", - "SourceType", - "AvailabilityZone", - "FlowArn", - "Name", - ], + members: { DomainName: {}, HostedZoneId: {} }, }, }, - NextToken: { locationName: "nextToken" }, + KmsKeyArn: {}, + EnableInteroperability: { type: "boolean" }, }, }, + output: { type: "structure", members: { OrganizationId: {} } }, + idempotent: true, }, - ListTagsForResource: { - http: { - method: "GET", - requestUri: "/tags/{resourceArn}", - responseCode: 200, + CreateResource: { + input: { + type: "structure", + required: ["OrganizationId", "Name", "Type"], + members: { OrganizationId: {}, Name: {}, Type: {} }, }, + output: { type: "structure", members: { ResourceId: {} } }, + idempotent: true, + }, + CreateUser: { input: { type: "structure", + required: ["OrganizationId", "Name", "DisplayName", "Password"], members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, + OrganizationId: {}, + Name: {}, + DisplayName: {}, + Password: { shape: "Sz" }, }, - required: ["ResourceArn"], }, - output: { + output: { type: "structure", members: { UserId: {} } }, + idempotent: true, + }, + DeleteAccessControlRule: { + input: { type: "structure", - members: { Tags: { shape: "S1k", locationName: "tags" } }, + required: ["OrganizationId", "Name"], + members: { OrganizationId: {}, Name: {} }, }, + output: { type: "structure", members: {} }, }, - RemoveFlowOutput: { - http: { - method: "DELETE", - requestUri: "/v1/flows/{flowArn}/outputs/{outputArn}", - responseCode: 202, + DeleteAlias: { + input: { + type: "structure", + required: ["OrganizationId", "EntityId", "Alias"], + members: { OrganizationId: {}, EntityId: {}, Alias: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + DeleteGroup: { + input: { + type: "structure", + required: ["OrganizationId", "GroupId"], + members: { OrganizationId: {}, GroupId: {} }, }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + DeleteMailboxPermissions: { + input: { + type: "structure", + required: ["OrganizationId", "EntityId", "GranteeId"], + members: { OrganizationId: {}, EntityId: {}, GranteeId: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + DeleteOrganization: { input: { type: "structure", + required: ["OrganizationId", "DeleteDirectory"], members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - OutputArn: { location: "uri", locationName: "outputArn" }, + ClientToken: { idempotencyToken: true }, + OrganizationId: {}, + DeleteDirectory: { type: "boolean" }, }, - required: ["FlowArn", "OutputArn"], }, output: { type: "structure", - members: { - FlowArn: { locationName: "flowArn" }, - OutputArn: { locationName: "outputArn" }, - }, + members: { OrganizationId: {}, State: {} }, }, + idempotent: true, }, - RemoveFlowSource: { - http: { - method: "DELETE", - requestUri: "/v1/flows/{flowArn}/source/{sourceArn}", - responseCode: 202, + DeleteResource: { + input: { + type: "structure", + required: ["OrganizationId", "ResourceId"], + members: { OrganizationId: {}, ResourceId: {} }, }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + DeleteRetentionPolicy: { input: { type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - SourceArn: { location: "uri", locationName: "sourceArn" }, - }, - required: ["FlowArn", "SourceArn"], + required: ["OrganizationId", "Id"], + members: { OrganizationId: {}, Id: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + DeleteUser: { + input: { + type: "structure", + required: ["OrganizationId", "UserId"], + members: { OrganizationId: {}, UserId: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + DeregisterFromWorkMail: { + input: { + type: "structure", + required: ["OrganizationId", "EntityId"], + members: { OrganizationId: {}, EntityId: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + DescribeGroup: { + input: { + type: "structure", + required: ["OrganizationId", "GroupId"], + members: { OrganizationId: {}, GroupId: {} }, }, output: { type: "structure", members: { - FlowArn: { locationName: "flowArn" }, - SourceArn: { locationName: "sourceArn" }, + GroupId: {}, + Name: {}, + Email: {}, + State: {}, + EnabledDate: { type: "timestamp" }, + DisabledDate: { type: "timestamp" }, }, }, + idempotent: true, }, - RemoveFlowVpcInterface: { - http: { - method: "DELETE", - requestUri: - "/v1/flows/{flowArn}/vpcInterfaces/{vpcInterfaceName}", - responseCode: 200, - }, + DescribeMailboxExportJob: { input: { + type: "structure", + required: ["JobId", "OrganizationId"], + members: { JobId: {}, OrganizationId: {} }, + }, + output: { type: "structure", members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - VpcInterfaceName: { - location: "uri", - locationName: "vpcInterfaceName", - }, + EntityId: {}, + Description: {}, + RoleArn: {}, + KmsKeyArn: {}, + S3BucketName: {}, + S3Prefix: {}, + S3Path: {}, + EstimatedProgress: { type: "integer" }, + State: {}, + ErrorInfo: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, }, - required: ["FlowArn", "VpcInterfaceName"], + }, + idempotent: true, + }, + DescribeOrganization: { + input: { + type: "structure", + required: ["OrganizationId"], + members: { OrganizationId: {} }, }, output: { type: "structure", members: { - FlowArn: { locationName: "flowArn" }, - NonDeletedNetworkInterfaceIds: { - shape: "S5", - locationName: "nonDeletedNetworkInterfaceIds", - }, - VpcInterfaceName: { locationName: "vpcInterfaceName" }, + OrganizationId: {}, + Alias: {}, + State: {}, + DirectoryId: {}, + DirectoryType: {}, + DefaultMailDomain: {}, + CompletedDate: { type: "timestamp" }, + ErrorMessage: {}, + ARN: {}, }, }, + idempotent: true, }, - RevokeFlowEntitlement: { - http: { - method: "DELETE", - requestUri: "/v1/flows/{flowArn}/entitlements/{entitlementArn}", - responseCode: 202, - }, + DescribeResource: { input: { + type: "structure", + required: ["OrganizationId", "ResourceId"], + members: { OrganizationId: {}, ResourceId: {} }, + }, + output: { type: "structure", members: { - EntitlementArn: { - location: "uri", - locationName: "entitlementArn", - }, - FlowArn: { location: "uri", locationName: "flowArn" }, + ResourceId: {}, + Email: {}, + Name: {}, + Type: {}, + BookingOptions: { shape: "S23" }, + State: {}, + EnabledDate: { type: "timestamp" }, + DisabledDate: { type: "timestamp" }, }, - required: ["FlowArn", "EntitlementArn"], + }, + idempotent: true, + }, + DescribeUser: { + input: { + type: "structure", + required: ["OrganizationId", "UserId"], + members: { OrganizationId: {}, UserId: {} }, }, output: { type: "structure", members: { - EntitlementArn: { locationName: "entitlementArn" }, - FlowArn: { locationName: "flowArn" }, + UserId: {}, + Name: {}, + Email: {}, + DisplayName: {}, + State: {}, + UserRole: {}, + EnabledDate: { type: "timestamp" }, + DisabledDate: { type: "timestamp" }, }, }, + idempotent: true, }, - StartFlow: { - http: { - requestUri: "/v1/flows/start/{flowArn}", - responseCode: 202, + DisassociateDelegateFromResource: { + input: { + type: "structure", + required: ["OrganizationId", "ResourceId", "EntityId"], + members: { OrganizationId: {}, ResourceId: {}, EntityId: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + DisassociateMemberFromGroup: { + input: { + type: "structure", + required: ["OrganizationId", "GroupId", "MemberId"], + members: { OrganizationId: {}, GroupId: {}, MemberId: {} }, }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + GetAccessControlEffect: { input: { type: "structure", + required: ["OrganizationId", "IpAddress", "Action", "UserId"], members: { - FlowArn: { location: "uri", locationName: "flowArn" }, + OrganizationId: {}, + IpAddress: {}, + Action: {}, + UserId: {}, }, - required: ["FlowArn"], }, output: { type: "structure", members: { - FlowArn: { locationName: "flowArn" }, - Status: { locationName: "status" }, + Effect: {}, + MatchedRules: { type: "list", member: {} }, }, }, }, - StopFlow: { - http: { requestUri: "/v1/flows/stop/{flowArn}", responseCode: 202 }, + GetDefaultRetentionPolicy: { input: { type: "structure", - members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - }, - required: ["FlowArn"], + required: ["OrganizationId"], + members: { OrganizationId: {} }, }, output: { type: "structure", members: { - FlowArn: { locationName: "flowArn" }, - Status: { locationName: "status" }, + Id: {}, + Name: {}, + Description: {}, + FolderConfigurations: { shape: "S2j" }, }, }, + idempotent: true, }, - TagResource: { - http: { requestUri: "/tags/{resourceArn}", responseCode: 204 }, + GetMailboxDetails: { input: { + type: "structure", + required: ["OrganizationId", "UserId"], + members: { OrganizationId: {}, UserId: {} }, + }, + output: { type: "structure", members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - Tags: { shape: "S1k", locationName: "tags" }, + MailboxQuota: { type: "integer" }, + MailboxSize: { type: "double" }, }, - required: ["ResourceArn", "Tags"], }, + idempotent: true, }, - UntagResource: { - http: { - method: "DELETE", - requestUri: "/tags/{resourceArn}", - responseCode: 204, - }, + ListAccessControlRules: { input: { + type: "structure", + required: ["OrganizationId"], + members: { OrganizationId: {} }, + }, + output: { type: "structure", members: { - ResourceArn: { location: "uri", locationName: "resourceArn" }, - TagKeys: { - shape: "S5", - location: "querystring", - locationName: "tagKeys", + Rules: { + type: "list", + member: { + type: "structure", + members: { + Name: {}, + Effect: {}, + Description: {}, + IpRanges: { shape: "S2x" }, + NotIpRanges: { shape: "S2x" }, + Actions: { shape: "S2z" }, + NotActions: { shape: "S2z" }, + UserIds: { shape: "S30" }, + NotUserIds: { shape: "S30" }, + DateCreated: { type: "timestamp" }, + DateModified: { type: "timestamp" }, + }, + }, }, }, - required: ["TagKeys", "ResourceArn"], }, }, - UpdateFlow: { - http: { - method: "PUT", - requestUri: "/v1/flows/{flowArn}", - responseCode: 202, - }, + ListAliases: { input: { type: "structure", + required: ["OrganizationId", "EntityId"], members: { - FlowArn: { location: "uri", locationName: "flowArn" }, - SourceFailoverConfig: { - locationName: "sourceFailoverConfig", - type: "structure", - members: { - RecoveryWindow: { - locationName: "recoveryWindow", - type: "integer", - }, - State: { locationName: "state" }, - }, - }, + OrganizationId: {}, + EntityId: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, - required: ["FlowArn"], }, output: { type: "structure", - members: { Flow: { shape: "Sx", locationName: "flow" } }, + members: { Aliases: { type: "list", member: {} }, NextToken: {} }, }, + idempotent: true, }, - UpdateFlowEntitlement: { - http: { - method: "PUT", - requestUri: "/v1/flows/{flowArn}/entitlements/{entitlementArn}", - responseCode: 202, - }, + ListGroupMembers: { input: { type: "structure", + required: ["OrganizationId", "GroupId"], members: { - Description: { locationName: "description" }, - Encryption: { shape: "S23", locationName: "encryption" }, - EntitlementArn: { - location: "uri", - locationName: "entitlementArn", - }, - FlowArn: { location: "uri", locationName: "flowArn" }, - Subscribers: { shape: "S5", locationName: "subscribers" }, + OrganizationId: {}, + GroupId: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, - required: ["FlowArn", "EntitlementArn"], }, output: { type: "structure", members: { - Entitlement: { shape: "Sz", locationName: "entitlement" }, - FlowArn: { locationName: "flowArn" }, + Members: { + type: "list", + member: { + type: "structure", + members: { + Id: {}, + Name: {}, + Type: {}, + State: {}, + EnabledDate: { type: "timestamp" }, + DisabledDate: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, }, }, + idempotent: true, }, - UpdateFlowOutput: { - http: { - method: "PUT", - requestUri: "/v1/flows/{flowArn}/outputs/{outputArn}", - responseCode: 202, - }, + ListGroups: { input: { type: "structure", + required: ["OrganizationId"], members: { - CidrAllowList: { shape: "S5", locationName: "cidrAllowList" }, - Description: { locationName: "description" }, - Destination: { locationName: "destination" }, - Encryption: { shape: "S23", locationName: "encryption" }, - FlowArn: { location: "uri", locationName: "flowArn" }, - MaxLatency: { locationName: "maxLatency", type: "integer" }, - OutputArn: { location: "uri", locationName: "outputArn" }, - Port: { locationName: "port", type: "integer" }, - Protocol: { locationName: "protocol" }, - RemoteId: { locationName: "remoteId" }, - SmoothingLatency: { - locationName: "smoothingLatency", - type: "integer", - }, - StreamId: { locationName: "streamId" }, + OrganizationId: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, - required: ["FlowArn", "OutputArn"], }, output: { type: "structure", members: { - FlowArn: { locationName: "flowArn" }, - Output: { shape: "Sd", locationName: "output" }, + Groups: { + type: "list", + member: { + type: "structure", + members: { + Id: {}, + Email: {}, + Name: {}, + State: {}, + EnabledDate: { type: "timestamp" }, + DisabledDate: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, }, }, + idempotent: true, }, - UpdateFlowSource: { - http: { - method: "PUT", - requestUri: "/v1/flows/{flowArn}/source/{sourceArn}", - responseCode: 202, - }, + ListMailboxExportJobs: { input: { type: "structure", + required: ["OrganizationId"], members: { - Decryption: { shape: "S23", locationName: "decryption" }, - Description: { locationName: "description" }, - EntitlementArn: { locationName: "entitlementArn" }, - FlowArn: { location: "uri", locationName: "flowArn" }, - IngestPort: { locationName: "ingestPort", type: "integer" }, - MaxBitrate: { locationName: "maxBitrate", type: "integer" }, - MaxLatency: { locationName: "maxLatency", type: "integer" }, - Protocol: { locationName: "protocol" }, - SourceArn: { location: "uri", locationName: "sourceArn" }, - StreamId: { locationName: "streamId" }, - VpcInterfaceName: { locationName: "vpcInterfaceName" }, - WhitelistCidr: { locationName: "whitelistCidr" }, + OrganizationId: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, - required: ["FlowArn", "SourceArn"], }, output: { type: "structure", members: { - FlowArn: { locationName: "flowArn" }, - Source: { shape: "Sk", locationName: "source" }, + Jobs: { + type: "list", + member: { + type: "structure", + members: { + JobId: {}, + EntityId: {}, + Description: {}, + S3BucketName: {}, + S3Path: {}, + EstimatedProgress: { type: "integer" }, + State: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + }, + }, + }, + NextToken: {}, }, }, + idempotent: true, }, - }, - shapes: { - S3: { - type: "list", - member: { + ListMailboxPermissions: { + input: { type: "structure", + required: ["OrganizationId", "EntityId"], members: { - CidrAllowList: { shape: "S5", locationName: "cidrAllowList" }, - Description: { locationName: "description" }, - Destination: { locationName: "destination" }, - Encryption: { shape: "S6", locationName: "encryption" }, - MaxLatency: { locationName: "maxLatency", type: "integer" }, - Name: { locationName: "name" }, - Port: { locationName: "port", type: "integer" }, - Protocol: { locationName: "protocol" }, - RemoteId: { locationName: "remoteId" }, - SmoothingLatency: { - locationName: "smoothingLatency", - type: "integer", - }, - StreamId: { locationName: "streamId" }, + OrganizationId: {}, + EntityId: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, - required: ["Protocol"], }, - }, - S5: { type: "list", member: {} }, - S6: { - type: "structure", - members: { - Algorithm: { locationName: "algorithm" }, - ConstantInitializationVector: { - locationName: "constantInitializationVector", + output: { + type: "structure", + members: { + Permissions: { + type: "list", + member: { + type: "structure", + required: ["GranteeId", "GranteeType", "PermissionValues"], + members: { + GranteeId: {}, + GranteeType: {}, + PermissionValues: { shape: "S3n" }, + }, + }, + }, + NextToken: {}, }, - DeviceId: { locationName: "deviceId" }, - KeyType: { locationName: "keyType" }, - Region: { locationName: "region" }, - ResourceId: { locationName: "resourceId" }, - RoleArn: { locationName: "roleArn" }, - SecretArn: { locationName: "secretArn" }, - Url: { locationName: "url" }, }, - required: ["Algorithm", "RoleArn"], + idempotent: true, }, - Sc: { type: "list", member: { shape: "Sd" } }, - Sd: { - type: "structure", - members: { - DataTransferSubscriberFeePercent: { - locationName: "dataTransferSubscriberFeePercent", - type: "integer", + ListOrganizations: { + input: { + type: "structure", + members: { NextToken: {}, MaxResults: { type: "integer" } }, + }, + output: { + type: "structure", + members: { + OrganizationSummaries: { + type: "list", + member: { + type: "structure", + members: { + OrganizationId: {}, + Alias: {}, + DefaultMailDomain: {}, + ErrorMessage: {}, + State: {}, + }, + }, + }, + NextToken: {}, }, - Description: { locationName: "description" }, - Destination: { locationName: "destination" }, - Encryption: { shape: "S6", locationName: "encryption" }, - EntitlementArn: { locationName: "entitlementArn" }, - MediaLiveInputArn: { locationName: "mediaLiveInputArn" }, - Name: { locationName: "name" }, - OutputArn: { locationName: "outputArn" }, - Port: { locationName: "port", type: "integer" }, - Transport: { shape: "Se", locationName: "transport" }, }, - required: ["OutputArn", "Name"], + idempotent: true, }, - Se: { - type: "structure", - members: { - CidrAllowList: { shape: "S5", locationName: "cidrAllowList" }, - MaxBitrate: { locationName: "maxBitrate", type: "integer" }, - MaxLatency: { locationName: "maxLatency", type: "integer" }, - Protocol: { locationName: "protocol" }, - RemoteId: { locationName: "remoteId" }, - SmoothingLatency: { - locationName: "smoothingLatency", - type: "integer", + ListResourceDelegates: { + input: { + type: "structure", + required: ["OrganizationId", "ResourceId"], + members: { + OrganizationId: {}, + ResourceId: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, - StreamId: { locationName: "streamId" }, }, - required: ["Protocol"], - }, - Sg: { type: "list", member: { shape: "Sh" } }, - Sh: { - type: "structure", - members: { - Decryption: { shape: "S6", locationName: "decryption" }, - Description: { locationName: "description" }, - EntitlementArn: { locationName: "entitlementArn" }, - IngestPort: { locationName: "ingestPort", type: "integer" }, - MaxBitrate: { locationName: "maxBitrate", type: "integer" }, - MaxLatency: { locationName: "maxLatency", type: "integer" }, - Name: { locationName: "name" }, - Protocol: { locationName: "protocol" }, - StreamId: { locationName: "streamId" }, - VpcInterfaceName: { locationName: "vpcInterfaceName" }, - WhitelistCidr: { locationName: "whitelistCidr" }, + output: { + type: "structure", + members: { + Delegates: { + type: "list", + member: { + type: "structure", + required: ["Id", "Type"], + members: { Id: {}, Type: {} }, + }, + }, + NextToken: {}, + }, }, + idempotent: true, }, - Sj: { type: "list", member: { shape: "Sk" } }, - Sk: { - type: "structure", - members: { - DataTransferSubscriberFeePercent: { - locationName: "dataTransferSubscriberFeePercent", - type: "integer", + ListResources: { + input: { + type: "structure", + required: ["OrganizationId"], + members: { + OrganizationId: {}, + NextToken: {}, + MaxResults: { type: "integer" }, }, - Decryption: { shape: "S6", locationName: "decryption" }, - Description: { locationName: "description" }, - EntitlementArn: { locationName: "entitlementArn" }, - IngestIp: { locationName: "ingestIp" }, - IngestPort: { locationName: "ingestPort", type: "integer" }, - Name: { locationName: "name" }, - SourceArn: { locationName: "sourceArn" }, - Transport: { shape: "Se", locationName: "transport" }, - VpcInterfaceName: { locationName: "vpcInterfaceName" }, - WhitelistCidr: { locationName: "whitelistCidr" }, }, - required: ["SourceArn", "Name"], - }, - Sm: { - type: "list", - member: { + output: { type: "structure", members: { - Name: { locationName: "name" }, - RoleArn: { locationName: "roleArn" }, - SecurityGroupIds: { - shape: "S5", - locationName: "securityGroupIds", + Resources: { + type: "list", + member: { + type: "structure", + members: { + Id: {}, + Email: {}, + Name: {}, + Type: {}, + State: {}, + EnabledDate: { type: "timestamp" }, + DisabledDate: { type: "timestamp" }, + }, + }, }, - SubnetId: { locationName: "subnetId" }, + NextToken: {}, }, - required: ["SubnetId", "SecurityGroupIds", "RoleArn", "Name"], }, + idempotent: true, }, - Sp: { - type: "list", - member: { + ListTagsForResource: { + input: { + type: "structure", + required: ["ResourceARN"], + members: { ResourceARN: {} }, + }, + output: { type: "structure", members: { Tags: { shape: "S43" } } }, + }, + ListUsers: { + input: { type: "structure", + required: ["OrganizationId"], members: { - Name: { locationName: "name" }, - NetworkInterfaceIds: { - shape: "S5", - locationName: "networkInterfaceIds", - }, - RoleArn: { locationName: "roleArn" }, - SecurityGroupIds: { - shape: "S5", - locationName: "securityGroupIds", + OrganizationId: {}, + NextToken: {}, + MaxResults: { type: "integer" }, + }, + }, + output: { + type: "structure", + members: { + Users: { + type: "list", + member: { + type: "structure", + members: { + Id: {}, + Email: {}, + Name: {}, + DisplayName: {}, + State: {}, + UserRole: {}, + EnabledDate: { type: "timestamp" }, + DisabledDate: { type: "timestamp" }, + }, + }, }, - SubnetId: { locationName: "subnetId" }, + NextToken: {}, + }, + }, + idempotent: true, + }, + PutAccessControlRule: { + input: { + type: "structure", + required: ["Name", "Effect", "Description", "OrganizationId"], + members: { + Name: {}, + Effect: {}, + Description: {}, + IpRanges: { shape: "S2x" }, + NotIpRanges: { shape: "S2x" }, + Actions: { shape: "S2z" }, + NotActions: { shape: "S2z" }, + UserIds: { shape: "S30" }, + NotUserIds: { shape: "S30" }, + OrganizationId: {}, }, + }, + output: { type: "structure", members: {} }, + }, + PutMailboxPermissions: { + input: { + type: "structure", required: [ - "NetworkInterfaceIds", - "SubnetId", - "SecurityGroupIds", - "RoleArn", - "Name", + "OrganizationId", + "EntityId", + "GranteeId", + "PermissionValues", ], + members: { + OrganizationId: {}, + EntityId: {}, + GranteeId: {}, + PermissionValues: { shape: "S3n" }, + }, }, + output: { type: "structure", members: {} }, + idempotent: true, }, - Ss: { - type: "list", - member: { + PutRetentionPolicy: { + input: { type: "structure", + required: ["OrganizationId", "Name", "FolderConfigurations"], members: { - DataTransferSubscriberFeePercent: { - locationName: "dataTransferSubscriberFeePercent", - type: "integer", - }, - Description: { locationName: "description" }, - Encryption: { shape: "S6", locationName: "encryption" }, - Name: { locationName: "name" }, - Subscribers: { shape: "S5", locationName: "subscribers" }, + OrganizationId: {}, + Id: {}, + Name: {}, + Description: { type: "string", sensitive: true }, + FolderConfigurations: { shape: "S2j" }, }, - required: ["Subscribers"], }, + output: { type: "structure", members: {} }, + idempotent: true, }, - Su: { - type: "structure", - members: { - RecoveryWindow: { - locationName: "recoveryWindow", - type: "integer", + RegisterToWorkMail: { + input: { + type: "structure", + required: ["OrganizationId", "EntityId", "Email"], + members: { OrganizationId: {}, EntityId: {}, Email: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + ResetPassword: { + input: { + type: "structure", + required: ["OrganizationId", "UserId", "Password"], + members: { + OrganizationId: {}, + UserId: {}, + Password: { shape: "Sz" }, }, - State: { locationName: "state" }, }, + output: { type: "structure", members: {} }, + idempotent: true, }, - Sx: { - type: "structure", - members: { - AvailabilityZone: { locationName: "availabilityZone" }, - Description: { locationName: "description" }, - EgressIp: { locationName: "egressIp" }, - Entitlements: { shape: "Sy", locationName: "entitlements" }, - FlowArn: { locationName: "flowArn" }, - Name: { locationName: "name" }, - Outputs: { shape: "Sc", locationName: "outputs" }, - Source: { shape: "Sk", locationName: "source" }, - SourceFailoverConfig: { - shape: "Su", - locationName: "sourceFailoverConfig", + StartMailboxExportJob: { + input: { + type: "structure", + required: [ + "ClientToken", + "OrganizationId", + "EntityId", + "RoleArn", + "KmsKeyArn", + "S3BucketName", + "S3Prefix", + ], + members: { + ClientToken: { idempotencyToken: true }, + OrganizationId: {}, + EntityId: {}, + Description: {}, + RoleArn: {}, + KmsKeyArn: {}, + S3BucketName: {}, + S3Prefix: {}, }, - Sources: { shape: "Sj", locationName: "sources" }, - Status: { locationName: "status" }, - VpcInterfaces: { shape: "Sp", locationName: "vpcInterfaces" }, }, - required: [ - "Status", - "Entitlements", - "Outputs", - "AvailabilityZone", - "FlowArn", - "Source", - "Name", - ], + output: { type: "structure", members: { JobId: {} } }, + idempotent: true, }, - Sy: { type: "list", member: { shape: "Sz" } }, - Sz: { - type: "structure", - members: { - DataTransferSubscriberFeePercent: { - locationName: "dataTransferSubscriberFeePercent", - type: "integer", + TagResource: { + input: { + type: "structure", + required: ["ResourceARN", "Tags"], + members: { ResourceARN: {}, Tags: { shape: "S43" } }, + }, + output: { type: "structure", members: {} }, + }, + UntagResource: { + input: { + type: "structure", + required: ["ResourceARN", "TagKeys"], + members: { + ResourceARN: {}, + TagKeys: { type: "list", member: {} }, }, - Description: { locationName: "description" }, - Encryption: { shape: "S6", locationName: "encryption" }, - EntitlementArn: { locationName: "entitlementArn" }, - Name: { locationName: "name" }, - Subscribers: { shape: "S5", locationName: "subscribers" }, }, - required: ["EntitlementArn", "Subscribers", "Name"], + output: { type: "structure", members: {} }, }, - S1k: { type: "map", key: {}, value: {} }, + UpdateMailboxQuota: { + input: { + type: "structure", + required: ["OrganizationId", "UserId", "MailboxQuota"], + members: { + OrganizationId: {}, + UserId: {}, + MailboxQuota: { type: "integer" }, + }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + UpdatePrimaryEmailAddress: { + input: { + type: "structure", + required: ["OrganizationId", "EntityId", "Email"], + members: { OrganizationId: {}, EntityId: {}, Email: {} }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + UpdateResource: { + input: { + type: "structure", + required: ["OrganizationId", "ResourceId"], + members: { + OrganizationId: {}, + ResourceId: {}, + Name: {}, + BookingOptions: { shape: "S23" }, + }, + }, + output: { type: "structure", members: {} }, + idempotent: true, + }, + }, + shapes: { + Sz: { type: "string", sensitive: true }, S23: { type: "structure", members: { - Algorithm: { locationName: "algorithm" }, - ConstantInitializationVector: { - locationName: "constantInitializationVector", - }, - DeviceId: { locationName: "deviceId" }, - KeyType: { locationName: "keyType" }, - Region: { locationName: "region" }, - ResourceId: { locationName: "resourceId" }, - RoleArn: { locationName: "roleArn" }, - SecretArn: { locationName: "secretArn" }, - Url: { locationName: "url" }, + AutoAcceptRequests: { type: "boolean" }, + AutoDeclineRecurringRequests: { type: "boolean" }, + AutoDeclineConflictingRequests: { type: "boolean" }, + }, + }, + S2j: { + type: "list", + member: { + type: "structure", + required: ["Name", "Action"], + members: { Name: {}, Action: {}, Period: { type: "integer" } }, + }, + }, + S2x: { type: "list", member: {} }, + S2z: { type: "list", member: {} }, + S30: { type: "list", member: {} }, + S3n: { type: "list", member: {} }, + S43: { + type: "list", + member: { + type: "structure", + required: ["Key", "Value"], + members: { Key: {}, Value: {} }, }, }, }, @@ -134480,11373 +137435,9727 @@ module.exports = /******/ (function (modules, runtime) { /***/ }, - /***/ 4612: /***/ function (module, __unusedexports, __webpack_require__) { - __webpack_require__(3234); - var AWS = __webpack_require__(395); - var Service = AWS.Service; - var apiLoader = AWS.apiLoader; - - apiLoader.services["sso"] = {}; - AWS.SSO = Service.defineService("sso", ["2019-06-10"]); - Object.defineProperty(apiLoader.services["sso"], "2019-06-10", { - get: function get() { - var model = __webpack_require__(3881); - model.paginators = __webpack_require__(682).pagination; - return model; - }, - enumerable: true, - configurable: true, - }); - - module.exports = AWS.SSO; - - /***/ - }, - - /***/ 4618: /***/ function (module, __unusedexports, __webpack_require__) { - var util = __webpack_require__(153); - var populateHostPrefix = __webpack_require__(904).populateHostPrefix; - - function populateMethod(req) { - req.httpRequest.method = - req.service.api.operations[req.operation].httpMethod; - } - - function generateURI(endpointPath, operationPath, input, params) { - var uri = [endpointPath, operationPath].join("/"); - uri = uri.replace(/\/+/g, "/"); - - var queryString = {}, - queryStringSet = false; - util.each(input.members, function (name, member) { - var paramValue = params[name]; - if (paramValue === null || paramValue === undefined) return; - if (member.location === "uri") { - var regex = new RegExp("\\{" + member.name + "(\\+)?\\}"); - uri = uri.replace(regex, function (_, plus) { - var fn = plus ? util.uriEscapePath : util.uriEscape; - return fn(String(paramValue)); - }); - } else if (member.location === "querystring") { - queryStringSet = true; - - if (member.type === "list") { - queryString[member.name] = paramValue.map(function (val) { - return util.uriEscape( - member.member.toWireFormat(val).toString() - ); - }); - } else if (member.type === "map") { - util.each(paramValue, function (key, value) { - if (Array.isArray(value)) { - queryString[key] = value.map(function (val) { - return util.uriEscape(String(val)); - }); - } else { - queryString[key] = util.uriEscape(String(value)); - } - }); - } else { - queryString[member.name] = util.uriEscape( - member.toWireFormat(paramValue).toString() - ); - } - } - }); - - if (queryStringSet) { - uri += uri.indexOf("?") >= 0 ? "&" : "?"; - var parts = []; - util.arrayEach(Object.keys(queryString).sort(), function (key) { - if (!Array.isArray(queryString[key])) { - queryString[key] = [queryString[key]]; - } - for (var i = 0; i < queryString[key].length; i++) { - parts.push( - util.uriEscape(String(key)) + "=" + queryString[key][i] - ); - } - }); - uri += parts.join("&"); - } - - return uri; - } - - function populateURI(req) { - var operation = req.service.api.operations[req.operation]; - var input = operation.input; - - var uri = generateURI( - req.httpRequest.endpoint.path, - operation.httpPath, - input, - req.params - ); - req.httpRequest.path = uri; - } - - function populateHeaders(req) { - var operation = req.service.api.operations[req.operation]; - util.each(operation.input.members, function (name, member) { - var value = req.params[name]; - if (value === null || value === undefined) return; - - if (member.location === "headers" && member.type === "map") { - util.each(value, function (key, memberValue) { - req.httpRequest.headers[member.name + key] = memberValue; - }); - } else if (member.location === "header") { - value = member.toWireFormat(value).toString(); - if (member.isJsonValue) { - value = util.base64.encode(value); - } - req.httpRequest.headers[member.name] = value; - } - }); - } - - function buildRequest(req) { - populateMethod(req); - populateURI(req); - populateHeaders(req); - populateHostPrefix(req); - } - - function extractError() {} - - function extractData(resp) { - var req = resp.request; - var data = {}; - var r = resp.httpResponse; - var operation = req.service.api.operations[req.operation]; - var output = operation.output; - - // normalize headers names to lower-cased keys for matching - var headers = {}; - util.each(r.headers, function (k, v) { - headers[k.toLowerCase()] = v; - }); - - util.each(output.members, function (name, member) { - var header = (member.name || name).toLowerCase(); - if (member.location === "headers" && member.type === "map") { - data[name] = {}; - var location = member.isLocationName ? member.name : ""; - var pattern = new RegExp("^" + location + "(.+)", "i"); - util.each(r.headers, function (k, v) { - var result = k.match(pattern); - if (result !== null) { - data[name][result[1]] = v; - } - }); - } else if (member.location === "header") { - if (headers[header] !== undefined) { - var value = member.isJsonValue - ? util.base64.decode(headers[header]) - : headers[header]; - data[name] = member.toType(value); - } - } else if (member.location === "statusCode") { - data[name] = parseInt(r.statusCode, 10); - } - }); - - resp.data = data; - } - - /** - * @api private - */ + /***/ 4221: /***/ function (module) { module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData, - generateURI: generateURI, + pagination: { + DescribeRemediationExceptions: { + input_token: "NextToken", + limit_key: "Limit", + output_token: "NextToken", + }, + DescribeRemediationExecutionStatus: { + input_token: "NextToken", + limit_key: "Limit", + output_token: "NextToken", + result_key: "RemediationExecutionStatuses", + }, + GetResourceConfigHistory: { + input_token: "nextToken", + limit_key: "limit", + output_token: "nextToken", + result_key: "configurationItems", + }, + SelectAggregateResourceConfig: { + input_token: "NextToken", + limit_key: "MaxResults", + output_token: "NextToken", + }, + }, }; /***/ }, - /***/ 4621: /***/ function (module, __unusedexports, __webpack_require__) { - "use strict"; - - const path = __webpack_require__(5622); - const pathKey = __webpack_require__(1039); + /***/ 4227: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - module.exports = (opts) => { - opts = Object.assign( - { - cwd: process.cwd(), - path: process.env[pathKey()], + apiLoader.services["cloudwatchlogs"] = {}; + AWS.CloudWatchLogs = Service.defineService("cloudwatchlogs", [ + "2014-03-28", + ]); + Object.defineProperty( + apiLoader.services["cloudwatchlogs"], + "2014-03-28", + { + get: function get() { + var model = __webpack_require__(7684); + model.paginators = __webpack_require__(6288).pagination; + return model; }, - opts - ); - - let prev; - let pth = path.resolve(opts.cwd); - const ret = []; - - while (prev !== pth) { - ret.push(path.join(pth, "node_modules/.bin")); - prev = pth; - pth = path.resolve(pth, ".."); + enumerable: true, + configurable: true, } + ); - // ensure the running `node` binary is used - ret.push(path.dirname(process.execPath)); - - return ret.concat(opts.path).join(path.delimiter); - }; - - module.exports.env = (opts) => { - opts = Object.assign( - { - env: process.env, - }, - opts - ); - - const env = Object.assign({}, opts.env); - const path = pathKey({ env }); - - opts.path = env[path]; - env[path] = module.exports(opts); - - return env; - }; + module.exports = AWS.CloudWatchLogs; /***/ }, - /***/ 4622: /***/ function (module) { + /***/ 4237: /***/ function (module) { module.exports = { version: "2.0", metadata: { - apiVersion: "2015-06-23", - endpointPrefix: "devicefarm", - jsonVersion: "1.1", - protocol: "json", - serviceFullName: "AWS Device Farm", - serviceId: "Device Farm", + apiVersion: "2013-02-12", + endpointPrefix: "rds", + protocol: "query", + serviceAbbreviation: "Amazon RDS", + serviceFullName: "Amazon Relational Database Service", + serviceId: "RDS", signatureVersion: "v4", - targetPrefix: "DeviceFarm_20150623", - uid: "devicefarm-2015-06-23", + uid: "rds-2013-02-12", + xmlNamespace: "http://rds.amazonaws.com/doc/2013-02-12/", }, operations: { - CreateDevicePool: { + AddSourceIdentifierToSubscription: { input: { type: "structure", - required: ["projectArn", "name", "rules"], - members: { - projectArn: {}, - name: {}, - description: {}, - rules: { shape: "S5" }, - maxDevices: { type: "integer" }, - }, + required: ["SubscriptionName", "SourceIdentifier"], + members: { SubscriptionName: {}, SourceIdentifier: {} }, }, output: { + resultWrapper: "AddSourceIdentifierToSubscriptionResult", type: "structure", - members: { devicePool: { shape: "Sc" } }, + members: { EventSubscription: { shape: "S4" } }, }, }, - CreateInstanceProfile: { + AddTagsToResource: { input: { type: "structure", - required: ["name"], + required: ["ResourceName", "Tags"], + members: { ResourceName: {}, Tags: { shape: "S9" } }, + }, + }, + AuthorizeDBSecurityGroupIngress: { + input: { + type: "structure", + required: ["DBSecurityGroupName"], members: { - name: {}, - description: {}, - packageCleanup: { type: "boolean" }, - excludeAppPackagesFromCleanup: { shape: "Sg" }, - rebootAfterUse: { type: "boolean" }, + DBSecurityGroupName: {}, + CIDRIP: {}, + EC2SecurityGroupName: {}, + EC2SecurityGroupId: {}, + EC2SecurityGroupOwnerId: {}, }, }, output: { + resultWrapper: "AuthorizeDBSecurityGroupIngressResult", type: "structure", - members: { instanceProfile: { shape: "Si" } }, + members: { DBSecurityGroup: { shape: "Sd" } }, }, }, - CreateNetworkProfile: { + CopyDBSnapshot: { input: { type: "structure", - required: ["projectArn", "name"], + required: [ + "SourceDBSnapshotIdentifier", + "TargetDBSnapshotIdentifier", + ], members: { - projectArn: {}, - name: {}, - description: {}, - type: {}, - uplinkBandwidthBits: { type: "long" }, - downlinkBandwidthBits: { type: "long" }, - uplinkDelayMs: { type: "long" }, - downlinkDelayMs: { type: "long" }, - uplinkJitterMs: { type: "long" }, - downlinkJitterMs: { type: "long" }, - uplinkLossPercent: { type: "integer" }, - downlinkLossPercent: { type: "integer" }, + SourceDBSnapshotIdentifier: {}, + TargetDBSnapshotIdentifier: {}, }, }, output: { + resultWrapper: "CopyDBSnapshotResult", type: "structure", - members: { networkProfile: { shape: "So" } }, + members: { DBSnapshot: { shape: "Sk" } }, }, }, - CreateProject: { + CreateDBInstance: { input: { type: "structure", - required: ["name"], + required: [ + "DBInstanceIdentifier", + "AllocatedStorage", + "DBInstanceClass", + "Engine", + "MasterUsername", + "MasterUserPassword", + ], members: { - name: {}, - defaultJobTimeoutMinutes: { type: "integer" }, + DBName: {}, + DBInstanceIdentifier: {}, + AllocatedStorage: { type: "integer" }, + DBInstanceClass: {}, + Engine: {}, + MasterUsername: {}, + MasterUserPassword: {}, + DBSecurityGroups: { shape: "Sp" }, + VpcSecurityGroupIds: { shape: "Sq" }, + AvailabilityZone: {}, + DBSubnetGroupName: {}, + PreferredMaintenanceWindow: {}, + DBParameterGroupName: {}, + BackupRetentionPeriod: { type: "integer" }, + PreferredBackupWindow: {}, + Port: { type: "integer" }, + MultiAZ: { type: "boolean" }, + EngineVersion: {}, + AutoMinorVersionUpgrade: { type: "boolean" }, + LicenseModel: {}, + Iops: { type: "integer" }, + OptionGroupName: {}, + CharacterSetName: {}, + PubliclyAccessible: { type: "boolean" }, }, }, output: { + resultWrapper: "CreateDBInstanceResult", type: "structure", - members: { project: { shape: "Ss" } }, + members: { DBInstance: { shape: "St" } }, }, }, - CreateRemoteAccessSession: { + CreateDBInstanceReadReplica: { input: { type: "structure", - required: ["projectArn", "deviceArn"], + required: ["DBInstanceIdentifier", "SourceDBInstanceIdentifier"], members: { - projectArn: {}, - deviceArn: {}, - instanceArn: {}, - sshPublicKey: {}, - remoteDebugEnabled: { type: "boolean" }, - remoteRecordEnabled: { type: "boolean" }, - remoteRecordAppArn: {}, - name: {}, - clientId: {}, - configuration: { - type: "structure", - members: { - billingMethod: {}, - vpceConfigurationArns: { shape: "Sz" }, - }, - }, - interactionMode: {}, - skipAppResign: { type: "boolean" }, + DBInstanceIdentifier: {}, + SourceDBInstanceIdentifier: {}, + DBInstanceClass: {}, + AvailabilityZone: {}, + Port: { type: "integer" }, + AutoMinorVersionUpgrade: { type: "boolean" }, + Iops: { type: "integer" }, + OptionGroupName: {}, + PubliclyAccessible: { type: "boolean" }, }, }, output: { + resultWrapper: "CreateDBInstanceReadReplicaResult", type: "structure", - members: { remoteAccessSession: { shape: "S12" } }, + members: { DBInstance: { shape: "St" } }, }, }, - CreateTestGridProject: { + CreateDBParameterGroup: { input: { type: "structure", - required: ["name"], - members: { name: {}, description: {} }, + required: [ + "DBParameterGroupName", + "DBParameterGroupFamily", + "Description", + ], + members: { + DBParameterGroupName: {}, + DBParameterGroupFamily: {}, + Description: {}, + }, }, output: { + resultWrapper: "CreateDBParameterGroupResult", type: "structure", - members: { testGridProject: { shape: "S1n" } }, + members: { DBParameterGroup: { shape: "S1d" } }, }, }, - CreateTestGridUrl: { + CreateDBSecurityGroup: { input: { type: "structure", - required: ["projectArn", "expiresInSeconds"], + required: ["DBSecurityGroupName", "DBSecurityGroupDescription"], members: { - projectArn: {}, - expiresInSeconds: { type: "integer" }, + DBSecurityGroupName: {}, + DBSecurityGroupDescription: {}, }, }, output: { + resultWrapper: "CreateDBSecurityGroupResult", type: "structure", - members: { url: {}, expires: { type: "timestamp" } }, + members: { DBSecurityGroup: { shape: "Sd" } }, }, }, - CreateUpload: { + CreateDBSnapshot: { input: { type: "structure", - required: ["projectArn", "name", "type"], - members: { projectArn: {}, name: {}, type: {}, contentType: {} }, + required: ["DBSnapshotIdentifier", "DBInstanceIdentifier"], + members: { DBSnapshotIdentifier: {}, DBInstanceIdentifier: {} }, }, output: { + resultWrapper: "CreateDBSnapshotResult", type: "structure", - members: { upload: { shape: "S1w" } }, + members: { DBSnapshot: { shape: "Sk" } }, }, }, - CreateVPCEConfiguration: { + CreateDBSubnetGroup: { input: { type: "structure", required: [ - "vpceConfigurationName", - "vpceServiceName", - "serviceDnsName", + "DBSubnetGroupName", + "DBSubnetGroupDescription", + "SubnetIds", ], members: { - vpceConfigurationName: {}, - vpceServiceName: {}, - serviceDnsName: {}, - vpceConfigurationDescription: {}, + DBSubnetGroupName: {}, + DBSubnetGroupDescription: {}, + SubnetIds: { shape: "S1j" }, }, }, output: { + resultWrapper: "CreateDBSubnetGroupResult", type: "structure", - members: { vpceConfiguration: { shape: "S27" } }, + members: { DBSubnetGroup: { shape: "S11" } }, }, }, - DeleteDevicePool: { + CreateEventSubscription: { input: { type: "structure", - required: ["arn"], - members: { arn: {} }, + required: ["SubscriptionName", "SnsTopicArn"], + members: { + SubscriptionName: {}, + SnsTopicArn: {}, + SourceType: {}, + EventCategories: { shape: "S6" }, + SourceIds: { shape: "S5" }, + Enabled: { type: "boolean" }, + }, }, - output: { type: "structure", members: {} }, - }, - DeleteInstanceProfile: { - input: { + output: { + resultWrapper: "CreateEventSubscriptionResult", type: "structure", - required: ["arn"], - members: { arn: {} }, + members: { EventSubscription: { shape: "S4" } }, }, - output: { type: "structure", members: {} }, }, - DeleteNetworkProfile: { + CreateOptionGroup: { input: { type: "structure", - required: ["arn"], - members: { arn: {} }, + required: [ + "OptionGroupName", + "EngineName", + "MajorEngineVersion", + "OptionGroupDescription", + ], + members: { + OptionGroupName: {}, + EngineName: {}, + MajorEngineVersion: {}, + OptionGroupDescription: {}, + }, }, - output: { type: "structure", members: {} }, - }, - DeleteProject: { - input: { + output: { + resultWrapper: "CreateOptionGroupResult", type: "structure", - required: ["arn"], - members: { arn: {} }, + members: { OptionGroup: { shape: "S1p" } }, }, - output: { type: "structure", members: {} }, }, - DeleteRemoteAccessSession: { + DeleteDBInstance: { input: { type: "structure", - required: ["arn"], - members: { arn: {} }, + required: ["DBInstanceIdentifier"], + members: { + DBInstanceIdentifier: {}, + SkipFinalSnapshot: { type: "boolean" }, + FinalDBSnapshotIdentifier: {}, + }, }, - output: { type: "structure", members: {} }, - }, - DeleteRun: { - input: { + output: { + resultWrapper: "DeleteDBInstanceResult", type: "structure", - required: ["arn"], - members: { arn: {} }, + members: { DBInstance: { shape: "St" } }, }, - output: { type: "structure", members: {} }, }, - DeleteTestGridProject: { + DeleteDBParameterGroup: { input: { type: "structure", - required: ["projectArn"], - members: { projectArn: {} }, + required: ["DBParameterGroupName"], + members: { DBParameterGroupName: {} }, }, - output: { type: "structure", members: {} }, }, - DeleteUpload: { + DeleteDBSecurityGroup: { input: { type: "structure", - required: ["arn"], - members: { arn: {} }, + required: ["DBSecurityGroupName"], + members: { DBSecurityGroupName: {} }, }, - output: { type: "structure", members: {} }, }, - DeleteVPCEConfiguration: { + DeleteDBSnapshot: { input: { type: "structure", - required: ["arn"], - members: { arn: {} }, + required: ["DBSnapshotIdentifier"], + members: { DBSnapshotIdentifier: {} }, }, - output: { type: "structure", members: {} }, - }, - GetAccountSettings: { - input: { type: "structure", members: {} }, output: { + resultWrapper: "DeleteDBSnapshotResult", type: "structure", - members: { - accountSettings: { - type: "structure", - members: { - awsAccountNumber: {}, - unmeteredDevices: { shape: "S2u" }, - unmeteredRemoteAccessDevices: { shape: "S2u" }, - maxJobTimeoutMinutes: { type: "integer" }, - trialMinutes: { - type: "structure", - members: { - total: { type: "double" }, - remaining: { type: "double" }, - }, - }, - maxSlots: { - type: "map", - key: {}, - value: { type: "integer" }, - }, - defaultJobTimeoutMinutes: { type: "integer" }, - skipAppResign: { type: "boolean" }, - }, - }, - }, + members: { DBSnapshot: { shape: "Sk" } }, }, }, - GetDevice: { + DeleteDBSubnetGroup: { input: { type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { device: { shape: "S15" } }, + required: ["DBSubnetGroupName"], + members: { DBSubnetGroupName: {} }, }, }, - GetDeviceInstance: { + DeleteEventSubscription: { input: { type: "structure", - required: ["arn"], - members: { arn: {} }, + required: ["SubscriptionName"], + members: { SubscriptionName: {} }, }, output: { + resultWrapper: "DeleteEventSubscriptionResult", type: "structure", - members: { deviceInstance: { shape: "S1c" } }, + members: { EventSubscription: { shape: "S4" } }, }, }, - GetDevicePool: { + DeleteOptionGroup: { input: { type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { devicePool: { shape: "Sc" } }, + required: ["OptionGroupName"], + members: { OptionGroupName: {} }, }, }, - GetDevicePoolCompatibility: { + DescribeDBEngineVersions: { input: { type: "structure", - required: ["devicePoolArn"], members: { - devicePoolArn: {}, - appArn: {}, - testType: {}, - test: { shape: "S35" }, - configuration: { shape: "S38" }, + Engine: {}, + EngineVersion: {}, + DBParameterGroupFamily: {}, + MaxRecords: { type: "integer" }, + Marker: {}, + DefaultOnly: { type: "boolean" }, + ListSupportedCharacterSets: { type: "boolean" }, }, }, output: { + resultWrapper: "DescribeDBEngineVersionsResult", type: "structure", members: { - compatibleDevices: { shape: "S3g" }, - incompatibleDevices: { shape: "S3g" }, + Marker: {}, + DBEngineVersions: { + type: "list", + member: { + locationName: "DBEngineVersion", + type: "structure", + members: { + Engine: {}, + EngineVersion: {}, + DBParameterGroupFamily: {}, + DBEngineDescription: {}, + DBEngineVersionDescription: {}, + DefaultCharacterSet: { shape: "S28" }, + SupportedCharacterSets: { + type: "list", + member: { shape: "S28", locationName: "CharacterSet" }, + }, + }, + }, + }, }, }, }, - GetInstanceProfile: { + DescribeDBInstances: { input: { type: "structure", - required: ["arn"], - members: { arn: {} }, + members: { + DBInstanceIdentifier: {}, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { - type: "structure", - members: { instanceProfile: { shape: "Si" } }, - }, - }, - GetJob: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { job: { shape: "S3o" } } }, - }, - GetNetworkProfile: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { networkProfile: { shape: "So" } }, - }, - }, - GetOfferingStatus: { - input: { type: "structure", members: { nextToken: {} } }, - output: { + resultWrapper: "DescribeDBInstancesResult", type: "structure", members: { - current: { shape: "S3w" }, - nextPeriod: { shape: "S3w" }, - nextToken: {}, + Marker: {}, + DBInstances: { + type: "list", + member: { shape: "St", locationName: "DBInstance" }, + }, }, }, }, - GetProject: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { project: { shape: "Ss" } }, - }, - }, - GetRemoteAccessSession: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { remoteAccessSession: { shape: "S12" } }, - }, - }, - GetRun: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { run: { shape: "S4d" } } }, - }, - GetSuite: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { suite: { shape: "S4m" } } }, - }, - GetTest: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { test: { shape: "S4p" } } }, - }, - GetTestGridProject: { - input: { - type: "structure", - required: ["projectArn"], - members: { projectArn: {} }, - }, - output: { - type: "structure", - members: { testGridProject: { shape: "S1n" } }, - }, - }, - GetTestGridSession: { - input: { - type: "structure", - members: { projectArn: {}, sessionId: {}, sessionArn: {} }, - }, - output: { - type: "structure", - members: { testGridSession: { shape: "S4v" } }, - }, - }, - GetUpload: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { upload: { shape: "S1w" } }, - }, - }, - GetVPCEConfiguration: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { - type: "structure", - members: { vpceConfiguration: { shape: "S27" } }, - }, - }, - InstallToRemoteAccessSession: { - input: { - type: "structure", - required: ["remoteAccessSessionArn", "appArn"], - members: { remoteAccessSessionArn: {}, appArn: {} }, - }, - output: { - type: "structure", - members: { appUpload: { shape: "S1w" } }, - }, - }, - ListArtifacts: { + DescribeDBLogFiles: { input: { type: "structure", - required: ["arn", "type"], - members: { arn: {}, type: {}, nextToken: {} }, + required: ["DBInstanceIdentifier"], + members: { + DBInstanceIdentifier: {}, + FilenameContains: {}, + FileLastWritten: { type: "long" }, + FileSize: { type: "long" }, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { + resultWrapper: "DescribeDBLogFilesResult", type: "structure", members: { - artifacts: { + DescribeDBLogFiles: { type: "list", member: { + locationName: "DescribeDBLogFilesDetails", type: "structure", members: { - arn: {}, - name: {}, - type: {}, - extension: {}, - url: {}, + LogFileName: {}, + LastWritten: { type: "long" }, + Size: { type: "long" }, }, }, }, - nextToken: {}, + Marker: {}, }, }, }, - ListDeviceInstances: { + DescribeDBParameterGroups: { input: { type: "structure", - members: { maxResults: { type: "integer" }, nextToken: {} }, + members: { + DBParameterGroupName: {}, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { + resultWrapper: "DescribeDBParameterGroupsResult", type: "structure", - members: { deviceInstances: { shape: "S1b" }, nextToken: {} }, + members: { + Marker: {}, + DBParameterGroups: { + type: "list", + member: { shape: "S1d", locationName: "DBParameterGroup" }, + }, + }, }, }, - ListDevicePools: { + DescribeDBParameters: { input: { type: "structure", - required: ["arn"], - members: { arn: {}, type: {}, nextToken: {} }, + required: ["DBParameterGroupName"], + members: { + DBParameterGroupName: {}, + Source: {}, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { + resultWrapper: "DescribeDBParametersResult", type: "structure", - members: { - devicePools: { type: "list", member: { shape: "Sc" } }, - nextToken: {}, - }, + members: { Parameters: { shape: "S2n" }, Marker: {} }, }, }, - ListDevices: { + DescribeDBSecurityGroups: { input: { type: "structure", - members: { arn: {}, nextToken: {}, filters: { shape: "S4g" } }, + members: { + DBSecurityGroupName: {}, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { + resultWrapper: "DescribeDBSecurityGroupsResult", type: "structure", members: { - devices: { type: "list", member: { shape: "S15" } }, - nextToken: {}, + Marker: {}, + DBSecurityGroups: { + type: "list", + member: { shape: "Sd", locationName: "DBSecurityGroup" }, + }, }, }, }, - ListInstanceProfiles: { + DescribeDBSnapshots: { input: { type: "structure", - members: { maxResults: { type: "integer" }, nextToken: {} }, + members: { + DBInstanceIdentifier: {}, + DBSnapshotIdentifier: {}, + SnapshotType: {}, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { + resultWrapper: "DescribeDBSnapshotsResult", type: "structure", members: { - instanceProfiles: { type: "list", member: { shape: "Si" } }, - nextToken: {}, + Marker: {}, + DBSnapshots: { + type: "list", + member: { shape: "Sk", locationName: "DBSnapshot" }, + }, }, }, }, - ListJobs: { + DescribeDBSubnetGroups: { input: { type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, + members: { + DBSubnetGroupName: {}, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { + resultWrapper: "DescribeDBSubnetGroupsResult", type: "structure", members: { - jobs: { type: "list", member: { shape: "S3o" } }, - nextToken: {}, + Marker: {}, + DBSubnetGroups: { + type: "list", + member: { shape: "S11", locationName: "DBSubnetGroup" }, + }, }, }, }, - ListNetworkProfiles: { + DescribeEngineDefaultParameters: { input: { type: "structure", - required: ["arn"], - members: { arn: {}, type: {}, nextToken: {} }, - }, - output: { - type: "structure", + required: ["DBParameterGroupFamily"], members: { - networkProfiles: { type: "list", member: { shape: "So" } }, - nextToken: {}, + DBParameterGroupFamily: {}, + MaxRecords: { type: "integer" }, + Marker: {}, }, }, - }, - ListOfferingPromotions: { - input: { type: "structure", members: { nextToken: {} } }, output: { + resultWrapper: "DescribeEngineDefaultParametersResult", type: "structure", members: { - offeringPromotions: { - type: "list", - member: { - type: "structure", - members: { id: {}, description: {} }, + EngineDefaults: { + type: "structure", + members: { + DBParameterGroupFamily: {}, + Marker: {}, + Parameters: { shape: "S2n" }, }, + wrapper: true, }, - nextToken: {}, }, }, }, - ListOfferingTransactions: { - input: { type: "structure", members: { nextToken: {} } }, + DescribeEventCategories: { + input: { type: "structure", members: { SourceType: {} } }, output: { + resultWrapper: "DescribeEventCategoriesResult", type: "structure", members: { - offeringTransactions: { + EventCategoriesMapList: { type: "list", - member: { shape: "S5y" }, + member: { + locationName: "EventCategoriesMap", + type: "structure", + members: { + SourceType: {}, + EventCategories: { shape: "S6" }, + }, + wrapper: true, + }, }, - nextToken: {}, }, }, }, - ListOfferings: { - input: { type: "structure", members: { nextToken: {} } }, - output: { + DescribeEventSubscriptions: { + input: { type: "structure", members: { - offerings: { type: "list", member: { shape: "S40" } }, - nextToken: {}, + SubscriptionName: {}, + MaxRecords: { type: "integer" }, + Marker: {}, }, }, - }, - ListProjects: { - input: { type: "structure", members: { arn: {}, nextToken: {} } }, output: { + resultWrapper: "DescribeEventSubscriptionsResult", type: "structure", members: { - projects: { type: "list", member: { shape: "Ss" } }, - nextToken: {}, + Marker: {}, + EventSubscriptionsList: { + type: "list", + member: { shape: "S4", locationName: "EventSubscription" }, + }, }, }, }, - ListRemoteAccessSessions: { + DescribeEvents: { input: { type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, + members: { + SourceIdentifier: {}, + SourceType: {}, + StartTime: { type: "timestamp" }, + EndTime: { type: "timestamp" }, + Duration: { type: "integer" }, + EventCategories: { shape: "S6" }, + MaxRecords: { type: "integer" }, + Marker: {}, + }, }, output: { + resultWrapper: "DescribeEventsResult", type: "structure", members: { - remoteAccessSessions: { + Marker: {}, + Events: { type: "list", - member: { shape: "S12" }, + member: { + locationName: "Event", + type: "structure", + members: { + SourceIdentifier: {}, + SourceType: {}, + Message: {}, + EventCategories: { shape: "S6" }, + Date: { type: "timestamp" }, + }, + }, }, - nextToken: {}, }, }, }, - ListRuns: { + DescribeOptionGroupOptions: { input: { type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, - }, - output: { - type: "structure", + required: ["EngineName"], members: { - runs: { type: "list", member: { shape: "S4d" } }, - nextToken: {}, + EngineName: {}, + MajorEngineVersion: {}, + MaxRecords: { type: "integer" }, + Marker: {}, }, }, - }, - ListSamples: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, - }, output: { + resultWrapper: "DescribeOptionGroupOptionsResult", type: "structure", members: { - samples: { + OptionGroupOptions: { type: "list", member: { + locationName: "OptionGroupOption", type: "structure", - members: { arn: {}, type: {}, url: {} }, + members: { + Name: {}, + Description: {}, + EngineName: {}, + MajorEngineVersion: {}, + MinimumRequiredMinorEngineVersion: {}, + PortRequired: { type: "boolean" }, + DefaultPort: { type: "integer" }, + OptionsDependedOn: { + type: "list", + member: { locationName: "OptionName" }, + }, + Persistent: { type: "boolean" }, + OptionGroupOptionSettings: { + type: "list", + member: { + locationName: "OptionGroupOptionSetting", + type: "structure", + members: { + SettingName: {}, + SettingDescription: {}, + DefaultValue: {}, + ApplyType: {}, + AllowedValues: {}, + IsModifiable: { type: "boolean" }, + }, + }, + }, + }, }, }, - nextToken: {}, + Marker: {}, }, }, }, - ListSuites: { + DescribeOptionGroups: { input: { - type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, - }, - output: { type: "structure", members: { - suites: { type: "list", member: { shape: "S4m" } }, - nextToken: {}, + OptionGroupName: {}, + Marker: {}, + MaxRecords: { type: "integer" }, + EngineName: {}, + MajorEngineVersion: {}, }, }, - }, - ListTagsForResource: { - input: { - type: "structure", - required: ["ResourceARN"], - members: { ResourceARN: {} }, - }, - output: { type: "structure", members: { Tags: { shape: "S6m" } } }, - }, - ListTestGridProjects: { - input: { - type: "structure", - members: { maxResult: { type: "integer" }, nextToken: {} }, - }, output: { + resultWrapper: "DescribeOptionGroupsResult", type: "structure", members: { - testGridProjects: { type: "list", member: { shape: "S1n" } }, - nextToken: {}, + OptionGroupsList: { + type: "list", + member: { shape: "S1p", locationName: "OptionGroup" }, + }, + Marker: {}, }, }, }, - ListTestGridSessionActions: { + DescribeOrderableDBInstanceOptions: { input: { type: "structure", - required: ["sessionArn"], + required: ["Engine"], members: { - sessionArn: {}, - maxResult: { type: "integer" }, - nextToken: {}, + Engine: {}, + EngineVersion: {}, + DBInstanceClass: {}, + LicenseModel: {}, + Vpc: { type: "boolean" }, + MaxRecords: { type: "integer" }, + Marker: {}, }, }, output: { + resultWrapper: "DescribeOrderableDBInstanceOptionsResult", type: "structure", members: { - actions: { + OrderableDBInstanceOptions: { type: "list", member: { + locationName: "OrderableDBInstanceOption", type: "structure", members: { - action: {}, - started: { type: "timestamp" }, - duration: { type: "long" }, - statusCode: {}, - requestMethod: {}, + Engine: {}, + EngineVersion: {}, + DBInstanceClass: {}, + LicenseModel: {}, + AvailabilityZones: { + type: "list", + member: { + shape: "S14", + locationName: "AvailabilityZone", + }, + }, + MultiAZCapable: { type: "boolean" }, + ReadReplicaCapable: { type: "boolean" }, + Vpc: { type: "boolean" }, }, + wrapper: true, }, }, - nextToken: {}, + Marker: {}, }, }, }, - ListTestGridSessionArtifacts: { + DescribeReservedDBInstances: { input: { type: "structure", - required: ["sessionArn"], members: { - sessionArn: {}, - type: {}, - maxResult: { type: "integer" }, - nextToken: {}, + ReservedDBInstanceId: {}, + ReservedDBInstancesOfferingId: {}, + DBInstanceClass: {}, + Duration: {}, + ProductDescription: {}, + OfferingType: {}, + MultiAZ: { type: "boolean" }, + MaxRecords: { type: "integer" }, + Marker: {}, }, }, output: { + resultWrapper: "DescribeReservedDBInstancesResult", type: "structure", members: { - artifacts: { + Marker: {}, + ReservedDBInstances: { type: "list", - member: { - type: "structure", - members: { filename: {}, type: {}, url: {} }, - }, + member: { shape: "S3w", locationName: "ReservedDBInstance" }, }, - nextToken: {}, }, }, }, - ListTestGridSessions: { + DescribeReservedDBInstancesOfferings: { input: { type: "structure", - required: ["projectArn"], members: { - projectArn: {}, - status: {}, - creationTimeAfter: { type: "timestamp" }, - creationTimeBefore: { type: "timestamp" }, - endTimeAfter: { type: "timestamp" }, - endTimeBefore: { type: "timestamp" }, - maxResult: { type: "integer" }, - nextToken: {}, + ReservedDBInstancesOfferingId: {}, + DBInstanceClass: {}, + Duration: {}, + ProductDescription: {}, + OfferingType: {}, + MultiAZ: { type: "boolean" }, + MaxRecords: { type: "integer" }, + Marker: {}, }, }, output: { + resultWrapper: "DescribeReservedDBInstancesOfferingsResult", type: "structure", members: { - testGridSessions: { type: "list", member: { shape: "S4v" } }, - nextToken: {}, + Marker: {}, + ReservedDBInstancesOfferings: { + type: "list", + member: { + locationName: "ReservedDBInstancesOffering", + type: "structure", + members: { + ReservedDBInstancesOfferingId: {}, + DBInstanceClass: {}, + Duration: { type: "integer" }, + FixedPrice: { type: "double" }, + UsagePrice: { type: "double" }, + CurrencyCode: {}, + ProductDescription: {}, + OfferingType: {}, + MultiAZ: { type: "boolean" }, + RecurringCharges: { shape: "S3y" }, + }, + wrapper: true, + }, + }, }, }, }, - ListTests: { + DownloadDBLogFilePortion: { input: { type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, + required: ["DBInstanceIdentifier", "LogFileName"], + members: { + DBInstanceIdentifier: {}, + LogFileName: {}, + Marker: {}, + NumberOfLines: { type: "integer" }, + }, }, output: { + resultWrapper: "DownloadDBLogFilePortionResult", type: "structure", members: { - tests: { type: "list", member: { shape: "S4p" } }, - nextToken: {}, + LogFileData: {}, + Marker: {}, + AdditionalDataPending: { type: "boolean" }, }, }, }, - ListUniqueProblems: { + ListTagsForResource: { input: { type: "structure", - required: ["arn"], - members: { arn: {}, nextToken: {} }, + required: ["ResourceName"], + members: { ResourceName: {} }, }, output: { + resultWrapper: "ListTagsForResourceResult", type: "structure", - members: { - uniqueProblems: { - type: "map", - key: {}, - value: { - type: "list", - member: { - type: "structure", - members: { - message: {}, - problems: { - type: "list", - member: { - type: "structure", - members: { - run: { shape: "S7h" }, - job: { shape: "S7h" }, - suite: { shape: "S7h" }, - test: { shape: "S7h" }, - device: { shape: "S15" }, - result: {}, - message: {}, - }, - }, - }, - }, - }, - }, - }, - nextToken: {}, - }, + members: { TagList: { shape: "S9" } }, }, }, - ListUploads: { + ModifyDBInstance: { input: { type: "structure", - required: ["arn"], - members: { arn: {}, type: {}, nextToken: {} }, + required: ["DBInstanceIdentifier"], + members: { + DBInstanceIdentifier: {}, + AllocatedStorage: { type: "integer" }, + DBInstanceClass: {}, + DBSecurityGroups: { shape: "Sp" }, + VpcSecurityGroupIds: { shape: "Sq" }, + ApplyImmediately: { type: "boolean" }, + MasterUserPassword: {}, + DBParameterGroupName: {}, + BackupRetentionPeriod: { type: "integer" }, + PreferredBackupWindow: {}, + PreferredMaintenanceWindow: {}, + MultiAZ: { type: "boolean" }, + EngineVersion: {}, + AllowMajorVersionUpgrade: { type: "boolean" }, + AutoMinorVersionUpgrade: { type: "boolean" }, + Iops: { type: "integer" }, + OptionGroupName: {}, + NewDBInstanceIdentifier: {}, + }, }, output: { + resultWrapper: "ModifyDBInstanceResult", type: "structure", - members: { - uploads: { type: "list", member: { shape: "S1w" } }, - nextToken: {}, - }, + members: { DBInstance: { shape: "St" } }, }, }, - ListVPCEConfigurations: { + ModifyDBParameterGroup: { input: { type: "structure", - members: { maxResults: { type: "integer" }, nextToken: {} }, - }, - output: { - type: "structure", + required: ["DBParameterGroupName", "Parameters"], members: { - vpceConfigurations: { type: "list", member: { shape: "S27" } }, - nextToken: {}, + DBParameterGroupName: {}, + Parameters: { shape: "S2n" }, }, }, + output: { + shape: "S4b", + resultWrapper: "ModifyDBParameterGroupResult", + }, }, - PurchaseOffering: { + ModifyDBSubnetGroup: { input: { type: "structure", + required: ["DBSubnetGroupName", "SubnetIds"], members: { - offeringId: {}, - quantity: { type: "integer" }, - offeringPromotionId: {}, + DBSubnetGroupName: {}, + DBSubnetGroupDescription: {}, + SubnetIds: { shape: "S1j" }, }, }, output: { + resultWrapper: "ModifyDBSubnetGroupResult", type: "structure", - members: { offeringTransaction: { shape: "S5y" } }, + members: { DBSubnetGroup: { shape: "S11" } }, }, }, - RenewOffering: { + ModifyEventSubscription: { input: { type: "structure", - members: { offeringId: {}, quantity: { type: "integer" } }, + required: ["SubscriptionName"], + members: { + SubscriptionName: {}, + SnsTopicArn: {}, + SourceType: {}, + EventCategories: { shape: "S6" }, + Enabled: { type: "boolean" }, + }, }, output: { + resultWrapper: "ModifyEventSubscriptionResult", type: "structure", - members: { offeringTransaction: { shape: "S5y" } }, + members: { EventSubscription: { shape: "S4" } }, }, }, - ScheduleRun: { + ModifyOptionGroup: { input: { type: "structure", - required: ["projectArn", "test"], + required: ["OptionGroupName"], members: { - projectArn: {}, - appArn: {}, - devicePoolArn: {}, - deviceSelectionConfiguration: { - type: "structure", - required: ["filters", "maxDevices"], - members: { - filters: { shape: "S4g" }, - maxDevices: { type: "integer" }, - }, - }, - name: {}, - test: { shape: "S35" }, - configuration: { shape: "S38" }, - executionConfiguration: { - type: "structure", - members: { - jobTimeoutMinutes: { type: "integer" }, - accountsCleanup: { type: "boolean" }, - appPackagesCleanup: { type: "boolean" }, - videoCapture: { type: "boolean" }, - skipAppResign: { type: "boolean" }, + OptionGroupName: {}, + OptionsToInclude: { + type: "list", + member: { + locationName: "OptionConfiguration", + type: "structure", + required: ["OptionName"], + members: { + OptionName: {}, + Port: { type: "integer" }, + DBSecurityGroupMemberships: { shape: "Sp" }, + VpcSecurityGroupMemberships: { shape: "Sq" }, + OptionSettings: { + type: "list", + member: { shape: "S1t", locationName: "OptionSetting" }, + }, + }, }, }, + OptionsToRemove: { type: "list", member: {} }, + ApplyImmediately: { type: "boolean" }, }, }, - output: { type: "structure", members: { run: { shape: "S4d" } } }, - }, - StopJob: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, - output: { type: "structure", members: { job: { shape: "S3o" } } }, - }, - StopRemoteAccessSession: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {} }, - }, output: { + resultWrapper: "ModifyOptionGroupResult", type: "structure", - members: { remoteAccessSession: { shape: "S12" } }, + members: { OptionGroup: { shape: "S1p" } }, }, }, - StopRun: { + PromoteReadReplica: { input: { type: "structure", - required: ["arn"], - members: { arn: {} }, + required: ["DBInstanceIdentifier"], + members: { + DBInstanceIdentifier: {}, + BackupRetentionPeriod: { type: "integer" }, + PreferredBackupWindow: {}, + }, }, - output: { type: "structure", members: { run: { shape: "S4d" } } }, - }, - TagResource: { - input: { + output: { + resultWrapper: "PromoteReadReplicaResult", type: "structure", - required: ["ResourceARN", "Tags"], - members: { ResourceARN: {}, Tags: { shape: "S6m" } }, + members: { DBInstance: { shape: "St" } }, }, - output: { type: "structure", members: {} }, }, - UntagResource: { + PurchaseReservedDBInstancesOffering: { input: { type: "structure", - required: ["ResourceARN", "TagKeys"], + required: ["ReservedDBInstancesOfferingId"], members: { - ResourceARN: {}, - TagKeys: { type: "list", member: {} }, + ReservedDBInstancesOfferingId: {}, + ReservedDBInstanceId: {}, + DBInstanceCount: { type: "integer" }, }, }, - output: { type: "structure", members: {} }, - }, - UpdateDeviceInstance: { - input: { - type: "structure", - required: ["arn"], - members: { arn: {}, profileArn: {}, labels: { shape: "S1d" } }, - }, output: { + resultWrapper: "PurchaseReservedDBInstancesOfferingResult", type: "structure", - members: { deviceInstance: { shape: "S1c" } }, + members: { ReservedDBInstance: { shape: "S3w" } }, }, }, - UpdateDevicePool: { + RebootDBInstance: { input: { type: "structure", - required: ["arn"], + required: ["DBInstanceIdentifier"], members: { - arn: {}, - name: {}, - description: {}, - rules: { shape: "S5" }, - maxDevices: { type: "integer" }, - clearMaxDevices: { type: "boolean" }, + DBInstanceIdentifier: {}, + ForceFailover: { type: "boolean" }, }, }, output: { + resultWrapper: "RebootDBInstanceResult", type: "structure", - members: { devicePool: { shape: "Sc" } }, + members: { DBInstance: { shape: "St" } }, }, }, - UpdateInstanceProfile: { + RemoveSourceIdentifierFromSubscription: { input: { type: "structure", - required: ["arn"], - members: { - arn: {}, - name: {}, - description: {}, - packageCleanup: { type: "boolean" }, - excludeAppPackagesFromCleanup: { shape: "Sg" }, - rebootAfterUse: { type: "boolean" }, - }, + required: ["SubscriptionName", "SourceIdentifier"], + members: { SubscriptionName: {}, SourceIdentifier: {} }, }, output: { + resultWrapper: "RemoveSourceIdentifierFromSubscriptionResult", type: "structure", - members: { instanceProfile: { shape: "Si" } }, + members: { EventSubscription: { shape: "S4" } }, }, }, - UpdateNetworkProfile: { + RemoveTagsFromResource: { input: { type: "structure", - required: ["arn"], + required: ["ResourceName", "TagKeys"], members: { - arn: {}, - name: {}, - description: {}, - type: {}, - uplinkBandwidthBits: { type: "long" }, - downlinkBandwidthBits: { type: "long" }, - uplinkDelayMs: { type: "long" }, - downlinkDelayMs: { type: "long" }, - uplinkJitterMs: { type: "long" }, - downlinkJitterMs: { type: "long" }, - uplinkLossPercent: { type: "integer" }, - downlinkLossPercent: { type: "integer" }, + ResourceName: {}, + TagKeys: { type: "list", member: {} }, }, }, - output: { - type: "structure", - members: { networkProfile: { shape: "So" } }, - }, }, - UpdateProject: { + ResetDBParameterGroup: { input: { type: "structure", - required: ["arn"], + required: ["DBParameterGroupName"], members: { - arn: {}, - name: {}, - defaultJobTimeoutMinutes: { type: "integer" }, + DBParameterGroupName: {}, + ResetAllParameters: { type: "boolean" }, + Parameters: { shape: "S2n" }, }, }, output: { - type: "structure", - members: { project: { shape: "Ss" } }, + shape: "S4b", + resultWrapper: "ResetDBParameterGroupResult", }, }, - UpdateTestGridProject: { + RestoreDBInstanceFromDBSnapshot: { input: { type: "structure", - required: ["projectArn"], - members: { projectArn: {}, name: {}, description: {} }, + required: ["DBInstanceIdentifier", "DBSnapshotIdentifier"], + members: { + DBInstanceIdentifier: {}, + DBSnapshotIdentifier: {}, + DBInstanceClass: {}, + Port: { type: "integer" }, + AvailabilityZone: {}, + DBSubnetGroupName: {}, + MultiAZ: { type: "boolean" }, + PubliclyAccessible: { type: "boolean" }, + AutoMinorVersionUpgrade: { type: "boolean" }, + LicenseModel: {}, + DBName: {}, + Engine: {}, + Iops: { type: "integer" }, + OptionGroupName: {}, + }, }, output: { + resultWrapper: "RestoreDBInstanceFromDBSnapshotResult", type: "structure", - members: { testGridProject: { shape: "S1n" } }, + members: { DBInstance: { shape: "St" } }, }, }, - UpdateUpload: { + RestoreDBInstanceToPointInTime: { input: { type: "structure", - required: ["arn"], + required: [ + "SourceDBInstanceIdentifier", + "TargetDBInstanceIdentifier", + ], members: { - arn: {}, - name: {}, - contentType: {}, - editContent: { type: "boolean" }, + SourceDBInstanceIdentifier: {}, + TargetDBInstanceIdentifier: {}, + RestoreTime: { type: "timestamp" }, + UseLatestRestorableTime: { type: "boolean" }, + DBInstanceClass: {}, + Port: { type: "integer" }, + AvailabilityZone: {}, + DBSubnetGroupName: {}, + MultiAZ: { type: "boolean" }, + PubliclyAccessible: { type: "boolean" }, + AutoMinorVersionUpgrade: { type: "boolean" }, + LicenseModel: {}, + DBName: {}, + Engine: {}, + Iops: { type: "integer" }, + OptionGroupName: {}, }, }, output: { + resultWrapper: "RestoreDBInstanceToPointInTimeResult", type: "structure", - members: { upload: { shape: "S1w" } }, + members: { DBInstance: { shape: "St" } }, }, }, - UpdateVPCEConfiguration: { + RevokeDBSecurityGroupIngress: { input: { type: "structure", - required: ["arn"], + required: ["DBSecurityGroupName"], members: { - arn: {}, - vpceConfigurationName: {}, - vpceServiceName: {}, - serviceDnsName: {}, - vpceConfigurationDescription: {}, + DBSecurityGroupName: {}, + CIDRIP: {}, + EC2SecurityGroupName: {}, + EC2SecurityGroupId: {}, + EC2SecurityGroupOwnerId: {}, }, }, output: { + resultWrapper: "RevokeDBSecurityGroupIngressResult", type: "structure", - members: { vpceConfiguration: { shape: "S27" } }, + members: { DBSecurityGroup: { shape: "Sd" } }, }, }, }, shapes: { - S5: { - type: "list", - member: { - type: "structure", - members: { attribute: {}, operator: {}, value: {} }, - }, - }, - Sc: { + S4: { type: "structure", members: { - arn: {}, - name: {}, - description: {}, - type: {}, - rules: { shape: "S5" }, - maxDevices: { type: "integer" }, + CustomerAwsId: {}, + CustSubscriptionId: {}, + SnsTopicArn: {}, + Status: {}, + SubscriptionCreationTime: {}, + SourceType: {}, + SourceIdsList: { shape: "S5" }, + EventCategoriesList: { shape: "S6" }, + Enabled: { type: "boolean" }, }, + wrapper: true, }, - Sg: { type: "list", member: {} }, - Si: { - type: "structure", - members: { - arn: {}, - packageCleanup: { type: "boolean" }, - excludeAppPackagesFromCleanup: { shape: "Sg" }, - rebootAfterUse: { type: "boolean" }, - name: {}, - description: {}, + S5: { type: "list", member: { locationName: "SourceId" } }, + S6: { type: "list", member: { locationName: "EventCategory" } }, + S9: { + type: "list", + member: { + locationName: "Tag", + type: "structure", + members: { Key: {}, Value: {} }, }, }, - So: { + Sd: { type: "structure", members: { - arn: {}, - name: {}, - description: {}, - type: {}, - uplinkBandwidthBits: { type: "long" }, - downlinkBandwidthBits: { type: "long" }, - uplinkDelayMs: { type: "long" }, - downlinkDelayMs: { type: "long" }, - uplinkJitterMs: { type: "long" }, - downlinkJitterMs: { type: "long" }, - uplinkLossPercent: { type: "integer" }, - downlinkLossPercent: { type: "integer" }, + OwnerId: {}, + DBSecurityGroupName: {}, + DBSecurityGroupDescription: {}, + VpcId: {}, + EC2SecurityGroups: { + type: "list", + member: { + locationName: "EC2SecurityGroup", + type: "structure", + members: { + Status: {}, + EC2SecurityGroupName: {}, + EC2SecurityGroupId: {}, + EC2SecurityGroupOwnerId: {}, + }, + }, + }, + IPRanges: { + type: "list", + member: { + locationName: "IPRange", + type: "structure", + members: { Status: {}, CIDRIP: {} }, + }, + }, }, + wrapper: true, }, - Ss: { + Sk: { type: "structure", members: { - arn: {}, - name: {}, - defaultJobTimeoutMinutes: { type: "integer" }, - created: { type: "timestamp" }, + DBSnapshotIdentifier: {}, + DBInstanceIdentifier: {}, + SnapshotCreateTime: { type: "timestamp" }, + Engine: {}, + AllocatedStorage: { type: "integer" }, + Status: {}, + Port: { type: "integer" }, + AvailabilityZone: {}, + VpcId: {}, + InstanceCreateTime: { type: "timestamp" }, + MasterUsername: {}, + EngineVersion: {}, + LicenseModel: {}, + SnapshotType: {}, + Iops: { type: "integer" }, + OptionGroupName: {}, }, + wrapper: true, }, - Sz: { type: "list", member: {} }, - S12: { + Sp: { type: "list", member: { locationName: "DBSecurityGroupName" } }, + Sq: { type: "list", member: { locationName: "VpcSecurityGroupId" } }, + St: { type: "structure", members: { - arn: {}, - name: {}, - created: { type: "timestamp" }, - status: {}, - result: {}, - message: {}, - started: { type: "timestamp" }, - stopped: { type: "timestamp" }, - device: { shape: "S15" }, - instanceArn: {}, - remoteDebugEnabled: { type: "boolean" }, - remoteRecordEnabled: { type: "boolean" }, - remoteRecordAppArn: {}, - hostAddress: {}, - clientId: {}, - billingMethod: {}, - deviceMinutes: { shape: "S1h" }, - endpoint: {}, - deviceUdid: {}, - interactionMode: {}, - skipAppResign: { type: "boolean" }, - }, - }, - S15: { - type: "structure", - members: { - arn: {}, - name: {}, - manufacturer: {}, - model: {}, - modelId: {}, - formFactor: {}, - platform: {}, - os: {}, - cpu: { + DBInstanceIdentifier: {}, + DBInstanceClass: {}, + Engine: {}, + DBInstanceStatus: {}, + MasterUsername: {}, + DBName: {}, + Endpoint: { type: "structure", - members: { - frequency: {}, - architecture: {}, - clock: { type: "double" }, + members: { Address: {}, Port: { type: "integer" } }, + }, + AllocatedStorage: { type: "integer" }, + InstanceCreateTime: { type: "timestamp" }, + PreferredBackupWindow: {}, + BackupRetentionPeriod: { type: "integer" }, + DBSecurityGroups: { shape: "Sv" }, + VpcSecurityGroups: { shape: "Sx" }, + DBParameterGroups: { + type: "list", + member: { + locationName: "DBParameterGroup", + type: "structure", + members: { + DBParameterGroupName: {}, + ParameterApplyStatus: {}, + }, }, }, - resolution: { + AvailabilityZone: {}, + DBSubnetGroup: { shape: "S11" }, + PreferredMaintenanceWindow: {}, + PendingModifiedValues: { type: "structure", members: { - width: { type: "integer" }, - height: { type: "integer" }, + DBInstanceClass: {}, + AllocatedStorage: { type: "integer" }, + MasterUserPassword: {}, + Port: { type: "integer" }, + BackupRetentionPeriod: { type: "integer" }, + MultiAZ: { type: "boolean" }, + EngineVersion: {}, + Iops: { type: "integer" }, + DBInstanceIdentifier: {}, }, }, - heapSize: { type: "long" }, - memory: { type: "long" }, - image: {}, - carrier: {}, - radio: {}, - remoteAccessEnabled: { type: "boolean" }, - remoteDebugEnabled: { type: "boolean" }, - fleetType: {}, - fleetName: {}, - instances: { shape: "S1b" }, - availability: {}, + LatestRestorableTime: { type: "timestamp" }, + MultiAZ: { type: "boolean" }, + EngineVersion: {}, + AutoMinorVersionUpgrade: { type: "boolean" }, + ReadReplicaSourceDBInstanceIdentifier: {}, + ReadReplicaDBInstanceIdentifiers: { + type: "list", + member: { locationName: "ReadReplicaDBInstanceIdentifier" }, + }, + LicenseModel: {}, + Iops: { type: "integer" }, + OptionGroupMemberships: { + type: "list", + member: { + locationName: "OptionGroupMembership", + type: "structure", + members: { OptionGroupName: {}, Status: {} }, + }, + }, + CharacterSetName: {}, + SecondaryAvailabilityZone: {}, + PubliclyAccessible: { type: "boolean" }, }, + wrapper: true, }, - S1b: { type: "list", member: { shape: "S1c" } }, - S1c: { - type: "structure", - members: { - arn: {}, - deviceArn: {}, - labels: { shape: "S1d" }, - status: {}, - udid: {}, - instanceProfile: { shape: "Si" }, + Sv: { + type: "list", + member: { + locationName: "DBSecurityGroup", + type: "structure", + members: { DBSecurityGroupName: {}, Status: {} }, }, }, - S1d: { type: "list", member: {} }, - S1h: { - type: "structure", - members: { - total: { type: "double" }, - metered: { type: "double" }, - unmetered: { type: "double" }, + Sx: { + type: "list", + member: { + locationName: "VpcSecurityGroupMembership", + type: "structure", + members: { VpcSecurityGroupId: {}, Status: {} }, }, }, - S1n: { + S11: { type: "structure", members: { - arn: {}, - name: {}, - description: {}, - created: { type: "timestamp" }, + DBSubnetGroupName: {}, + DBSubnetGroupDescription: {}, + VpcId: {}, + SubnetGroupStatus: {}, + Subnets: { + type: "list", + member: { + locationName: "Subnet", + type: "structure", + members: { + SubnetIdentifier: {}, + SubnetAvailabilityZone: { shape: "S14" }, + SubnetStatus: {}, + }, + }, + }, }, + wrapper: true, }, - S1w: { + S14: { type: "structure", - members: { - arn: {}, - name: {}, - created: { type: "timestamp" }, - type: {}, - status: {}, - url: {}, - metadata: {}, - contentType: {}, - message: {}, - category: {}, - }, + members: { Name: {}, ProvisionedIopsCapable: { type: "boolean" } }, + wrapper: true, }, - S27: { + S1d: { type: "structure", members: { - arn: {}, - vpceConfigurationName: {}, - vpceServiceName: {}, - serviceDnsName: {}, - vpceConfigurationDescription: {}, + DBParameterGroupName: {}, + DBParameterGroupFamily: {}, + Description: {}, }, + wrapper: true, }, - S2u: { type: "map", key: {}, value: { type: "integer" } }, - S35: { + S1j: { type: "list", member: { locationName: "SubnetIdentifier" } }, + S1p: { type: "structure", - required: ["type"], members: { - type: {}, - testPackageArn: {}, - testSpecArn: {}, - filter: {}, - parameters: { type: "map", key: {}, value: {} }, + OptionGroupName: {}, + OptionGroupDescription: {}, + EngineName: {}, + MajorEngineVersion: {}, + Options: { + type: "list", + member: { + locationName: "Option", + type: "structure", + members: { + OptionName: {}, + OptionDescription: {}, + Persistent: { type: "boolean" }, + Port: { type: "integer" }, + OptionSettings: { + type: "list", + member: { shape: "S1t", locationName: "OptionSetting" }, + }, + DBSecurityGroupMemberships: { shape: "Sv" }, + VpcSecurityGroupMemberships: { shape: "Sx" }, + }, + }, + }, + AllowsVpcAndNonVpcInstanceMemberships: { type: "boolean" }, + VpcId: {}, }, + wrapper: true, }, - S38: { + S1t: { type: "structure", members: { - extraDataPackageArn: {}, - networkProfileArn: {}, - locale: {}, - location: { shape: "S39" }, - vpceConfigurationArns: { shape: "Sz" }, - customerArtifactPaths: { shape: "S3a" }, - radios: { shape: "S3e" }, - auxiliaryApps: { shape: "Sz" }, - billingMethod: {}, + Name: {}, + Value: {}, + DefaultValue: {}, + Description: {}, + ApplyType: {}, + DataType: {}, + AllowedValues: {}, + IsModifiable: { type: "boolean" }, + IsCollection: { type: "boolean" }, }, }, - S39: { + S28: { type: "structure", - required: ["latitude", "longitude"], - members: { - latitude: { type: "double" }, - longitude: { type: "double" }, - }, + members: { CharacterSetName: {}, CharacterSetDescription: {} }, }, - S3a: { - type: "structure", - members: { - iosPaths: { type: "list", member: {} }, - androidPaths: { type: "list", member: {} }, - deviceHostPaths: { type: "list", member: {} }, + S2n: { + type: "list", + member: { + locationName: "Parameter", + type: "structure", + members: { + ParameterName: {}, + ParameterValue: {}, + Description: {}, + Source: {}, + ApplyType: {}, + DataType: {}, + AllowedValues: {}, + IsModifiable: { type: "boolean" }, + MinimumEngineVersion: {}, + ApplyMethod: {}, + }, }, }, - S3e: { + S3w: { type: "structure", members: { - wifi: { type: "boolean" }, - bluetooth: { type: "boolean" }, - nfc: { type: "boolean" }, - gps: { type: "boolean" }, + ReservedDBInstanceId: {}, + ReservedDBInstancesOfferingId: {}, + DBInstanceClass: {}, + StartTime: { type: "timestamp" }, + Duration: { type: "integer" }, + FixedPrice: { type: "double" }, + UsagePrice: { type: "double" }, + CurrencyCode: {}, + DBInstanceCount: { type: "integer" }, + ProductDescription: {}, + OfferingType: {}, + MultiAZ: { type: "boolean" }, + State: {}, + RecurringCharges: { shape: "S3y" }, }, + wrapper: true, }, - S3g: { + S3y: { type: "list", member: { + locationName: "RecurringCharge", type: "structure", members: { - device: { shape: "S15" }, - compatible: { type: "boolean" }, - incompatibilityMessages: { - type: "list", - member: { - type: "structure", - members: { message: {}, type: {} }, + RecurringChargeAmount: { type: "double" }, + RecurringChargeFrequency: {}, + }, + wrapper: true, + }, + }, + S4b: { type: "structure", members: { DBParameterGroupName: {} } }, + }, + }; + + /***/ + }, + + /***/ 4238: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); + + // pull in CloudFront signer + __webpack_require__(1647); + + AWS.util.update(AWS.CloudFront.prototype, { + setupRequestListeners: function setupRequestListeners(request) { + request.addListener("extractData", AWS.util.hoistPayloadMember); + }, + }); + + /***/ + }, + + /***/ 4252: /***/ function (module) { + module.exports = { pagination: {} }; + + /***/ + }, + + /***/ 4258: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; + + apiLoader.services["waf"] = {}; + AWS.WAF = Service.defineService("waf", ["2015-08-24"]); + Object.defineProperty(apiLoader.services["waf"], "2015-08-24", { + get: function get() { + var model = __webpack_require__(5340); + model.paginators = __webpack_require__(9732).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); + + module.exports = AWS.WAF; + + /***/ + }, + + /***/ 4259: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2020-11-20", + endpointPrefix: "lookoutvision", + jsonVersion: "1.1", + protocol: "rest-json", + serviceFullName: "Amazon Lookout for Vision", + serviceId: "LookoutVision", + signatureVersion: "v4", + signingName: "lookoutvision", + uid: "lookoutvision-2020-11-20", + }, + operations: { + CreateDataset: { + http: { + requestUri: "/2020-11-20/projects/{projectName}/datasets", + responseCode: 202, + }, + input: { + type: "structure", + required: ["ProjectName", "DatasetType"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + DatasetType: {}, + DatasetSource: { + type: "structure", + members: { + GroundTruthManifest: { + type: "structure", + members: { + S3Object: { + type: "structure", + required: ["Bucket", "Key"], + members: { Bucket: {}, Key: {}, VersionId: {} }, + }, + }, + }, }, }, + ClientToken: { + idempotencyToken: true, + location: "header", + locationName: "X-Amzn-Client-Token", + }, }, }, + output: { + type: "structure", + members: { DatasetMetadata: { shape: "Sc" } }, + }, }, - S3o: { - type: "structure", - members: { - arn: {}, - name: {}, - type: {}, - created: { type: "timestamp" }, - status: {}, - result: {}, - started: { type: "timestamp" }, - stopped: { type: "timestamp" }, - counters: { shape: "S3p" }, - message: {}, - device: { shape: "S15" }, - instanceArn: {}, - deviceMinutes: { shape: "S1h" }, - videoEndpoint: {}, - videoCapture: { type: "boolean" }, + CreateModel: { + http: { + requestUri: "/2020-11-20/projects/{projectName}/models", + responseCode: 202, + }, + input: { + type: "structure", + required: ["ProjectName", "OutputConfig"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + Description: { shape: "Sh" }, + ClientToken: { + idempotencyToken: true, + location: "header", + locationName: "X-Amzn-Client-Token", + }, + OutputConfig: { shape: "Sp" }, + KmsKeyId: {}, + }, + }, + output: { + type: "structure", + members: { ModelMetadata: { shape: "Sv" } }, }, }, - S3p: { - type: "structure", - members: { - total: { type: "integer" }, - passed: { type: "integer" }, - failed: { type: "integer" }, - warned: { type: "integer" }, - errored: { type: "integer" }, - stopped: { type: "integer" }, - skipped: { type: "integer" }, + CreateProject: { + http: { requestUri: "/2020-11-20/projects" }, + input: { + type: "structure", + required: ["ProjectName"], + members: { + ProjectName: {}, + ClientToken: { + idempotencyToken: true, + location: "header", + locationName: "X-Amzn-Client-Token", + }, + }, + }, + output: { + type: "structure", + members: { ProjectMetadata: { shape: "Sy" } }, }, }, - S3w: { type: "map", key: {}, value: { shape: "S3y" } }, - S3y: { - type: "structure", - members: { - type: {}, - offering: { shape: "S40" }, - quantity: { type: "integer" }, - effectiveOn: { type: "timestamp" }, + DeleteDataset: { + http: { + method: "DELETE", + requestUri: + "/2020-11-20/projects/{projectName}/datasets/{datasetType}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["ProjectName", "DatasetType"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + DatasetType: { location: "uri", locationName: "datasetType" }, + ClientToken: { + idempotencyToken: true, + location: "header", + locationName: "X-Amzn-Client-Token", + }, + }, }, + output: { type: "structure", members: {} }, }, - S40: { - type: "structure", - members: { - id: {}, - description: {}, - type: {}, - platform: {}, - recurringCharges: { - type: "list", - member: { + DeleteModel: { + http: { + method: "DELETE", + requestUri: + "/2020-11-20/projects/{projectName}/models/{modelVersion}", + responseCode: 202, + }, + input: { + type: "structure", + required: ["ProjectName", "ModelVersion"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + ModelVersion: { location: "uri", locationName: "modelVersion" }, + ClientToken: { + idempotencyToken: true, + location: "header", + locationName: "X-Amzn-Client-Token", + }, + }, + }, + output: { type: "structure", members: { ModelArn: {} } }, + }, + DeleteProject: { + http: { + method: "DELETE", + requestUri: "/2020-11-20/projects/{projectName}", + }, + input: { + type: "structure", + required: ["ProjectName"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + ClientToken: { + idempotencyToken: true, + location: "header", + locationName: "X-Amzn-Client-Token", + }, + }, + }, + output: { type: "structure", members: { ProjectArn: {} } }, + }, + DescribeDataset: { + http: { + method: "GET", + requestUri: + "/2020-11-20/projects/{projectName}/datasets/{datasetType}", + }, + input: { + type: "structure", + required: ["ProjectName", "DatasetType"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + DatasetType: { location: "uri", locationName: "datasetType" }, + }, + }, + output: { + type: "structure", + members: { + DatasetDescription: { type: "structure", - members: { cost: { shape: "S44" }, frequency: {} }, + members: { + ProjectName: {}, + DatasetType: {}, + CreationTimestamp: { type: "timestamp" }, + LastUpdatedTimestamp: { type: "timestamp" }, + Status: {}, + StatusMessage: {}, + ImageStats: { + type: "structure", + members: { + Total: { type: "integer" }, + Labeled: { type: "integer" }, + Normal: { type: "integer" }, + Anomaly: { type: "integer" }, + }, + }, + }, }, }, }, }, - S44: { - type: "structure", - members: { amount: { type: "double" }, currencyCode: {} }, + DescribeModel: { + http: { + method: "GET", + requestUri: + "/2020-11-20/projects/{projectName}/models/{modelVersion}", + }, + input: { + type: "structure", + required: ["ProjectName", "ModelVersion"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + ModelVersion: { location: "uri", locationName: "modelVersion" }, + }, + }, + output: { + type: "structure", + members: { ModelDescription: { shape: "Sh" } }, + }, }, - S4d: { - type: "structure", - members: { - arn: {}, - name: {}, - type: {}, - platform: {}, - created: { type: "timestamp" }, - status: {}, - result: {}, - started: { type: "timestamp" }, - stopped: { type: "timestamp" }, - counters: { shape: "S3p" }, - message: {}, - totalJobs: { type: "integer" }, - completedJobs: { type: "integer" }, - billingMethod: {}, - deviceMinutes: { shape: "S1h" }, - networkProfile: { shape: "So" }, - parsingResultUrl: {}, - resultCode: {}, - seed: { type: "integer" }, - appUpload: {}, - eventCount: { type: "integer" }, - jobTimeoutMinutes: { type: "integer" }, - devicePoolArn: {}, - locale: {}, - radios: { shape: "S3e" }, - location: { shape: "S39" }, - customerArtifactPaths: { shape: "S3a" }, - webUrl: {}, - skipAppResign: { type: "boolean" }, - testSpecArn: {}, - deviceSelectionResult: { - type: "structure", - members: { - filters: { shape: "S4g" }, - matchedDevicesCount: { type: "integer" }, - maxDevices: { type: "integer" }, + DescribeProject: { + http: { + method: "GET", + requestUri: "/2020-11-20/projects/{projectName}", + }, + input: { + type: "structure", + required: ["ProjectName"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + }, + }, + output: { + type: "structure", + members: { + ProjectDescription: { + type: "structure", + members: { + ProjectArn: {}, + ProjectName: {}, + CreationTimestamp: { type: "timestamp" }, + Datasets: { type: "list", member: { shape: "Sc" } }, + }, }, }, }, }, - S4g: { - type: "list", - member: { + DetectAnomalies: { + http: { + requestUri: + "/2020-11-20/projects/{projectName}/models/{modelVersion}/detect", + }, + input: { type: "structure", + required: ["ProjectName", "ModelVersion", "Body", "ContentType"], members: { - attribute: {}, - operator: {}, - values: { type: "list", member: {} }, + ProjectName: { location: "uri", locationName: "projectName" }, + ModelVersion: { location: "uri", locationName: "modelVersion" }, + Body: { type: "blob", requiresLength: true, streaming: true }, + ContentType: { + location: "header", + locationName: "content-type", + }, + }, + payload: "Body", + }, + output: { + type: "structure", + members: { + DetectAnomalyResult: { + type: "structure", + members: { + Source: { type: "structure", members: { Type: {} } }, + IsAnomalous: { type: "boolean" }, + Confidence: { type: "float" }, + }, + }, }, }, }, - S4m: { + ListDatasetEntries: { + http: { + method: "GET", + requestUri: + "/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries", + }, + input: { + type: "structure", + required: ["ProjectName", "DatasetType"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + DatasetType: { location: "uri", locationName: "datasetType" }, + Labeled: { + location: "querystring", + locationName: "labeled", + type: "boolean", + }, + AnomalyClass: { + location: "querystring", + locationName: "anomalyClass", + }, + BeforeCreationDate: { + location: "querystring", + locationName: "createdBefore", + type: "timestamp", + }, + AfterCreationDate: { + location: "querystring", + locationName: "createdAfter", + type: "timestamp", + }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + SourceRefContains: { + location: "querystring", + locationName: "sourceRefContains", + }, + }, + }, + output: { + type: "structure", + members: { + DatasetEntries: { type: "list", member: {} }, + NextToken: {}, + }, + }, + }, + ListModels: { + http: { + method: "GET", + requestUri: "/2020-11-20/projects/{projectName}/models", + }, + input: { + type: "structure", + required: ["ProjectName"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + Models: { type: "list", member: { shape: "Sv" } }, + NextToken: {}, + }, + }, + }, + ListProjects: { + http: { method: "GET", requestUri: "/2020-11-20/projects" }, + input: { + type: "structure", + members: { + NextToken: { + location: "querystring", + locationName: "nextToken", + }, + MaxResults: { + location: "querystring", + locationName: "maxResults", + type: "integer", + }, + }, + }, + output: { + type: "structure", + members: { + Projects: { type: "list", member: { shape: "Sy" } }, + NextToken: {}, + }, + }, + }, + StartModel: { + http: { + requestUri: + "/2020-11-20/projects/{projectName}/models/{modelVersion}/start", + responseCode: 202, + }, + input: { + type: "structure", + required: ["ProjectName", "ModelVersion", "MinInferenceUnits"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + ModelVersion: { location: "uri", locationName: "modelVersion" }, + MinInferenceUnits: { type: "integer" }, + ClientToken: { + idempotencyToken: true, + location: "header", + locationName: "X-Amzn-Client-Token", + }, + }, + }, + output: { type: "structure", members: { Status: {} } }, + }, + StopModel: { + http: { + requestUri: + "/2020-11-20/projects/{projectName}/models/{modelVersion}/stop", + responseCode: 202, + }, + input: { + type: "structure", + required: ["ProjectName", "ModelVersion"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + ModelVersion: { location: "uri", locationName: "modelVersion" }, + ClientToken: { + idempotencyToken: true, + location: "header", + locationName: "X-Amzn-Client-Token", + }, + }, + }, + output: { type: "structure", members: { Status: {} } }, + }, + UpdateDatasetEntries: { + http: { + method: "PATCH", + requestUri: + "/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries", + responseCode: 202, + }, + input: { + type: "structure", + required: ["ProjectName", "DatasetType", "Changes"], + members: { + ProjectName: { location: "uri", locationName: "projectName" }, + DatasetType: { location: "uri", locationName: "datasetType" }, + Changes: { type: "blob" }, + ClientToken: { + idempotencyToken: true, + location: "header", + locationName: "X-Amzn-Client-Token", + }, + }, + }, + output: { type: "structure", members: { Status: {} } }, + }, + }, + shapes: { + Sc: { type: "structure", members: { - arn: {}, - name: {}, - type: {}, - created: { type: "timestamp" }, - status: {}, - result: {}, - started: { type: "timestamp" }, - stopped: { type: "timestamp" }, - counters: { shape: "S3p" }, - message: {}, - deviceMinutes: { shape: "S1h" }, + DatasetType: {}, + CreationTimestamp: { type: "timestamp" }, + Status: {}, + StatusMessage: {}, }, }, - S4p: { + Sh: { type: "structure", members: { - arn: {}, - name: {}, - type: {}, - created: { type: "timestamp" }, - status: {}, - result: {}, - started: { type: "timestamp" }, - stopped: { type: "timestamp" }, - counters: { shape: "S3p" }, - message: {}, - deviceMinutes: { shape: "S1h" }, + ModelVersion: {}, + ModelArn: {}, + CreationTimestamp: { type: "timestamp" }, + Description: {}, + Status: {}, + StatusMessage: {}, + Performance: { shape: "Sn" }, + OutputConfig: { shape: "Sp" }, + EvaluationManifest: { shape: "Ss" }, + EvaluationResult: { shape: "Ss" }, + EvaluationEndTimestamp: { type: "timestamp" }, + KmsKeyId: {}, }, }, - S4v: { + Sn: { type: "structure", members: { - arn: {}, - status: {}, - created: { type: "timestamp" }, - ended: { type: "timestamp" }, - billingMinutes: { type: "double" }, - seleniumProperties: {}, + F1Score: { type: "float" }, + Recall: { type: "float" }, + Precision: { type: "float" }, }, }, - S5y: { + Sp: { type: "structure", + required: ["S3Location"], members: { - offeringStatus: { shape: "S3y" }, - transactionId: {}, - offeringPromotionId: {}, - createdOn: { type: "timestamp" }, - cost: { shape: "S44" }, + S3Location: { + type: "structure", + required: ["Bucket"], + members: { Bucket: {}, Prefix: {} }, + }, }, }, - S6m: { - type: "list", - member: { - type: "structure", - required: ["Key", "Value"], - members: { Key: {}, Value: {} }, + Ss: { + type: "structure", + required: ["Bucket", "Key"], + members: { Bucket: {}, Key: {} }, + }, + Sv: { + type: "structure", + members: { + CreationTimestamp: { type: "timestamp" }, + ModelVersion: {}, + ModelArn: {}, + Description: {}, + Status: {}, + StatusMessage: {}, + Performance: { shape: "Sn" }, + }, + }, + Sy: { + type: "structure", + members: { + ProjectArn: {}, + ProjectName: {}, + CreationTimestamp: { type: "timestamp" }, }, }, - S7h: { type: "structure", members: { arn: {}, name: {} } }, }, }; /***/ }, - /***/ 4645: /***/ function (__unusedmodule, exports, __webpack_require__) { - (function (sax) { - // wrapper for non-node envs - sax.parser = function (strict, opt) { - return new SAXParser(strict, opt); - }; - sax.SAXParser = SAXParser; - sax.SAXStream = SAXStream; - sax.createStream = createStream; - - // When we pass the MAX_BUFFER_LENGTH position, start checking for buffer overruns. - // When we check, schedule the next check for MAX_BUFFER_LENGTH - (max(buffer lengths)), - // since that's the earliest that a buffer overrun could occur. This way, checks are - // as rare as required, but as often as necessary to ensure never crossing this bound. - // Furthermore, buffers are only tested at most once per write(), so passing a very - // large string into write() might have undesirable effects, but this is manageable by - // the caller, so it is assumed to be safe. Thus, a call to write() may, in the extreme - // edge case, result in creating at most one complete copy of the string passed in. - // Set to Infinity to have unlimited buffers. - sax.MAX_BUFFER_LENGTH = 64 * 1024; - - var buffers = [ - "comment", - "sgmlDecl", - "textNode", - "tagName", - "doctype", - "procInstName", - "procInstBody", - "entity", - "attribName", - "attribValue", - "cdata", - "script", - ]; + /***/ 4281: /***/ function ( + __unusedmodule, + __unusedexports, + __webpack_require__ + ) { + var AWS = __webpack_require__(395); + var rest = AWS.Protocol.Rest; - sax.EVENTS = [ - "text", - "processinginstruction", - "sgmldeclaration", - "doctype", - "comment", - "opentagstart", - "attribute", - "opentag", - "closetag", - "opencdata", - "cdata", - "closecdata", - "error", - "end", - "ready", - "script", - "opennamespace", - "closenamespace", - ]; + /** + * A presigner object can be used to generate presigned urls for the Polly service. + */ + AWS.Polly.Presigner = AWS.util.inherit({ + /** + * Creates a presigner object with a set of configuration options. + * + * @option options params [map] An optional map of parameters to bind to every + * request sent by this service object. + * @option options service [AWS.Polly] An optional pre-configured instance + * of the AWS.Polly service object to use for requests. The object may + * bound parameters used by the presigner. + * @see AWS.Polly.constructor + */ + constructor: function Signer(options) { + options = options || {}; + this.options = options; + this.service = options.service; + this.bindServiceObject(options); + this._operations = {}; + }, - function SAXParser(strict, opt) { - if (!(this instanceof SAXParser)) { - return new SAXParser(strict, opt); + /** + * @api private + */ + bindServiceObject: function bindServiceObject(options) { + options = options || {}; + if (!this.service) { + this.service = new AWS.Polly(options); + } else { + var config = AWS.util.copy(this.service.config); + this.service = new this.service.constructor.__super__(config); + this.service.config.params = AWS.util.merge( + this.service.config.params || {}, + options.params + ); } + }, - var parser = this; - clearBuffers(parser); - parser.q = parser.c = ""; - parser.bufferCheckPosition = sax.MAX_BUFFER_LENGTH; - parser.opt = opt || {}; - parser.opt.lowercase = - parser.opt.lowercase || parser.opt.lowercasetags; - parser.looseCase = parser.opt.lowercase - ? "toLowerCase" - : "toUpperCase"; - parser.tags = []; - parser.closed = parser.closedRoot = parser.sawRoot = false; - parser.tag = parser.error = null; - parser.strict = !!strict; - parser.noscript = !!(strict || parser.opt.noscript); - parser.state = S.BEGIN; - parser.strictEntities = parser.opt.strictEntities; - parser.ENTITIES = parser.strictEntities - ? Object.create(sax.XML_ENTITIES) - : Object.create(sax.ENTITIES); - parser.attribList = []; + /** + * @api private + */ + modifyInputMembers: function modifyInputMembers(input) { + // make copies of the input so we don't overwrite the api + // need to be careful to copy anything we access/modify + var modifiedInput = AWS.util.copy(input); + modifiedInput.members = AWS.util.copy(input.members); + AWS.util.each(input.members, function (name, member) { + modifiedInput.members[name] = AWS.util.copy(member); + // update location and locationName + if (!member.location || member.location === "body") { + modifiedInput.members[name].location = "querystring"; + modifiedInput.members[name].locationName = name; + } + }); + return modifiedInput; + }, - // namespaces form a prototype chain. - // it always points at the current tag, - // which protos to its parent tag. - if (parser.opt.xmlns) { - parser.ns = Object.create(rootNS); - } + /** + * @api private + */ + convertPostToGet: function convertPostToGet(req) { + // convert method + req.httpRequest.method = "GET"; - // mostly just for error reporting - parser.trackPosition = parser.opt.position !== false; - if (parser.trackPosition) { - parser.position = parser.line = parser.column = 0; - } - emit(parser, "onready"); - } - - if (!Object.create) { - Object.create = function (o) { - function F() {} - F.prototype = o; - var newf = new F(); - return newf; - }; - } - - if (!Object.keys) { - Object.keys = function (o) { - var a = []; - for (var i in o) if (o.hasOwnProperty(i)) a.push(i); - return a; - }; - } - - function checkBufferLength(parser) { - var maxAllowed = Math.max(sax.MAX_BUFFER_LENGTH, 10); - var maxActual = 0; - for (var i = 0, l = buffers.length; i < l; i++) { - var len = parser[buffers[i]].length; - if (len > maxAllowed) { - // Text/cdata nodes can get big, and since they're buffered, - // we can get here under normal conditions. - // Avoid issues by emitting the text node now, - // so at least it won't get any bigger. - switch (buffers[i]) { - case "textNode": - closeText(parser); - break; + var operation = req.service.api.operations[req.operation]; + // get cached operation input first + var input = this._operations[req.operation]; + if (!input) { + // modify the original input + this._operations[req.operation] = input = this.modifyInputMembers( + operation.input + ); + } - case "cdata": - emitNode(parser, "oncdata", parser.cdata); - parser.cdata = ""; - break; + var uri = rest.generateURI( + req.httpRequest.endpoint.path, + operation.httpPath, + input, + req.params + ); - case "script": - emitNode(parser, "onscript", parser.script); - parser.script = ""; - break; + req.httpRequest.path = uri; + req.httpRequest.body = ""; - default: - error(parser, "Max buffer length exceeded: " + buffers[i]); - } - } - maxActual = Math.max(maxActual, len); - } - // schedule the next check for the earliest possible buffer overrun. - var m = sax.MAX_BUFFER_LENGTH - maxActual; - parser.bufferCheckPosition = m + parser.position; - } + // don't need these headers on a GET request + delete req.httpRequest.headers["Content-Length"]; + delete req.httpRequest.headers["Content-Type"]; + }, - function clearBuffers(parser) { - for (var i = 0, l = buffers.length; i < l; i++) { - parser[buffers[i]] = ""; - } - } + /** + * @overload getSynthesizeSpeechUrl(params = {}, [expires = 3600], [callback]) + * Generate a presigned url for {AWS.Polly.synthesizeSpeech}. + * @note You must ensure that you have static or previously resolved + * credentials if you call this method synchronously (with no callback), + * otherwise it may not properly sign the request. If you cannot guarantee + * this (you are using an asynchronous credential provider, i.e., EC2 + * IAM roles), you should always call this method with an asynchronous + * callback. + * @param params [map] parameters to pass to the operation. See the {AWS.Polly.synthesizeSpeech} + * operation for the expected operation parameters. + * @param expires [Integer] (3600) the number of seconds to expire the pre-signed URL operation in. + * Defaults to 1 hour. + * @return [string] if called synchronously (with no callback), returns the signed URL. + * @return [null] nothing is returned if a callback is provided. + * @callback callback function (err, url) + * If a callback is supplied, it is called when a signed URL has been generated. + * @param err [Error] the error object returned from the presigner. + * @param url [String] the signed URL. + * @see AWS.Polly.synthesizeSpeech + */ + getSynthesizeSpeechUrl: function getSynthesizeSpeechUrl( + params, + expires, + callback + ) { + var self = this; + var request = this.service.makeRequest("synthesizeSpeech", params); + // remove existing build listeners + request.removeAllListeners("build"); + request.on("build", function (req) { + self.convertPostToGet(req); + }); + return request.presign(expires, callback); + }, + }); - function flushBuffers(parser) { - closeText(parser); - if (parser.cdata !== "") { - emitNode(parser, "oncdata", parser.cdata); - parser.cdata = ""; - } - if (parser.script !== "") { - emitNode(parser, "onscript", parser.script); - parser.script = ""; - } - } + /***/ + }, - SAXParser.prototype = { - end: function () { - end(this); + /***/ 4289: /***/ function (module) { + module.exports = { + version: "2.0", + metadata: { + apiVersion: "2019-06-30", + endpointPrefix: "migrationhub-config", + jsonVersion: "1.1", + protocol: "json", + serviceFullName: "AWS Migration Hub Config", + serviceId: "MigrationHub Config", + signatureVersion: "v4", + signingName: "mgh", + targetPrefix: "AWSMigrationHubMultiAccountService", + uid: "migrationhub-config-2019-06-30", + }, + operations: { + CreateHomeRegionControl: { + input: { + type: "structure", + required: ["HomeRegion", "Target"], + members: { + HomeRegion: {}, + Target: { shape: "S3" }, + DryRun: { type: "boolean" }, + }, + }, + output: { + type: "structure", + members: { HomeRegionControl: { shape: "S8" } }, + }, }, - write: write, - resume: function () { - this.error = null; - return this; + DescribeHomeRegionControls: { + input: { + type: "structure", + members: { + ControlId: {}, + HomeRegion: {}, + Target: { shape: "S3" }, + MaxResults: { type: "integer" }, + NextToken: {}, + }, + }, + output: { + type: "structure", + members: { + HomeRegionControls: { type: "list", member: { shape: "S8" } }, + NextToken: {}, + }, + }, }, - close: function () { - return this.write(null); + GetHomeRegion: { + input: { type: "structure", members: {} }, + output: { type: "structure", members: { HomeRegion: {} } }, }, - flush: function () { - flushBuffers(this); + }, + shapes: { + S3: { + type: "structure", + required: ["Type"], + members: { Type: {}, Id: {} }, }, - }; + S8: { + type: "structure", + members: { + ControlId: {}, + HomeRegion: {}, + Target: { shape: "S3" }, + RequestedTime: { type: "timestamp" }, + }, + }, + }, + }; - var Stream; - try { - Stream = __webpack_require__(2413).Stream; - } catch (ex) { - Stream = function () {}; - } + /***/ + }, - var streamWraps = sax.EVENTS.filter(function (ev) { - return ev !== "error" && ev !== "end"; - }); + /***/ 4290: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - function createStream(strict, opt) { - return new SAXStream(strict, opt); - } + apiLoader.services["greengrass"] = {}; + AWS.Greengrass = Service.defineService("greengrass", ["2017-06-07"]); + Object.defineProperty(apiLoader.services["greengrass"], "2017-06-07", { + get: function get() { + var model = __webpack_require__(2053); + return model; + }, + enumerable: true, + configurable: true, + }); - function SAXStream(strict, opt) { - if (!(this instanceof SAXStream)) { - return new SAXStream(strict, opt); - } + module.exports = AWS.Greengrass; - Stream.apply(this); + /***/ + }, - this._parser = new SAXParser(strict, opt); - this.writable = true; - this.readable = true; + /***/ 4291: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - var me = this; + apiLoader.services["ivs"] = {}; + AWS.IVS = Service.defineService("ivs", ["2020-07-14"]); + Object.defineProperty(apiLoader.services["ivs"], "2020-07-14", { + get: function get() { + var model = __webpack_require__(5907); + model.paginators = __webpack_require__(9342).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); - this._parser.onend = function () { - me.emit("end"); - }; + module.exports = AWS.IVS; - this._parser.onerror = function (er) { - me.emit("error", er); + /***/ + }, - // if didn't throw, then means error was handled. - // go ahead and clear error, so we can write again. - me._parser.error = null; - }; + /***/ 4293: /***/ function (module) { + module.exports = require("buffer"); - this._decoder = null; + /***/ + }, - streamWraps.forEach(function (ev) { - Object.defineProperty(me, "on" + ev, { - get: function () { - return me._parser["on" + ev]; + /***/ 4303: /***/ function (module) { + module.exports = { + version: 2, + waiters: { + LoadBalancerExists: { + delay: 15, + operation: "DescribeLoadBalancers", + maxAttempts: 40, + acceptors: [ + { matcher: "status", expected: 200, state: "success" }, + { + matcher: "error", + expected: "LoadBalancerNotFound", + state: "retry", }, - set: function (h) { - if (!h) { - me.removeAllListeners(ev); - me._parser["on" + ev] = h; - return h; - } - me.on(ev, h); + ], + }, + LoadBalancerAvailable: { + delay: 15, + operation: "DescribeLoadBalancers", + maxAttempts: 40, + acceptors: [ + { + state: "success", + matcher: "pathAll", + argument: "LoadBalancers[].State.Code", + expected: "active", }, - enumerable: true, - configurable: false, - }); - }); - } - - SAXStream.prototype = Object.create(Stream.prototype, { - constructor: { - value: SAXStream, + { + state: "retry", + matcher: "pathAny", + argument: "LoadBalancers[].State.Code", + expected: "provisioning", + }, + { + state: "retry", + matcher: "error", + expected: "LoadBalancerNotFound", + }, + ], }, - }); - - SAXStream.prototype.write = function (data) { - if ( - typeof Buffer === "function" && - typeof Buffer.isBuffer === "function" && - Buffer.isBuffer(data) - ) { - if (!this._decoder) { - var SD = __webpack_require__(4304).StringDecoder; - this._decoder = new SD("utf8"); - } - data = this._decoder.write(data); - } - - this._parser.write(data.toString()); - this.emit("data", data); - return true; - }; - - SAXStream.prototype.end = function (chunk) { - if (chunk && chunk.length) { - this.write(chunk); - } - this._parser.end(); - return true; - }; + LoadBalancersDeleted: { + delay: 15, + operation: "DescribeLoadBalancers", + maxAttempts: 40, + acceptors: [ + { + state: "retry", + matcher: "pathAll", + argument: "LoadBalancers[].State.Code", + expected: "active", + }, + { + matcher: "error", + expected: "LoadBalancerNotFound", + state: "success", + }, + ], + }, + TargetInService: { + delay: 15, + maxAttempts: 40, + operation: "DescribeTargetHealth", + acceptors: [ + { + argument: "TargetHealthDescriptions[].TargetHealth.State", + expected: "healthy", + matcher: "pathAll", + state: "success", + }, + { matcher: "error", expected: "InvalidInstance", state: "retry" }, + ], + }, + TargetDeregistered: { + delay: 15, + maxAttempts: 40, + operation: "DescribeTargetHealth", + acceptors: [ + { matcher: "error", expected: "InvalidTarget", state: "success" }, + { + argument: "TargetHealthDescriptions[].TargetHealth.State", + expected: "unused", + matcher: "pathAll", + state: "success", + }, + ], + }, + }, + }; - SAXStream.prototype.on = function (ev, handler) { - var me = this; - if (!me._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) { - me._parser["on" + ev] = function () { - var args = - arguments.length === 1 - ? [arguments[0]] - : Array.apply(null, arguments); - args.splice(0, 0, ev); - me.emit.apply(me, args); - }; - } + /***/ + }, - return Stream.prototype.on.call(me, ev, handler); - }; + /***/ 4304: /***/ function (module) { + module.exports = require("string_decoder"); - // character classes and tokens - var whitespace = "\r\n\t "; + /***/ + }, - // this really needs to be replaced with character classes. - // XML allows all manner of ridiculous numbers and digits. - var number = "0124356789"; - var letter = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; + /***/ 4341: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - // (Letter | "_" | ":") - var quote = "'\""; - var attribEnd = whitespace + ">"; - var CDATA = "[CDATA["; - var DOCTYPE = "DOCTYPE"; - var XML_NAMESPACE = "http://www.w3.org/XML/1998/namespace"; - var XMLNS_NAMESPACE = "http://www.w3.org/2000/xmlns/"; - var rootNS = { xml: XML_NAMESPACE, xmlns: XMLNS_NAMESPACE }; + apiLoader.services["discovery"] = {}; + AWS.Discovery = Service.defineService("discovery", ["2015-11-01"]); + Object.defineProperty(apiLoader.services["discovery"], "2015-11-01", { + get: function get() { + var model = __webpack_require__(9389); + model.paginators = __webpack_require__(5266).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); - // turn all the string character sets into character class objects. - whitespace = charClass(whitespace); - number = charClass(number); - letter = charClass(letter); + module.exports = AWS.Discovery; - // http://www.w3.org/TR/REC-xml/#NT-NameStartChar - // This implementation works on strings, a single character at a time - // as such, it cannot ever support astral-plane characters (10000-EFFFF) - // without a significant breaking change to either this parser, or the - // JavaScript language. Implementation of an emoji-capable xml parser - // is left as an exercise for the reader. - var nameStart = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; + /***/ + }, - var nameBody = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/; + /***/ 4343: /***/ function (module, __unusedexports, __webpack_require__) { + __webpack_require__(3234); + var AWS = __webpack_require__(395); + var Service = AWS.Service; + var apiLoader = AWS.apiLoader; - var entityStart = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; - var entityBody = /[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/; + apiLoader.services["inspector"] = {}; + AWS.Inspector = Service.defineService("inspector", [ + "2015-08-18*", + "2016-02-16", + ]); + Object.defineProperty(apiLoader.services["inspector"], "2016-02-16", { + get: function get() { + var model = __webpack_require__(612); + model.paginators = __webpack_require__(1283).pagination; + return model; + }, + enumerable: true, + configurable: true, + }); - quote = charClass(quote); - attribEnd = charClass(attribEnd); + module.exports = AWS.Inspector; - function charClass(str) { - return str.split("").reduce(function (s, c) { - s[c] = true; - return s; - }, {}); - } + /***/ + }, - function isRegExp(c) { - return Object.prototype.toString.call(c) === "[object RegExp]"; - } + /***/ 4344: /***/ function (module) { + module.exports = { pagination: {} }; - function is(charclass, c) { - return isRegExp(charclass) ? !!c.match(charclass) : charclass[c]; - } + /***/ + }, - function not(charclass, c) { - return !is(charclass, c); - } + /***/ 4371: /***/ function (module) { + module.exports = { + pagination: { + GetTranscript: { + input_token: "NextToken", + output_token: "NextToken", + limit_key: "MaxResults", + }, + }, + }; - var S = 0; - sax.STATE = { - BEGIN: S++, // leading byte order mark or whitespace - BEGIN_WHITESPACE: S++, // leading whitespace - TEXT: S++, // general stuff - TEXT_ENTITY: S++, // & and such. - OPEN_WAKA: S++, // < - SGML_DECL: S++, // - SCRIPT: S++, //