diff --git a/.changes/2.1395.0.json b/.changes/2.1395.0.json new file mode 100644 index 0000000000..0034c796b7 --- /dev/null +++ b/.changes/2.1395.0.json @@ -0,0 +1,7 @@ +[ + { + "type": "feature", + "category": "Connect", + "description": "This release adds search APIs for Prompts, Quick Connects and Hours of Operations, which can be used to search for those resources within a Connect Instance." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 97a118ee3b..0e30364ade 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1395.0 +* feature: Connect: This release adds search APIs for Prompts, Quick Connects and Hours of Operations, which can be used to search for those resources within a Connect Instance. + ## 2.1394.0 * feature: Athena: You can now define custom spark properties at start of the session for use cases like cluster encryption, table formats, and general Spark tuning. * feature: ComprehendMedical: This release supports a new set of entities and traits. diff --git a/README.md b/README.md index 1141bbf3a8..47f702dd96 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true; To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/apis/acm-pca-2017-08-22.normal.json b/apis/acm-pca-2017-08-22.normal.json index ecd92f7051..f94b8464c8 100644 --- a/apis/acm-pca-2017-08-22.normal.json +++ b/apis/acm-pca-2017-08-22.normal.json @@ -1100,7 +1100,7 @@ }, "KeyStorageSecurityStandard": { "shape": "KeyStorageSecurityStandard", - "documentation": "
Specifies a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: FIPS_140_2_LEVEL_3_OR_HIGHER
is not supported in the following Regions:
ap-northeast-3
ap-southeast-3
When creating a CA in these Regions, you must provide FIPS_140_2_LEVEL_2_OR_HIGHER
as the argument for KeyStorageSecurityStandard
. Failure to do this results in an InvalidArgsException
with the message, \"A certificate authority cannot be created in this region with the specified security standard.\"
Specifies a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Some Amazon Web Services Regions do not support the default. When creating a CA in these Regions, you must provide FIPS_140_2_LEVEL_2_OR_HIGHER
as the argument for KeyStorageSecurityStandard
. Failure to do this results in an InvalidArgsException
with the message, \"A certificate authority cannot be created in this region with the specified security standard.\"
For information about security standard support in various Regions, see Storage and security compliance of Amazon Web Services Private CA private keys.
The name of the algorithm that will be used to sign the certificate to be issued.
This parameter should not be confused with the SigningAlgorithm
parameter used to sign a CSR in the CreateCertificateAuthority
action.
The specified signing algorithm family (RSA or ECDSA) much match the algorithm family of the CA's secret key.
The name of the algorithm that will be used to sign the certificate to be issued.
This parameter should not be confused with the SigningAlgorithm
parameter used to sign a CSR in the CreateCertificateAuthority
action.
The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
Information describing the start of the validity period of the certificate. This parameter sets the “Not Before\" date for the certificate.
By default, when issuing a certificate, Amazon Web Services Private CA sets the \"Not Before\" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The ValidityNotBefore
parameter can be used to customize the “Not Before” value.
Unlike the Validity
parameter, the ValidityNotBefore
parameter is optional.
The ValidityNotBefore
value is expressed as an explicit date and time, using the Validity
type value ABSOLUTE
. For more information, see Validity in this API reference and Validity in RFC 5280.
Information describing the start of the validity period of the certificate. This parameter sets the “Not Before\" date for the certificate.
By default, when issuing a certificate, Amazon Web Services Private CA sets the \"Not Before\" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The ValidityNotBefore
parameter can be used to customize the “Not Before” value.
Unlike the Validity
parameter, the ValidityNotBefore
parameter is optional.
The ValidityNotBefore
value is expressed as an explicit date and time, using the Validity
type value ABSOLUTE
. For more information, see Validity in this API reference and Validity in RFC 5280.
Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group. If the provided TargetArn
is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with the traffic distribution group.
Searches the hours of operation in an Amazon Connect instance, with optional filtering.
" + }, + "SearchPrompts": { + "name": "SearchPrompts", + "http": { + "method": "POST", + "requestUri": "/search-prompts" + }, + "input": { + "shape": "SearchPromptsRequest" + }, + "output": { + "shape": "SearchPromptsResponse" + }, + "errors": [ + { + "shape": "InvalidRequestException" + }, + { + "shape": "InvalidParameterException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServiceException" + } + ], + "documentation": "Searches prompts in an Amazon Connect instance, with optional filtering.
" + }, "SearchQueues": { "name": "SearchQueues", "http": { @@ -4175,6 +4237,37 @@ ], "documentation": "This API is in preview release for Amazon Connect and is subject to change.
Searches queues in an Amazon Connect instance, with optional filtering.
" }, + "SearchQuickConnects": { + "name": "SearchQuickConnects", + "http": { + "method": "POST", + "requestUri": "/search-quick-connects" + }, + "input": { + "shape": "SearchQuickConnectsRequest" + }, + "output": { + "shape": "SearchQuickConnectsResponse" + }, + "errors": [ + { + "shape": "InvalidRequestException" + }, + { + "shape": "InvalidParameterException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ThrottlingException" + }, + { + "shape": "InternalServiceException" + } + ], + "documentation": "Searches quick connects in an Amazon Connect instance, with optional filtering.
" + }, "SearchRoutingProfiles": { "name": "SearchRoutingProfiles", "http": { @@ -11761,9 +11854,48 @@ "HoursOfOperationId": { "type": "string" }, + "HoursOfOperationList": { + "type": "list", + "member": { + "shape": "HoursOfOperation" + } + }, "HoursOfOperationName": { "type": "string" }, + "HoursOfOperationSearchConditionList": { + "type": "list", + "member": { + "shape": "HoursOfOperationSearchCriteria" + } + }, + "HoursOfOperationSearchCriteria": { + "type": "structure", + "members": { + "OrConditions": { + "shape": "HoursOfOperationSearchConditionList", + "documentation": "A list of conditions which would be applied together with an OR condition.
" + }, + "AndConditions": { + "shape": "HoursOfOperationSearchConditionList", + "documentation": "A list of conditions which would be applied together with an AND condition.
" + }, + "StringCondition": { + "shape": "StringCondition", + "documentation": "A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
, description
, timezone
, and resourceID
.
The search criteria to be used to return hours of operations.
" + }, + "HoursOfOperationSearchFilter": { + "type": "structure", + "members": { + "TagFilter": { + "shape": "ControlPlaneTagFilter" + } + }, + "documentation": "Filters to be applied to search results.
" + }, "HoursOfOperationSummary": { "type": "structure", "members": { @@ -14654,7 +14786,7 @@ }, "Description": { "shape": "PromptDescription", - "documentation": "A description for the prompt.
" + "documentation": "The description of the prompt.
" }, "Tags": { "shape": "TagMap", @@ -14673,6 +14805,12 @@ "max": 256, "min": 1 }, + "PromptList": { + "type": "list", + "member": { + "shape": "Prompt" + } + }, "PromptName": { "type": "string", "max": 256, @@ -14683,6 +14821,39 @@ "max": 2000, "min": 1 }, + "PromptSearchConditionList": { + "type": "list", + "member": { + "shape": "PromptSearchCriteria" + } + }, + "PromptSearchCriteria": { + "type": "structure", + "members": { + "OrConditions": { + "shape": "PromptSearchConditionList", + "documentation": "A list of conditions which would be applied together with an OR condition.
" + }, + "AndConditions": { + "shape": "PromptSearchConditionList", + "documentation": "A list of conditions which would be applied together with an AND condition.
" + }, + "StringCondition": { + "shape": "StringCondition", + "documentation": "A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
, description
, and resourceID
.
The search criteria to be used to return prompts.
" + }, + "PromptSearchFilter": { + "type": "structure", + "members": { + "TagFilter": { + "shape": "ControlPlaneTagFilter" + } + }, + "documentation": "Filters to be applied to search results.
" + }, "PromptSummary": { "type": "structure", "members": { @@ -14861,7 +15032,8 @@ "documentation": "A list of conditions which would be applied together with an AND condition.
" }, "StringCondition": { - "shape": "StringCondition" + "shape": "StringCondition", + "documentation": "A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
, description
, and resourceID
.
A list of conditions which would be applied together with an OR condition.
" + }, + "AndConditions": { + "shape": "QuickConnectSearchConditionList", + "documentation": "A list of conditions which would be applied together with an AND condition.
" + }, + "StringCondition": { + "shape": "StringCondition", + "documentation": "A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
, description
, and resourceID
.
The search criteria to be used to return quick connects.
" + }, + "QuickConnectSearchFilter": { + "type": "structure", + "members": { + "TagFilter": { + "shape": "ControlPlaneTagFilter" + } + }, + "documentation": "Filters to be applied to search results.
" + }, + "QuickConnectSearchSummaryList": { + "type": "list", + "member": { + "shape": "QuickConnect" + } + }, "QuickConnectSummary": { "type": "structure", "members": { @@ -15492,7 +15703,8 @@ "documentation": "A list of conditions which would be applied together with an AND condition.
" }, "StringCondition": { - "shape": "StringCondition" + "shape": "StringCondition", + "documentation": "A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
, description
, and resourceID
.
The search criteria to be used to return routing profiles.
The name
and description
fields support \"contains\" queries with a minimum of 2 characters and a maximum of 25 characters. Any queries with character lengths outside of this range will throw invalid results.
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
" + }, + "NextToken": { + "shape": "NextToken2500", + "documentation": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
" + }, + "MaxResults": { + "shape": "MaxResult100", + "documentation": "The maximum number of results to return per page.
", + "box": true + }, + "SearchFilter": { + "shape": "HoursOfOperationSearchFilter", + "documentation": "Filters to be applied to search results.
" + }, + "SearchCriteria": { + "shape": "HoursOfOperationSearchCriteria", + "documentation": "The search criteria to be used to return hours of operations.
" + } + } + }, + "SearchHoursOfOperationsResponse": { + "type": "structure", + "members": { + "HoursOfOperations": { + "shape": "HoursOfOperationList", + "documentation": "Information about the hours of operations.
" + }, + "NextToken": { + "shape": "NextToken2500", + "documentation": "If there are additional results, this is the token for the next set of results.
" + }, + "ApproximateTotalCount": { + "shape": "ApproximateTotalCount", + "documentation": "The total number of hours of operations which matched your search query.
" + } + } + }, + "SearchPromptsRequest": { + "type": "structure", + "required": [ + "InstanceId" + ], + "members": { + "InstanceId": { + "shape": "InstanceId", + "documentation": "The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
" + }, + "NextToken": { + "shape": "NextToken2500", + "documentation": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
" + }, + "MaxResults": { + "shape": "MaxResult100", + "documentation": "The maximum number of results to return per page.
", + "box": true + }, + "SearchFilter": { + "shape": "PromptSearchFilter", + "documentation": "Filters to be applied to search results.
" + }, + "SearchCriteria": { + "shape": "PromptSearchCriteria", + "documentation": "The search criteria to be used to return prompts.
" + } + } + }, + "SearchPromptsResponse": { + "type": "structure", + "members": { + "Prompts": { + "shape": "PromptList", + "documentation": "Information about the prompts.
" + }, + "NextToken": { + "shape": "NextToken2500", + "documentation": "If there are additional results, this is the token for the next set of results.
" + }, + "ApproximateTotalCount": { + "shape": "ApproximateTotalCount", + "documentation": "The total number of quick connects which matched your search query.
" + } + } + }, "SearchQueuesRequest": { "type": "structure", "required": [ @@ -15849,6 +16153,52 @@ } } }, + "SearchQuickConnectsRequest": { + "type": "structure", + "required": [ + "InstanceId" + ], + "members": { + "InstanceId": { + "shape": "InstanceId", + "documentation": "The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
" + }, + "NextToken": { + "shape": "NextToken2500", + "documentation": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
" + }, + "MaxResults": { + "shape": "MaxResult100", + "documentation": "The maximum number of results to return per page.
", + "box": true + }, + "SearchFilter": { + "shape": "QuickConnectSearchFilter", + "documentation": "Filters to be applied to search results.
" + }, + "SearchCriteria": { + "shape": "QuickConnectSearchCriteria", + "documentation": "The search criteria to be used to return quick connects.
" + } + } + }, + "SearchQuickConnectsResponse": { + "type": "structure", + "members": { + "QuickConnects": { + "shape": "QuickConnectSearchSummaryList", + "documentation": "Information about the quick connects.
" + }, + "NextToken": { + "shape": "NextToken2500", + "documentation": "If there are additional results, this is the token for the next set of results.
" + }, + "ApproximateTotalCount": { + "shape": "ApproximateTotalCount", + "documentation": "The total number of quick connects which matched your search query.
" + } + } + }, "SearchRoutingProfilesRequest": { "type": "structure", "required": [ @@ -16760,7 +17110,7 @@ "documentation": "The type of comparison to be made when evaluating the string condition.
" } }, - "documentation": "A leaf node condition which can be used to specify a string condition.
The currently supported value for FieldName
: name
A leaf node condition which can be used to specify a string condition.
" }, "StringReference": { "type": "structure", @@ -19055,7 +19405,7 @@ }, "StringCondition": { "shape": "StringCondition", - "documentation": "A leaf node condition which can be used to specify a string condition.
" + "documentation": "A leaf node condition which can be used to specify a string condition.
The currently supported values for FieldName
are name
, description
, and resourceID
.
>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],442:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],443:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],447:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a >1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],442:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],443:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],447:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*C>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?k:m>=I+C?C:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?k:d>=o+C?C:d-o,!(l=0&&delete e.httpRequest.headers["Content-Length"]}function i(e){var t=new l,r=e.service.api.operations[e.operation].input;if(r.payload){var a={},i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),s(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&s(e,!0))}else e.httpRequest.body=t.build(e.params,r),s(e)}function s(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}function o(e){m.buildRequest(e),y.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){c.extractError(e)}function u(e){m.extractData(e);var t,r=e.request,a=r.service.api.operations[r.operation],i=r.service.api.operations[r.operation].output||{};a.hasEventOutput;if(i.payload){var s=i.members[i.payload],o=e.httpResponse.body;if(s.isEventStream)t=new d,e.data[payload]=p.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new d;e.data[i.payload]=t.parse(o,s)}else"binary"===s.type||s.isStreaming?e.data[i.payload]=o:e.data[i.payload]=s.toType(o)}else{var n=e.data;c.extractData(e),e.data=p.merge(n,e.data)}}var p=e("../util"),m=e("./rest"),c=e("./json"),l=e("../json/builder"),d=e("../json/parser"),y=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../json/builder":373,"../json/parser":374,"../util":427,"./json":385,"./rest":387}],389:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,a=e.params,i=t.payload;if(i){var s=t.members[i];if(void 0===(a=a[i]))return;if("structure"===s.type){var o=s.name;e.httpRequest.body=r.toXML(a,s,o,!0)}else e.httpRequest.body=a}else e.httpRequest.body=r.toXML(a,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){p.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&a(e)}function s(e){p.extractError(e);var t;try{t=(new n.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){p.extractData(e);var t,r=e.request,a=e.httpResponse.body,i=r.service.api.operations[r.operation],s=i.output,o=(i.hasEventOutput,s.payload);if(o){var m=s.members[o];m.isEventStream?(t=new n.XML.Parser,e.data[o]=u.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,m)):"structure"===m.type?(t=new n.XML.Parser,e.data[o]=t.parse(a.toString(),m)):"binary"===m.type||m.isStreaming?e.data[o]=a:e.data[o]=m.toType(a)}else if(a.length>0){t=new n.XML.Parser;var c=t.parse(a.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:i,extractError:s,extractData:o}},{"../core":349,"../util":427,"./rest":387}],390:[function(e,t,r){function a(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,a){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=i(s);n=e?e+"."+n:n,u(n,o,s,a)}})}function o(e,t,r,a){var i=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+i+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,a),u(e+m,s,r.value,a)})}function n(e,t,r,a){var s=r.member||{};if(0===t.length)return void a.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(i(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,a):"list"===r.type?n(e,t,r,a):"map"===r.type?o(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var p=e("../util");a.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=a},{"../util":427}],391:[function(e,t,r){var a=e("../core"),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=a.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),i=new a.Service(u),i.api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":349}],392:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],393:[function(e,t,r){function a(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function i(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:a,isGlobalRegion:i,getRealRegion:s}},{}],394:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=a(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],[t,"internal-*"],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=i(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),s.alloc(+e)}function S(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(a)return K(e).length;t=(""+t).toLowerCase(),a=!0}}function g(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return q(this,t,r);case"base64":return D(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function h(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function I(e,t,r,a,i){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=s.from(t,a)),s.isBuffer(t))return 0===t.length?-1:N(e,t,r,a,i);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):N(e,[t],r,a,i);throw new TypeError("val must be string, number or Buffer")}function N(e,t,r,a,i){function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,n=e.length,u=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,n/=2,u/=2,r/=2}var p;if(i){var m=-1;for(p=r;p>>8*(a?i:1-i)}function B(e,t,r,a){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i>>8*(a?i:3-i)&255}function U(e,t,r,a,i,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(e,t,r,a,i){return i||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,a,23,4),r+4}function F(e,t,r,a,i){return i||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,a,52,8),r+8}function O(e){if(e=V(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){t=t||1/0;for(var r,a=e.length,i=null,s=[],o=0;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function j(e){for(var t=[],r=0;r=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*C>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?k:m>=I+C?C:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?k:d>=o+C?C:d-o,!(l