Compare commits

...
Author SHA1 Message Date
7d59203323 v1.5.0 2026-09-18 15:20:16 +00:00
7063 changed files with 92 additions and 3038598 deletions

View file

@ -1,5 +1,29 @@
== Changelog ==
= 1.5.0 =
_Release date: 2026-09-18_
**Highlights**
* Multisite uninstall now cleans up every site, not just the current one
**Fixed**
* Multisite uninstall scope (KI-005): `uninstall.php` iterates all network sites via `get_sites()` + `switch_to_blog()`, so post meta, options, and cron events are removed from subsites too. Each site's own opt-in setting decides; single-site flow unchanged
**Compatibility**
* WordPress: 5.3 - 7.1 (new symbols used — `get_sites()`, `switch_to_blog()` — predate the 5.3 floor)
* PHP: 8.1 - 8.5
**Tests**
* PHP Coding Standards: 3.13.6 (0 errors)
* WordPress Coding Standards: 3.4.1 (0 violations)
* PHPStan: Level 9, 0 errors
* PHPUnit: 88 tests, 164 assertions (6 new uninstall tests: single-site opt-in/opt-out/corrupt, multisite per-site cleanup, empty site-list fallback)
= 1.4.4 =
_Release date: 2026-09-18_

View file

@ -4,7 +4,7 @@
* Plugin URI: https://www.robotstxt.software/plugins/idrivee2-media-upload/
* Update URI: https://www.robotstxt.software/plugins/idrivee2-media-upload/
* Description: Uploads media files to iDrivee2 (S3-compatible) with enterprise-grade security and logging.
* Version: 1.4.4
* Version: 1.5.0
* Requires at least: 5.3
* Requires PHP: 8.1
* Author: ROBOTSTXT
@ -35,7 +35,7 @@ if ( ! defined( 'ABSPATH' ) ) {
*
* @since 1.1.4
*/
define( 'IDRIVEE2_MEDIA_VERSION', '1.4.4' );
define( 'IDRIVEE2_MEDIA_VERSION', '1.5.0' );
/**
* Load Composer autoloader if available.

View file

@ -3,9 +3,9 @@ Contributors: robotstxt, javiercasares
Tags: media, upload, s3, cdn, storage, idrivee2, cloud
Requires at least: 5.3
Tested up to: 7.1
Stable tag: 1.4.4
Stable tag: 1.5.0
Requires PHP: 8.1
Version: 1.4.4
Version: 1.5.0
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.txt
@ -215,6 +215,26 @@ Updates are delivered through the [ROBOTSTXT Manager](https://www.robotstxt.soft
== Changelog ==
= 1.5.0 =
_Release date: 2026-09-18_
**Fixed**
* Multisite uninstall now cleans up all network sites (options, post meta, cron), honoring each site's own opt-in setting
**Compatibility**
* WordPress: 5.3 - 7.1
* PHP: 8.1 - 8.5
**Tests**
* PHP Coding Standards: 3.13.6 (0 errors)
* WordPress Coding Standards: 3.4.1 (0 violations)
* PHPStan: Level 9, 0 errors
* PHPUnit: 88 tests, 164 assertions
= 1.4.4 =
_Release date: 2026-09-18_
@ -264,38 +284,6 @@ _Release date: 2026-08-24_
* PHPStan: Level 9, 0 errors
* PHPUnit: 83 tests, 130 assertions
= 1.4.2 =
_Release date: 2026-08-17_
**Added**
* Dismissible admin notice on the Plugins page when the ROBOTSTXT Manager plugin is not installed or active, linking to https://www.robotstxt.software/plugins/robotstxt-manager/
* Persistent (non-dismissible) notice on Settings → iDrivee2 under the same condition
**Changed**
* Removed the bundled Gitea auto-updater (`robotstxt-updater.php` and `update.json`); automatic updates are now handled by the ROBOTSTXT Manager plugin
* Plugin URI and new `Update URI` header point to https://www.robotstxt.software/plugins/idrivee2-media-upload/
* Author URI updated to https://www.robotstxt.software/
* Composer dependencies updated (aws-sdk-php 3.392.3, guzzle 8.0.2, no known CVEs)
**Localization**
* POT regenerated for 1.4.2; Spanish (es_ES) and Catalan (ca) translations updated — 69/69 strings in both locales
**Compatibility**
* WordPress: 5.3 - 7.1
* PHP: 8.1 - 8.5
**Tests**
* PHP Coding Standards: 3.13.6 (0 errors)
* WordPress Coding Standards: 3.4.1 (0 violations)
* PHPStan: Level 9, 0 errors
* PHPUnit: 78 tests, 125 assertions
= Previous versions =
If you want to see the full changelog, visit the [plugin page](https://www.robotstxt.software/plugins/idrivee2-media-upload/).

View file

@ -7,6 +7,10 @@
* the "Delete all plugin data on uninstall" setting (data preservation
* policy per AGENTS-database-roles-performance-i18n.md).
*
* On Multisite every site is visited: options, post meta, and cron events
* are site-scoped, so cleaning only the current site would leave subsite
* data behind.
*
* @package iDrivee2Media
* @since 0.3.0
*/
@ -20,32 +24,54 @@ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
/**
* Clean up plugin data.
*
* By default all plugin data (post meta, options, statistics) is preserved.
* Data is only removed when the administrator has explicitly checked the
* "Delete all plugin data on uninstall" option on the settings page.
*
* Cron events are always cleared to prevent orphaned scheduled tasks.
*/
// On Multisite, clean up every site; otherwise just the current one.
// get_sites() defaults to 100 results, so 'number' => 0 (no limit) is
// required to reach every site on large networks.
$idrivee2_site_ids = array( get_current_blog_id() );
$idrivee2_settings = get_option( 'idrivee2_media_settings', array() );
$idrivee2_delete_data = is_array( $idrivee2_settings ) && isset( $idrivee2_settings['delete_on_uninstall'] ) && '1' === $idrivee2_settings['delete_on_uninstall'];
if ( is_multisite() ) {
$idrivee2_network_sites = get_sites(
array(
'fields' => 'ids',
'number' => 0,
)
);
if ( $idrivee2_delete_data ) {
// Delete all plugin post meta via the WordPress API.
delete_post_meta_by_key( '_idrivee2_last_upload' );
delete_post_meta_by_key( '_idrivee2_s3_base_url' );
// Delete plugin options.
delete_option( 'idrivee2_deletion_queue' );
delete_option( 'idrivee2_media_settings' );
delete_option( 'idrivee2_s3_operations' );
if ( ! empty( $idrivee2_network_sites ) ) {
$idrivee2_site_ids = array_map( 'intval', $idrivee2_network_sites );
}
}
// Always clear cron events to prevent orphaned scheduled tasks.
wp_clear_scheduled_hook( 'idrivee2_cleanup_local_files' );
// switch_to_blog() only exists on Multisite (ms-blogs.php is not loaded on
// single-site installs), so switch only when running Multisite.
$idrivee2_is_multisite = is_multisite();
foreach ( $idrivee2_site_ids as $idrivee2_site_id ) {
if ( $idrivee2_is_multisite ) {
switch_to_blog( $idrivee2_site_id );
}
$idrivee2_settings = get_option( 'idrivee2_media_settings', array() );
$idrivee2_delete_data = is_array( $idrivee2_settings ) && isset( $idrivee2_settings['delete_on_uninstall'] ) && '1' === $idrivee2_settings['delete_on_uninstall'];
if ( $idrivee2_delete_data ) {
// Delete all plugin post meta via the WordPress API.
delete_post_meta_by_key( '_idrivee2_last_upload' );
delete_post_meta_by_key( '_idrivee2_s3_base_url' );
// Delete plugin options.
delete_option( 'idrivee2_deletion_queue' );
delete_option( 'idrivee2_media_settings' );
delete_option( 'idrivee2_s3_operations' );
}
// Always clear cron events to prevent orphaned scheduled tasks.
wp_clear_scheduled_hook( 'idrivee2_cleanup_local_files' );
if ( $idrivee2_is_multisite ) {
restore_current_blog();
}
}
/**
* Note: Files uploaded to S3 are NOT deleted by this uninstall script.

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,212 +0,0 @@
{
"version": "1.1",
"parameters": {
"Region": {
"builtIn": "AWS::Region",
"required": false,
"documentation": "The AWS region used to dispatch the request.",
"type": "string"
},
"UseDualStack": {
"builtIn": "AWS::UseDualStack",
"required": true,
"default": false,
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
"type": "boolean"
},
"UseFIPS": {
"builtIn": "AWS::UseFIPS",
"required": true,
"default": false,
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
"type": "boolean"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send this request",
"type": "string"
}
},
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
},
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
},
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
},
true
]
},
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws-us-gov"
]
}
],
"results": [
{
"conditions": [],
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": {
"ref": "Endpoint"
},
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://access-analyzer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": "https://access-analyzer.{Region}.amazonaws.com",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": "https://access-analyzer.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": "https://access-analyzer.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
}
],
"root": 2,
"nodeCount": 14,
"nodes": "/////wAAAAH/////AAAAAAAAAA0AAAADAAAAAQAAAAQF9eEMAAAAAgAAAAUF9eEMAAAAAwAAAAgAAAAGAAAABAAAAAcF9eELAAAABQX14QkF9eEKAAAABAAAAAsAAAAJAAAABgAAAAoF9eEIAAAABwX14QYF9eEHAAAABQAAAAwF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAAOAAAABAX14QIF9eED"
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/accessanalyzer/2019-11-01/endpoint-bdd-1.json
return [ 'version' => '1.1', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'string', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'string', ], ], 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws-us-gov', ], ], ], 'results' => [ [ 'conditions' => [], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://access-analyzer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://access-analyzer.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://access-analyzer.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://access-analyzer.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ], 'root' => 2, 'nodeCount' => 14, 'nodes' => '/////wAAAAH/////AAAAAAAAAA0AAAADAAAAAQAAAAQF9eEMAAAAAgAAAAUF9eEMAAAAAwAAAAgAAAAGAAAABAAAAAcF9eELAAAABQX14QkF9eEKAAAABAAAAAsAAAAJAAAABgAAAAoF9eEIAAAABwX14QYF9eEHAAAABQAAAAwF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAAOAAAABAX14QIF9eED',];

View file

@ -1,339 +0,0 @@
{
"version": "1.0",
"parameters": {
"Region": {
"builtIn": "AWS::Region",
"required": false,
"documentation": "The AWS region used to dispatch the request.",
"type": "string"
},
"UseDualStack": {
"builtIn": "AWS::UseDualStack",
"required": true,
"default": false,
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
"type": "boolean"
},
"UseFIPS": {
"builtIn": "AWS::UseFIPS",
"required": true,
"default": false,
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
"type": "boolean"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send this request",
"type": "string"
}
},
"rules": [
{
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": {
"ref": "Endpoint"
},
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
}
],
"rules": [
{
"conditions": [
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
}
]
},
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
}
]
}
],
"rules": [
{
"conditions": [],
"endpoint": {
"url": "https://access-analyzer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
],
"type": "tree"
},
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
},
true
]
}
],
"rules": [
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws-us-gov"
]
}
],
"endpoint": {
"url": "https://access-analyzer.{Region}.amazonaws.com",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
],
"type": "tree"
},
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
}
]
}
],
"rules": [
{
"conditions": [],
"endpoint": {
"url": "https://access-analyzer.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
],
"type": "tree"
},
{
"conditions": [],
"endpoint": {
"url": "https://access-analyzer.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
}
]
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/accessanalyzer/2019-11-01/endpoint-rule-set-1.json
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'string', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'string', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://access-analyzer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws-us-gov', ], ], ], 'endpoint' => [ 'url' => 'https://access-analyzer.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://access-analyzer.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://access-analyzer.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];

View file

@ -1,634 +0,0 @@
{
"testCases": [
{
"documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.af-south-1.amazonaws.com"
}
},
"params": {
"Region": "af-south-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.ap-east-1.amazonaws.com"
}
},
"params": {
"Region": "ap-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.ap-northeast-1.amazonaws.com"
}
},
"params": {
"Region": "ap-northeast-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.ap-northeast-2.amazonaws.com"
}
},
"params": {
"Region": "ap-northeast-2",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.ap-northeast-3.amazonaws.com"
}
},
"params": {
"Region": "ap-northeast-3",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.ap-south-1.amazonaws.com"
}
},
"params": {
"Region": "ap-south-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.ap-southeast-1.amazonaws.com"
}
},
"params": {
"Region": "ap-southeast-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.ap-southeast-2.amazonaws.com"
}
},
"params": {
"Region": "ap-southeast-2",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.ap-southeast-3.amazonaws.com"
}
},
"params": {
"Region": "ap-southeast-3",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.ca-central-1.amazonaws.com"
}
},
"params": {
"Region": "ca-central-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.ca-central-1.amazonaws.com"
}
},
"params": {
"Region": "ca-central-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.eu-central-1.amazonaws.com"
}
},
"params": {
"Region": "eu-central-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.eu-north-1.amazonaws.com"
}
},
"params": {
"Region": "eu-north-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.eu-south-1.amazonaws.com"
}
},
"params": {
"Region": "eu-south-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.eu-west-1.amazonaws.com"
}
},
"params": {
"Region": "eu-west-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.eu-west-2.amazonaws.com"
}
},
"params": {
"Region": "eu-west-2",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.eu-west-3.amazonaws.com"
}
},
"params": {
"Region": "eu-west-3",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region me-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.me-south-1.amazonaws.com"
}
},
"params": {
"Region": "me-south-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.sa-east-1.amazonaws.com"
}
},
"params": {
"Region": "sa-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-east-2.amazonaws.com"
}
},
"params": {
"Region": "us-east-2",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.us-east-2.amazonaws.com"
}
},
"params": {
"Region": "us-east-2",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-west-1.amazonaws.com"
}
},
"params": {
"Region": "us-west-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.us-west-1.amazonaws.com"
}
},
"params": {
"Region": "us-west-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-west-2.amazonaws.com"
}
},
"params": {
"Region": "us-west-2",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.us-west-2.amazonaws.com"
}
},
"params": {
"Region": "us-west-2",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.cn-north-1.amazonaws.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.cn-northwest-1.amazonaws.com.cn"
}
},
"params": {
"Region": "cn-northwest-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.cn-north-1.amazonaws.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-gov-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-gov-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-gov-west-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-west-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-gov-west-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-west-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.us-gov-east-1.api.aws"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-gov-east-1.api.aws"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer-fips.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://access-analyzer.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
"expect": {
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
"expect": {
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true,
"Endpoint": "https://example.com"
}
},
{
"documentation": "Missing region",
"expect": {
"error": "Invalid Configuration: Missing Region"
}
}
],
"version": "1.0"
}

File diff suppressed because one or more lines are too long

View file

@ -1,200 +0,0 @@
{
"version": "1.0",
"examples": {
"CheckAccessNotGranted": [
{
"input": {
"access": [
{
"actions": [
"s3:PutObject"
]
}
],
"policyDocument": "{\"Version\":\"2012-10-17\",\"Id\":\"123\",\"Statement\":[{\"Sid\":\"AllowJohnDoe\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:user/JohnDoe\"},\"Action\":\"s3:GetObject\",\"Resource\":\"*\"}]}",
"policyType": "RESOURCE_POLICY"
},
"output": {
"message": "The policy document does not grant access to perform the listed actions or resources.",
"result": "PASS"
},
"id": "example-1",
"title": "Passing check. Restrictive identity policy."
},
{
"input": {
"access": [
{
"resources": [
"arn:aws:s3:::sensitive-bucket/*"
]
}
],
"policyDocument": "{\"Version\":\"2012-10-17\",\"Id\":\"123\",\"Statement\":[{\"Sid\":\"AllowJohnDoe\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:user/JohnDoe\"},\"Action\":\"s3:PutObject\",\"Resource\":\"arn:aws:s3:::non-sensitive-bucket/*\"}]}",
"policyType": "RESOURCE_POLICY"
},
"output": {
"message": "The policy document does not grant access to perform the listed actions or resources.",
"result": "PASS"
},
"id": "example-2",
"title": "Passing check. Restrictive S3 Bucket resource policy."
},
{
"input": {
"access": [
{
"resources": [
"arn:aws:s3:::my-bucket/*"
]
}
],
"policyDocument": "{\"Version\":\"2012-10-17\",\"Id\":\"123\",\"Statement\":[{\"Sid\":\"AllowJohnDoe\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:user/JohnDoe\"},\"Action\":\"s3:PutObject\",\"Resource\":\"arn:aws:s3:::my-bucket/*\"}]}",
"policyType": "RESOURCE_POLICY"
},
"output": {
"message": "The policy document grants access to perform one or more of the listed actions or resources.",
"reasons": [
{
"description": "One or more of the listed actions or resources in the statement with sid: AllowJohnDoe.",
"statementId": "AllowJohnDoe",
"statementIndex": 0
}
],
"result": "FAIL"
},
"id": "example-3",
"title": "Failing check. Permissive S3 Bucket resource policy."
}
],
"CheckNoPublicAccess": [
{
"input": {
"policyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Bob\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::111122223333:user/JohnDoe\"},\"Action\":[\"s3:GetObject\"]}]}",
"resourceType": "AWS::S3::Bucket"
},
"output": {
"message": "The resource policy does not grant public access for the given resource type.",
"result": "PASS"
},
"id": "example-1",
"title": "Passing check. S3 Bucket policy without public access."
},
{
"input": {
"policyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Bob\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":[\"s3:GetObject\"]}]}",
"resourceType": "AWS::S3::Bucket"
},
"output": {
"message": "The resource policy grants public access for the given resource type.",
"reasons": [
{
"description": "Public access granted in the following statement with sid: Bob.",
"statementId": "Bob",
"statementIndex": 0
}
],
"result": "FAIL"
},
"id": "example-2",
"title": "Failing check. S3 Bucket policy with public access."
}
],
"GenerateFindingRecommendation": [
{
"input": {
"analyzerArn": "arn:aws:access-analyzer:us-east-1:111122223333:analyzer/a",
"id": "finding-id"
},
"output": {},
"id": "example-1",
"title": "Successfully started generating finding recommendation"
},
{
"input": {
"analyzerArn": "arn:aws:access-analyzer:us-east-1:111122223333:analyzer/a",
"id": "!"
},
"id": "example-2",
"title": "Failed field validation for id value"
}
],
"GetFindingRecommendation": [
{
"input": {
"analyzerArn": "arn:aws:access-analyzer:us-east-1:111122223333:analyzer/a",
"id": "finding-id",
"maxResults": 3,
"nextToken": "token"
},
"output": {
"completedAt": "2000-01-01T00:00:01Z",
"recommendationType": "UnusedPermissionRecommendation",
"recommendedSteps": [
{
"unusedPermissionsRecommendedStep": {
"existingPolicyId": "policy-id",
"recommendedAction": "DETACH_POLICY"
}
},
{
"unusedPermissionsRecommendedStep": {
"existingPolicyId": "policy-id",
"recommendedAction": "CREATE_POLICY",
"recommendedPolicy": "policy-content"
}
}
],
"resourceArn": "arn:aws:iam::111122223333:role/test",
"startedAt": "2000-01-01T00:00:00Z",
"status": "SUCCEEDED"
},
"id": "example-1",
"title": "Successfully fetched finding recommendation"
},
{
"input": {
"analyzerArn": "arn:aws:access-analyzer:us-east-1:111122223333:analyzer/a",
"id": "finding-id",
"maxResults": 3
},
"output": {
"recommendationType": "UnusedPermissionRecommendation",
"resourceArn": "arn:aws:iam::111122223333:role/test",
"startedAt": "2000-01-01T00:00:00Z",
"status": "IN_PROGRESS"
},
"id": "example-2",
"title": "In progress finding recommendation"
},
{
"input": {
"analyzerArn": "arn:aws:access-analyzer:us-east-1:111122223333:analyzer/a",
"id": "finding-id",
"maxResults": 3
},
"output": {
"completedAt": "2000-01-01T00:00:01Z",
"error": {
"code": "SERVICE_ERROR",
"message": "Service error. Please try again."
},
"recommendationType": "UnusedPermissionRecommendation",
"resourceArn": "arn:aws:iam::111122223333:role/test",
"startedAt": "2000-01-01T00:00:00Z",
"status": "FAILED"
},
"id": "example-3",
"title": "Failed finding recommendation"
},
{
"input": {
"analyzerArn": "arn:aws:access-analyzer:us-east-1:111122223333:analyzer/a",
"id": "!"
},
"id": "example-4",
"title": "Failed field validation for id value"
}
]
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,70 +0,0 @@
{
"pagination": {
"GetFindingRecommendation": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "recommendedSteps"
},
"GetFindingV2": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "findingDetails"
},
"ListAccessPreviewFindings": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "findings"
},
"ListAccessPreviews": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "accessPreviews"
},
"ListAnalyzedResources": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "analyzedResources"
},
"ListAnalyzers": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "analyzers"
},
"ListArchiveRules": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "archiveRules"
},
"ListFindings": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "findings"
},
"ListFindingsV2": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "findings"
},
"ListPolicyGenerations": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "policyGenerations"
},
"ValidatePolicy": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "findings"
}
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/accessanalyzer/2019-11-01/paginators-1.json
return [ 'pagination' => [ 'GetFindingRecommendation' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'recommendedSteps', ], 'GetFindingV2' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'findingDetails', ], 'ListAccessPreviewFindings' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'findings', ], 'ListAccessPreviews' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'accessPreviews', ], 'ListAnalyzedResources' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'analyzedResources', ], 'ListAnalyzers' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'analyzers', ], 'ListArchiveRules' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'archiveRules', ], 'ListFindings' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'findings', ], 'ListFindingsV2' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'findings', ], 'ListPolicyGenerations' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'policyGenerations', ], 'ValidatePolicy' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'findings', ], ],];

View file

@ -1,42 +0,0 @@
{
"version" : 2,
"waiters" : {
"PolicyPreviewConfigurationActive" : {
"delay" : 5,
"maxAttempts" : 24,
"operation" : "GetPolicyPreviewConfiguration",
"acceptors" : [ {
"matcher" : "pathAll",
"argument" : "policyPreviewConfigurations[].status",
"state" : "success",
"expected" : "ACTIVE"
}, {
"matcher" : "pathAny",
"argument" : "policyPreviewConfigurations[].status",
"state" : "failure",
"expected" : "FAILED"
} ]
},
"PolicyPreviewJobCompleted" : {
"delay" : 30,
"maxAttempts" : 5,
"operation" : "GetPolicyPreviewJob",
"acceptors" : [ {
"matcher" : "path",
"argument" : "jobDetails.jobStatus",
"state" : "success",
"expected" : "COMPLETED"
}, {
"matcher" : "path",
"argument" : "jobDetails.jobStatus",
"state" : "failure",
"expected" : "FAILED"
}, {
"matcher" : "path",
"argument" : "jobDetails.jobStatus",
"state" : "failure",
"expected" : "CANCELED"
} ]
}
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/accessanalyzer/2019-11-01/waiters-2.json
return [ 'version' => 2, 'waiters' => [ 'PolicyPreviewConfigurationActive' => [ 'delay' => 5, 'maxAttempts' => 24, 'operation' => 'GetPolicyPreviewConfiguration', 'acceptors' => [ [ 'matcher' => 'pathAll', 'argument' => 'policyPreviewConfigurations[].status', 'state' => 'success', 'expected' => 'ACTIVE', ], [ 'matcher' => 'pathAny', 'argument' => 'policyPreviewConfigurations[].status', 'state' => 'failure', 'expected' => 'FAILED', ], ], ], 'PolicyPreviewJobCompleted' => [ 'delay' => 30, 'maxAttempts' => 5, 'operation' => 'GetPolicyPreviewJob', 'acceptors' => [ [ 'matcher' => 'path', 'argument' => 'jobDetails.jobStatus', 'state' => 'success', 'expected' => 'COMPLETED', ], [ 'matcher' => 'path', 'argument' => 'jobDetails.jobStatus', 'state' => 'failure', 'expected' => 'FAILED', ], [ 'matcher' => 'path', 'argument' => 'jobDetails.jobStatus', 'state' => 'failure', 'expected' => 'CANCELED', ], ], ], ],];

View file

@ -1,792 +0,0 @@
{
"version":"2.0",
"metadata":{
"apiVersion":"2018-05-10",
"auth":["aws.auth#sigv4"],
"endpointPrefix":"account-access",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceFullName":"Account Access",
"serviceId":"Account Access",
"signatureVersion":"v4",
"signingName":"account-access",
"uid":"account-access-2018-05-10"
},
"operations":{
"CreateApplication":{
"name":"CreateApplication",
"http":{
"method":"POST",
"requestUri":"/applications",
"responseCode":200
},
"input":{"shape":"CreateApplicationRequest"},
"output":{"shape":"CreateApplicationResponse"},
"errors":[
{"shape":"AlreadyCreatedException"},
{"shape":"AccessDeniedException"},
{"shape":"ThrottlingException"},
{"shape":"ConflictException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"idempotent":true
},
"CreateEntitlement":{
"name":"CreateEntitlement",
"http":{
"method":"POST",
"requestUri":"/entitlements",
"responseCode":200
},
"input":{"shape":"CreateEntitlementRequest"},
"output":{"shape":"CreateEntitlementResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ConflictException"},
{"shape":"ValidationException"},
{"shape":"ServiceQuotaExceededException"},
{"shape":"InternalServerException"}
],
"idempotent":true
},
"DeleteApplication":{
"name":"DeleteApplication",
"http":{
"method":"DELETE",
"requestUri":"/applications/{applicationArn}",
"responseCode":204
},
"input":{"shape":"DeleteApplicationRequest"},
"output":{"shape":"DeleteApplicationResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ConflictException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"idempotent":true
},
"DeleteEntitlement":{
"name":"DeleteEntitlement",
"http":{
"method":"DELETE",
"requestUri":"/entitlements/{entitlementId}",
"responseCode":204
},
"input":{"shape":"DeleteEntitlementRequest"},
"output":{"shape":"DeleteEntitlementResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ConflictException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"idempotent":true
},
"GetApplication":{
"name":"GetApplication",
"http":{
"method":"GET",
"requestUri":"/applications/{applicationArn}",
"responseCode":200
},
"input":{"shape":"GetApplicationRequest"},
"output":{"shape":"GetApplicationResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"GetEntitlement":{
"name":"GetEntitlement",
"http":{
"method":"GET",
"requestUri":"/entitlements/{entitlementId}",
"responseCode":200
},
"input":{"shape":"GetEntitlementRequest"},
"output":{"shape":"GetEntitlementResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"ListApplications":{
"name":"ListApplications",
"http":{
"method":"POST",
"requestUri":"/applications-list",
"responseCode":200
},
"input":{"shape":"ListApplicationsRequest"},
"output":{"shape":"ListApplicationsResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"ListEntitlements":{
"name":"ListEntitlements",
"http":{
"method":"POST",
"requestUri":"/entitlements-list",
"responseCode":200
},
"input":{"shape":"ListEntitlementsRequest"},
"output":{"shape":"ListEntitlementsResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
"method":"GET",
"requestUri":"/tags/{resourceArn}",
"responseCode":200
},
"input":{"shape":"ListTagsForResourceRequest"},
"output":{"shape":"ListTagsForResourceResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"TagResource":{
"name":"TagResource",
"http":{
"method":"POST",
"requestUri":"/tags/{resourceArn}",
"responseCode":200
},
"input":{"shape":"TagResourceRequest"},
"output":{"shape":"TagResourceResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
]
},
"UntagResource":{
"name":"UntagResource",
"http":{
"method":"DELETE",
"requestUri":"/tags/{resourceArn}",
"responseCode":200
},
"input":{"shape":"UntagResourceRequest"},
"output":{"shape":"UntagResourceResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"InternalServerException"}
],
"idempotent":true
}
},
"shapes":{
"AccessDeniedException":{
"type":"structure",
"members":{
"message":{"shape":"String"}
},
"error":{
"httpStatusCode":403,
"senderFault":true
},
"exception":true
},
"Account":{
"type":"string",
"max":12,
"min":12,
"pattern":"[0-9]{12}"
},
"AlreadyCreatedException":{
"type":"structure",
"members":{
"message":{"shape":"String"}
},
"exception":true
},
"ApplicationArn":{
"type":"string",
"max":2048,
"min":49,
"pattern":"arn:[a-z0-9-]+:account-access:[a-z0-9]+(-[a-z0-9]+)*:[0-9]{12}:application/[a-zA-Z0-9-]+"
},
"ApplicationList":{
"type":"list",
"member":{"shape":"ApplicationSummary"}
},
"ApplicationSummary":{
"type":"structure",
"required":[
"applicationArn",
"createdAt",
"updatedAt"
],
"members":{
"applicationArn":{"shape":"ApplicationArn"},
"tenantId":{"shape":"String"},
"createdAt":{"shape":"DateTime"},
"updatedAt":{"shape":"DateTime"}
}
},
"ConflictException":{
"type":"structure",
"members":{
"message":{"shape":"String"}
},
"error":{
"httpStatusCode":409,
"senderFault":true
},
"exception":true
},
"CreateApplicationRequest":{
"type":"structure",
"required":["identitySource"],
"members":{
"identitySource":{"shape":"IdentitySource"},
"tags":{"shape":"TagsMap"}
}
},
"CreateApplicationResponse":{
"type":"structure",
"required":["applicationArn"],
"members":{
"applicationArn":{"shape":"ApplicationArn"}
}
},
"CreateEntitlementRequest":{
"type":"structure",
"required":[
"applicationArn",
"entitlement"
],
"members":{
"applicationArn":{"shape":"ApplicationArn"},
"entitlement":{"shape":"Entitlement"}
}
},
"CreateEntitlementResponse":{
"type":"structure",
"required":["entitlementId"],
"members":{
"entitlementId":{"shape":"String"}
}
},
"DateTime":{
"type":"timestamp",
"timestampFormat":"iso8601"
},
"DeleteApplicationRequest":{
"type":"structure",
"required":["applicationArn"],
"members":{
"applicationArn":{
"shape":"ApplicationArn",
"location":"uri",
"locationName":"applicationArn"
}
}
},
"DeleteApplicationResponse":{
"type":"structure",
"members":{}
},
"DeleteEntitlementRequest":{
"type":"structure",
"required":[
"applicationArn",
"entitlementId"
],
"members":{
"applicationArn":{
"shape":"ApplicationArn",
"location":"querystring",
"locationName":"applicationArn"
},
"entitlementId":{
"shape":"String",
"location":"uri",
"locationName":"entitlementId"
}
}
},
"DeleteEntitlementResponse":{
"type":"structure",
"members":{}
},
"Entitlement":{
"type":"structure",
"members":{
"principalRole":{"shape":"PrincipalRoleEntitlement"}
},
"union":true
},
"EntitlementDetails":{
"type":"structure",
"members":{
"principalRole":{"shape":"PrincipalRoleEntitlementDetails"}
},
"union":true
},
"EntitlementFilter":{
"type":"structure",
"members":{
"principalRole":{"shape":"PrincipalRoleEntitlementFilter"}
}
},
"EntitlementSummary":{
"type":"structure",
"members":{
"principalRole":{"shape":"PrincipalRoleEntitlementSummary"}
},
"union":true
},
"EntitlementsList":{
"type":"list",
"member":{"shape":"EntitlementsListMember"}
},
"EntitlementsListMember":{
"type":"structure",
"required":[
"entitlementId",
"entitlement",
"createdAt"
],
"members":{
"entitlementId":{"shape":"String"},
"entitlement":{"shape":"EntitlementSummary"},
"createdAt":{"shape":"DateTime"}
}
},
"ErrorCode":{
"type":"string",
"enum":[
"AUTHORIZATION_ERROR",
"RESOURCE_NOT_FOUND_ERROR",
"SERVICE_QUOTA_EXCEEDED_ERROR",
"INTERNAL_SERVICE_ERROR"
]
},
"ErrorDetails":{
"type":"structure",
"required":[
"code",
"message"
],
"members":{
"code":{"shape":"ErrorCode"},
"message":{"shape":"String"}
}
},
"GetApplicationRequest":{
"type":"structure",
"required":["applicationArn"],
"members":{
"applicationArn":{
"shape":"ApplicationArn",
"location":"uri",
"locationName":"applicationArn"
}
}
},
"GetApplicationResponse":{
"type":"structure",
"required":[
"identitySource",
"status",
"createdAt",
"updatedAt"
],
"members":{
"identitySource":{"shape":"IdentitySourceDetails"},
"status":{"shape":"Status"},
"tenantId":{"shape":"String"},
"createdAt":{"shape":"DateTime"},
"updatedAt":{"shape":"DateTime"},
"tags":{"shape":"TagsMap"},
"error":{"shape":"ErrorDetails"}
}
},
"GetEntitlementRequest":{
"type":"structure",
"required":[
"applicationArn",
"entitlementId"
],
"members":{
"applicationArn":{
"shape":"ApplicationArn",
"location":"querystring",
"locationName":"applicationArn"
},
"entitlementId":{
"shape":"String",
"location":"uri",
"locationName":"entitlementId"
}
}
},
"GetEntitlementResponse":{
"type":"structure",
"required":[
"applicationArn",
"entitlementId",
"entitlement",
"createdAt"
],
"members":{
"applicationArn":{"shape":"ApplicationArn"},
"entitlementId":{"shape":"String"},
"entitlement":{"shape":"EntitlementDetails"},
"createdAt":{"shape":"DateTime"}
}
},
"GroupId":{
"type":"string",
"max":47,
"min":1,
"pattern":"([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}"
},
"IdentityCenter":{
"type":"structure",
"required":["instanceArn"],
"members":{
"instanceArn":{"shape":"IdentityCenterInstanceArn"}
}
},
"IdentityCenterApplicationArn":{
"type":"string",
"max":1224,
"min":10,
"pattern":"arn:[a-z0-9-]+:sso::[0-9]{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}"
},
"IdentityCenterDetails":{
"type":"structure",
"required":["instanceArn"],
"members":{
"instanceArn":{"shape":"IdentityCenterInstanceArn"},
"applicationArn":{"shape":"IdentityCenterApplicationArn"}
}
},
"IdentityCenterInstanceArn":{
"type":"string",
"max":1224,
"min":10,
"pattern":"arn:[a-z0-9-]+:sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}"
},
"IdentityCenterPrincipal":{
"type":"structure",
"members":{
"userId":{"shape":"UserId"},
"groupId":{"shape":"GroupId"}
},
"union":true
},
"IdentityCenterPrincipalFilter":{
"type":"structure",
"members":{
"userId":{"shape":"UserId"},
"groupId":{"shape":"GroupId"}
},
"union":true
},
"IdentitySource":{
"type":"structure",
"members":{
"identityCenter":{"shape":"IdentityCenter"}
},
"union":true
},
"IdentitySourceDetails":{
"type":"structure",
"members":{
"identityCenter":{"shape":"IdentityCenterDetails"}
},
"union":true
},
"InternalServerException":{
"type":"structure",
"members":{
"message":{"shape":"String"}
},
"error":{"httpStatusCode":500},
"exception":true,
"fault":true
},
"ListApplicationsRequest":{
"type":"structure",
"members":{
"maxResults":{"shape":"ListApplicationsRequestMaxResultsInteger"},
"nextToken":{"shape":"String"}
}
},
"ListApplicationsRequestMaxResultsInteger":{
"type":"integer",
"box":true,
"max":100,
"min":1
},
"ListApplicationsResponse":{
"type":"structure",
"required":["applications"],
"members":{
"applications":{"shape":"ApplicationList"},
"nextToken":{"shape":"String"}
}
},
"ListEntitlementsRequest":{
"type":"structure",
"required":[
"applicationArn",
"filter"
],
"members":{
"applicationArn":{"shape":"ApplicationArn"},
"filter":{"shape":"EntitlementFilter"},
"nextToken":{"shape":"String"},
"maxResults":{"shape":"ListEntitlementsRequestMaxResultsInteger"}
}
},
"ListEntitlementsRequestMaxResultsInteger":{
"type":"integer",
"box":true,
"max":100,
"min":1
},
"ListEntitlementsResponse":{
"type":"structure",
"required":["entitlements"],
"members":{
"entitlements":{"shape":"EntitlementsList"},
"nextToken":{"shape":"String"}
}
},
"ListTagsForResourceRequest":{
"type":"structure",
"required":["resourceArn"],
"members":{
"resourceArn":{
"shape":"ApplicationArn",
"location":"uri",
"locationName":"resourceArn"
}
}
},
"ListTagsForResourceResponse":{
"type":"structure",
"members":{
"tags":{"shape":"TagsMap"}
}
},
"Principal":{
"type":"structure",
"members":{
"identityCenter":{"shape":"IdentityCenterPrincipal"}
},
"union":true
},
"PrincipalFilter":{
"type":"structure",
"members":{
"identityCenter":{"shape":"IdentityCenterPrincipalFilter"}
},
"union":true
},
"PrincipalRoleEntitlement":{
"type":"structure",
"required":[
"principal",
"roleArn"
],
"members":{
"principal":{"shape":"Principal"},
"roleArn":{"shape":"RoleArn"}
}
},
"PrincipalRoleEntitlementDetails":{
"type":"structure",
"required":[
"principal",
"roleArn",
"account"
],
"members":{
"principal":{"shape":"Principal"},
"roleArn":{"shape":"RoleArn"},
"account":{"shape":"Account"},
"accountName":{"shape":"String"}
}
},
"PrincipalRoleEntitlementFilter":{
"type":"structure",
"members":{
"principal":{"shape":"PrincipalFilter"},
"roleArn":{"shape":"RoleArn"},
"account":{"shape":"Account"}
}
},
"PrincipalRoleEntitlementSummary":{
"type":"structure",
"required":[
"principal",
"roleArn",
"account"
],
"members":{
"principal":{"shape":"Principal"},
"roleArn":{"shape":"RoleArn"},
"account":{"shape":"Account"},
"accountName":{"shape":"String"}
}
},
"ResourceNotFoundException":{
"type":"structure",
"members":{
"message":{"shape":"String"}
},
"error":{
"httpStatusCode":404,
"senderFault":true
},
"exception":true
},
"RoleArn":{
"type":"string",
"pattern":"arn:[a-z0-9-]+:iam::[0-9]{12}:role/([a-zA-Z0-9+=,.@_-]+/)*[a-zA-Z0-9+=,.@_-]+"
},
"ServiceQuotaExceededException":{
"type":"structure",
"members":{
"message":{"shape":"String"}
},
"error":{
"httpStatusCode":402,
"senderFault":true
},
"exception":true
},
"Status":{
"type":"string",
"enum":[
"CREATE_IN_PROGRESS",
"ACTIVE",
"DELETE_IN_PROGRESS",
"CREATE_FAILED",
"DELETE_FAILED"
]
},
"String":{"type":"string"},
"TagKeys":{
"type":"list",
"member":{"shape":"String"}
},
"TagResourceRequest":{
"type":"structure",
"required":[
"resourceArn",
"tags"
],
"members":{
"resourceArn":{
"shape":"ApplicationArn",
"location":"uri",
"locationName":"resourceArn"
},
"tags":{"shape":"TagsMap"}
}
},
"TagResourceResponse":{
"type":"structure",
"members":{}
},
"TagsMap":{
"type":"map",
"key":{"shape":"String"},
"value":{"shape":"String"}
},
"ThrottlingException":{
"type":"structure",
"members":{
"message":{"shape":"String"}
},
"error":{
"httpStatusCode":429,
"senderFault":true
},
"exception":true
},
"UntagResourceRequest":{
"type":"structure",
"required":[
"resourceArn",
"tagKeys"
],
"members":{
"resourceArn":{
"shape":"ApplicationArn",
"location":"uri",
"locationName":"resourceArn"
},
"tagKeys":{
"shape":"TagKeys",
"location":"querystring",
"locationName":"tagKeys"
}
}
},
"UntagResourceResponse":{
"type":"structure",
"members":{}
},
"UserId":{
"type":"string",
"max":47,
"min":1,
"pattern":"([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}"
},
"ValidationException":{
"type":"structure",
"members":{
"message":{"shape":"String"}
},
"error":{
"httpStatusCode":400,
"senderFault":true
},
"exception":true
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,408 +0,0 @@
{
"version": "2.0",
"service": "<p>Account access manager enables you to manage applications and entitlements that grant IAM Identity Center principals access to IAM roles across accounts.</p>",
"operations": {
"CreateApplication": "<p>Creates an account access manager instance and its Amazon Web Services account access application in the associated IAM Identity Center instance. This operation is idempotent; calling it multiple times with the same parameters returns the existing application.</p>",
"CreateEntitlement": "<p>Creates an entitlement (assignment) in account access manager. An entitlement (assignment) grants a principal (IAM Identity Center user or group) permission to assume a specified IAM role in an Amazon Web Services account. This operation is idempotent.</p>",
"DeleteApplication": "<p>Deletes an account access manager application. This operation is idempotent; deleting an application that has already been deleted does not return an error.</p>",
"DeleteEntitlement": "<p>Deletes an entitlement from an account access manager application. This operation is idempotent; deleting an entitlement that has already been deleted does not return an error.</p>",
"GetApplication": "<p>Retrieves details about an account access manager application, including its status, identity source, and tags.</p>",
"GetEntitlement": "<p>Retrieves details about a specific entitlement for an account access manager application, including the principal, IAM role, and target account.</p>",
"ListApplications": "<p>Lists the account access manager applications in your account. Use pagination to ensure that the operation returns quickly and successfully.</p>",
"ListEntitlements": "<p>Lists the entitlements for a specified account access manager application. You can filter results by principal, IAM role, or account. Use pagination to ensure that the operation returns quickly and successfully.</p>",
"ListTagsForResource": "<p>Lists the tags associated with an account access manager resource.</p>",
"TagResource": "<p>Adds tags to an account access manager resource.</p>",
"UntagResource": "<p>Removes tags from an account access manager resource.</p>"
},
"shapes": {
"AccessDeniedException": {
"base": "<p>You do not have sufficient access to perform this operation.</p>",
"refs": {}
},
"Account": {
"base": null,
"refs": {
"PrincipalRoleEntitlementDetails$account": "<p>The 12-digit Amazon Web Services account ID where the IAM role resides.</p>",
"PrincipalRoleEntitlementFilter$account": "<p>The 12-digit Amazon Web Services account ID to filter entitlements by.</p>",
"PrincipalRoleEntitlementSummary$account": "<p>The 12-digit Amazon Web Services account ID where the IAM role resides.</p>"
}
},
"AlreadyCreatedException": {
"base": "<p>The resource you are trying to create already exists. To retrieve the existing resource, use the corresponding Get operation.</p>",
"refs": {}
},
"ApplicationArn": {
"base": null,
"refs": {
"ApplicationSummary$applicationArn": "<p>The ARN of the application.</p>",
"CreateApplicationResponse$applicationArn": "<p>The Amazon Resource Name (ARN) of the created application.</p>",
"CreateEntitlementRequest$applicationArn": "<p>Specifies the ARN of the application to create the entitlement for.</p>",
"DeleteApplicationRequest$applicationArn": "<p>Specifies the ARN of the application to delete.</p>",
"DeleteEntitlementRequest$applicationArn": "<p>Specifies the ARN of the application that the entitlement belongs to.</p>",
"GetApplicationRequest$applicationArn": "<p>Specifies the ARN of the application to retrieve.</p>",
"GetEntitlementRequest$applicationArn": "<p>Specifies the ARN of the application that the entitlement belongs to.</p>",
"GetEntitlementResponse$applicationArn": "<p>The ARN of the application that the entitlement belongs to.</p>",
"ListEntitlementsRequest$applicationArn": "<p>Specifies the ARN of the application to list entitlements for.</p>",
"ListTagsForResourceRequest$resourceArn": "<p>Specifies the ARN of the resource to list tags for.</p>",
"TagResourceRequest$resourceArn": "<p>Specifies the ARN of the resource to add tags to.</p>",
"UntagResourceRequest$resourceArn": "<p>Specifies the ARN of the resource to remove tags from.</p>"
}
},
"ApplicationList": {
"base": null,
"refs": {
"ListApplicationsResponse$applications": "<p>The list of applications.</p>"
}
},
"ApplicationSummary": {
"base": "<p>Contains summary information about an account access manager application.</p>",
"refs": {
"ApplicationList$member": null
}
},
"ConflictException": {
"base": "<p>The request conflicts with the current state of the resource.</p>",
"refs": {}
},
"CreateApplicationRequest": {
"base": null,
"refs": {}
},
"CreateApplicationResponse": {
"base": null,
"refs": {}
},
"CreateEntitlementRequest": {
"base": null,
"refs": {}
},
"CreateEntitlementResponse": {
"base": null,
"refs": {}
},
"DateTime": {
"base": null,
"refs": {
"ApplicationSummary$createdAt": "<p>The date and time when the application was created.</p>",
"ApplicationSummary$updatedAt": "<p>The date and time when the application was last updated.</p>",
"EntitlementsListMember$createdAt": "<p>The date and time when the entitlement was created.</p>",
"GetApplicationResponse$createdAt": "<p>The date and time when the application was created.</p>",
"GetApplicationResponse$updatedAt": "<p>The date and time when the application was last updated.</p>",
"GetEntitlementResponse$createdAt": "<p>The date and time when the entitlement was created.</p>"
}
},
"DeleteApplicationRequest": {
"base": null,
"refs": {}
},
"DeleteApplicationResponse": {
"base": null,
"refs": {}
},
"DeleteEntitlementRequest": {
"base": null,
"refs": {}
},
"DeleteEntitlementResponse": {
"base": null,
"refs": {}
},
"Entitlement": {
"base": "<p>Specifies the entitlement configuration for an account access manager application, defining which principal can assume which IAM role.</p>",
"refs": {
"CreateEntitlementRequest$entitlement": "<p>Specifies the entitlement configuration, including the principal and the IAM role to grant access to.</p>"
}
},
"EntitlementDetails": {
"base": "<p>Contains detailed information about an entitlement, including the principal, IAM role, and target account.</p>",
"refs": {
"GetEntitlementResponse$entitlement": "<p>The entitlement details, including the principal, IAM role, and target account.</p>"
}
},
"EntitlementFilter": {
"base": "<p>Specifies filter criteria for listing entitlements.</p>",
"refs": {
"ListEntitlementsRequest$filter": "<p>Specifies filter criteria to narrow the entitlements returned. You can filter by principal, IAM role, or account.</p>"
}
},
"EntitlementSummary": {
"base": "<p>Contains summary information about an entitlement.</p>",
"refs": {
"EntitlementsListMember$entitlement": "<p>The summary information for the entitlement.</p>"
}
},
"EntitlementsList": {
"base": null,
"refs": {
"ListEntitlementsResponse$entitlements": "<p>The list of entitlements for the specified application.</p>"
}
},
"EntitlementsListMember": {
"base": "<p>Contains information about an entitlement in a list result.</p>",
"refs": {
"EntitlementsList$member": null
}
},
"ErrorCode": {
"base": null,
"refs": {
"ErrorDetails$code": "<p>The error code that identifies the type of error.</p>"
}
},
"ErrorDetails": {
"base": "<p>Contains information about an error that occurred during application processing.</p>",
"refs": {
"GetApplicationResponse$error": "<p>The error details if the application is in a failed state.</p>"
}
},
"GetApplicationRequest": {
"base": null,
"refs": {}
},
"GetApplicationResponse": {
"base": null,
"refs": {}
},
"GetEntitlementRequest": {
"base": null,
"refs": {}
},
"GetEntitlementResponse": {
"base": null,
"refs": {}
},
"GroupId": {
"base": null,
"refs": {
"IdentityCenterPrincipal$groupId": "<p>The unique identifier of a group in IAM Identity Center.</p>",
"IdentityCenterPrincipalFilter$groupId": "<p>The unique identifier of a group in IAM Identity Center to filter by.</p>"
}
},
"IdentityCenter": {
"base": "<p>Specifies the IAM Identity Center instance to use as the identity source for an application.</p>",
"refs": {
"IdentitySource$identityCenter": "<p>The IAM Identity Center instance to use as the identity source.</p>"
}
},
"IdentityCenterApplicationArn": {
"base": null,
"refs": {
"IdentityCenterDetails$applicationArn": "<p>The ARN of the IAM Identity Center application created for this account access manager application.</p>"
}
},
"IdentityCenterDetails": {
"base": "<p>Contains detailed information about the IAM Identity Center configuration for an application.</p>",
"refs": {
"IdentitySourceDetails$identityCenter": "<p>The IAM Identity Center configuration details for the identity source.</p>"
}
},
"IdentityCenterInstanceArn": {
"base": null,
"refs": {
"IdentityCenter$instanceArn": "<p>The ARN of the IAM Identity Center instance.</p>",
"IdentityCenterDetails$instanceArn": "<p>The ARN of the IAM Identity Center instance.</p>"
}
},
"IdentityCenterPrincipal": {
"base": "<p>Identifies a user or group from IAM Identity Center.</p>",
"refs": {
"Principal$identityCenter": "<p>The IAM Identity Center principal (user or group).</p>"
}
},
"IdentityCenterPrincipalFilter": {
"base": "<p>Specifies filter criteria for an IAM Identity Center principal.</p>",
"refs": {
"PrincipalFilter$identityCenter": "<p>The IAM Identity Center principal filter criteria.</p>"
}
},
"IdentitySource": {
"base": "<p>Specifies the identity source for an account access manager application.</p>",
"refs": {
"CreateApplicationRequest$identitySource": "<p>Specifies the identity source for the application. The identity source defines the IAM Identity Center instance that provides principals for entitlements.</p>"
}
},
"IdentitySourceDetails": {
"base": "<p>Contains detailed information about the identity source for an application.</p>",
"refs": {
"GetApplicationResponse$identitySource": "<p>The identity source details for the application, including the IAM Identity Center instance configuration.</p>"
}
},
"InternalServerException": {
"base": "<p>An internal service error occurred. Try your request again later.</p>",
"refs": {}
},
"ListApplicationsRequest": {
"base": null,
"refs": {}
},
"ListApplicationsRequestMaxResultsInteger": {
"base": null,
"refs": {
"ListApplicationsRequest$maxResults": "<p>Specifies the maximum number of results to return in a single call.</p>"
}
},
"ListApplicationsResponse": {
"base": null,
"refs": {}
},
"ListEntitlementsRequest": {
"base": null,
"refs": {}
},
"ListEntitlementsRequestMaxResultsInteger": {
"base": null,
"refs": {
"ListEntitlementsRequest$maxResults": "<p>Specifies the maximum number of results to return in a single call.</p>"
}
},
"ListEntitlementsResponse": {
"base": null,
"refs": {}
},
"ListTagsForResourceRequest": {
"base": null,
"refs": {}
},
"ListTagsForResourceResponse": {
"base": null,
"refs": {}
},
"Principal": {
"base": "<p>Identifies a principal (user or group) that can be granted entitlements.</p>",
"refs": {
"PrincipalRoleEntitlement$principal": "<p>The principal (user or group) that is granted access to assume the IAM role.</p>",
"PrincipalRoleEntitlementDetails$principal": "<p>The principal (user or group) that is granted access to assume the IAM role.</p>",
"PrincipalRoleEntitlementSummary$principal": "<p>The principal (user or group) that is granted access to assume the IAM role.</p>"
}
},
"PrincipalFilter": {
"base": "<p>Specifies filter criteria for a principal.</p>",
"refs": {
"PrincipalRoleEntitlementFilter$principal": "<p>The principal to filter entitlements by.</p>"
}
},
"PrincipalRoleEntitlement": {
"base": "<p>Specifies a principal-to-role entitlement that grants an IAM Identity Center principal permission to assume an IAM role.</p>",
"refs": {
"Entitlement$principalRole": "<p>The principal-to-role mapping for the entitlement.</p>"
}
},
"PrincipalRoleEntitlementDetails": {
"base": "<p>Contains detailed information about a principal-to-role entitlement, including the target account.</p>",
"refs": {
"EntitlementDetails$principalRole": "<p>The principal-to-role mapping details for the entitlement, including the target account.</p>"
}
},
"PrincipalRoleEntitlementFilter": {
"base": "<p>Specifies filter criteria for principal-to-role entitlements. All specified criteria must match for an entitlement to be returned.</p>",
"refs": {
"EntitlementFilter$principalRole": "<p>The principal-to-role filter criteria for narrowing entitlement results.</p>"
}
},
"PrincipalRoleEntitlementSummary": {
"base": "<p>Contains summary information about a principal-to-role entitlement.</p>",
"refs": {
"EntitlementSummary$principalRole": "<p>The principal-to-role mapping summary for the entitlement.</p>"
}
},
"ResourceNotFoundException": {
"base": "<p>The specified resource does not exist. Verify that the resource identifier is correct and that the resource exists in the current Region.</p>",
"refs": {}
},
"RoleArn": {
"base": null,
"refs": {
"PrincipalRoleEntitlement$roleArn": "<p>The ARN of the IAM role that the principal can assume.</p>",
"PrincipalRoleEntitlementDetails$roleArn": "<p>The ARN of the IAM role that the principal can assume.</p>",
"PrincipalRoleEntitlementFilter$roleArn": "<p>The IAM role ARN to filter entitlements by.</p>",
"PrincipalRoleEntitlementSummary$roleArn": "<p>The ARN of the IAM role that the principal can assume.</p>"
}
},
"ServiceQuotaExceededException": {
"base": "<p>The request exceeds a service quota for your account.</p>",
"refs": {}
},
"Status": {
"base": null,
"refs": {
"GetApplicationResponse$status": "<p>The current status of the application.</p>"
}
},
"String": {
"base": null,
"refs": {
"AccessDeniedException$message": null,
"AlreadyCreatedException$message": null,
"ApplicationSummary$tenantId": "<p>The tenant identifier associated with the application.</p>",
"ConflictException$message": null,
"CreateEntitlementResponse$entitlementId": "<p>The unique identifier of the created entitlement.</p>",
"DeleteEntitlementRequest$entitlementId": "<p>Specifies the unique identifier of the entitlement to delete.</p>",
"EntitlementsListMember$entitlementId": "<p>The unique identifier of the entitlement.</p>",
"ErrorDetails$message": "<p>A human-readable message that describes the error.</p>",
"GetApplicationResponse$tenantId": "<p>The tenant identifier associated with the application.</p>",
"GetEntitlementRequest$entitlementId": "<p>Specifies the unique identifier of the entitlement to retrieve.</p>",
"GetEntitlementResponse$entitlementId": "<p>The unique identifier of the entitlement.</p>",
"InternalServerException$message": null,
"ListApplicationsRequest$nextToken": "<p>Specifies the pagination token from a previous call to retrieve the next set of results.</p>",
"ListApplicationsResponse$nextToken": "<p>The pagination token to use in a subsequent request to retrieve the next set of results. This value is null when there are no more results to return.</p>",
"ListEntitlementsRequest$nextToken": "<p>Specifies the pagination token from a previous call to retrieve the next set of results.</p>",
"ListEntitlementsResponse$nextToken": "<p>The pagination token to use in a subsequent request to retrieve the next set of results. This value is null when there are no more results to return.</p>",
"PrincipalRoleEntitlementDetails$accountName": "<p>The friendly name of the Amazon Web Services account where the IAM role resides.</p>",
"PrincipalRoleEntitlementSummary$accountName": "<p>The friendly name of the Amazon Web Services account where the IAM role resides.</p>",
"ResourceNotFoundException$message": null,
"ServiceQuotaExceededException$message": null,
"TagKeys$member": null,
"TagsMap$key": null,
"TagsMap$value": null,
"ThrottlingException$message": null,
"ValidationException$message": null
}
},
"TagKeys": {
"base": null,
"refs": {
"UntagResourceRequest$tagKeys": "<p>Specifies the tag keys to remove from the resource.</p>"
}
},
"TagResourceRequest": {
"base": null,
"refs": {}
},
"TagResourceResponse": {
"base": null,
"refs": {}
},
"TagsMap": {
"base": null,
"refs": {
"CreateApplicationRequest$tags": "<p>Specifies the tags to assign to the application.</p>",
"GetApplicationResponse$tags": "<p>The tags associated with the application.</p>",
"ListTagsForResourceResponse$tags": "<p>The tags associated with the resource.</p>",
"TagResourceRequest$tags": "<p>Specifies the tags to add to the resource.</p>"
}
},
"ThrottlingException": {
"base": "<p>The request was denied due to request throttling. Try your request again later.</p>",
"refs": {}
},
"UntagResourceRequest": {
"base": null,
"refs": {}
},
"UntagResourceResponse": {
"base": null,
"refs": {}
},
"UserId": {
"base": null,
"refs": {
"IdentityCenterPrincipal$userId": "<p>The unique identifier of a user in IAM Identity Center.</p>",
"IdentityCenterPrincipalFilter$userId": "<p>The unique identifier of a user in IAM Identity Center to filter by.</p>"
}
},
"ValidationException": {
"base": "<p>The input does not satisfy the constraints specified by the service. Check your request parameters and retry the request.</p>",
"refs": {}
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,104 +0,0 @@
{
"version": "1.1",
"parameters": {
"UseFIPS": {
"builtIn": "AWS::UseFIPS",
"required": true,
"default": false,
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
"type": "boolean"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send this request",
"type": "string"
},
"Region": {
"builtIn": "AWS::Region",
"required": false,
"documentation": "The AWS region used to dispatch the request.",
"type": "string"
}
},
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
},
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
},
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"results": [
{
"conditions": [],
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": {
"ref": "Endpoint"
},
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://account-access-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://account-access.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
}
],
"root": 2,
"nodeCount": 6,
"nodes": "/////wAAAAH/////AAAAAAAAAAYAAAADAAAAAQAAAAQF9eEFAAAAAgAAAAUF9eEFAAAAAwX14QMF9eEEAAAAAwX14QEF9eEC"
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account-access/2018-05-10/endpoint-bdd-1.json
return [ 'version' => '1.1', 'parameters' => [ 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'string', ], 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'string', ], ], 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'results' => [ [ 'conditions' => [], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://account-access-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://account-access.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ], 'root' => 2, 'nodeCount' => 6, 'nodes' => '/////wAAAAH/////AAAAAAAAAAYAAAADAAAAAQAAAAQF9eEFAAAAAgAAAAUF9eEFAAAAAwX14QMF9eEEAAAAAwX14QEF9eEC',];

View file

@ -1,137 +0,0 @@
{
"version": "1.0",
"parameters": {
"UseFIPS": {
"builtIn": "AWS::UseFIPS",
"required": true,
"default": false,
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
"type": "boolean"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send this request",
"type": "string"
},
"Region": {
"builtIn": "AWS::Region",
"required": false,
"documentation": "The AWS region used to dispatch the request.",
"type": "string"
}
},
"rules": [
{
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": {
"ref": "Endpoint"
},
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [],
"rules": [
{
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
}
],
"rules": [
{
"conditions": [
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"endpoint": {
"url": "https://account-access-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://account-access.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
}
],
"type": "tree"
}
]
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account-access/2018-05-10/endpoint-rule-set-1.json
return [ 'version' => '1.0', 'parameters' => [ 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'string', ], 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'string', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'endpoint' => [ 'url' => 'https://account-access-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://account-access.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ], 'type' => 'tree', ], ],];

View file

@ -1,105 +0,0 @@
{
"testCases": [
{
"documentation": "For custom endpoint with region not set and fips disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"Endpoint": "https://example.com",
"UseFIPS": false
}
},
{
"documentation": "For custom endpoint with fips enabled",
"expect": {
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
"Endpoint": "https://example.com",
"UseFIPS": true
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://account-access-fips.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://account-access.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false
}
},
{
"documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://account-access-fips.cn-northwest-1.api.amazonwebservices.com.cn"
}
},
"params": {
"Region": "cn-northwest-1",
"UseFIPS": true
}
},
{
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://account-access.cn-northwest-1.api.amazonwebservices.com.cn"
}
},
"params": {
"Region": "cn-northwest-1",
"UseFIPS": false
}
},
{
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://account-access-fips.us-gov-west-1.api.aws"
}
},
"params": {
"Region": "us-gov-west-1",
"UseFIPS": true
}
},
{
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://account-access.us-gov-west-1.api.aws"
}
},
"params": {
"Region": "us-gov-west-1",
"UseFIPS": false
}
},
{
"documentation": "Missing region",
"expect": {
"error": "Invalid Configuration: Missing Region"
}
}
],
"version": "1.0"
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account-access/2018-05-10/endpoint-tests-1.json
return [ 'testCases' => [ [ 'documentation' => 'For custom endpoint with region not set and fips disabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://example.com', ], ], 'params' => [ 'Endpoint' => 'https://example.com', 'UseFIPS' => false, ], ], [ 'documentation' => 'For custom endpoint with fips enabled', 'expect' => [ 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', ], 'params' => [ 'Endpoint' => 'https://example.com', 'UseFIPS' => true, ], ], [ 'documentation' => 'For region us-east-1 with FIPS enabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://account-access-fips.us-east-1.api.aws', ], ], 'params' => [ 'Region' => 'us-east-1', 'UseFIPS' => true, ], ], [ 'documentation' => 'For region us-east-1 with FIPS disabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://account-access.us-east-1.api.aws', ], ], 'params' => [ 'Region' => 'us-east-1', 'UseFIPS' => false, ], ], [ 'documentation' => 'For region cn-northwest-1 with FIPS enabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://account-access-fips.cn-northwest-1.api.amazonwebservices.com.cn', ], ], 'params' => [ 'Region' => 'cn-northwest-1', 'UseFIPS' => true, ], ], [ 'documentation' => 'For region cn-northwest-1 with FIPS disabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://account-access.cn-northwest-1.api.amazonwebservices.com.cn', ], ], 'params' => [ 'Region' => 'cn-northwest-1', 'UseFIPS' => false, ], ], [ 'documentation' => 'For region us-gov-west-1 with FIPS enabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://account-access-fips.us-gov-west-1.api.aws', ], ], 'params' => [ 'Region' => 'us-gov-west-1', 'UseFIPS' => true, ], ], [ 'documentation' => 'For region us-gov-west-1 with FIPS disabled and DualStack enabled', 'expect' => [ 'endpoint' => [ 'url' => 'https://account-access.us-gov-west-1.api.aws', ], ], 'params' => [ 'Region' => 'us-gov-west-1', 'UseFIPS' => false, ], ], [ 'documentation' => 'Missing region', 'expect' => [ 'error' => 'Invalid Configuration: Missing Region', ], ], ], 'version' => '1.0',];

View file

@ -1,4 +0,0 @@
{
"version": "1.0",
"examples": {}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account-access/2018-05-10/examples-1.json
return [ 'version' => '1.0', 'examples' => [],];

View file

@ -1,16 +0,0 @@
{
"pagination": {
"ListApplications": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "applications"
},
"ListEntitlements": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "entitlements"
}
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account-access/2018-05-10/paginators-1.json
return [ 'pagination' => [ 'ListApplications' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'applications', ], 'ListEntitlements' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'entitlements', ], ],];

View file

@ -1,26 +0,0 @@
{
"version" : 2,
"waiters" : {
"ApplicationActive" : {
"delay" : 5,
"maxAttempts" : 24,
"operation" : "GetApplication",
"acceptors" : [ {
"matcher" : "path",
"argument" : "status",
"state" : "success",
"expected" : "ACTIVE"
}, {
"matcher" : "path",
"argument" : "status",
"state" : "failure",
"expected" : "CREATE_FAILED"
}, {
"matcher" : "path",
"argument" : "status",
"state" : "failure",
"expected" : "DELETE_FAILED"
} ]
}
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account-access/2018-05-10/waiters-2.json
return [ 'version' => 2, 'waiters' => [ 'ApplicationActive' => [ 'delay' => 5, 'maxAttempts' => 24, 'operation' => 'GetApplication', 'acceptors' => [ [ 'matcher' => 'path', 'argument' => 'status', 'state' => 'success', 'expected' => 'ACTIVE', ], [ 'matcher' => 'path', 'argument' => 'status', 'state' => 'failure', 'expected' => 'CREATE_FAILED', ], [ 'matcher' => 'path', 'argument' => 'status', 'state' => 'failure', 'expected' => 'DELETE_FAILED', ], ], ], ],];

View file

@ -1,872 +0,0 @@
{
"version":"2.0",
"metadata":{
"apiVersion":"2021-02-01",
"auth":["aws.auth#sigv4"],
"endpointPrefix":"account",
"protocol":"rest-json",
"protocols":["rest-json"],
"serviceFullName":"AWS Account",
"serviceId":"Account",
"signatureVersion":"v4",
"signingName":"account",
"uid":"account-2021-02-01"
},
"operations":{
"AcceptPrimaryEmailUpdate":{
"name":"AcceptPrimaryEmailUpdate",
"http":{
"method":"POST",
"requestUri":"/acceptPrimaryEmailUpdate",
"responseCode":200
},
"input":{"shape":"AcceptPrimaryEmailUpdateRequest"},
"output":{"shape":"AcceptPrimaryEmailUpdateResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"ConflictException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
]
},
"DeleteAlternateContact":{
"name":"DeleteAlternateContact",
"http":{
"method":"POST",
"requestUri":"/deleteAlternateContact",
"responseCode":200
},
"input":{"shape":"DeleteAlternateContactRequest"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
{"shape":"AccessDeniedException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"idempotent":true
},
"DisableRegion":{
"name":"DisableRegion",
"http":{
"method":"POST",
"requestUri":"/disableRegion",
"responseCode":200
},
"input":{"shape":"DisableRegionRequest"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"ConflictException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
]
},
"EnableRegion":{
"name":"EnableRegion",
"http":{
"method":"POST",
"requestUri":"/enableRegion",
"responseCode":200
},
"input":{"shape":"EnableRegionRequest"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"ConflictException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
]
},
"GetAccountInformation":{
"name":"GetAccountInformation",
"http":{
"method":"POST",
"requestUri":"/getAccountInformation",
"responseCode":200
},
"input":{"shape":"GetAccountInformationRequest"},
"output":{"shape":"GetAccountInformationResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"GetAlternateContact":{
"name":"GetAlternateContact",
"http":{
"method":"POST",
"requestUri":"/getAlternateContact",
"responseCode":200
},
"input":{"shape":"GetAlternateContactRequest"},
"output":{"shape":"GetAlternateContactResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
{"shape":"AccessDeniedException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"GetContactInformation":{
"name":"GetContactInformation",
"http":{
"method":"POST",
"requestUri":"/getContactInformation",
"responseCode":200
},
"input":{"shape":"GetContactInformationRequest"},
"output":{"shape":"GetContactInformationResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ValidationException"},
{"shape":"AccessDeniedException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"GetGovCloudAccountInformation":{
"name":"GetGovCloudAccountInformation",
"http":{
"method":"POST",
"requestUri":"/getGovCloudAccountInformation",
"responseCode":200
},
"input":{"shape":"GetGovCloudAccountInformationRequest"},
"output":{"shape":"GetGovCloudAccountInformationResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"ResourceUnavailableException"},
{"shape":"ValidationException"},
{"shape":"AccessDeniedException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"GetPrimaryEmail":{
"name":"GetPrimaryEmail",
"http":{
"method":"POST",
"requestUri":"/getPrimaryEmail",
"responseCode":200
},
"input":{"shape":"GetPrimaryEmailRequest"},
"output":{"shape":"GetPrimaryEmailResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"GetPrimaryEmailUpdateStatus":{
"name":"GetPrimaryEmailUpdateStatus",
"http":{
"method":"POST",
"requestUri":"/getPrimaryEmailUpdateStatus",
"responseCode":200
},
"input":{"shape":"GetPrimaryEmailUpdateStatusRequest"},
"output":{"shape":"GetPrimaryEmailUpdateStatusResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"GetRegionOptStatus":{
"name":"GetRegionOptStatus",
"http":{
"method":"POST",
"requestUri":"/getRegionOptStatus",
"responseCode":200
},
"input":{"shape":"GetRegionOptStatusRequest"},
"output":{"shape":"GetRegionOptStatusResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"ListRegions":{
"name":"ListRegions",
"http":{
"method":"POST",
"requestUri":"/listRegions",
"responseCode":200
},
"input":{"shape":"ListRegionsRequest"},
"output":{"shape":"ListRegionsResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"readonly":true
},
"PutAccountName":{
"name":"PutAccountName",
"http":{
"method":"POST",
"requestUri":"/putAccountName",
"responseCode":200
},
"input":{"shape":"PutAccountNameRequest"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"idempotent":true
},
"PutAlternateContact":{
"name":"PutAlternateContact",
"http":{
"method":"POST",
"requestUri":"/putAlternateContact",
"responseCode":200
},
"input":{"shape":"PutAlternateContactRequest"},
"errors":[
{"shape":"ValidationException"},
{"shape":"AccessDeniedException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"idempotent":true
},
"PutContactInformation":{
"name":"PutContactInformation",
"http":{
"method":"POST",
"requestUri":"/putContactInformation",
"responseCode":200
},
"input":{"shape":"PutContactInformationRequest"},
"errors":[
{"shape":"ValidationException"},
{"shape":"AccessDeniedException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
],
"idempotent":true
},
"StartPrimaryEmailUpdate":{
"name":"StartPrimaryEmailUpdate",
"http":{
"method":"POST",
"requestUri":"/startPrimaryEmailUpdate",
"responseCode":200
},
"input":{"shape":"StartPrimaryEmailUpdateRequest"},
"output":{"shape":"StartPrimaryEmailUpdateResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"ValidationException"},
{"shape":"ConflictException"},
{"shape":"TooManyRequestsException"},
{"shape":"InternalServerException"}
]
}
},
"shapes":{
"AcceptPrimaryEmailUpdateRequest":{
"type":"structure",
"required":[
"AccountId",
"PrimaryEmail",
"Otp"
],
"members":{
"AccountId":{"shape":"AccountId"},
"PrimaryEmail":{"shape":"PrimaryEmailAddress"},
"Otp":{"shape":"Otp"}
}
},
"AcceptPrimaryEmailUpdateResponse":{
"type":"structure",
"members":{
"Status":{"shape":"PrimaryEmailUpdateStatus"}
}
},
"AccessDeniedException":{
"type":"structure",
"required":["message"],
"members":{
"message":{"shape":"String"},
"errorType":{
"shape":"String",
"location":"header",
"locationName":"x-amzn-ErrorType"
}
},
"error":{
"httpStatusCode":403,
"senderFault":true
},
"exception":true
},
"AccountCreatedDate":{
"type":"timestamp",
"timestampFormat":"iso8601"
},
"AccountId":{
"type":"string",
"pattern":"\\d{12}"
},
"AccountName":{
"type":"string",
"max":50,
"min":1,
"pattern":"[ -;=?-~]+",
"sensitive":true
},
"AccountState":{
"type":"string",
"enum":[
"PENDING_ACTIVATION",
"ACTIVE",
"SUSPENDED",
"CLOSED"
]
},
"AddressLine":{
"type":"string",
"max":60,
"min":1,
"sensitive":true
},
"AlternateContact":{
"type":"structure",
"members":{
"Name":{"shape":"Name"},
"Title":{"shape":"Title"},
"EmailAddress":{"shape":"EmailAddress"},
"PhoneNumber":{"shape":"PhoneNumber"},
"AlternateContactType":{"shape":"AlternateContactType"}
}
},
"AlternateContactType":{
"type":"string",
"enum":[
"BILLING",
"OPERATIONS",
"SECURITY"
]
},
"AwsAccountState":{
"type":"string",
"enum":[
"PENDING_ACTIVATION",
"ACTIVE",
"SUSPENDED",
"CLOSED"
]
},
"City":{
"type":"string",
"max":50,
"min":1,
"sensitive":true
},
"CompanyName":{
"type":"string",
"max":50,
"min":1,
"sensitive":true
},
"ConflictException":{
"type":"structure",
"required":["message"],
"members":{
"message":{"shape":"String"},
"errorType":{
"shape":"String",
"location":"header",
"locationName":"x-amzn-ErrorType"
}
},
"error":{
"httpStatusCode":409,
"senderFault":true
},
"exception":true
},
"ContactInformation":{
"type":"structure",
"required":[
"FullName",
"AddressLine1",
"City",
"PostalCode",
"CountryCode",
"PhoneNumber"
],
"members":{
"FullName":{"shape":"FullName"},
"AddressLine1":{"shape":"AddressLine"},
"AddressLine2":{"shape":"AddressLine"},
"AddressLine3":{"shape":"AddressLine"},
"City":{"shape":"City"},
"StateOrRegion":{"shape":"StateOrRegion"},
"DistrictOrCounty":{"shape":"DistrictOrCounty"},
"PostalCode":{"shape":"PostalCode"},
"CountryCode":{"shape":"CountryCode"},
"PhoneNumber":{"shape":"ContactInformationPhoneNumber"},
"CompanyName":{"shape":"CompanyName"},
"WebsiteUrl":{"shape":"WebsiteUrl"}
}
},
"ContactInformationPhoneNumber":{
"type":"string",
"max":20,
"min":1,
"pattern":"[+][\\s0-9()-]+",
"sensitive":true
},
"CountryCode":{
"type":"string",
"max":2,
"min":2,
"sensitive":true
},
"DeleteAlternateContactRequest":{
"type":"structure",
"required":["AlternateContactType"],
"members":{
"AlternateContactType":{"shape":"AlternateContactType"},
"AccountId":{"shape":"AccountId"}
}
},
"DisableRegionRequest":{
"type":"structure",
"required":["RegionName"],
"members":{
"AccountId":{"shape":"AccountId"},
"RegionName":{"shape":"RegionName"}
}
},
"DistrictOrCounty":{
"type":"string",
"max":50,
"min":1,
"sensitive":true
},
"EmailAddress":{
"type":"string",
"max":254,
"min":1,
"pattern":"[\\s]*[\\w+=.#|!&-]+@[\\w.-]+\\.[\\w]+[\\s]*",
"sensitive":true
},
"EnableRegionRequest":{
"type":"structure",
"required":["RegionName"],
"members":{
"AccountId":{"shape":"AccountId"},
"RegionName":{"shape":"RegionName"}
}
},
"FullName":{
"type":"string",
"max":50,
"min":1,
"sensitive":true
},
"GetAccountInformationRequest":{
"type":"structure",
"members":{
"AccountId":{"shape":"AccountId"}
}
},
"GetAccountInformationResponse":{
"type":"structure",
"members":{
"AccountId":{"shape":"AccountId"},
"AccountName":{"shape":"AccountName"},
"AccountCreatedDate":{"shape":"AccountCreatedDate"},
"AccountState":{"shape":"AccountState"}
}
},
"GetAlternateContactRequest":{
"type":"structure",
"required":["AlternateContactType"],
"members":{
"AlternateContactType":{"shape":"AlternateContactType"},
"AccountId":{"shape":"AccountId"}
}
},
"GetAlternateContactResponse":{
"type":"structure",
"members":{
"AlternateContact":{"shape":"AlternateContact"}
}
},
"GetContactInformationRequest":{
"type":"structure",
"members":{
"AccountId":{"shape":"AccountId"}
}
},
"GetContactInformationResponse":{
"type":"structure",
"members":{
"ContactInformation":{"shape":"ContactInformation"}
}
},
"GetGovCloudAccountInformationRequest":{
"type":"structure",
"members":{
"StandardAccountId":{"shape":"AccountId"}
}
},
"GetGovCloudAccountInformationResponse":{
"type":"structure",
"required":[
"GovCloudAccountId",
"AccountState"
],
"members":{
"GovCloudAccountId":{"shape":"AccountId"},
"AccountState":{"shape":"AwsAccountState"}
}
},
"GetPrimaryEmailRequest":{
"type":"structure",
"required":["AccountId"],
"members":{
"AccountId":{"shape":"AccountId"}
}
},
"GetPrimaryEmailResponse":{
"type":"structure",
"members":{
"PrimaryEmail":{"shape":"PrimaryEmailAddress"}
}
},
"GetPrimaryEmailUpdateStatusRequest":{
"type":"structure",
"members":{
"AccountId":{"shape":"AccountId"}
}
},
"GetPrimaryEmailUpdateStatusResponse":{
"type":"structure",
"required":["Status"],
"members":{
"Status":{"shape":"PrimaryEmailUpdateStatus"},
"UpdatedAt":{"shape":"Timestamp"}
}
},
"GetRegionOptStatusRequest":{
"type":"structure",
"required":["RegionName"],
"members":{
"AccountId":{"shape":"AccountId"},
"RegionName":{"shape":"RegionName"}
}
},
"GetRegionOptStatusResponse":{
"type":"structure",
"members":{
"RegionName":{"shape":"RegionName"},
"RegionOptStatus":{"shape":"RegionOptStatus"}
}
},
"InternalServerException":{
"type":"structure",
"required":["message"],
"members":{
"message":{"shape":"String"},
"errorType":{
"shape":"String",
"location":"header",
"locationName":"x-amzn-ErrorType"
}
},
"error":{"httpStatusCode":500},
"exception":true,
"fault":true,
"retryable":{"throttling":false}
},
"ListRegionsRequest":{
"type":"structure",
"members":{
"AccountId":{"shape":"AccountId"},
"MaxResults":{"shape":"ListRegionsRequestMaxResultsInteger"},
"NextToken":{"shape":"ListRegionsRequestNextTokenString"},
"RegionOptStatusContains":{"shape":"RegionOptStatusList"}
}
},
"ListRegionsRequestMaxResultsInteger":{
"type":"integer",
"box":true,
"max":50,
"min":1
},
"ListRegionsRequestNextTokenString":{
"type":"string",
"max":1000,
"min":0
},
"ListRegionsResponse":{
"type":"structure",
"members":{
"NextToken":{"shape":"String"},
"Regions":{"shape":"RegionOptList"}
}
},
"Name":{
"type":"string",
"max":64,
"min":1,
"sensitive":true
},
"Otp":{
"type":"string",
"pattern":"[a-zA-Z0-9]{6}",
"sensitive":true
},
"PhoneNumber":{
"type":"string",
"max":25,
"min":1,
"pattern":"[\\s0-9()+-]+",
"sensitive":true
},
"PostalCode":{
"type":"string",
"max":20,
"min":1,
"sensitive":true
},
"PrimaryEmailAddress":{
"type":"string",
"max":64,
"min":5,
"sensitive":true
},
"PrimaryEmailUpdateStatus":{
"type":"string",
"enum":[
"PENDING",
"ACCEPTED",
"COMPLETED",
"FAILED"
]
},
"PutAccountNameRequest":{
"type":"structure",
"required":["AccountName"],
"members":{
"AccountName":{"shape":"AccountName"},
"AccountId":{"shape":"AccountId"}
}
},
"PutAlternateContactRequest":{
"type":"structure",
"required":[
"Name",
"Title",
"EmailAddress",
"PhoneNumber",
"AlternateContactType"
],
"members":{
"Name":{"shape":"Name"},
"Title":{"shape":"Title"},
"EmailAddress":{"shape":"EmailAddress"},
"PhoneNumber":{"shape":"PhoneNumber"},
"AlternateContactType":{"shape":"AlternateContactType"},
"AccountId":{"shape":"AccountId"}
}
},
"PutContactInformationRequest":{
"type":"structure",
"required":["ContactInformation"],
"members":{
"ContactInformation":{"shape":"ContactInformation"},
"AccountId":{"shape":"AccountId"}
}
},
"Region":{
"type":"structure",
"members":{
"RegionName":{"shape":"RegionName"},
"RegionOptStatus":{"shape":"RegionOptStatus"}
}
},
"RegionName":{
"type":"string",
"max":50,
"min":1
},
"RegionOptList":{
"type":"list",
"member":{"shape":"Region"}
},
"RegionOptStatus":{
"type":"string",
"enum":[
"ENABLED",
"ENABLING",
"DISABLING",
"DISABLED",
"ENABLED_BY_DEFAULT"
]
},
"RegionOptStatusList":{
"type":"list",
"member":{"shape":"RegionOptStatus"}
},
"ResourceNotFoundException":{
"type":"structure",
"required":["message"],
"members":{
"message":{"shape":"String"},
"errorType":{
"shape":"String",
"location":"header",
"locationName":"x-amzn-ErrorType"
}
},
"error":{
"httpStatusCode":404,
"senderFault":true
},
"exception":true
},
"ResourceUnavailableException":{
"type":"structure",
"required":["message"],
"members":{
"message":{"shape":"String"},
"errorType":{
"shape":"String",
"location":"header",
"locationName":"x-amzn-ErrorType"
}
},
"error":{
"httpStatusCode":424,
"senderFault":true
},
"exception":true
},
"SensitiveString":{
"type":"string",
"sensitive":true
},
"StartPrimaryEmailUpdateRequest":{
"type":"structure",
"required":[
"AccountId",
"PrimaryEmail"
],
"members":{
"AccountId":{"shape":"AccountId"},
"PrimaryEmail":{"shape":"PrimaryEmailAddress"}
}
},
"StartPrimaryEmailUpdateResponse":{
"type":"structure",
"members":{
"Status":{"shape":"PrimaryEmailUpdateStatus"}
}
},
"StateOrRegion":{
"type":"string",
"max":50,
"min":1,
"sensitive":true
},
"String":{"type":"string"},
"Timestamp":{"type":"timestamp"},
"Title":{
"type":"string",
"max":50,
"min":1,
"sensitive":true
},
"TooManyRequestsException":{
"type":"structure",
"required":["message"],
"members":{
"message":{"shape":"String"},
"errorType":{
"shape":"String",
"location":"header",
"locationName":"x-amzn-ErrorType"
}
},
"error":{
"httpStatusCode":429,
"senderFault":true
},
"exception":true,
"retryable":{"throttling":true}
},
"ValidationException":{
"type":"structure",
"required":["message"],
"members":{
"message":{"shape":"SensitiveString"},
"reason":{"shape":"ValidationExceptionReason"},
"fieldList":{"shape":"ValidationExceptionFieldList"}
},
"error":{
"httpStatusCode":400,
"senderFault":true
},
"exception":true
},
"ValidationExceptionField":{
"type":"structure",
"required":[
"name",
"message"
],
"members":{
"name":{"shape":"String"},
"message":{"shape":"SensitiveString"}
}
},
"ValidationExceptionFieldList":{
"type":"list",
"member":{"shape":"ValidationExceptionField"}
},
"ValidationExceptionReason":{
"type":"string",
"enum":[
"invalidRegionOptTarget",
"fieldValidationFailed"
]
},
"WebsiteUrl":{
"type":"string",
"max":256,
"min":1,
"sensitive":true
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,4 +0,0 @@
{
"added": {
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account/2021-02-01/defaults-1.json
return [ 'added' => [],];

View file

@ -1,436 +0,0 @@
{
"version": "2.0",
"service": "<p>Operations for Amazon Web Services Account Management</p>",
"operations": {
"AcceptPrimaryEmailUpdate": "<p>Accepts the request that originated from <a>StartPrimaryEmailUpdate</a> to update the primary email address (also known as the root user email address) for the specified account.</p>",
"DeleteAlternateContact": "<p>Deletes the specified alternate contact from an Amazon Web Services account.</p> <p>For complete details about how to use the alternate contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-alternate.html\">Update the alternate contacts for your Amazon Web Services account</a>.</p> <note> <p>Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html\">Enable trusted access for Amazon Web Services Account Management</a>.</p> </note>",
"DisableRegion": "<p>Disables (opts-out) a particular Region for an account.</p> <note> <p>The act of disabling a Region will remove all IAM access to any resources that reside in that Region.</p> </note>",
"EnableRegion": "<p>Enables (opts-in) a particular Region for an account.</p>",
"GetAccountInformation": "<p>Retrieves information about the specified account including its account name, account ID, account creation date and time, and account state. To use this API, an IAM user or role must have the <code>account:GetAccountInformation</code> IAM permission. </p>",
"GetAlternateContact": "<p>Retrieves the specified alternate contact attached to an Amazon Web Services account.</p> <p>For complete details about how to use the alternate contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-alternate.html\">Update the alternate contacts for your Amazon Web Services account</a>.</p> <note> <p>Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html\">Enable trusted access for Amazon Web Services Account Management</a>.</p> </note>",
"GetContactInformation": "<p>Retrieves the primary contact information of an Amazon Web Services account.</p> <p>For complete details about how to use the primary contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-primary.html\">Update the primary contact for your Amazon Web Services account</a>.</p>",
"GetGovCloudAccountInformation": "<p>Retrieves information about the GovCloud account linked to the specified standard account (if it exists) including the GovCloud account ID and state. To use this API, an IAM user or role must have the <code>account:GetGovCloudAccountInformation</code> IAM permission. </p>",
"GetPrimaryEmail": "<p>Retrieves the primary email address for the specified account.</p>",
"GetPrimaryEmailUpdateStatus": "<p>Retrieves the status of the most recent primary email update for the specified account. For complete details about how to update the primary email address, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-root-user-email.html\">Update the primary email address for your AWS account</a>.</p>",
"GetRegionOptStatus": "<p>Retrieves the opt-in status of a particular Region.</p>",
"ListRegions": "<p>Lists all the Regions for a given account and their respective opt-in statuses. Optionally, this list can be filtered by the <code>region-opt-status-contains</code> parameter. </p>",
"PutAccountName": "<p>Updates the account name of the specified account. To use this API, IAM principals must have the <code>account:PutAccountName</code> IAM permission. </p>",
"PutAlternateContact": "<p>Modifies the specified alternate contact attached to an Amazon Web Services account.</p> <p>For complete details about how to use the alternate contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-alternate.html\">Update the alternate contacts for your Amazon Web Services account</a>.</p> <note> <p>Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/using-orgs-trusted-access.html\">Enable trusted access for Amazon Web Services Account Management</a>.</p> </note>",
"PutContactInformation": "<p>Updates the primary contact information of an Amazon Web Services account.</p> <p>For complete details about how to use the primary contact operations, see <a href=\"https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-update-contact-primary.html\">Update the primary contact for your Amazon Web Services account</a>.</p>",
"StartPrimaryEmailUpdate": "<p>Starts the process to update the primary email address for the specified account.</p>"
},
"shapes": {
"AcceptPrimaryEmailUpdateRequest": {
"base": null,
"refs": {}
},
"AcceptPrimaryEmailUpdateResponse": {
"base": null,
"refs": {}
},
"AccessDeniedException": {
"base": "<p>The operation failed because the calling identity doesn't have the minimum required permissions.</p>",
"refs": {}
},
"AccountCreatedDate": {
"base": null,
"refs": {
"GetAccountInformationResponse$AccountCreatedDate": "<p>The date and time the account was created.</p>"
}
},
"AccountId": {
"base": null,
"refs": {
"AcceptPrimaryEmailUpdateRequest$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated admin</a> account assigned.</p> <p>This operation can only be called from the management account or the delegated administrator account of an organization for a member account.</p> <note> <p>The management account can't specify its own <code>AccountId</code>.</p> </note>",
"DeleteAlternateContactRequest$AccountId": "<p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated administrator</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"DisableRegionRequest$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"EnableRegionRequest$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"GetAccountInformationRequest$AccountId": "<p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated administrator</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"GetAccountInformationResponse$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated admin</a> account assigned.</p> <p>This operation can only be called from the management account or the delegated administrator account of an organization for a member account.</p> <note> <p>The management account can't specify its own <code>AccountId</code>.</p> </note>",
"GetAlternateContactRequest$AccountId": "<p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated administrator</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"GetContactInformationRequest$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"GetGovCloudAccountInformationRequest$StandardAccountId": "<p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated administrator</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"GetGovCloudAccountInformationResponse$GovCloudAccountId": "<p>The 12-digit account ID number of the linked GovCloud account.</p>",
"GetPrimaryEmailRequest$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated admin</a> account assigned.</p> <p>This operation can only be called from the management account or the delegated administrator account of an organization for a member account.</p> <note> <p>The management account can't specify its own <code>AccountId</code>.</p> </note>",
"GetPrimaryEmailUpdateStatusRequest$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated admin</a> account assigned.</p> <p>This operation can only be called from the management account or the delegated administrator account of an organization for a member account.</p> <note> <p>The management account can't specify its own <code>AccountId</code>.</p> </note>",
"GetRegionOptStatusRequest$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"ListRegionsRequest$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated admin</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"PutAccountNameRequest$AccountId": "<p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated administrator</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"PutAlternateContactRequest$AccountId": "<p>Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.</p> <p>If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.</p> <p>To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated administrator</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>; it must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"PutContactInformationRequest$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/services-that-can-integrate-account.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated administrator</a> account assigned.</p> <note> <p>The management account can't specify its own <code>AccountId</code>. It must call the operation in standalone context by not including the <code>AccountId</code> parameter.</p> </note> <p>To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.</p>",
"StartPrimaryEmailUpdateRequest$AccountId": "<p>Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#account\">organization's management account</a> or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html\">all features enabled</a>, and the organization must have <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html\">trusted access</a> enabled for the Account Management service, and optionally a <a href=\"https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#delegated-admin\">delegated admin</a> account assigned.</p> <p>This operation can only be called from the management account or the delegated administrator account of an organization for a member account.</p> <note> <p>The management account can't specify its own <code>AccountId</code>.</p> </note>"
}
},
"AccountName": {
"base": null,
"refs": {
"GetAccountInformationResponse$AccountName": "<p>The name of the account.</p>",
"PutAccountNameRequest$AccountName": "<p>The name of the account.</p>"
}
},
"AccountState": {
"base": null,
"refs": {
"GetAccountInformationResponse$AccountState": "<p>The state of the account. Each account state represents a specific phase in the account lifecycle. Use this information to manage account access, automate workflows, or trigger actions based on account state changes.</p> <p>Valid values: <code>PENDING_ACTIVATION | ACTIVE | SUSPENDED | CLOSED</code> </p>"
}
},
"AddressLine": {
"base": null,
"refs": {
"ContactInformation$AddressLine1": "<p>The first line of the primary contact address.</p>",
"ContactInformation$AddressLine2": "<p>The second line of the primary contact address, if any.</p>",
"ContactInformation$AddressLine3": "<p>The third line of the primary contact address, if any.</p>"
}
},
"AlternateContact": {
"base": "<p>A structure that contains the details of an alternate contact associated with an Amazon Web Services account</p>",
"refs": {
"GetAlternateContactResponse$AlternateContact": "<p>A structure that contains the details for the specified alternate contact.</p>"
}
},
"AlternateContactType": {
"base": null,
"refs": {
"AlternateContact$AlternateContactType": "<p>The type of alternate contact.</p>",
"DeleteAlternateContactRequest$AlternateContactType": "<p>Specifies which of the alternate contacts to delete. </p>",
"GetAlternateContactRequest$AlternateContactType": "<p>Specifies which alternate contact you want to retrieve.</p>",
"PutAlternateContactRequest$AlternateContactType": "<p>Specifies which alternate contact you want to create or update.</p>"
}
},
"AwsAccountState": {
"base": null,
"refs": {
"GetGovCloudAccountInformationResponse$AccountState": "<p>The account state of the linked GovCloud account.</p>"
}
},
"City": {
"base": null,
"refs": {
"ContactInformation$City": "<p>The city of the primary contact address.</p>"
}
},
"CompanyName": {
"base": null,
"refs": {
"ContactInformation$CompanyName": "<p>The name of the company associated with the primary contact information, if any.</p>"
}
},
"ConflictException": {
"base": "<p>The request could not be processed because of a conflict in the current status of the resource. For example, this happens if you try to enable a Region that is currently being disabled (in a status of DISABLING) or if you try to change an accounts root user email to an email address which is already in use.</p>",
"refs": {}
},
"ContactInformation": {
"base": "<p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>",
"refs": {
"GetContactInformationResponse$ContactInformation": "<p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>",
"PutContactInformationRequest$ContactInformation": "<p>Contains the details of the primary contact information associated with an Amazon Web Services account.</p>"
}
},
"ContactInformationPhoneNumber": {
"base": null,
"refs": {
"ContactInformation$PhoneNumber": "<p>The phone number of the primary contact information. The number will be validated and, in some countries, checked for activation.</p>"
}
},
"CountryCode": {
"base": null,
"refs": {
"ContactInformation$CountryCode": "<p>The ISO-3166 two-letter country code for the primary contact address.</p>"
}
},
"DeleteAlternateContactRequest": {
"base": null,
"refs": {}
},
"DisableRegionRequest": {
"base": null,
"refs": {}
},
"DistrictOrCounty": {
"base": null,
"refs": {
"ContactInformation$DistrictOrCounty": "<p>The district or county of the primary contact address, if any.</p>"
}
},
"EmailAddress": {
"base": null,
"refs": {
"AlternateContact$EmailAddress": "<p>The email address associated with this alternate contact.</p>",
"PutAlternateContactRequest$EmailAddress": "<p>Specifies an email address for the alternate contact. </p>"
}
},
"EnableRegionRequest": {
"base": null,
"refs": {}
},
"FullName": {
"base": null,
"refs": {
"ContactInformation$FullName": "<p>The full name of the primary contact address.</p>"
}
},
"GetAccountInformationRequest": {
"base": null,
"refs": {}
},
"GetAccountInformationResponse": {
"base": null,
"refs": {}
},
"GetAlternateContactRequest": {
"base": null,
"refs": {}
},
"GetAlternateContactResponse": {
"base": null,
"refs": {}
},
"GetContactInformationRequest": {
"base": null,
"refs": {}
},
"GetContactInformationResponse": {
"base": null,
"refs": {}
},
"GetGovCloudAccountInformationRequest": {
"base": null,
"refs": {}
},
"GetGovCloudAccountInformationResponse": {
"base": null,
"refs": {}
},
"GetPrimaryEmailRequest": {
"base": null,
"refs": {}
},
"GetPrimaryEmailResponse": {
"base": null,
"refs": {}
},
"GetPrimaryEmailUpdateStatusRequest": {
"base": null,
"refs": {}
},
"GetPrimaryEmailUpdateStatusResponse": {
"base": null,
"refs": {}
},
"GetRegionOptStatusRequest": {
"base": null,
"refs": {}
},
"GetRegionOptStatusResponse": {
"base": null,
"refs": {}
},
"InternalServerException": {
"base": "<p>The operation failed because of an error internal to Amazon Web Services. Try your operation again later.</p>",
"refs": {}
},
"ListRegionsRequest": {
"base": null,
"refs": {}
},
"ListRegionsRequestMaxResultsInteger": {
"base": null,
"refs": {
"ListRegionsRequest$MaxResults": "<p>The total number of items to return in the commands output. If the total number of items available is more than the value specified, a <code>NextToken</code> is provided in the commands output. To resume pagination, provide the <code>NextToken</code> value in the <code>starting-token</code> argument of a subsequent command. Do not use the <code>NextToken</code> response element directly outside of the Amazon Web Services CLI. For usage examples, see <a href=\"http://docs.aws.amazon.com/cli/latest/userguide/pagination.html\">Pagination</a> in the <i>Amazon Web Services Command Line Interface User Guide</i>. </p>"
}
},
"ListRegionsRequestNextTokenString": {
"base": null,
"refs": {
"ListRegionsRequest$NextToken": "<p>A token used to specify where to start paginating. This is the <code>NextToken</code> from a previously truncated response. For usage examples, see <a href=\"http://docs.aws.amazon.com/cli/latest/userguide/pagination.html\">Pagination</a> in the <i>Amazon Web Services Command Line Interface User Guide</i>.</p>"
}
},
"ListRegionsResponse": {
"base": null,
"refs": {}
},
"Name": {
"base": null,
"refs": {
"AlternateContact$Name": "<p>The name associated with this alternate contact.</p>",
"PutAlternateContactRequest$Name": "<p>Specifies a name for the alternate contact.</p>"
}
},
"Otp": {
"base": null,
"refs": {
"AcceptPrimaryEmailUpdateRequest$Otp": "<p>The OTP code sent to the <code>PrimaryEmail</code> specified on the <code>StartPrimaryEmailUpdate</code> API call.</p>"
}
},
"PhoneNumber": {
"base": null,
"refs": {
"AlternateContact$PhoneNumber": "<p>The phone number associated with this alternate contact.</p>",
"PutAlternateContactRequest$PhoneNumber": "<p>Specifies a phone number for the alternate contact.</p>"
}
},
"PostalCode": {
"base": null,
"refs": {
"ContactInformation$PostalCode": "<p>The postal code of the primary contact address.</p>"
}
},
"PrimaryEmailAddress": {
"base": null,
"refs": {
"AcceptPrimaryEmailUpdateRequest$PrimaryEmail": "<p>The new primary email address for use with the specified account. This must match the <code>PrimaryEmail</code> from the <code>StartPrimaryEmailUpdate</code> API call.</p>",
"GetPrimaryEmailResponse$PrimaryEmail": "<p>Retrieves the primary email address associated with the specified account.</p>",
"StartPrimaryEmailUpdateRequest$PrimaryEmail": "<p>The new primary email address (also known as the root user email address) to use in the specified account.</p>"
}
},
"PrimaryEmailUpdateStatus": {
"base": null,
"refs": {
"AcceptPrimaryEmailUpdateResponse$Status": "<p>Retrieves the status of the accepted primary email update request.</p>",
"GetPrimaryEmailUpdateStatusResponse$Status": "<p>The status of the most recent primary email update request.</p>",
"StartPrimaryEmailUpdateResponse$Status": "<p>The status of the primary email update request.</p>"
}
},
"PutAccountNameRequest": {
"base": null,
"refs": {}
},
"PutAlternateContactRequest": {
"base": null,
"refs": {}
},
"PutContactInformationRequest": {
"base": null,
"refs": {}
},
"Region": {
"base": "<p>This is a structure that expresses the Region for a given account, consisting of a name and opt-in status.</p>",
"refs": {
"RegionOptList$member": null
}
},
"RegionName": {
"base": null,
"refs": {
"DisableRegionRequest$RegionName": "<p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). When you disable a Region, Amazon Web Services performs actions to deactivate that Region in your account, such as destroying IAM resources in the Region. This process takes a few minutes for most accounts, but this can take several hours. You cannot enable the Region until the disabling process is fully completed.</p>",
"EnableRegionRequest$RegionName": "<p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). When you enable a Region, Amazon Web Services performs actions to prepare your account in that Region, such as distributing your IAM resources to the Region. This process takes a few minutes for most accounts, but it can take several hours. You cannot use the Region until this process is complete. Furthermore, you cannot disable the Region until the enabling process is fully completed.</p>",
"GetRegionOptStatusRequest$RegionName": "<p>Specifies the Region-code for a given Region name (for example, <code>af-south-1</code>). This function will return the status of whatever Region you pass into this parameter. </p>",
"GetRegionOptStatusResponse$RegionName": "<p>The Region code that was passed in.</p>",
"Region$RegionName": "<p>The Region code of a given Region (for example, <code>us-east-1</code>).</p>"
}
},
"RegionOptList": {
"base": null,
"refs": {
"ListRegionsResponse$Regions": "<p>This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that match the filter criteria set in the <code>filter</code> parameter.</p>"
}
},
"RegionOptStatus": {
"base": null,
"refs": {
"GetRegionOptStatusResponse$RegionOptStatus": "<p>One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).</p>",
"Region$RegionOptStatus": "<p>One of potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).</p>",
"RegionOptStatusList$member": null
}
},
"RegionOptStatusList": {
"base": null,
"refs": {
"ListRegionsRequest$RegionOptStatusContains": "<p>A list of Region statuses (Enabling, Enabled, Disabling, Disabled, Enabled_by_default) to use to filter the list of Regions for a given account. For example, passing in a value of ENABLING will only return a list of Regions with a Region status of ENABLING.</p>"
}
},
"ResourceNotFoundException": {
"base": "<p>The operation failed because it specified a resource that can't be found.</p>",
"refs": {}
},
"ResourceUnavailableException": {
"base": "<p>The operation failed because it specified a resource that is not currently available.</p>",
"refs": {}
},
"SensitiveString": {
"base": null,
"refs": {
"ValidationException$message": "<p>The message that informs you about what was invalid about the request.</p>",
"ValidationExceptionField$message": "<p>A message about the validation exception.</p>"
}
},
"StartPrimaryEmailUpdateRequest": {
"base": null,
"refs": {}
},
"StartPrimaryEmailUpdateResponse": {
"base": null,
"refs": {}
},
"StateOrRegion": {
"base": null,
"refs": {
"ContactInformation$StateOrRegion": "<p>The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example, <code>NJ</code>) or the full state name (for example, <code>New Jersey</code>). This field is required in the following countries: <code>US</code>, <code>CA</code>, <code>GB</code>, <code>DE</code>, <code>JP</code>, <code>IN</code>, and <code>BR</code>.</p>"
}
},
"String": {
"base": null,
"refs": {
"AccessDeniedException$message": null,
"AccessDeniedException$errorType": "<p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>",
"ConflictException$message": null,
"ConflictException$errorType": "<p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>",
"InternalServerException$message": null,
"InternalServerException$errorType": "<p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>",
"ListRegionsResponse$NextToken": "<p>If there is more data to be returned, this will be populated. It should be passed into the <code>next-token</code> request parameter of <code>list-regions</code>.</p>",
"ResourceNotFoundException$message": null,
"ResourceNotFoundException$errorType": "<p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>",
"ResourceUnavailableException$message": null,
"ResourceUnavailableException$errorType": "<p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>",
"TooManyRequestsException$message": null,
"TooManyRequestsException$errorType": "<p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p>",
"ValidationExceptionField$name": "<p>The field name where the invalid entry was detected.</p>"
}
},
"Timestamp": {
"base": null,
"refs": {
"GetPrimaryEmailUpdateStatusResponse$UpdatedAt": "<p>The date and time that the most recent primary email update status was last changed.</p>"
}
},
"Title": {
"base": null,
"refs": {
"AlternateContact$Title": "<p>The title associated with this alternate contact.</p>",
"PutAlternateContactRequest$Title": "<p>Specifies a title for the alternate contact.</p>"
}
},
"TooManyRequestsException": {
"base": "<p>The operation failed because it was called too frequently and exceeded a throttle limit.</p>",
"refs": {}
},
"ValidationException": {
"base": "<p>The operation failed because one of the input parameters was invalid.</p>",
"refs": {}
},
"ValidationExceptionField": {
"base": "<p>The input failed to meet the constraints specified by the Amazon Web Services service in a specified field.</p>",
"refs": {
"ValidationExceptionFieldList$member": null
}
},
"ValidationExceptionFieldList": {
"base": null,
"refs": {
"ValidationException$fieldList": "<p>The field where the invalid entry was detected.</p>"
}
},
"ValidationExceptionReason": {
"base": null,
"refs": {
"ValidationException$reason": "<p>The reason that validation failed.</p>"
}
},
"WebsiteUrl": {
"base": null,
"refs": {
"ContactInformation$WebsiteUrl": "<p>The URL of the website associated with the primary contact information, if any.</p>"
}
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,216 +0,0 @@
{
"version": "1.1",
"parameters": {
"UseDualStack": {
"builtIn": "AWS::UseDualStack",
"required": true,
"default": false,
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
"type": "boolean"
},
"UseFIPS": {
"builtIn": "AWS::UseFIPS",
"required": true,
"default": false,
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
"type": "boolean"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send this request",
"type": "string"
},
"Region": {
"builtIn": "AWS::Region",
"required": false,
"documentation": "The AWS region used to dispatch the request.",
"type": "string"
}
},
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
},
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
},
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
},
true
]
}
],
"results": [
{
"conditions": [],
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": {
"ref": "Endpoint"
},
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://account-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
}
]
},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": "https://account-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
}
]
},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": "https://account.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
}
]
},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": "https://account.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
}
]
},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
}
],
"root": 2,
"nodeCount": 13,
"nodes": "/////wAAAAH/////AAAAAAAAAAwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eELAAAAAwAAAAgAAAAGAAAABAAAAAcF9eEKAAAABQX14QgF9eEJAAAABAAAAAoAAAAJAAAABgX14QYF9eEHAAAABQAAAAsF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAANAAAABAX14QIF9eED"
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account/2021-02-01/endpoint-bdd-1.json
return [ 'version' => '1.1', 'parameters' => [ 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'string', ], 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'string', ], ], 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'results' => [ [ 'conditions' => [], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://account-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [ 'authSchemes' => [ [ 'name' => 'sigv4', 'signingRegion' => '{PartitionResult#implicitGlobalRegion}', ], ], ], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://account-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}', 'properties' => [ 'authSchemes' => [ [ 'name' => 'sigv4', 'signingRegion' => '{PartitionResult#implicitGlobalRegion}', ], ], ], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://account.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [ 'authSchemes' => [ [ 'name' => 'sigv4', 'signingRegion' => '{PartitionResult#implicitGlobalRegion}', ], ], ], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://account.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}', 'properties' => [ 'authSchemes' => [ [ 'name' => 'sigv4', 'signingRegion' => '{PartitionResult#implicitGlobalRegion}', ], ], ], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ], 'root' => 2, 'nodeCount' => 13, 'nodes' => '/////wAAAAH/////AAAAAAAAAAwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eELAAAAAwAAAAgAAAAGAAAABAAAAAcF9eEKAAAABQX14QgF9eEJAAAABAAAAAoAAAAJAAAABgX14QYF9eEHAAAABQAAAAsF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAANAAAABAX14QIF9eED',];

View file

@ -1,372 +0,0 @@
{
"version": "1.0",
"parameters": {
"UseDualStack": {
"builtIn": "AWS::UseDualStack",
"required": true,
"default": false,
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
"type": "boolean"
},
"UseFIPS": {
"builtIn": "AWS::UseFIPS",
"required": true,
"default": false,
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
"type": "boolean"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send this request",
"type": "string"
},
"Region": {
"builtIn": "AWS::Region",
"required": false,
"documentation": "The AWS region used to dispatch the request.",
"type": "string"
}
},
"rules": [
{
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": {
"ref": "Endpoint"
},
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
}
],
"type": "tree"
},
{
"conditions": [],
"rules": [
{
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
}
],
"rules": [
{
"conditions": [
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
}
]
},
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
}
]
}
],
"rules": [
{
"conditions": [],
"endpoint": {
"url": "https://account-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
}
]
},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
],
"type": "tree"
},
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
false
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
},
true
]
}
],
"rules": [
{
"conditions": [],
"endpoint": {
"url": "https://account-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
}
]
},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
],
"type": "tree"
},
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
false
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
}
]
}
],
"rules": [
{
"conditions": [],
"endpoint": {
"url": "https://account.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
}
]
},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
],
"type": "tree"
},
{
"conditions": [],
"endpoint": {
"url": "https://account.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}",
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "{PartitionResult#implicitGlobalRegion}"
}
]
},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
}
],
"type": "tree"
}
]
}

File diff suppressed because one or more lines are too long

View file

@ -1,506 +0,0 @@
{
"testCases": [
{
"documentation": "For custom endpoint with region not set and fips disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"Endpoint": "https://example.com",
"UseFIPS": false
}
},
{
"documentation": "For custom endpoint with fips enabled",
"expect": {
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
"Endpoint": "https://example.com",
"UseFIPS": true
}
},
{
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
"expect": {
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
"Endpoint": "https://example.com",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-east-1"
}
]
},
"url": "https://account-fips.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-east-1"
}
]
},
"url": "https://account-fips.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-east-1"
}
]
},
"url": "https://account.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-east-1"
}
]
},
"url": "https://account.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "cn-northwest-1"
}
]
},
"url": "https://account-fips.cn-northwest-1.api.amazonwebservices.com.cn"
}
},
"params": {
"Region": "cn-northwest-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "cn-northwest-1"
}
]
},
"url": "https://account-fips.cn-northwest-1.amazonaws.com.cn"
}
},
"params": {
"Region": "cn-northwest-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "cn-northwest-1"
}
]
},
"url": "https://account.cn-northwest-1.api.amazonwebservices.com.cn"
}
},
"params": {
"Region": "cn-northwest-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "cn-northwest-1"
}
]
},
"url": "https://account.cn-northwest-1.amazonaws.com.cn"
}
},
"params": {
"Region": "cn-northwest-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eusc-de-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "eusc-de-east-1"
}
]
},
"url": "https://account-fips.eusc-de-east-1.amazonaws.eu"
}
},
"params": {
"Region": "eusc-de-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region eusc-de-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "eusc-de-east-1"
}
]
},
"url": "https://account.eusc-de-east-1.amazonaws.eu"
}
},
"params": {
"Region": "eusc-de-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-iso-east-1"
}
]
},
"url": "https://account-fips.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-iso-east-1"
}
]
},
"url": "https://account.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-isob-east-1"
}
]
},
"url": "https://account-fips.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-isob-east-1"
}
]
},
"url": "https://account.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "eu-isoe-west-1"
}
]
},
"url": "https://account-fips.eu-isoe-west-1.cloud.adc-e.uk"
}
},
"params": {
"Region": "eu-isoe-west-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "eu-isoe-west-1"
}
]
},
"url": "https://account.eu-isoe-west-1.cloud.adc-e.uk"
}
},
"params": {
"Region": "eu-isoe-west-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-isof-south-1"
}
]
},
"url": "https://account-fips.us-isof-south-1.csp.hci.ic.gov"
}
},
"params": {
"Region": "us-isof-south-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-isof-south-1"
}
]
},
"url": "https://account.us-isof-south-1.csp.hci.ic.gov"
}
},
"params": {
"Region": "us-isof-south-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-gov-west-1"
}
]
},
"url": "https://account-fips.us-gov-west-1.api.aws"
}
},
"params": {
"Region": "us-gov-west-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-gov-west-1"
}
]
},
"url": "https://account-fips.us-gov-west-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-west-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-gov-west-1"
}
]
},
"url": "https://account.us-gov-west-1.api.aws"
}
},
"params": {
"Region": "us-gov-west-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingRegion": "us-gov-west-1"
}
]
},
"url": "https://account.us-gov-west-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-west-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "Missing region",
"expect": {
"error": "Invalid Configuration: Missing Region"
}
}
],
"version": "1.0"
}

File diff suppressed because one or more lines are too long

View file

@ -1,4 +0,0 @@
{
"version": "1.0",
"examples": {}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account/2021-02-01/examples-1.json
return [ 'version' => '1.0', 'examples' => [],];

View file

@ -1,10 +0,0 @@
{
"pagination": {
"ListRegions": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Regions"
}
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account/2021-02-01/paginators-1.json
return [ 'pagination' => [ 'ListRegions' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', 'result_key' => 'Regions', ], ],];

View file

@ -1,6 +0,0 @@
{
"version": 1,
"defaultRegion": "us-west-2",
"testCases": [
]
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account/2021-02-01/smoke.json
return [ 'version' => 1, 'defaultRegion' => 'us-west-2', 'testCases' => [],];

View file

@ -1,5 +0,0 @@
{
"version": 2,
"waiters": {
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/account/2021-02-01/waiters-2.json
return [ 'version' => 2, 'waiters' => [],];

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,937 +0,0 @@
{
"version": "2.0",
"service": "<p>This is the <i>Amazon Web Services Private Certificate Authority API Reference</i>. It provides descriptions, syntax, and usage examples for each of the actions and data types involved in creating and managing a private certificate authority (CA) for your organization.</p> <p>The documentation for each action shows the API request parameters and the JSON response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you prefer. For more information, see <a href=\"https://aws.amazon.com/tools/#SDKs\">Amazon Web Services SDKs</a>.</p> <p>Each Amazon Web Services Private CA API operation has a quota that determines the number of times the operation can be called per second. Amazon Web Services Private CA throttles API requests at different rates depending on the operation. Throttling means that Amazon Web Services Private CA rejects an otherwise valid request because the request exceeds the operation's quota for the number of requests per second. When a request is throttled, Amazon Web Services Private CA returns a <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/CommonErrors.html\">ThrottlingException</a> error. Amazon Web Services Private CA does not guarantee a minimum request rate for APIs. </p> <p>To see an up-to-date list of your Amazon Web Services Private CA quotas, or to request a quota increase, log into your Amazon Web Services account and visit the <a href=\"https://console.aws.amazon.com/servicequotas/\">Service Quotas</a> console.</p>",
"operations": {
"CreateCertificateAuthority": "<p>Creates a root or subordinate private certificate authority (CA). You must specify the CA configuration, an optional configuration for Online Certificate Status Protocol (OCSP) and/or a certificate revocation list (CRL), the CA type, and an optional idempotency token to avoid accidental creation of multiple CAs. The CA configuration specifies the name of the algorithm and key size to be used to create the CA private key, the type of signing algorithm that the CA uses, and X.500 subject information. The OCSP configuration can optionally specify a custom URL for the OCSP responder. The CRL configuration specifies the CRL expiration period in days (the validity period of the CRL), the Amazon S3 bucket that will contain the CRL, and a CNAME alias for the S3 bucket that is included in certificates issued by the CA. If successful, this action returns the Amazon Resource Name (ARN) of the CA.</p> <note> <p>Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#s3-policies\">Access policies for CRLs in Amazon S3</a>.</p> </note> <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#crl-encryption\">Encrypting Your CRLs</a>.</p>",
"CreateCertificateAuthorityAuditReport": "<p>Creates an audit report that lists every time that your CA private key is used to issue a certificate. The <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html\">IssueCertificate</a> and <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_RevokeCertificate.html\">RevokeCertificate</a> actions use the private key.</p> <p>To save the audit report to your designated Amazon S3 bucket, you must create a bucket policy that grants Amazon Web Services Private CA permission to access and write to it. For an example policy, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/PcaAuditReport.html#s3-access\">Prepare an Amazon S3 bucket for audit reports</a>.</p> <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/PcaAuditReport.html#audit-report-encryption\">Encrypting Your Audit Reports</a>.</p> <note> <p>You can generate a maximum of one report every 30 minutes.</p> </note>",
"CreatePermission": "<p>Grants one or more permissions on a private CA to the Certificate Manager (ACM) service principal (<code>acm.amazonaws.com</code>). These permissions allow ACM to issue and renew ACM certificates that reside in the same Amazon Web Services account as the CA.</p> <p>You can list current permissions with the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListPermissions.html\">ListPermissions</a> action and revoke them with the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_DeletePermission.html\">DeletePermission</a> action.</p> <p class=\"title\"> <b>About Permissions</b> </p> <ul> <li> <p>If the private CA and the certificates it issues reside in the same account, you can use <code>CreatePermission</code> to grant permissions for ACM to carry out automatic certificate renewals.</p> </li> <li> <p>For automatic certificate renewal to succeed, the ACM service principal needs permissions to create, retrieve, and list certificates.</p> </li> <li> <p>If the private CA and the ACM certificates reside in different accounts, then permissions cannot be used to enable automatic renewals. Instead, the ACM certificate owner must set up a resource-based policy to enable cross-account issuance and renewals. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/pca-rbp.html\">Using a Resource Based Policy with Amazon Web Services Private CA</a>.</p> </li> </ul>",
"DeleteCertificateAuthority": "<p>Deletes a private certificate authority (CA). You must provide the Amazon Resource Name (ARN) of the private CA that you want to delete. You can find the ARN by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html\">ListCertificateAuthorities</a> action. </p> <note> <p>Deleting a CA will invalidate other CAs and certificates below it in your CA hierarchy.</p> </note> <p>Before you can delete a CA that you have created and activated, you must disable it. To do this, call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html\">UpdateCertificateAuthority</a> action and set the <b>CertificateAuthorityStatus</b> parameter to <code>DISABLED</code>. </p> <p>Additionally, you can delete a CA if you are waiting for it to be created (that is, the status of the CA is <code>CREATING</code>). You can also delete it if the CA has been created but you haven't yet imported the signed certificate into Amazon Web Services Private CA (that is, the status of the CA is <code>PENDING_CERTIFICATE</code>). </p> <p>When you successfully call <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_DeleteCertificateAuthority.html\">DeleteCertificateAuthority</a>, the CA's status changes to <code>DELETED</code>. However, the CA won't be permanently deleted until the restoration period has passed. By default, if you do not set the <code>PermanentDeletionTimeInDays</code> parameter, the CA remains restorable for 30 days. You can set the parameter from 7 to 30 days. The <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_DescribeCertificateAuthority.html\">DescribeCertificateAuthority</a> action returns the time remaining in the restoration window of a private CA in the <code>DELETED</code> state. To restore an eligible CA, call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_RestoreCertificateAuthority.html\">RestoreCertificateAuthority</a> action.</p> <important> <p>A private CA can be deleted if it is in the <code>PENDING_CERTIFICATE</code>, <code>CREATING</code>, <code>EXPIRED</code>, <code>DISABLED</code>, or <code>FAILED</code> state. To delete a CA in the <code>ACTIVE</code> state, you must first disable it, or else the delete request results in an exception. If you are deleting a private CA in the <code>PENDING_CERTIFICATE</code> or <code>DISABLED</code> state, you can set the length of its restoration period to 7-30 days. The default is 30. During this time, the status is set to <code>DELETED</code> and the CA can be restored. A private CA deleted in the <code>CREATING</code> or <code>FAILED</code> state has no assigned restoration period and cannot be restored.</p> </important>",
"DeletePermission": "<p>Revokes permissions on a private CA granted to the Certificate Manager (ACM) service principal (acm.amazonaws.com). </p> <p>These permissions allow ACM to issue and renew ACM certificates that reside in the same Amazon Web Services account as the CA. If you revoke these permissions, ACM will no longer renew the affected certificates automatically.</p> <p>Permissions can be granted with the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreatePermission.html\">CreatePermission</a> action and listed with the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListPermissions.html\">ListPermissions</a> action. </p> <p class=\"title\"> <b>About Permissions</b> </p> <ul> <li> <p>If the private CA and the certificates it issues reside in the same account, you can use <code>CreatePermission</code> to grant permissions for ACM to carry out automatic certificate renewals.</p> </li> <li> <p>For automatic certificate renewal to succeed, the ACM service principal needs permissions to create, retrieve, and list certificates.</p> </li> <li> <p>If the private CA and the ACM certificates reside in different accounts, then permissions cannot be used to enable automatic renewals. Instead, the ACM certificate owner must set up a resource-based policy to enable cross-account issuance and renewals. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/pca-rbp.html\">Using a Resource Based Policy with Amazon Web Services Private CA</a>.</p> </li> </ul>",
"DeletePolicy": "<p>Deletes the resource-based policy attached to a private CA. Deletion will remove any access that the policy has granted. If there is no policy attached to the private CA, this action will return successful.</p> <p>If you delete a policy that was applied through Amazon Web Services Resource Access Manager (RAM), the CA will be removed from all shares in which it was included. </p> <p>The Certificate Manager Service Linked Role that the policy supports is not affected when you delete the policy. </p> <p>The current policy can be shown with <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_GetPolicy.html\">GetPolicy</a> and updated with <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_PutPolicy.html\">PutPolicy</a>.</p> <p class=\"title\"> <b>About Policies</b> </p> <ul> <li> <p>A policy grants access on a private CA to an Amazon Web Services customer account, to Amazon Web Services Organizations, or to an Amazon Web Services Organizations unit. Policies are under the control of a CA administrator. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/pca-rbp.html\">Using a Resource Based Policy with Amazon Web Services Private CA</a>.</p> </li> <li> <p>A policy permits a user of Certificate Manager (ACM) to issue ACM certificates signed by a CA in another account.</p> </li> <li> <p>For ACM to manage automatic renewal of these certificates, the ACM user must configure a Service Linked Role (SLR). The SLR allows the ACM service to assume the identity of the user, subject to confirmation against the Amazon Web Services Private CA policy. For more information, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html\">Using a Service Linked Role with ACM</a>.</p> </li> <li> <p>Updates made in Amazon Web Services Resource Manager (RAM) are reflected in policies. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/pca-ram.html\">Attach a Policy for Cross-Account Access</a>.</p> </li> </ul>",
"DescribeCertificateAuthority": "<p>Lists information about your private certificate authority (CA) or one that has been shared with you. You specify the private CA on input by its ARN (Amazon Resource Name). The output contains the status of your CA. This can be any of the following: </p> <ul> <li> <p> <code>CREATING</code> - Amazon Web Services Private CA is creating your private certificate authority.</p> </li> <li> <p> <code>PENDING_CERTIFICATE</code> - The certificate is pending. You must use your Amazon Web Services Private CA-hosted or on-premises root or subordinate CA to sign your private CA CSR and then import it into Amazon Web Services Private CA. </p> </li> <li> <p> <code>ACTIVE</code> - Your private CA is active.</p> </li> <li> <p> <code>DISABLED</code> - Your private CA has been disabled.</p> </li> <li> <p> <code>EXPIRED</code> - Your private CA certificate has expired.</p> </li> <li> <p> <code>FAILED</code> - Your private CA has failed. Your CA can fail because of problems such a network outage or back-end Amazon Web Services failure or other errors. A failed CA can never return to the pending state. You must create a new CA. </p> </li> <li> <p> <code>DELETED</code> - Your private CA is within the restoration period, after which it is permanently deleted. The length of time remaining in the CA's restoration period is also included in this action's output.</p> </li> </ul>",
"DescribeCertificateAuthorityAuditReport": "<p>Lists information about a specific audit report created by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html\">CreateCertificateAuthorityAuditReport</a> action. Audit information is created every time the certificate authority (CA) private key is used. The private key is used when you call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html\">IssueCertificate</a> action or the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_RevokeCertificate.html\">RevokeCertificate</a> action. </p>",
"GetCertificate": "<p>Retrieves a certificate from your private CA or one that has been shared with you. The ARN of the certificate is returned when you call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html\">IssueCertificate</a> action. You must specify both the ARN of your private CA and the ARN of the issued certificate when calling the <b>GetCertificate</b> action. You can retrieve the certificate if it is in the <b>ISSUED</b>, <b>EXPIRED</b>, or <b>REVOKED</b> state. You can call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html\">CreateCertificateAuthorityAuditReport</a> action to create a report that contains information about all of the certificates issued and revoked by your private CA. </p>",
"GetCertificateAuthorityCertificate": "<p>Retrieves the certificate and certificate chain for your private certificate authority (CA) or one that has been shared with you. Both the certificate and the chain are base64 PEM-encoded. The chain does not include the CA certificate. Each certificate in the chain signs the one before it. </p>",
"GetCertificateAuthorityCsr": "<p>Retrieves the certificate signing request (CSR) for your private certificate authority (CA). The CSR is created when you call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> action. Sign the CSR with your Amazon Web Services Private CA-hosted or on-premises root or subordinate CA. Then import the signed certificate back into Amazon Web Services Private CA by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ImportCertificateAuthorityCertificate.html\">ImportCertificateAuthorityCertificate</a> action. The CSR is returned as a base64 PEM-encoded string. </p>",
"GetPolicy": "<p>Retrieves the resource-based policy attached to a private CA. If either the private CA resource or the policy cannot be found, this action returns a <code>ResourceNotFoundException</code>. </p> <p>The policy can be attached or updated with <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_PutPolicy.html\">PutPolicy</a> and removed with <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_DeletePolicy.html\">DeletePolicy</a>.</p> <p class=\"title\"> <b>About Policies</b> </p> <ul> <li> <p>A policy grants access on a private CA to an Amazon Web Services customer account, to Amazon Web Services Organizations, or to an Amazon Web Services Organizations unit. Policies are under the control of a CA administrator. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/pca-rbp.html\">Using a Resource Based Policy with Amazon Web Services Private CA</a>.</p> </li> <li> <p>A policy permits a user of Certificate Manager (ACM) to issue ACM certificates signed by a CA in another account.</p> </li> <li> <p>For ACM to manage automatic renewal of these certificates, the ACM user must configure a Service Linked Role (SLR). The SLR allows the ACM service to assume the identity of the user, subject to confirmation against the Amazon Web Services Private CA policy. For more information, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html\">Using a Service Linked Role with ACM</a>.</p> </li> <li> <p>Updates made in Amazon Web Services Resource Manager (RAM) are reflected in policies. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/pca-ram.html\">Attach a Policy for Cross-Account Access</a>.</p> </li> </ul>",
"ImportCertificateAuthorityCertificate": "<p>Imports a signed private CA certificate into Amazon Web Services Private CA. This action is used when you are using a chain of trust whose root is located outside Amazon Web Services Private CA. Before you can call this action, the following preparations must in place:</p> <ol> <li> <p>In Amazon Web Services Private CA, call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> action to create the private CA that you plan to back with the imported certificate.</p> </li> <li> <p>Call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_GetCertificateAuthorityCsr.html\">GetCertificateAuthorityCsr</a> action to generate a certificate signing request (CSR).</p> </li> <li> <p>Sign the CSR using a root or intermediate CA hosted by either an on-premises PKI hierarchy or by a commercial CA.</p> </li> <li> <p>Create a certificate chain and copy the signed certificate and the certificate chain to your working directory.</p> </li> </ol> <p>Amazon Web Services Private CA supports three scenarios for installing a CA certificate:</p> <ul> <li> <p>Installing a certificate for a root CA hosted by Amazon Web Services Private CA.</p> </li> <li> <p>Installing a subordinate CA certificate whose parent authority is hosted by Amazon Web Services Private CA.</p> </li> <li> <p>Installing a subordinate CA certificate whose parent authority is externally hosted.</p> </li> </ul> <p>The following additional requirements apply when you import a CA certificate.</p> <ul> <li> <p>Only a self-signed certificate can be imported as a root CA.</p> </li> <li> <p>A self-signed certificate cannot be imported as a subordinate CA.</p> </li> <li> <p>Your certificate chain must not include the private CA certificate that you are importing.</p> </li> <li> <p>Your root CA must be the last certificate in your chain. The subordinate certificate, if any, that your root CA signed must be next to last. The subordinate certificate signed by the preceding subordinate CA must come next, and so on until your chain is built. </p> </li> <li> <p>The chain must be PEM-encoded.</p> </li> <li> <p>The maximum allowed size of a certificate is 32 KB.</p> </li> <li> <p>The maximum allowed size of a certificate chain is 2 MB.</p> </li> </ul> <p> <i>Enforcement of Critical Constraints</i> </p> <p>Amazon Web Services Private CA allows the following extensions to be marked critical in the imported CA certificate or chain.</p> <ul> <li> <p>Authority key identifier</p> </li> <li> <p>Basic constraints (<i>must</i> be marked critical)</p> </li> <li> <p>Certificate policies</p> </li> <li> <p>Extended key usage</p> </li> <li> <p>Inhibit anyPolicy</p> </li> <li> <p>Issuer alternative name</p> </li> <li> <p>Key usage</p> </li> <li> <p>Name constraints</p> </li> <li> <p>Policy mappings</p> </li> <li> <p>Subject alternative name</p> </li> <li> <p>Subject directory attributes</p> </li> <li> <p>Subject key identifier</p> </li> <li> <p>Subject information access</p> </li> </ul> <p>Amazon Web Services Private CA rejects the following extensions when they are marked critical in an imported CA certificate or chain.</p> <ul> <li> <p>Authority information access</p> </li> <li> <p>CRL distribution points</p> </li> <li> <p>Freshest CRL</p> </li> <li> <p>Policy constraints</p> </li> </ul> <p>Amazon Web Services Private Certificate Authority will also reject any other extension marked as critical not contained on the preceding list of allowed extensions.</p>",
"IssueCertificate": "<p>Uses your private certificate authority (CA), or one that has been shared with you, to issue a client certificate. This action returns the Amazon Resource Name (ARN) of the certificate. You can retrieve the certificate by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_GetCertificate.html\">GetCertificate</a> action and specifying the ARN. </p> <note> <p>You cannot use the ACM <b>ListCertificateAuthorities</b> action to retrieve the ARNs of the certificates that you issue by using Amazon Web Services Private CA.</p> </note>",
"ListCertificateAuthorities": "<p>Lists the private certificate authorities that you created by using the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> action.</p>",
"ListPermissions": "<p>List all permissions on a private CA, if any, granted to the Certificate Manager (ACM) service principal (acm.amazonaws.com). </p> <p>These permissions allow ACM to issue and renew ACM certificates that reside in the same Amazon Web Services account as the CA. </p> <p>Permissions can be granted with the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreatePermission.html\">CreatePermission</a> action and revoked with the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_DeletePermission.html\">DeletePermission</a> action.</p> <p class=\"title\"> <b>About Permissions</b> </p> <ul> <li> <p>If the private CA and the certificates it issues reside in the same account, you can use <code>CreatePermission</code> to grant permissions for ACM to carry out automatic certificate renewals.</p> </li> <li> <p>For automatic certificate renewal to succeed, the ACM service principal needs permissions to create, retrieve, and list certificates.</p> </li> <li> <p>If the private CA and the ACM certificates reside in different accounts, then permissions cannot be used to enable automatic renewals. Instead, the ACM certificate owner must set up a resource-based policy to enable cross-account issuance and renewals. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/pca-rbp.html\">Using a Resource Based Policy with Amazon Web Services Private CA</a>.</p> </li> </ul>",
"ListTags": "<p>Lists the tags, if any, that are associated with your private CA or one that has been shared with you. Tags are labels that you can use to identify and organize your CAs. Each tag consists of a key and an optional value. Call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_TagCertificateAuthority.html\">TagCertificateAuthority</a> action to add one or more tags to your CA. Call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_UntagCertificateAuthority.html\">UntagCertificateAuthority</a> action to remove tags. </p>",
"PutPolicy": "<p>Attaches a resource-based policy to a private CA. </p> <p>A policy can also be applied by sharing a private CA through Amazon Web Services Resource Access Manager (RAM). For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/pca-ram.html\">Attach a Policy for Cross-Account Access</a>.</p> <p>The policy can be displayed with <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_GetPolicy.html\">GetPolicy</a> and removed with <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_DeletePolicy.html\">DeletePolicy</a>.</p> <p class=\"title\"> <b>About Policies</b> </p> <ul> <li> <p>A policy grants access on a private CA to an Amazon Web Services customer account, to Amazon Web Services Organizations, or to an Amazon Web Services Organizations unit. Policies are under the control of a CA administrator. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/pca-rbp.html\">Using a Resource Based Policy with Amazon Web Services Private CA</a>.</p> </li> <li> <p>A policy permits a user of Certificate Manager (ACM) to issue ACM certificates signed by a CA in another account.</p> </li> <li> <p>For ACM to manage automatic renewal of these certificates, the ACM user must configure a Service Linked Role (SLR). The SLR allows the ACM service to assume the identity of the user, subject to confirmation against the Amazon Web Services Private CA policy. For more information, see <a href=\"https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html\">Using a Service Linked Role with ACM</a>.</p> </li> <li> <p>Updates made in Amazon Web Services Resource Manager (RAM) are reflected in policies. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/pca-ram.html\">Attach a Policy for Cross-Account Access</a>.</p> </li> </ul>",
"RestoreCertificateAuthority": "<p>Restores a certificate authority (CA) that is in the <code>DELETED</code> state. You can restore a CA during the period that you defined in the <b>PermanentDeletionTimeInDays</b> parameter of the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_DeleteCertificateAuthority.html\">DeleteCertificateAuthority</a> action. Currently, you can specify 7 to 30 days. If you did not specify a <b>PermanentDeletionTimeInDays</b> value, by default you can restore the CA at any time in a 30 day period. You can check the time remaining in the restoration period of a private CA in the <code>DELETED</code> state by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_DescribeCertificateAuthority.html\">DescribeCertificateAuthority</a> or <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html\">ListCertificateAuthorities</a> actions. The status of a restored CA is set to its pre-deletion status when the <b>RestoreCertificateAuthority</b> action returns. To change its status to <code>ACTIVE</code>, call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html\">UpdateCertificateAuthority</a> action. If the private CA was in the <code>PENDING_CERTIFICATE</code> state at deletion, you must use the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ImportCertificateAuthorityCertificate.html\">ImportCertificateAuthorityCertificate</a> action to import a certificate authority into the private CA before it can be activated. You cannot restore a CA after the restoration period has ended.</p>",
"RevokeCertificate": "<p>Revokes a certificate that was issued inside Amazon Web Services Private CA. If you enable a certificate revocation list (CRL) when you create or update your private CA, information about the revoked certificates will be included in the CRL. Amazon Web Services Private CA writes the CRL to an S3 bucket that you specify. A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason the CRL update fails, Amazon Web Services Private CA attempts makes further attempts every 15 minutes. With Amazon CloudWatch, you can create alarms for the metrics <code>CRLGenerated</code> and <code>MisconfiguredCRLBucket</code>. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/PcaCloudWatch.html\">Supported CloudWatch Metrics</a>.</p> <note> <p>Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#s3-policies\">Access policies for CRLs in Amazon S3</a>.</p> </note> <p>Amazon Web Services Private CA also writes revocation information to the audit report. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html\">CreateCertificateAuthorityAuditReport</a>.</p> <note> <p>You cannot revoke a root CA self-signed certificate.</p> </note>",
"TagCertificateAuthority": "<p>Adds one or more tags to your private CA. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a key and an optional value. You specify the private CA on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. You can apply a tag to just one private CA if you want to identify a specific characteristic of that CA, or you can apply the same tag to multiple private CAs if you want to filter for a common relationship among those CAs. To remove one or more tags, use the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_UntagCertificateAuthority.html\">UntagCertificateAuthority</a> action. Call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListTags.html\">ListTags</a> action to see what tags are associated with your CA. </p> <note> <p>To attach tags to a private CA during the creation procedure, a CA administrator must first associate an inline IAM policy with the <code>CreateCertificateAuthority</code> action and explicitly allow tagging. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/auth-InlinePolicies.html#policy-tag-ca\">Attaching tags to a CA at the time of creation</a>.</p> </note>",
"UntagCertificateAuthority": "<p>Remove one or more tags from your private CA. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this action, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value. To add tags to a private CA, use the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_TagCertificateAuthority.html\">TagCertificateAuthority</a>. Call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListTags.html\">ListTags</a> action to see what tags are associated with your CA. </p>",
"UpdateCertificateAuthority": "<p>Updates the status or configuration of a private certificate authority (CA). Your private CA must be in the <code>ACTIVE</code> or <code>DISABLED</code> state before you can update it. You can disable a private CA that is in the <code>ACTIVE</code> state or make a CA that is in the <code>DISABLED</code> state active again.</p> <note> <p>Both Amazon Web Services Private CA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#s3-policies\">Access policies for CRLs in Amazon S3</a>.</p> </note>"
},
"shapes": {
"ASN1PrintableString64": {
"base": null,
"refs": {
"ASN1Subject$DistinguishedNameQualifier": "<p>Disambiguating information for the certificate subject.</p>",
"ASN1Subject$SerialNumber": "<p>The certificate serial number.</p>"
}
},
"ASN1Subject": {
"base": "<p>Contains information about the certificate subject. The <code>Subject</code> field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The <code>Subject </code>must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.</p>",
"refs": {
"ApiPassthrough$Subject": null,
"CertificateAuthorityConfiguration$Subject": "<p>Structure that contains X.500 distinguished name information for your private CA.</p>",
"GeneralName$DirectoryName": null
}
},
"AWSPolicy": {
"base": null,
"refs": {
"GetPolicyResponse$Policy": "<p>The policy attached to the private CA as a JSON document.</p>",
"Permission$Policy": "<p>The name of the policy that is associated with the permission.</p>",
"PutPolicyRequest$Policy": "<p>The path and file name of a JSON-formatted IAM policy to attach to the specified private CA resource. If this policy does not contain all required statements or if it includes any statement that is not allowed, the <code>PutPolicy</code> action returns an <code>InvalidPolicyException</code>. For information about IAM policy and statement structure, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json\">Overview of JSON Policies</a>.</p>"
}
},
"AccessDescription": {
"base": "<p>Provides access information used by the <code>authorityInfoAccess</code> and <code>subjectInfoAccess</code> extensions described in <a href=\"https://datatracker.ietf.org/doc/html/rfc5280\">RFC 5280</a>.</p>",
"refs": {
"AccessDescriptionList$member": null
}
},
"AccessDescriptionList": {
"base": null,
"refs": {
"CsrExtensions$SubjectInformationAccess": "<p>For CA certificates, provides a path to additional information pertaining to the CA, such as revocation and policy. For more information, see <a href=\"https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.2.2\">Subject Information Access</a> in RFC 5280.</p>"
}
},
"AccessMethod": {
"base": "<p>Describes the type and format of extension access. Only one of <code>CustomObjectIdentifier</code> or <code>AccessMethodType</code> may be provided. Providing both results in <code>InvalidArgsException</code>.</p>",
"refs": {
"AccessDescription$AccessMethod": "<p>The type and format of <code>AccessDescription</code> information.</p>"
}
},
"AccessMethodType": {
"base": null,
"refs": {
"AccessMethod$AccessMethodType": "<p>Specifies the <code>AccessMethod</code>.</p>"
}
},
"AccountId": {
"base": null,
"refs": {
"CertificateAuthority$OwnerAccount": "<p>The Amazon Web Services account ID that owns the certificate authority.</p>",
"CreatePermissionRequest$SourceAccount": "<p>The ID of the calling account.</p>",
"DeletePermissionRequest$SourceAccount": "<p>The Amazon Web Services account that calls this action.</p>",
"Permission$SourceAccount": "<p>The ID of the account that assigned the permission.</p>"
}
},
"ActionList": {
"base": null,
"refs": {
"CreatePermissionRequest$Actions": "<p>The actions that the specified Amazon Web Services service principal can use. These include <code>IssueCertificate</code>, <code>GetCertificate</code>, and <code>ListPermissions</code>.</p>",
"Permission$Actions": "<p>The private CA actions that can be performed by the designated Amazon Web Services service.</p>"
}
},
"ActionType": {
"base": null,
"refs": {
"ActionList$member": null
}
},
"ApiPassthrough": {
"base": "<p>Contains X.509 certificate information to be placed in an issued certificate. An <code>APIPassthrough</code> or <code>APICSRPassthrough</code> template variant must be selected, or else this parameter is ignored. </p> <p>If conflicting or duplicate certificate information is supplied from other sources, Amazon Web Services Private CA applies <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html#template-order-of-operations\">order of operation rules</a> to determine what information is used.</p>",
"refs": {
"IssueCertificateRequest$ApiPassthrough": "<p>Specifies X.509 certificate information to be included in the issued certificate. An <code>APIPassthrough</code> or <code>APICSRPassthrough</code> template variant must be selected, or else this parameter is ignored. For more information about using these templates, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html\">Understanding Certificate Templates</a>.</p> <p>If conflicting or duplicate certificate information is supplied during certificate issuance, Amazon Web Services Private CA applies <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html#template-order-of-operations\">order of operation rules</a> to determine what information is used.</p>"
}
},
"Arn": {
"base": null,
"refs": {
"CertificateAuthority$Arn": "<p>Amazon Resource Name (ARN) for your private certificate authority (CA). The format is <code> <i>12345678-1234-1234-1234-123456789012</i> </code>.</p>",
"CreateCertificateAuthorityAuditReportRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) of the CA to be audited. This is of the form:</p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>.</p>",
"CreateCertificateAuthorityResponse$CertificateAuthorityArn": "<p>If successful, the Amazon Resource Name (ARN) of the certificate authority (CA). This is of the form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>. </p>",
"CreatePermissionRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html\">ListCertificateAuthorities</a> action. This must have the following form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>. </p>",
"DeleteCertificateAuthorityRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) that was returned when you called <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a>. This must have the following form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>. </p>",
"DeletePermissionRequest$CertificateAuthorityArn": "<p>The Amazon Resource Number (ARN) of the private CA that issued the permissions. You can find the CA's ARN by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html\">ListCertificateAuthorities</a> action. This must have the following form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>. </p>",
"DeletePolicyRequest$ResourceArn": "<p>The Amazon Resource Number (ARN) of the private CA that will have its policy deleted. You can find the CA's ARN by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html\">ListCertificateAuthorities</a> action. The ARN value must have the form <code>arn:aws:acm-pca:region:account:certificate-authority/01234567-89ab-cdef-0123-0123456789ab</code>. </p>",
"DescribeCertificateAuthorityAuditReportRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) of the private CA. This must be of the form:</p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>. </p>",
"DescribeCertificateAuthorityRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) that was returned when you called <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a>. This must be of the form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>. </p>",
"GetCertificateAuthorityCertificateRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) of your private CA. This is of the form:</p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>. </p>",
"GetCertificateAuthorityCsrRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) that was returned when you called the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> action. This must be of the form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code> </p>",
"GetCertificateRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) that was returned when you called <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a>. This must be of the form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code>. </p>",
"GetCertificateRequest$CertificateArn": "<p>The ARN of the issued certificate. The ARN contains the certificate serial number and must be in the following form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i>/certificate/<i>286535153982981100925020015808220737245</i> </code> </p>",
"GetPolicyRequest$ResourceArn": "<p>The Amazon Resource Number (ARN) of the private CA that will have its policy retrieved. You can find the CA's ARN by calling the ListCertificateAuthorities action. </p>",
"ImportCertificateAuthorityCertificateRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) that was returned when you called <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a>. This must be of the form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code> </p>",
"IssueCertificateRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) that was returned when you called <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a>. This must be of the form:</p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code> </p>",
"IssueCertificateRequest$TemplateArn": "<p>Specifies a custom configuration template to use when issuing a certificate. If this parameter is not provided, Amazon Web Services Private CA defaults to the <code>EndEntityCertificate/V1</code> template. For CA certificates, you should choose the shortest path length that meets your needs. The path length is indicated by the PathLen<i>N</i> portion of the ARN, where <i>N</i> is the <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/PcaTerms.html#terms-cadepth\">CA depth</a>.</p> <p>Note: The CA depth configured on a subordinate CA certificate must not exceed the limit set by its parents in the CA hierarchy.</p> <p>For a list of <code>TemplateArn</code> values supported by Amazon Web Services Private CA, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html\">Understanding Certificate Templates</a>.</p>",
"IssueCertificateResponse$CertificateArn": "<p>The Amazon Resource Name (ARN) of the issued certificate and the certificate serial number. This is of the form:</p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i>/certificate/<i>286535153982981100925020015808220737245</i> </code> </p>",
"ListPermissionsRequest$CertificateAuthorityArn": "<p>The Amazon Resource Number (ARN) of the private CA to inspect. You can find the ARN by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html\">ListCertificateAuthorities</a> action. This must be of the form: <code>arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012</code> You can get a private CA's ARN by running the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html\">ListCertificateAuthorities</a> action.</p>",
"ListTagsRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) that was returned when you called the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> action. This must be of the form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code> </p>",
"Permission$CertificateAuthorityArn": "<p>The Amazon Resource Number (ARN) of the private CA from which the permission was issued.</p>",
"PutPolicyRequest$ResourceArn": "<p>The Amazon Resource Number (ARN) of the private CA to associate with the policy. The ARN of the CA can be found by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html\">ListCertificateAuthorities</a> action.</p> <p/>",
"RestoreCertificateAuthorityRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) that was returned when you called the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> action. This must be of the form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code> </p>",
"RevokeCertificateRequest$CertificateAuthorityArn": "<p>Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form:</p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code> </p>",
"TagCertificateAuthorityRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) that was returned when you called <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a>. This must be of the form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code> </p>",
"UntagCertificateAuthorityRequest$CertificateAuthorityArn": "<p>The Amazon Resource Name (ARN) that was returned when you called <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a>. This must be of the form: </p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code> </p>",
"UpdateCertificateAuthorityRequest$CertificateAuthorityArn": "<p>Amazon Resource Name (ARN) of the private CA that issued the certificate to be revoked. This must be of the form:</p> <p> <code>arn:aws:acm-pca:<i>region</i>:<i>account</i>:certificate-authority/<i>12345678-1234-1234-1234-123456789012</i> </code> </p>"
}
},
"AuditReportId": {
"base": null,
"refs": {
"CreateCertificateAuthorityAuditReportResponse$AuditReportId": "<p>An alphanumeric string that contains a report identifier.</p>",
"DescribeCertificateAuthorityAuditReportRequest$AuditReportId": "<p>The report ID returned by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html\">CreateCertificateAuthorityAuditReport</a> action.</p>"
}
},
"AuditReportResponseFormat": {
"base": null,
"refs": {
"CreateCertificateAuthorityAuditReportRequest$AuditReportResponseFormat": "<p>The format in which to create the report. This can be either <b>JSON</b> or <b>CSV</b>.</p>"
}
},
"AuditReportStatus": {
"base": null,
"refs": {
"DescribeCertificateAuthorityAuditReportResponse$AuditReportStatus": "<p>Specifies whether report creation is in progress, has succeeded, or has failed.</p>"
}
},
"Base64String1To4096": {
"base": null,
"refs": {
"CustomExtension$Value": "<p/> <p>Specifies the base64-encoded value of the X.509 extension.</p>"
}
},
"Boolean": {
"base": null,
"refs": {
"CrlConfiguration$Enabled": "<p>Boolean value that specifies whether certificate revocation lists (CRLs) are enabled. You can use this value to enable certificate revocation for a new CA when you call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> action or for an existing CA when you call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html\">UpdateCertificateAuthority</a> action. </p>",
"CrlDistributionPointExtensionConfiguration$OmitExtension": "<p>Configures whether the CRL Distribution Point extension should be populated with the default URL to the CRL. If set to <code>true</code>, then the CDP extension will not be present in any certificates issued by that CA unless otherwise specified through CSR or API passthrough.</p> <note> <p>Only set this if you have another way to distribute the CRL Distribution Points for certificates issued by your CA, such as the Matter Distributed Compliance Ledger</p> <p>This configuration cannot be enabled with a custom CNAME set.</p> </note>",
"CustomExtension$Critical": "<p/> <p>Specifies the critical flag of the X.509 extension.</p>",
"KeyUsage$DigitalSignature": "<p> Key can be used for digital signing.</p>",
"KeyUsage$NonRepudiation": "<p>Key can be used for non-repudiation.</p>",
"KeyUsage$KeyEncipherment": "<p>Key can be used to encipher data.</p>",
"KeyUsage$DataEncipherment": "<p>Key can be used to decipher data.</p>",
"KeyUsage$KeyAgreement": "<p>Key can be used in a key-agreement protocol.</p>",
"KeyUsage$KeyCertSign": "<p>Key can be used to sign certificates.</p>",
"KeyUsage$CRLSign": "<p>Key can be used to sign CRLs.</p>",
"KeyUsage$EncipherOnly": "<p>Key can be used only to encipher data.</p>",
"KeyUsage$DecipherOnly": "<p>Key can be used only to decipher data.</p>",
"OcspConfiguration$Enabled": "<p>Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating certificate revocation status.</p>"
}
},
"CertificateAuthorities": {
"base": null,
"refs": {
"ListCertificateAuthoritiesResponse$CertificateAuthorities": "<p>Summary information about each certificate authority you have created.</p>"
}
},
"CertificateAuthority": {
"base": "<p>Contains information about your private certificate authority (CA). Your private CA can issue and revoke X.509 digital certificates. Digital certificates verify that the entity named in the certificate <b>Subject</b> field owns or controls the public key contained in the <b>Subject Public Key Info</b> field. Call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> action to create your private CA. You must then call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_GetCertificateAuthorityCertificate.html\">GetCertificateAuthorityCertificate</a> action to retrieve a private CA certificate signing request (CSR). Sign the CSR with your Amazon Web Services Private CA-hosted or on-premises root or subordinate CA certificate. Call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ImportCertificateAuthorityCertificate.html\">ImportCertificateAuthorityCertificate</a> action to import the signed certificate into Certificate Manager (ACM). </p>",
"refs": {
"CertificateAuthorities$member": null,
"DescribeCertificateAuthorityResponse$CertificateAuthority": "<p>A <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CertificateAuthority.html\">CertificateAuthority</a> structure that contains information about your private CA.</p>"
}
},
"CertificateAuthorityConfiguration": {
"base": "<p>Contains configuration information for your private certificate authority (CA). This includes information about the class of public key algorithm and the key pair that your private CA creates when it issues a certificate. It also includes the signature algorithm that it uses when issuing certificates, and its X.500 distinguished name. You must specify this information when you call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> action. </p>",
"refs": {
"CertificateAuthority$CertificateAuthorityConfiguration": "<p>Your private CA configuration.</p>",
"CreateCertificateAuthorityRequest$CertificateAuthorityConfiguration": "<p>Name and bit size of the private key algorithm, the name of the signing algorithm, and X.500 certificate subject information.</p>"
}
},
"CertificateAuthorityStatus": {
"base": null,
"refs": {
"CertificateAuthority$Status": "<p>Status of your private CA.</p>",
"UpdateCertificateAuthorityRequest$Status": "<p>Status of your private CA.</p>"
}
},
"CertificateAuthorityType": {
"base": null,
"refs": {
"CertificateAuthority$Type": "<p>Type of your private CA.</p>",
"CreateCertificateAuthorityRequest$CertificateAuthorityType": "<p>The type of the certificate authority.</p>"
}
},
"CertificateAuthorityUsageMode": {
"base": null,
"refs": {
"CertificateAuthority$UsageMode": "<p>Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly. Short-lived certificate validity is limited to seven days.</p> <p>The default value is GENERAL_PURPOSE.</p>",
"CreateCertificateAuthorityRequest$UsageMode": "<p>Specifies whether the CA issues general-purpose certificates that typically require a revocation mechanism, or short-lived certificates that may optionally omit revocation because they expire quickly. Short-lived certificate validity is limited to seven days.</p> <p>The default value is GENERAL_PURPOSE.</p>"
}
},
"CertificateBody": {
"base": null,
"refs": {
"GetCertificateAuthorityCertificateResponse$Certificate": "<p>Base64-encoded certificate authority (CA) certificate.</p>",
"GetCertificateResponse$Certificate": "<p>The base64 PEM-encoded certificate specified by the <code>CertificateArn</code> parameter.</p>"
}
},
"CertificateBodyBlob": {
"base": null,
"refs": {
"ImportCertificateAuthorityCertificateRequest$Certificate": "<p>The PEM-encoded certificate for a private CA. This may be a self-signed certificate in the case of a root CA, or it may be signed by another CA that you control.</p>"
}
},
"CertificateChain": {
"base": null,
"refs": {
"GetCertificateAuthorityCertificateResponse$CertificateChain": "<p>Base64-encoded certificate chain that includes any intermediate certificates and chains up to root certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate. If this is a root CA, the value will be null.</p>",
"GetCertificateResponse$CertificateChain": "<p>The base64 PEM-encoded certificate chain that chains up to the root CA certificate that you used to sign your private CA certificate. </p>"
}
},
"CertificateChainBlob": {
"base": null,
"refs": {
"ImportCertificateAuthorityCertificateRequest$CertificateChain": "<p>A PEM-encoded file that contains all of your certificates, other than the certificate you're importing, chaining up to your root CA. Your Amazon Web Services Private CA-hosted or on-premises root certificate is the last in the chain, and each certificate in the chain signs the one preceding. </p> <p>This parameter must be supplied when you import a subordinate CA. When you import a root CA, there is no chain.</p>"
}
},
"CertificateMismatchException": {
"base": "<p>The certificate authority certificate you are importing does not comply with conditions specified in the certificate that signed it.</p>",
"refs": {}
},
"CertificatePolicyList": {
"base": null,
"refs": {
"Extensions$CertificatePolicies": "<p>Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of <a href=\"https://csrc.nist.gov/glossary/term/Object_Identifier\">Object Identifier (OID)</a>.</p> <p>In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.</p>"
}
},
"CnameString": {
"base": null,
"refs": {
"CrlConfiguration$CustomCname": "<p>Name inserted into the certificate <b>CRL Distribution Points</b> extension that enables the use of an alias for the CRL distribution point. Use this value if you don't want the name of your S3 bucket to be public.</p> <note> <p>The content of a Canonical Name (CNAME) record must conform to <a href=\"https://www.ietf.org/rfc/rfc2396.txt\">RFC2396</a> restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as \"http://\" or \"https://\".</p> </note>",
"OcspConfiguration$OcspCustomCname": "<p>By default, Amazon Web Services Private CA injects an Amazon Web Services domain into certificates being validated by the Online Certificate Status Protocol (OCSP). A customer can alternatively use this object to define a CNAME specifying a customized OCSP domain.</p> <note> <p>The content of a Canonical Name (CNAME) record must conform to <a href=\"https://www.ietf.org/rfc/rfc2396.txt\">RFC2396</a> restrictions on the use of special characters in URIs. Additionally, the value of the CNAME must not include a protocol prefix such as \"http://\" or \"https://\".</p> </note> <p>For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/ocsp-customize.html\">Customizing Online Certificate Status Protocol (OCSP) </a> in the <i>Amazon Web Services Private Certificate Authority User Guide</i>.</p>"
}
},
"ConcurrentModificationException": {
"base": "<p>A previous update to your private CA is still ongoing.</p>",
"refs": {}
},
"CountryCodeString": {
"base": null,
"refs": {
"ASN1Subject$Country": "<p>Two-digit code that specifies the country in which the certificate subject located.</p>"
}
},
"CreateCertificateAuthorityAuditReportRequest": {
"base": null,
"refs": {}
},
"CreateCertificateAuthorityAuditReportResponse": {
"base": null,
"refs": {}
},
"CreateCertificateAuthorityRequest": {
"base": null,
"refs": {}
},
"CreateCertificateAuthorityResponse": {
"base": null,
"refs": {}
},
"CreatePermissionRequest": {
"base": null,
"refs": {}
},
"CrlConfiguration": {
"base": "<p>Contains configuration information for a certificate revocation list (CRL). Your private certificate authority (CA) creates base CRLs. Delta CRLs are not supported. You can enable CRLs for your new or an existing private CA by setting the <b>Enabled</b> parameter to <code>true</code>. Your private CA writes CRLs to an S3 bucket that you specify in the <b>S3BucketName</b> parameter. You can hide the name of your bucket by specifying a value for the <b>CustomCname</b> parameter. Your private CA by default copies the CNAME or the S3 bucket name to the <b>CRL Distribution Points</b> extension of each certificate it issues. If you want to configure this default behavior to be something different, you can set the <b>CrlDistributionPointExtensionConfiguration</b> parameter. Your S3 bucket policy must give write permission to Amazon Web Services Private CA. </p> <p>Amazon Web Services Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#crl-encryption\">Encrypting Your CRLs</a>.</p> <p>Your private CA uses the value in the <b>ExpirationInDays</b> parameter to calculate the <b>nextUpdate</b> field in the CRL. The CRL is refreshed prior to a certificate's expiration date or when a certificate is revoked. When a certificate is revoked, it appears in the CRL until the certificate expires, and then in one additional CRL after expiration, and it always appears in the audit report.</p> <p>A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason a CRL update fails, Amazon Web Services Private CA makes further attempts every 15 minutes.</p> <p>CRLs contain the following fields:</p> <ul> <li> <p> <b>Version</b>: The current version number defined in RFC 5280 is V2. The integer value is 0x1. </p> </li> <li> <p> <b>Signature Algorithm</b>: The name of the algorithm used to sign the CRL.</p> </li> <li> <p> <b>Issuer</b>: The X.500 distinguished name of your private CA that issued the CRL.</p> </li> <li> <p> <b>Last Update</b>: The issue date and time of this CRL.</p> </li> <li> <p> <b>Next Update</b>: The day and time by which the next CRL will be issued.</p> </li> <li> <p> <b>Revoked Certificates</b>: List of revoked certificates. Each list item contains the following information.</p> <ul> <li> <p> <b>Serial Number</b>: The serial number, in hexadecimal format, of the revoked certificate.</p> </li> <li> <p> <b>Revocation Date</b>: Date and time the certificate was revoked.</p> </li> <li> <p> <b>CRL Entry Extensions</b>: Optional extensions for the CRL entry.</p> <ul> <li> <p> <b>X509v3 CRL Reason Code</b>: Reason the certificate was revoked.</p> </li> </ul> </li> </ul> </li> <li> <p> <b>CRL Extensions</b>: Optional extensions for the CRL.</p> <ul> <li> <p> <b>X509v3 Authority Key Identifier</b>: Identifies the public key associated with the private key used to sign the certificate.</p> </li> <li> <p> <b>X509v3 CRL Number:</b>: Decimal sequence number for the CRL.</p> </li> </ul> </li> <li> <p> <b>Signature Algorithm</b>: Algorithm used by your private CA to sign the CRL.</p> </li> <li> <p> <b>Signature Value</b>: Signature computed over the CRL.</p> </li> </ul> <p>Certificate revocation lists created by Amazon Web Services Private CA are DER-encoded. You can use the following OpenSSL command to list a CRL.</p> <p> <code>openssl crl -inform DER -text -in <i>crl_path</i> -noout</code> </p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html\">Planning a certificate revocation list (CRL)</a> in the <i>Amazon Web Services Private Certificate Authority User Guide</i> </p>",
"refs": {
"RevocationConfiguration$CrlConfiguration": "<p>Configuration of the certificate revocation list (CRL), if any, maintained by your private CA. A CRL is typically updated approximately 30 minutes after a certificate is revoked. If for any reason a CRL update fails, Amazon Web Services Private CA makes further attempts every 15 minutes.</p>"
}
},
"CrlDistributionPointExtensionConfiguration": {
"base": "<p>Contains configuration information for the default behavior of the CRL Distribution Point (CDP) extension in certificates issued by your CA. This extension contains a link to download the CRL, so you can check whether a certificate has been revoked. To choose whether you want this extension omitted or not in certificates issued by your CA, you can set the <b>OmitExtension</b> parameter.</p>",
"refs": {
"CrlConfiguration$CrlDistributionPointExtensionConfiguration": "<p>Configures the behavior of the CRL Distribution Point extension for certificates issued by your certificate authority. If this field is not provided, then the CRl Distribution Point Extension will be present and contain the default CRL URL.</p>"
}
},
"CrlPathString": {
"base": null,
"refs": {
"CrlConfiguration$CustomPath": "<p>Designates a custom file path in S3 for CRL(s). For example, <code>http://&lt;CustomName&gt;/ &lt;CustomPath&gt;/&lt;CrlPartition_GUID&gt;.crl</code>. </p>"
}
},
"CrlType": {
"base": null,
"refs": {
"CrlConfiguration$CrlType": "<p>Specifies whether to create a complete or partitioned CRL. This setting determines the maximum number of certificates that the certificate authority can issue and revoke. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/pca.html#limits_pca\">Amazon Web Services Private CA quotas</a>.</p> <ul> <li> <p> <code>COMPLETE</code> - The default setting. Amazon Web Services Private CA maintains a single CRL file for all unexpired certificates issued by a CA that have been revoked for any reason. Each certificate that Amazon Web Services Private CA issues is bound to a specific CRL through its CRL distribution point (CDP) extension, defined in <a href=\"https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.9\"> RFC 5280</a>.</p> </li> <li> <p> <code>PARTITIONED</code> - Compared to complete CRLs, partitioned CRLs dramatically increase the number of certificates your private CA can issue. </p> <important> <p> When using partitioned CRLs, you must validate that the CRL's associated issuing distribution point (IDP) URI matches the certificate's CDP URI to ensure the right CRL has been fetched. Amazon Web Services Private CA marks the IDP extension as critical, which your client must be able to process. </p> </important> </li> </ul>"
}
},
"CsrBlob": {
"base": null,
"refs": {
"IssueCertificateRequest$Csr": "<p>The certificate signing request (CSR) for the certificate you want to issue. As an example, you can use the following OpenSSL command to create the CSR and a 2048 bit RSA private key. </p> <p> <code>openssl req -new -newkey rsa:2048 -days 365 -keyout private/test_cert_priv_key.pem -out csr/test_cert_.csr</code> </p> <p>If you have a configuration file, you can then use the following OpenSSL command. The <code>usr_cert</code> block in the configuration file contains your X509 version 3 extensions. </p> <p> <code>openssl req -new -config openssl_rsa.cnf -extensions usr_cert -newkey rsa:2048 -days 365 -keyout private/test_cert_priv_key.pem -out csr/test_cert_.csr</code> </p> <p>Note: A CSR must provide either a <i>subject name</i> or a <i>subject alternative name</i> or the request will be rejected. </p>"
}
},
"CsrBody": {
"base": null,
"refs": {
"GetCertificateAuthorityCsrResponse$Csr": "<p>The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate.</p>"
}
},
"CsrExtensions": {
"base": "<p>Describes the certificate extensions to be added to the certificate signing request (CSR).</p>",
"refs": {
"CertificateAuthorityConfiguration$CsrExtensions": "<p>Specifies information to be added to the extension section of the certificate signing request (CSR).</p>"
}
},
"CustomAttribute": {
"base": "<p>Defines the X.500 relative distinguished name (RDN).</p>",
"refs": {
"CustomAttributeList$member": null
}
},
"CustomAttributeList": {
"base": null,
"refs": {
"ASN1Subject$CustomAttributes": "<p/> <p>Contains a sequence of one or more X.500 relative distinguished names (RDNs), each of which consists of an object identifier (OID) and a value. For more information, see NISTs definition of <a href=\"https://csrc.nist.gov/glossary/term/Object_Identifier\">Object Identifier (OID)</a>.</p> <note> <p>Custom attributes cannot be used in combination with standard attributes.</p> </note>"
}
},
"CustomExtension": {
"base": "<p/> <p>Specifies the X.509 extension information for a certificate.</p> <p>Extensions present in <code>CustomExtensions</code> follow the <code>ApiPassthrough</code> <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html#template-order-of-operations\">template rules</a>. </p>",
"refs": {
"CustomExtensionList$member": null
}
},
"CustomExtensionList": {
"base": null,
"refs": {
"Extensions$CustomExtensions": "<p/> <p>Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the <a href=\"https://oidref.com/2.5.29\">Global OID reference database.</a> </p>"
}
},
"CustomObjectIdentifier": {
"base": null,
"refs": {
"AccessMethod$CustomObjectIdentifier": "<p>An object identifier (OID) specifying the <code>AccessMethod</code>. The OID must satisfy the regular expression shown below. For more information, see NIST's definition of <a href=\"https://csrc.nist.gov/glossary/term/Object_Identifier\">Object Identifier (OID)</a>.</p>",
"CustomAttribute$ObjectIdentifier": "<p>Specifies the object identifier (OID) of the attribute type of the relative distinguished name (RDN).</p>",
"CustomExtension$ObjectIdentifier": "<p/> <p>Specifies the object identifier (OID) of the X.509 extension. For more information, see the <a href=\"https://oidref.com/2.5.29\">Global OID reference database.</a> </p>",
"ExtendedKeyUsage$ExtendedKeyUsageObjectIdentifier": "<p>Specifies a custom <code>ExtendedKeyUsage</code> with an object identifier (OID).</p>",
"GeneralName$RegisteredId": "<p> Represents <code>GeneralName</code> as an object identifier (OID).</p>",
"OtherName$TypeId": "<p>Specifies an OID. </p>",
"PolicyInformation$CertPolicyId": "<p>Specifies the object identifier (OID) of the certificate policy under which the certificate was issued. For more information, see NIST's definition of <a href=\"https://csrc.nist.gov/glossary/term/Object_Identifier\">Object Identifier (OID)</a>.</p>"
}
},
"DeleteCertificateAuthorityRequest": {
"base": null,
"refs": {}
},
"DeletePermissionRequest": {
"base": null,
"refs": {}
},
"DeletePolicyRequest": {
"base": null,
"refs": {}
},
"DescribeCertificateAuthorityAuditReportRequest": {
"base": null,
"refs": {}
},
"DescribeCertificateAuthorityAuditReportResponse": {
"base": null,
"refs": {}
},
"DescribeCertificateAuthorityRequest": {
"base": null,
"refs": {}
},
"DescribeCertificateAuthorityResponse": {
"base": null,
"refs": {}
},
"EdiPartyName": {
"base": "<p>Describes an Electronic Data Interchange (EDI) entity as described in as defined in <a href=\"https://datatracker.ietf.org/doc/html/rfc5280\">Subject Alternative Name</a> in RFC 5280.</p>",
"refs": {
"GeneralName$EdiPartyName": "<p>Represents <code>GeneralName</code> as an <code>EdiPartyName</code> object.</p>"
}
},
"ExtendedKeyUsage": {
"base": "<p>Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the <code>KeyUsage</code> extension.</p>",
"refs": {
"ExtendedKeyUsageList$member": null
}
},
"ExtendedKeyUsageList": {
"base": null,
"refs": {
"Extensions$ExtendedKeyUsage": "<p>Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the <code>KeyUsage</code> extension.</p>"
}
},
"ExtendedKeyUsageType": {
"base": null,
"refs": {
"ExtendedKeyUsage$ExtendedKeyUsageType": "<p>Specifies a standard <code>ExtendedKeyUsage</code> as defined as in <a href=\"https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12\">RFC 5280</a>.</p>"
}
},
"Extensions": {
"base": "<p>Contains X.509 extension information for a certificate.</p>",
"refs": {
"ApiPassthrough$Extensions": "<p>Specifies X.509 extension information for a certificate.</p>"
}
},
"FailureReason": {
"base": null,
"refs": {
"CertificateAuthority$FailureReason": "<p>Reason the request to create your private CA failed.</p>"
}
},
"GeneralName": {
"base": "<p>Describes an ASN.1 X.400 <code>GeneralName</code> as defined in <a href=\"https://datatracker.ietf.org/doc/html/rfc5280\">RFC 5280</a>. Only one of the following naming options should be provided. Providing more than one option results in an <code>InvalidArgsException</code> error.</p>",
"refs": {
"AccessDescription$AccessLocation": "<p>The location of <code>AccessDescription</code> information.</p>",
"GeneralNameList$member": null
}
},
"GeneralNameList": {
"base": null,
"refs": {
"Extensions$SubjectAlternativeNames": "<p>The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.</p>"
}
},
"GetCertificateAuthorityCertificateRequest": {
"base": null,
"refs": {}
},
"GetCertificateAuthorityCertificateResponse": {
"base": null,
"refs": {}
},
"GetCertificateAuthorityCsrRequest": {
"base": null,
"refs": {}
},
"GetCertificateAuthorityCsrResponse": {
"base": null,
"refs": {}
},
"GetCertificateRequest": {
"base": null,
"refs": {}
},
"GetCertificateResponse": {
"base": null,
"refs": {}
},
"GetPolicyRequest": {
"base": null,
"refs": {}
},
"GetPolicyResponse": {
"base": null,
"refs": {}
},
"IdempotencyToken": {
"base": null,
"refs": {
"CreateCertificateAuthorityRequest$IdempotencyToken": "<p>Custom string that can be used to distinguish between calls to the <b>CreateCertificateAuthority</b> action. Idempotency tokens for <b>CreateCertificateAuthority</b> time out after five minutes. Therefore, if you call <b>CreateCertificateAuthority</b> multiple times with the same idempotency token within five minutes, Amazon Web Services Private CA recognizes that you are requesting only certificate authority and will issue only one. If you change the idempotency token for each call, Amazon Web Services Private CA recognizes that you are requesting multiple certificate authorities.</p>",
"IssueCertificateRequest$IdempotencyToken": "<p>Alphanumeric string that can be used to distinguish between calls to the <b>IssueCertificate</b> action. Idempotency tokens for <b>IssueCertificate</b> time out after five minutes. Therefore, if you call <b>IssueCertificate</b> multiple times with the same idempotency token within five minutes, Amazon Web Services Private CA recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, Amazon Web Services Private CA recognizes that you are requesting multiple certificates.</p>"
}
},
"ImportCertificateAuthorityCertificateRequest": {
"base": null,
"refs": {}
},
"Integer1To5000": {
"base": null,
"refs": {
"CrlConfiguration$ExpirationInDays": "<p>Validity period of the CRL in days.</p>"
}
},
"InvalidArgsException": {
"base": "<p>One or more of the specified arguments was not valid.</p>",
"refs": {}
},
"InvalidArnException": {
"base": "<p>The requested Amazon Resource Name (ARN) does not refer to an existing resource.</p>",
"refs": {}
},
"InvalidNextTokenException": {
"base": "<p>The token specified in the <code>NextToken</code> argument is not valid. Use the token returned from your previous call to <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html\">ListCertificateAuthorities</a>.</p>",
"refs": {}
},
"InvalidPolicyException": {
"base": "<p>The resource policy is invalid or is missing a required statement. For general information about IAM policy and statement structure, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json\">Overview of JSON Policies</a>.</p>",
"refs": {}
},
"InvalidRequestException": {
"base": "<p>The request action cannot be performed or is prohibited.</p>",
"refs": {}
},
"InvalidStateException": {
"base": "<p>The state of the private CA does not allow this action to occur.</p>",
"refs": {}
},
"InvalidTagException": {
"base": "<p>The tag associated with the CA is not valid. The invalid argument is contained in the message field.</p>",
"refs": {}
},
"IssueCertificateRequest": {
"base": null,
"refs": {}
},
"IssueCertificateResponse": {
"base": null,
"refs": {}
},
"KeyAlgorithm": {
"base": null,
"refs": {
"CertificateAuthorityConfiguration$KeyAlgorithm": "<p>Type of the public key algorithm and size, in bits, of the key pair that your CA creates when it issues a certificate. When you create a subordinate CA, you must use a key algorithm supported by the parent CA.</p>"
}
},
"KeyStorageSecurityStandard": {
"base": null,
"refs": {
"CertificateAuthority$KeyStorageSecurityStandard": "<p>Defines a cryptographic key management compliance standard for handling and protecting CA keys.</p> <p>Default: FIPS_140_2_LEVEL_3_OR_HIGHER</p> <note> <p>Starting January 26, 2023, Amazon Web Services Private CA protects all CA private keys in non-China regions using hardware security modules (HSMs) that comply with FIPS PUB 140-2 Level 3.</p> <p>For information about security standard support in different Amazon Web Services Regions, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/data-protection.html#private-keys\">Storage and security compliance of Amazon Web Services Private CA private keys</a>.</p> </note>",
"CreateCertificateAuthorityRequest$KeyStorageSecurityStandard": "<p>Specifies a cryptographic key management compliance standard for handling and protecting CA keys.</p> <p>Default: FIPS_140_2_LEVEL_3_OR_HIGHER</p> <note> <p>Some Amazon Web Services Regions don't support the default value. When you create a CA in these Regions, you must use <code>CCPC_LEVEL_1_OR_HIGHER</code> for the <code>KeyStorageSecurityStandard</code> parameter. If you don't, the operation returns an <code>InvalidArgsException</code> with this message: \"A certificate authority cannot be created in this region with the specified security standard.\"</p> <p>For information about security standard support in different Amazon Web Services Regions, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/data-protection.html#private-keys\">Storage and security compliance of Amazon Web Services Private CA private keys</a>.</p> </note>"
}
},
"KeyUsage": {
"base": "<p>Defines one or more purposes for which the key contained in the certificate can be used. Default value for each option is false.</p>",
"refs": {
"CsrExtensions$KeyUsage": "<p>Indicates the purpose of the certificate and of the key contained in the certificate.</p>",
"Extensions$KeyUsage": null
}
},
"LimitExceededException": {
"base": "<p>An Amazon Web Services Private CA quota has been exceeded. See the exception message returned to determine the quota that was exceeded.</p>",
"refs": {}
},
"ListCertificateAuthoritiesRequest": {
"base": null,
"refs": {}
},
"ListCertificateAuthoritiesResponse": {
"base": null,
"refs": {}
},
"ListPermissionsRequest": {
"base": null,
"refs": {}
},
"ListPermissionsResponse": {
"base": null,
"refs": {}
},
"ListTagsRequest": {
"base": null,
"refs": {}
},
"ListTagsResponse": {
"base": null,
"refs": {}
},
"LockoutPreventedException": {
"base": "<p>The current action was prevented because it would lock the caller out from performing subsequent actions. Verify that the specified parameters would not result in the caller being denied access to the resource. </p>",
"refs": {}
},
"MalformedCSRException": {
"base": "<p>The certificate signing request is invalid.</p>",
"refs": {}
},
"MalformedCertificateException": {
"base": "<p>One or more fields in the certificate are invalid.</p>",
"refs": {}
},
"MaxResults": {
"base": null,
"refs": {
"ListCertificateAuthoritiesRequest$MaxResults": "<p>Use this parameter when paginating results to specify the maximum number of items to return in the response on each page. If additional items exist beyond the number you specify, the <code>NextToken</code> element is sent in the response. Use this <code>NextToken</code> value in a subsequent request to retrieve additional items.</p> <p>Although the maximum value is 1000, the action only returns a maximum of 100 items.</p>",
"ListPermissionsRequest$MaxResults": "<p>When paginating results, use this parameter to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the <b>NextToken</b> element is sent in the response. Use this <b>NextToken</b> value in a subsequent request to retrieve additional items.</p>",
"ListTagsRequest$MaxResults": "<p>Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the <b>NextToken</b> element is sent in the response. Use this <b>NextToken</b> value in a subsequent request to retrieve additional items.</p>"
}
},
"NextToken": {
"base": null,
"refs": {
"ListCertificateAuthoritiesRequest$NextToken": "<p>Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the <code>NextToken</code> parameter from the response you just received.</p>",
"ListCertificateAuthoritiesResponse$NextToken": "<p>When the list is truncated, this value is present and should be used for the <code>NextToken</code> parameter in a subsequent pagination request.</p>",
"ListPermissionsRequest$NextToken": "<p>When paginating results, use this parameter in a subsequent request after you receive a response with truncated results. Set it to the value of <b>NextToken</b> from the response you just received.</p>",
"ListPermissionsResponse$NextToken": "<p>When the list is truncated, this value is present and should be used for the <b>NextToken</b> parameter in a subsequent pagination request. </p>",
"ListTagsRequest$NextToken": "<p>Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of <b>NextToken</b> from the response you just received.</p>",
"ListTagsResponse$NextToken": "<p>When the list is truncated, this value is present and should be used for the <b>NextToken</b> parameter in a subsequent pagination request. </p>"
}
},
"OcspConfiguration": {
"base": "<p>Contains information to enable and configure Online Certificate Status Protocol (OCSP) for validating certificate revocation status.</p> <p>When you revoke a certificate, OCSP responses may take up to 60 minutes to reflect the new status.</p>",
"refs": {
"RevocationConfiguration$OcspConfiguration": "<p>Configuration of Online Certificate Status Protocol (OCSP) support, if any, maintained by your private CA. When you revoke a certificate, OCSP responses may take up to 60 minutes to reflect the new status.</p>"
}
},
"OtherName": {
"base": "<p>Defines a custom ASN.1 X.400 <code>GeneralName</code> using an object identifier (OID) and value. The OID must satisfy the regular expression shown below. For more information, see NIST's definition of <a href=\"https://csrc.nist.gov/glossary/term/Object_Identifier\">Object Identifier (OID)</a>.</p>",
"refs": {
"GeneralName$OtherName": "<p>Represents <code>GeneralName</code> using an <code>OtherName</code> object.</p>"
}
},
"PermanentDeletionTimeInDays": {
"base": null,
"refs": {
"DeleteCertificateAuthorityRequest$PermanentDeletionTimeInDays": "<p>The number of days to make a CA restorable after it has been deleted. This can be anywhere from 7 to 30 days, with 30 being the default.</p>"
}
},
"Permission": {
"base": "<p>Permissions designate which private CA actions can be performed by an Amazon Web Services service or entity. In order for ACM to automatically renew private certificates, you must give the ACM service principal all available permissions (<code>IssueCertificate</code>, <code>GetCertificate</code>, and <code>ListPermissions</code>). Permissions can be assigned with the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreatePermission.html\">CreatePermission</a> action, removed with the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_DeletePermission.html\">DeletePermission</a> action, and listed with the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListPermissions.html\">ListPermissions</a> action.</p>",
"refs": {
"PermissionList$member": null
}
},
"PermissionAlreadyExistsException": {
"base": "<p>The designated permission has already been given to the user.</p>",
"refs": {}
},
"PermissionList": {
"base": null,
"refs": {
"ListPermissionsResponse$Permissions": "<p>Summary information about each permission assigned by the specified private CA, including the action enabled, the policy provided, and the time of creation.</p>"
}
},
"PolicyInformation": {
"base": "<p>Defines the X.509 <code>CertificatePolicies</code> extension.</p>",
"refs": {
"CertificatePolicyList$member": null
}
},
"PolicyQualifierId": {
"base": null,
"refs": {
"PolicyQualifierInfo$PolicyQualifierId": "<p>Identifies the qualifier modifying a <code>CertPolicyId</code>.</p>"
}
},
"PolicyQualifierInfo": {
"base": "<p>Modifies the <code>CertPolicyId</code> of a <code>PolicyInformation</code> object with a qualifier. Amazon Web Services Private CA supports the certification practice statement (CPS) qualifier.</p>",
"refs": {
"PolicyQualifierInfoList$member": null
}
},
"PolicyQualifierInfoList": {
"base": null,
"refs": {
"PolicyInformation$PolicyQualifiers": "<p>Modifies the given <code>CertPolicyId</code> with a qualifier. Amazon Web Services Private CA supports the certification practice statement (CPS) qualifier.</p>"
}
},
"PositiveLong": {
"base": null,
"refs": {
"Validity$Value": "<p>A long integer interpreted according to the value of <code>Type</code>, below.</p>"
}
},
"Principal": {
"base": null,
"refs": {
"CreatePermissionRequest$Principal": "<p>The Amazon Web Services service or identity that receives the permission. At this time, the only valid principal is <code>acm.amazonaws.com</code>.</p>",
"DeletePermissionRequest$Principal": "<p>The Amazon Web Services service or identity that will have its CA permissions revoked. At this time, the only valid service principal is <code>acm.amazonaws.com</code> </p>",
"Permission$Principal": "<p>The Amazon Web Services service or entity that holds the permission. At this time, the only valid principal is <code>acm.amazonaws.com</code>.</p>"
}
},
"PutPolicyRequest": {
"base": null,
"refs": {}
},
"Qualifier": {
"base": "<p>Defines a <code>PolicyInformation</code> qualifier. Amazon Web Services Private CA supports the <a href=\"https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.4\">certification practice statement (CPS) qualifier</a> defined in RFC 5280. </p>",
"refs": {
"PolicyQualifierInfo$Qualifier": "<p>Defines the qualifier type. Amazon Web Services Private CA supports the use of a URI for a CPS qualifier in this field.</p>"
}
},
"RequestAlreadyProcessedException": {
"base": "<p>Your request has already been completed.</p>",
"refs": {}
},
"RequestFailedException": {
"base": "<p>The request has failed for an unspecified reason.</p>",
"refs": {}
},
"RequestInProgressException": {
"base": "<p>Your request is already in progress.</p>",
"refs": {}
},
"ResourceNotFoundException": {
"base": "<p>A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot be found.</p>",
"refs": {}
},
"ResourceOwner": {
"base": null,
"refs": {
"ListCertificateAuthoritiesRequest$ResourceOwner": "<p>Use this parameter to filter the returned set of certificate authorities based on their owner. The default is SELF.</p>"
}
},
"RestoreCertificateAuthorityRequest": {
"base": null,
"refs": {}
},
"RevocationConfiguration": {
"base": "<p>Certificate revocation information used by the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthority.html\">CreateCertificateAuthority</a> and <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html\">UpdateCertificateAuthority</a> actions. Your private certificate authority (CA) can configure Online Certificate Status Protocol (OCSP) support and/or maintain a certificate revocation list (CRL). OCSP returns validation information about certificates as requested by clients, and a CRL contains an updated list of certificates revoked by your CA. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_RevokeCertificate.html\">RevokeCertificate</a> and <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/revocation-setup.html\">Setting up a certificate revocation method</a> in the <i>Amazon Web Services Private Certificate Authority User Guide</i>.</p>",
"refs": {
"CertificateAuthority$RevocationConfiguration": "<p>Information about the Online Certificate Status Protocol (OCSP) configuration or certificate revocation list (CRL) created and maintained by your private CA. </p>",
"CreateCertificateAuthorityRequest$RevocationConfiguration": "<p>Contains information to enable support for Online Certificate Status Protocol (OCSP), certificate revocation list (CRL), both protocols, or neither. By default, both certificate validation mechanisms are disabled.</p> <p>The following requirements apply to revocation configurations.</p> <ul> <li> <p>A configuration disabling CRLs or OCSP must contain only the <code>Enabled=False</code> parameter, and will fail if other parameters such as <code>CustomCname</code> or <code>ExpirationInDays</code> are included.</p> </li> <li> <p>In a CRL configuration, the <code>S3BucketName</code> parameter must conform to <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html\">Amazon S3 bucket naming rules</a>.</p> </li> <li> <p>A configuration containing a custom Canonical Name (CNAME) parameter for CRLs or OCSP must conform to <a href=\"https://www.ietf.org/rfc/rfc2396.txt\">RFC2396</a> restrictions on the use of special characters in a CNAME. </p> </li> <li> <p>In a CRL or OCSP configuration, the value of a CNAME parameter must not include a protocol prefix such as \"http://\" or \"https://\".</p> </li> </ul> <p> For more information, see the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_OcspConfiguration.html\">OcspConfiguration</a> and <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CrlConfiguration.html\">CrlConfiguration</a> types.</p>",
"UpdateCertificateAuthorityRequest$RevocationConfiguration": "<p>Contains information to enable support for Online Certificate Status Protocol (OCSP), certificate revocation list (CRL), both protocols, or neither. If you don't supply this parameter, existing capibilites remain unchanged. For more information, see the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_OcspConfiguration.html\">OcspConfiguration</a> and <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CrlConfiguration.html\">CrlConfiguration</a> types.</p> <p>The following requirements apply to revocation configurations.</p> <ul> <li> <p>A configuration disabling CRLs or OCSP must contain only the <code>Enabled=False</code> parameter, and will fail if other parameters such as <code>CustomCname</code> or <code>ExpirationInDays</code> are included.</p> </li> <li> <p>In a CRL configuration, the <code>S3BucketName</code> parameter must conform to <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html\">Amazon S3 bucket naming rules</a>.</p> </li> <li> <p>A configuration containing a custom Canonical Name (CNAME) parameter for CRLs or OCSP must conform to <a href=\"https://www.ietf.org/rfc/rfc2396.txt\">RFC2396</a> restrictions on the use of special characters in a CNAME. </p> </li> <li> <p>In a CRL or OCSP configuration, the value of a CNAME parameter must not include a protocol prefix such as \"http://\" or \"https://\".</p> </li> </ul> <important> <p> If you update the <code>S3BucketName</code> of <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CrlConfiguration.html\">CrlConfiguration</a>, you can break revocation for existing certificates. In other words, if you call <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html\">UpdateCertificateAuthority</a> to update the CRL configuration's S3 bucket name, Amazon Web Services Private CA only writes CRLs to the new S3 bucket. Certificates issued prior to this point will have the old S3 bucket name in your CRL Distribution Point (CDP) extension, essentially breaking revocation. If you must update the S3 bucket, you'll need to reissue old certificates to keep the revocation working. Alternatively, you can use a <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_CrlConfiguration.html#privateca-Type-CrlConfiguration-CustomCname\">CustomCname</a> in your CRL configuration if you might need to change the S3 bucket name in the future.</p> </important>"
}
},
"RevocationReason": {
"base": null,
"refs": {
"RevokeCertificateRequest$RevocationReason": "<p>Specifies why you revoked the certificate.</p>"
}
},
"RevokeCertificateRequest": {
"base": null,
"refs": {}
},
"S3BucketName": {
"base": null,
"refs": {
"CreateCertificateAuthorityAuditReportRequest$S3BucketName": "<p>The name of the S3 bucket that will contain the audit report.</p>",
"DescribeCertificateAuthorityAuditReportResponse$S3BucketName": "<p>Name of the S3 bucket that contains the report.</p>"
}
},
"S3BucketName3To255": {
"base": null,
"refs": {
"CrlConfiguration$S3BucketName": "<p>Name of the S3 bucket that contains the CRL. If you do not provide a value for the <b>CustomCname</b> argument, the name of your S3 bucket is placed into the <b>CRL Distribution Points</b> extension of the issued certificate. You can change the name of your bucket by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_UpdateCertificateAuthority.html\">UpdateCertificateAuthority</a> operation. You must specify a <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#s3-policies\">bucket policy</a> that allows Amazon Web Services Private CA to write the CRL to your bucket.</p> <note> <p>The <code>S3BucketName</code> parameter must conform to the <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html\">S3 bucket naming rules</a>.</p> </note>"
}
},
"S3Key": {
"base": null,
"refs": {
"CreateCertificateAuthorityAuditReportResponse$S3Key": "<p>The <b>key</b> that uniquely identifies the report file in your S3 bucket.</p>",
"DescribeCertificateAuthorityAuditReportResponse$S3Key": "<p>S3 <b>key</b> that uniquely identifies the report file in your S3 bucket.</p>"
}
},
"S3ObjectAcl": {
"base": null,
"refs": {
"CrlConfiguration$S3ObjectAcl": "<p>Determines whether the CRL will be publicly readable or privately held in the CRL Amazon S3 bucket. If you choose PUBLIC_READ, the CRL will be accessible over the public internet. If you choose BUCKET_OWNER_FULL_CONTROL, only the owner of the CRL S3 bucket can access the CRL, and your PKI clients may need an alternative method of access. </p> <p>If no value is specified, the default is <code>PUBLIC_READ</code>.</p> <p> <i>Note:</i> This default can cause CA creation to fail in some circumstances. If you have have enabled the Block Public Access (BPA) feature in your S3 account, then you must specify the value of this parameter as <code>BUCKET_OWNER_FULL_CONTROL</code>, and not doing so results in an error. If you have disabled BPA in S3, then you can specify either <code>BUCKET_OWNER_FULL_CONTROL</code> or <code>PUBLIC_READ</code> as the value.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/userguide/crl-planning.html#s3-bpa\">Blocking public access to the S3 bucket</a>.</p>"
}
},
"SigningAlgorithm": {
"base": null,
"refs": {
"CertificateAuthorityConfiguration$SigningAlgorithm": "<p>Name of the algorithm your private CA uses to sign certificate requests.</p> <p>This parameter should not be confused with the <code>SigningAlgorithm</code> parameter of the <code>IssueCertificate</code> API action, which is used to sign certificates when they are issued.</p>",
"IssueCertificateRequest$SigningAlgorithm": "<p>The name of the algorithm that will be used to sign the certificate to be issued. </p> <p>This parameter should not be confused with the <code>SigningAlgorithm</code> parameter used to sign a CSR in the <code>CreateCertificateAuthority</code> action.</p> <note> <p>The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.</p> </note>"
}
},
"String": {
"base": null,
"refs": {
"CertificateAuthority$Serial": "<p>Serial number of your private CA.</p>",
"CertificateMismatchException$message": null,
"ConcurrentModificationException$message": null,
"InvalidArgsException$message": null,
"InvalidArnException$message": null,
"InvalidNextTokenException$message": null,
"InvalidPolicyException$message": null,
"InvalidRequestException$message": null,
"InvalidStateException$message": null,
"InvalidTagException$message": null,
"LimitExceededException$message": null,
"LockoutPreventedException$message": null,
"MalformedCSRException$message": null,
"MalformedCertificateException$message": null,
"PermissionAlreadyExistsException$message": null,
"RequestAlreadyProcessedException$message": null,
"RequestFailedException$message": null,
"RequestInProgressException$message": null,
"ResourceNotFoundException$message": null,
"TooManyTagsException$message": null
}
},
"String128": {
"base": null,
"refs": {
"ASN1Subject$State": "<p>State in which the subject of the certificate is located.</p>",
"ASN1Subject$Locality": "<p>The locality (such as a city or town) in which the certificate subject is located.</p>",
"ASN1Subject$Pseudonym": "<p>Typically a shortened version of a longer <b>GivenName</b>. For example, Jonathan is often shortened to John. Elizabeth is often shortened to Beth, Liz, or Eliza.</p>",
"RevokeCertificateRequest$CertificateSerial": "<p>Serial number of the certificate to be revoked. This must be in hexadecimal format. You can retrieve the serial number by calling <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_GetCertificate.html\">GetCertificate</a> with the Amazon Resource Name (ARN) of the certificate you want and the ARN of your private CA. The <b>GetCertificate</b> action retrieves the certificate in the PEM format. You can use the following OpenSSL command to list the certificate in text format and copy the hexadecimal serial number. </p> <p> <code>openssl x509 -in <i>file_path</i> -text -noout</code> </p> <p>You can also copy the serial number from the console or use the <a href=\"https://docs.aws.amazon.com/acm/latest/APIReference/API_DescribeCertificate.html\">DescribeCertificate</a> action in the <i>Certificate Manager API Reference</i>. </p>"
}
},
"String16": {
"base": null,
"refs": {
"ASN1Subject$GivenName": "<p>First name.</p>"
}
},
"String1To256": {
"base": null,
"refs": {
"CustomAttribute$Value": "<p/> <p>Specifies the attribute value of relative distinguished name (RDN).</p>"
}
},
"String253": {
"base": null,
"refs": {
"GeneralName$DnsName": "<p>Represents <code>GeneralName</code> as a DNS name.</p>",
"GeneralName$UniformResourceIdentifier": "<p>Represents <code>GeneralName</code> as a URI.</p>"
}
},
"String256": {
"base": null,
"refs": {
"EdiPartyName$PartyName": "<p>Specifies the party name.</p>",
"EdiPartyName$NameAssigner": "<p>Specifies the name assigner.</p>",
"GeneralName$Rfc822Name": "<p>Represents <code>GeneralName</code> as an <a href=\"https://datatracker.ietf.org/doc/html/rfc822\">RFC 822</a> email address.</p>",
"OtherName$Value": "<p>Specifies an OID value.</p>",
"Qualifier$CpsUri": "<p>Contains a pointer to a certification practice statement (CPS) published by the CA.</p>"
}
},
"String3": {
"base": null,
"refs": {
"ASN1Subject$GenerationQualifier": "<p>Typically a qualifier appended to the name of an individual. Examples include Jr. for junior, Sr. for senior, and III for third.</p>"
}
},
"String39": {
"base": null,
"refs": {
"GeneralName$IpAddress": "<p>Represents <code>GeneralName</code> as an IPv4 or IPv6 address.</p>"
}
},
"String40": {
"base": null,
"refs": {
"ASN1Subject$Surname": "<p>Family name. In the US and the UK, for example, the surname of an individual is ordered last. In Asian cultures the surname is typically ordered first.</p>"
}
},
"String5": {
"base": null,
"refs": {
"ASN1Subject$Initials": "<p>Concatenation that typically contains the first letter of the <b>GivenName</b>, the first letter of the middle name if one exists, and the first letter of the <b>Surname</b>.</p>"
}
},
"String64": {
"base": null,
"refs": {
"ASN1Subject$Organization": "<p>Legal name of the organization with which the certificate subject is affiliated. </p>",
"ASN1Subject$OrganizationalUnit": "<p>A subdivision or unit of the organization (such as sales or finance) with which the certificate subject is affiliated.</p>",
"ASN1Subject$CommonName": "<p>For CA and end-entity certificates in a private PKI, the common name (CN) can be any string within the length limit. </p> <p>Note: In publicly trusted certificates, the common name must be a fully qualified domain name (FQDN) associated with the certificate subject.</p>",
"ASN1Subject$Title": "<p>A title such as Mr. or Ms., which is pre-pended to the name to refer formally to the certificate subject.</p>"
}
},
"TStamp": {
"base": null,
"refs": {
"CertificateAuthority$CreatedAt": "<p>Date and time at which your private CA was created.</p>",
"CertificateAuthority$LastStateChangeAt": "<p>Date and time at which your private CA was last updated.</p>",
"CertificateAuthority$NotBefore": "<p>Date and time before which your private CA certificate is not valid.</p>",
"CertificateAuthority$NotAfter": "<p>Date and time after which your private CA certificate is not valid.</p>",
"CertificateAuthority$RestorableUntil": "<p>The period during which a deleted CA can be restored. For more information, see the <code>PermanentDeletionTimeInDays</code> parameter of the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_DeleteCertificateAuthorityRequest.html\">DeleteCertificateAuthorityRequest</a> action. </p>",
"DescribeCertificateAuthorityAuditReportResponse$CreatedAt": "<p>The date and time at which the report was created.</p>",
"Permission$CreatedAt": "<p>The time at which the permission was created.</p>"
}
},
"Tag": {
"base": "<p>Tags are labels that you can use to identify and organize your private CAs. Each tag consists of a key and an optional value. You can associate up to 50 tags with a private CA. To add one or more tags to a private CA, call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_TagCertificateAuthority.html\">TagCertificateAuthority</a> action. To remove a tag, call the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_UntagCertificateAuthority.html\">UntagCertificateAuthority</a> action. </p>",
"refs": {
"TagList$member": null
}
},
"TagCertificateAuthorityRequest": {
"base": null,
"refs": {}
},
"TagKey": {
"base": null,
"refs": {
"Tag$Key": "<p>Key (name) of the tag.</p>"
}
},
"TagList": {
"base": null,
"refs": {
"CreateCertificateAuthorityRequest$Tags": "<p>Key-value pairs that will be attached to the new private CA. You can associate up to 50 tags with a private CA. For information using tags with IAM to manage permissions, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html\">Controlling Access Using IAM Tags</a>.</p>",
"ListTagsResponse$Tags": "<p>The tags associated with your private CA.</p>",
"TagCertificateAuthorityRequest$Tags": "<p>List of tags to be associated with the CA.</p>",
"UntagCertificateAuthorityRequest$Tags": "<p>List of tags to be removed from the CA.</p>"
}
},
"TagValue": {
"base": null,
"refs": {
"Tag$Value": "<p>Value of the tag.</p>"
}
},
"TooManyTagsException": {
"base": "<p>You can associate up to 50 tags with a private CA. Exception information is contained in the exception message field.</p>",
"refs": {}
},
"UntagCertificateAuthorityRequest": {
"base": null,
"refs": {}
},
"UpdateCertificateAuthorityRequest": {
"base": null,
"refs": {}
},
"Validity": {
"base": "<p>Validity specifies the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the validity of a certificate starts or expires, or as a span of time after issuance, stated in days, months, or years. For more information, see <a href=\"https://tools.ietf.org/html/rfc5280#section-4.1.2.5\">Validity</a> in RFC 5280.</p> <p>Amazon Web Services Private CA API consumes the <code>Validity</code> data type differently in two distinct parameters of the <code>IssueCertificate</code> action. The required parameter <code>IssueCertificate</code>:<code>Validity</code> specifies the end of a certificate's validity period. The optional parameter <code>IssueCertificate</code>:<code>ValidityNotBefore</code> specifies a customized starting time for the validity period.</p>",
"refs": {
"IssueCertificateRequest$Validity": "<p>Information describing the end of the validity period of the certificate. This parameter sets the “Not After” date for the certificate.</p> <p>Certificate validity is the period of time during which a certificate is valid. Validity can be expressed as an explicit date and time when the certificate expires, or as a span of time after issuance, stated in days, months, or years. For more information, see <a href=\"https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.5\">Validity</a> in RFC 5280. </p> <p>This value is unaffected when <code>ValidityNotBefore</code> is also specified. For example, if <code>Validity</code> is set to 20 days in the future, the certificate will expire 20 days from issuance time regardless of the <code>ValidityNotBefore</code> value.</p> <p>The end of the validity period configured on a certificate must not exceed the limit set on its parents in the CA hierarchy.</p>",
"IssueCertificateRequest$ValidityNotBefore": "<p>Information describing the start of the validity period of the certificate. This parameter sets the “Not Before\" date for the certificate.</p> <p>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 <code>ValidityNotBefore</code> parameter can be used to customize the “Not Before” value. </p> <p>Unlike the <code>Validity</code> parameter, the <code>ValidityNotBefore</code> parameter is optional.</p> <p>The <code>ValidityNotBefore</code> value is expressed as an explicit date and time, using the <code>Validity</code> type value <code>ABSOLUTE</code>. For more information, see <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_Validity.html\">Validity</a> in this API reference and <a href=\"https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.5\">Validity</a> in RFC 5280.</p>"
}
},
"ValidityPeriodType": {
"base": null,
"refs": {
"Validity$Type": "<p>Determines how <i>Amazon Web Services Private CA</i> interprets the <code>Value</code> parameter, an integer. Supported validity types include those listed below. Type definitions with values include a sample input value and the resulting output. </p> <p> <code>END_DATE</code>: The specific date and time when the certificate will expire, expressed using UTCTime (YYMMDDHHMMSS) or GeneralizedTime (YYYYMMDDHHMMSS) format. When UTCTime is used, if the year field (YY) is greater than or equal to 50, the year is interpreted as 19YY. If the year field is less than 50, the year is interpreted as 20YY.</p> <ul> <li> <p>Sample input value: 491231235959 (UTCTime format)</p> </li> <li> <p>Output expiration date/time: 12/31/2049 23:59:59</p> </li> </ul> <p> <code>ABSOLUTE</code>: The specific date and time when the validity of a certificate will start or expire, expressed in seconds since the Unix Epoch. </p> <ul> <li> <p>Sample input value: 2524608000</p> </li> <li> <p>Output expiration date/time: 01/01/2050 00:00:00</p> </li> </ul> <p> <code>DAYS</code>, <code>MONTHS</code>, <code>YEARS</code>: The relative time from the moment of issuance until the certificate will expire, expressed in days, months, or years. </p> <p>Example if <code>DAYS</code>, issued on 10/12/2020 at 12:34:54 UTC:</p> <ul> <li> <p>Sample input value: 90</p> </li> <li> <p>Output expiration date: 01/10/2020 12:34:54 UTC</p> </li> </ul> <p>The minimum validity duration for a certificate using relative time (<code>DAYS</code>) is one day. The minimum validity for a certificate using absolute time (<code>ABSOLUTE</code> or <code>END_DATE</code>) is one second.</p>"
}
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -1,212 +0,0 @@
{
"version": "1.1",
"parameters": {
"Region": {
"builtIn": "AWS::Region",
"required": false,
"documentation": "The AWS region used to dispatch the request.",
"type": "string"
},
"UseDualStack": {
"builtIn": "AWS::UseDualStack",
"required": true,
"default": false,
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
"type": "boolean"
},
"UseFIPS": {
"builtIn": "AWS::UseFIPS",
"required": true,
"default": false,
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
"type": "boolean"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send this request",
"type": "string"
}
},
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
},
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
},
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
},
true
]
},
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws-us-gov"
]
}
],
"results": [
{
"conditions": [],
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": {
"ref": "Endpoint"
},
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": "https://acm-pca.{Region}.amazonaws.com",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": "https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": "https://acm-pca.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
}
],
"root": 2,
"nodeCount": 14,
"nodes": "/////wAAAAH/////AAAAAAAAAA0AAAADAAAAAQAAAAQF9eEMAAAAAgAAAAUF9eEMAAAAAwAAAAgAAAAGAAAABAAAAAcF9eELAAAABQX14QkF9eEKAAAABAAAAAsAAAAJAAAABgAAAAoF9eEIAAAABwX14QYF9eEHAAAABQAAAAwF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAAOAAAABAX14QIF9eED"
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm-pca/2017-08-22/endpoint-bdd-1.json
return [ 'version' => '1.1', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'string', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'string', ], ], 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws-us-gov', ], ], ], 'results' => [ [ 'conditions' => [], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ], 'root' => 2, 'nodeCount' => 14, 'nodes' => '/////wAAAAH/////AAAAAAAAAA0AAAADAAAAAQAAAAQF9eEMAAAAAgAAAAUF9eEMAAAAAwAAAAgAAAAGAAAABAAAAAcF9eELAAAABQX14QkF9eEKAAAABAAAAAsAAAAJAAAABgAAAAoF9eEIAAAABwX14QYF9eEHAAAABQAAAAwF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAAOAAAABAX14QIF9eED',];

View file

@ -1,339 +0,0 @@
{
"version": "1.0",
"parameters": {
"Region": {
"builtIn": "AWS::Region",
"required": false,
"documentation": "The AWS region used to dispatch the request.",
"type": "string"
},
"UseDualStack": {
"builtIn": "AWS::UseDualStack",
"required": true,
"default": false,
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
"type": "boolean"
},
"UseFIPS": {
"builtIn": "AWS::UseFIPS",
"required": true,
"default": false,
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
"type": "boolean"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send this request",
"type": "string"
}
},
"rules": [
{
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": {
"ref": "Endpoint"
},
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
}
],
"rules": [
{
"conditions": [
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
}
]
},
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
}
]
}
],
"rules": [
{
"conditions": [],
"endpoint": {
"url": "https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
],
"type": "tree"
},
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
},
true
]
}
],
"rules": [
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws-us-gov"
]
}
],
"endpoint": {
"url": "https://acm-pca.{Region}.amazonaws.com",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
],
"type": "tree"
},
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
}
]
}
],
"rules": [
{
"conditions": [],
"endpoint": {
"url": "https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
],
"type": "tree"
},
{
"conditions": [],
"endpoint": {
"url": "https://acm-pca.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree"
}
],
"type": "tree"
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
}
]
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm-pca/2017-08-22/endpoint-rule-set-1.json
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'string', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'string', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws-us-gov', ], ], ], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];

View file

@ -1,621 +0,0 @@
{
"testCases": [
{
"documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.af-south-1.amazonaws.com"
}
},
"params": {
"Region": "af-south-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.ap-east-1.amazonaws.com"
}
},
"params": {
"Region": "ap-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.ap-northeast-1.amazonaws.com"
}
},
"params": {
"Region": "ap-northeast-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.ap-northeast-2.amazonaws.com"
}
},
"params": {
"Region": "ap-northeast-2",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.ap-northeast-3.amazonaws.com"
}
},
"params": {
"Region": "ap-northeast-3",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.ap-south-1.amazonaws.com"
}
},
"params": {
"Region": "ap-south-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.ap-southeast-1.amazonaws.com"
}
},
"params": {
"Region": "ap-southeast-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.ap-southeast-2.amazonaws.com"
}
},
"params": {
"Region": "ap-southeast-2",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.ap-southeast-3.amazonaws.com"
}
},
"params": {
"Region": "ap-southeast-3",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.ca-central-1.amazonaws.com"
}
},
"params": {
"Region": "ca-central-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.ca-central-1.amazonaws.com"
}
},
"params": {
"Region": "ca-central-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.eu-central-1.amazonaws.com"
}
},
"params": {
"Region": "eu-central-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.eu-north-1.amazonaws.com"
}
},
"params": {
"Region": "eu-north-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.eu-south-1.amazonaws.com"
}
},
"params": {
"Region": "eu-south-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.eu-west-1.amazonaws.com"
}
},
"params": {
"Region": "eu-west-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.eu-west-2.amazonaws.com"
}
},
"params": {
"Region": "eu-west-2",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.eu-west-3.amazonaws.com"
}
},
"params": {
"Region": "eu-west-3",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region me-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.me-south-1.amazonaws.com"
}
},
"params": {
"Region": "me-south-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.sa-east-1.amazonaws.com"
}
},
"params": {
"Region": "sa-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-east-2.amazonaws.com"
}
},
"params": {
"Region": "us-east-2",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.us-east-2.amazonaws.com"
}
},
"params": {
"Region": "us-east-2",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-west-1.amazonaws.com"
}
},
"params": {
"Region": "us-west-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.us-west-1.amazonaws.com"
}
},
"params": {
"Region": "us-west-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-west-2.amazonaws.com"
}
},
"params": {
"Region": "us-west-2",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.us-west-2.amazonaws.com"
}
},
"params": {
"Region": "us-west-2",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.cn-north-1.amazonaws.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.cn-north-1.amazonaws.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-gov-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-gov-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-gov-west-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-west-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-gov-west-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-west-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.us-gov-east-1.api.aws"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-gov-east-1.api.aws"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca-fips.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://acm-pca.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
"expect": {
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
"expect": {
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true,
"Endpoint": "https://example.com"
}
},
{
"documentation": "Missing region",
"expect": {
"error": "Invalid Configuration: Missing Region"
}
}
],
"version": "1.0"
}

File diff suppressed because one or more lines are too long

View file

@ -1,4 +0,0 @@
{
"version": "1.0",
"examples": {}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm-pca/2017-08-22/examples-1.json
return [ 'version' => '1.0', 'examples' => [],];

View file

@ -1,22 +0,0 @@
{
"pagination": {
"ListCertificateAuthorities": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "CertificateAuthorities"
},
"ListPermissions": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Permissions"
},
"ListTags": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Tags"
}
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm-pca/2017-08-22/paginators-1.json
return [ 'pagination' => [ 'ListCertificateAuthorities' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', 'result_key' => 'CertificateAuthorities', ], 'ListPermissions' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', 'result_key' => 'Permissions', ], 'ListTags' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', 'result_key' => 'Tags', ], ],];

View file

@ -1,64 +0,0 @@
{
"version" : 2,
"waiters" : {
"AuditReportCreated" : {
"description" : "Wait until a Audit Report is created",
"delay" : 3,
"maxAttempts" : 60,
"operation" : "DescribeCertificateAuthorityAuditReport",
"acceptors" : [ {
"matcher" : "path",
"argument" : "AuditReportStatus",
"state" : "success",
"expected" : "SUCCESS"
}, {
"matcher" : "path",
"argument" : "AuditReportStatus",
"state" : "failure",
"expected" : "FAILED"
}, {
"matcher" : "error",
"state" : "failure",
"expected" : "AccessDeniedException"
} ]
},
"CertificateAuthorityCSRCreated" : {
"description" : "Wait until a Certificate Authority CSR is created",
"delay" : 3,
"maxAttempts" : 60,
"operation" : "GetCertificateAuthorityCsr",
"acceptors" : [ {
"matcher" : "error",
"state" : "success",
"expected" : false
}, {
"matcher" : "error",
"state" : "retry",
"expected" : "RequestInProgressException"
}, {
"matcher" : "error",
"state" : "failure",
"expected" : "AccessDeniedException"
} ]
},
"CertificateIssued" : {
"description" : "Wait until a certificate is issued",
"delay" : 1,
"maxAttempts" : 60,
"operation" : "GetCertificate",
"acceptors" : [ {
"matcher" : "error",
"state" : "success",
"expected" : false
}, {
"matcher" : "error",
"state" : "retry",
"expected" : "RequestInProgressException"
}, {
"matcher" : "error",
"state" : "failure",
"expected" : "AccessDeniedException"
} ]
}
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm-pca/2017-08-22/waiters-2.json
return [ 'version' => 2, 'waiters' => [ 'AuditReportCreated' => [ 'description' => 'Wait until a Audit Report is created', 'delay' => 3, 'maxAttempts' => 60, 'operation' => 'DescribeCertificateAuthorityAuditReport', 'acceptors' => [ [ 'matcher' => 'path', 'argument' => 'AuditReportStatus', 'state' => 'success', 'expected' => 'SUCCESS', ], [ 'matcher' => 'path', 'argument' => 'AuditReportStatus', 'state' => 'failure', 'expected' => 'FAILED', ], [ 'matcher' => 'error', 'state' => 'failure', 'expected' => 'AccessDeniedException', ], ], ], 'CertificateAuthorityCSRCreated' => [ 'description' => 'Wait until a Certificate Authority CSR is created', 'delay' => 3, 'maxAttempts' => 60, 'operation' => 'GetCertificateAuthorityCsr', 'acceptors' => [ [ 'matcher' => 'error', 'state' => 'success', 'expected' => false, ], [ 'matcher' => 'error', 'state' => 'retry', 'expected' => 'RequestInProgressException', ], [ 'matcher' => 'error', 'state' => 'failure', 'expected' => 'AccessDeniedException', ], ], ], 'CertificateIssued' => [ 'description' => 'Wait until a certificate is issued', 'delay' => 1, 'maxAttempts' => 60, 'operation' => 'GetCertificate', 'acceptors' => [ [ 'matcher' => 'error', 'state' => 'success', 'expected' => false, ], [ 'matcher' => 'error', 'state' => 'retry', 'expected' => 'RequestInProgressException', ], [ 'matcher' => 'error', 'state' => 'failure', 'expected' => 'AccessDeniedException', ], ], ], ],];

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,200 +0,0 @@
{
"version": "1.1",
"parameters": {
"Region": {
"builtIn": "AWS::Region",
"required": true,
"documentation": "The AWS region to send requests to.",
"type": "string"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send requests.",
"type": "string"
},
"UseFIPS": {
"builtIn": "AWS::UseFIPS",
"required": true,
"default": false,
"documentation": "Use FIPS endpoints.",
"type": "boolean"
},
"UseDualStack": {
"builtIn": "AWS::UseDualStack",
"required": true,
"default": false,
"documentation": "Use dual-stack endpoints.",
"type": "boolean"
},
"ServiceType": {
"required": true,
"documentation": "The service type: ACM or ACM-ACME. Injected via @staticContextParams.",
"type": "string"
}
},
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
},
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
},
{
"fn": "stringEquals",
"argv": [
{
"ref": "ServiceType"
},
"ACM-ACME"
]
},
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws"
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
},
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws-us-gov"
]
}
],
"results": [
{
"conditions": [],
"endpoint": {
"url": "{Endpoint}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"error": "FIPS endpoints are not available for ACME operations",
"type": "error"
},
{
"documentation": "ACME standard",
"conditions": [],
"endpoint": {
"url": "https://acm-acme.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"documentation": "ACME operations are only available in commercial AWS partitions",
"conditions": [],
"error": "ACME operations are only available in commercial AWS partitions",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": "https://acm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://acm.{Region}.amazonaws.com",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"documentation": "ACM FIPS standard",
"conditions": [],
"endpoint": {
"url": "https://acm-fips.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"documentation": "ACM standard",
"conditions": [],
"endpoint": {
"url": "https://acm.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"documentation": "Fallback error if region is not set",
"conditions": [],
"error": "Region must be set to resolve an endpoint.",
"type": "error"
}
],
"root": 2,
"nodeCount": 10,
"nodes": "/////wAAAAH/////AAAAAAX14QEAAAADAAAAAQAAAAQF9eEKAAAAAgAAAAkAAAAFAAAABAAAAAcAAAAGAAAABQX14QgF9eEJAAAABQX14QUAAAAIAAAABgX14QYF9eEHAAAAAwAAAAoF9eEEAAAABAX14QIF9eED"
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm/2015-12-08/endpoint-bdd-1.json
return [ 'version' => '1.1', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => true, 'documentation' => 'The AWS region to send requests to.', 'type' => 'string', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send requests.', 'type' => 'string', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'Use FIPS endpoints.', 'type' => 'boolean', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'Use dual-stack endpoints.', 'type' => 'boolean', ], 'ServiceType' => [ 'required' => true, 'documentation' => 'The service type: ACM or ACM-ACME. Injected via @staticContextParams.', 'type' => 'string', ], ], 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], [ 'fn' => 'stringEquals', 'argv' => [ [ 'ref' => 'ServiceType', ], 'ACM-ACME', ], ], [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws', ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws-us-gov', ], ], ], 'results' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => '{Endpoint}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'error' => 'FIPS endpoints are not available for ACME operations', 'type' => 'error', ], [ 'documentation' => 'ACME standard', 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-acme.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'documentation' => 'ACME operations are only available in commercial AWS partitions', 'conditions' => [], 'error' => 'ACME operations are only available in commercial AWS partitions', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'documentation' => 'ACM FIPS standard', 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'documentation' => 'ACM standard', 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'documentation' => 'Fallback error if region is not set', 'conditions' => [], 'error' => 'Region must be set to resolve an endpoint.', 'type' => 'error', ], ], 'root' => 2, 'nodeCount' => 10, 'nodes' => '/////wAAAAH/////AAAAAAX14QEAAAADAAAAAQAAAAQF9eEKAAAAAgAAAAkAAAAFAAAABAAAAAcAAAAGAAAABQX14QgF9eEJAAAABQX14QUAAAAIAAAABgX14QYF9eEHAAAAAwAAAAoF9eEEAAAABAX14QIF9eED',];

View file

@ -1,273 +0,0 @@
{
"version": "1.0",
"parameters": {
"Region": {
"type": "string",
"builtIn": "AWS::Region",
"required": true,
"documentation": "The AWS region to send requests to."
},
"Endpoint": {
"type": "string",
"builtIn": "SDK::Endpoint",
"documentation": "Override the endpoint used to send requests."
},
"UseFIPS": {
"type": "boolean",
"builtIn": "AWS::UseFIPS",
"documentation": "Use FIPS endpoints.",
"default": false,
"required": true
},
"UseDualStack": {
"type": "boolean",
"builtIn": "AWS::UseDualStack",
"documentation": "Use dual-stack endpoints.",
"default": false,
"required": true
},
"ServiceType": {
"type": "string",
"required": true,
"documentation": "The service type: ACM or ACM-ACME. Injected via @staticContextParams."
}
},
"rules": [
{
"documentation": "Use custom endpoint if provided",
"type": "endpoint",
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
}
],
"endpoint": {
"url": "{Endpoint}"
}
},
{
"documentation": "Resolve partition for region",
"type": "tree",
"conditions": [
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
}
],
"rules": [
{
"documentation": "ACME operations",
"type": "tree",
"conditions": [
{
"fn": "stringEquals",
"argv": [
{
"ref": "ServiceType"
},
"ACM-ACME"
]
}
],
"rules": [
{
"documentation": "ACME with custom endpoint",
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
}
],
"endpoint": {
"url": "{Endpoint}"
},
"type": "endpoint"
},
{
"documentation": "ACME operations are only available in commercial AWS partitions",
"conditions": [
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws"
]
}
],
"rules": [
{
"documentation": "FIPS endpoints are not available for ACME operations",
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"error": "FIPS endpoints are not available for ACME operations",
"type": "error"
},
{
"documentation": "ACME standard",
"conditions": [],
"endpoint": {
"url": "https://acm-acme.{Region}.{PartitionResult#dualStackDnsSuffix}"
},
"type": "endpoint"
}
],
"type": "tree"
},
{
"documentation": "ACME operations are only available in commercial AWS partitions",
"conditions": [],
"error": "ACME operations are only available in commercial AWS partitions",
"type": "error"
}
]
},
{
"documentation": "ACM operations",
"type": "tree",
"conditions": [],
"rules": [
{
"documentation": "ACM FIPS + DualStack",
"type": "endpoint",
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"endpoint": {
"url": "https://acm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}"
}
},
{
"documentation": "ACM FIPS only",
"type": "tree",
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"rules": [
{
"documentation": "ACM FIPS GovCloud",
"type": "endpoint",
"conditions": [
{
"fn": "stringEquals",
"argv": [
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"name"
]
},
"aws-us-gov"
]
}
],
"endpoint": {
"url": "https://acm.{Region}.amazonaws.com"
}
},
{
"documentation": "ACM FIPS standard",
"type": "endpoint",
"conditions": [],
"endpoint": {
"url": "https://acm-fips.{Region}.{PartitionResult#dnsSuffix}"
}
}
]
},
{
"documentation": "ACM DualStack only",
"type": "endpoint",
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"endpoint": {
"url": "https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}"
}
},
{
"documentation": "ACM standard",
"type": "endpoint",
"conditions": [],
"endpoint": {
"url": "https://acm.{Region}.{PartitionResult#dnsSuffix}"
}
}
]
}
]
},
{
"documentation": "Fallback error if region is not set",
"type": "error",
"conditions": [],
"error": "Region must be set to resolve an endpoint."
}
]
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm/2015-12-08/endpoint-rule-set-1.json
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'type' => 'string', 'builtIn' => 'AWS::Region', 'required' => true, 'documentation' => 'The AWS region to send requests to.', ], 'Endpoint' => [ 'type' => 'string', 'builtIn' => 'SDK::Endpoint', 'documentation' => 'Override the endpoint used to send requests.', ], 'UseFIPS' => [ 'type' => 'boolean', 'builtIn' => 'AWS::UseFIPS', 'documentation' => 'Use FIPS endpoints.', 'default' => false, 'required' => true, ], 'UseDualStack' => [ 'type' => 'boolean', 'builtIn' => 'AWS::UseDualStack', 'documentation' => 'Use dual-stack endpoints.', 'default' => false, 'required' => true, ], 'ServiceType' => [ 'type' => 'string', 'required' => true, 'documentation' => 'The service type: ACM or ACM-ACME. Injected via @staticContextParams.', ], ], 'rules' => [ [ 'documentation' => 'Use custom endpoint if provided', 'type' => 'endpoint', 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'endpoint' => [ 'url' => '{Endpoint}', ], ], [ 'documentation' => 'Resolve partition for region', 'type' => 'tree', 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'documentation' => 'ACME operations', 'type' => 'tree', 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'ref' => 'ServiceType', ], 'ACM-ACME', ], ], ], 'rules' => [ [ 'documentation' => 'ACME with custom endpoint', 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'endpoint' => [ 'url' => '{Endpoint}', ], 'type' => 'endpoint', ], [ 'documentation' => 'ACME operations are only available in commercial AWS partitions', 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws', ], ], ], 'rules' => [ [ 'documentation' => 'FIPS endpoints are not available for ACME operations', 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'FIPS endpoints are not available for ACME operations', 'type' => 'error', ], [ 'documentation' => 'ACME standard', 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-acme.{Region}.{PartitionResult#dualStackDnsSuffix}', ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'documentation' => 'ACME operations are only available in commercial AWS partitions', 'conditions' => [], 'error' => 'ACME operations are only available in commercial AWS partitions', 'type' => 'error', ], ], ], [ 'documentation' => 'ACM operations', 'type' => 'tree', 'conditions' => [], 'rules' => [ [ 'documentation' => 'ACM FIPS + DualStack', 'type' => 'endpoint', 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'endpoint' => [ 'url' => 'https://acm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', ], ], [ 'documentation' => 'ACM FIPS only', 'type' => 'tree', 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'documentation' => 'ACM FIPS GovCloud', 'type' => 'endpoint', 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws-us-gov', ], ], ], 'endpoint' => [ 'url' => 'https://acm.{Region}.amazonaws.com', ], ], [ 'documentation' => 'ACM FIPS standard', 'type' => 'endpoint', 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-fips.{Region}.{PartitionResult#dnsSuffix}', ], ], ], ], [ 'documentation' => 'ACM DualStack only', 'type' => 'endpoint', 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'endpoint' => [ 'url' => 'https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}', ], ], [ 'documentation' => 'ACM standard', 'type' => 'endpoint', 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm.{Region}.{PartitionResult#dnsSuffix}', ], ], ], ], ], ], [ 'documentation' => 'Fallback error if region is not set', 'type' => 'error', 'conditions' => [], 'error' => 'Region must be set to resolve an endpoint.', ], ],];

View file

@ -1,661 +0,0 @@
{
"version": "1.0",
"testCases": [
{
"documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "af-south-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.af-south-1.amazonaws.com"
}
}
},
{
"documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "ap-east-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.ap-east-1.amazonaws.com"
}
}
},
{
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "ap-northeast-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.ap-northeast-1.amazonaws.com"
}
}
},
{
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
"params": {
"Region": "ap-northeast-2",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.ap-northeast-2.amazonaws.com"
}
}
},
{
"documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled",
"params": {
"Region": "ap-northeast-3",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.ap-northeast-3.amazonaws.com"
}
}
},
{
"documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "ap-south-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.ap-south-1.amazonaws.com"
}
}
},
{
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "ap-southeast-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.ap-southeast-1.amazonaws.com"
}
}
},
{
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
"params": {
"Region": "ap-southeast-2",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.ap-southeast-2.amazonaws.com"
}
}
},
{
"documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled",
"params": {
"Region": "ap-southeast-3",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.ap-southeast-3.amazonaws.com"
}
}
},
{
"documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "ca-central-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.ca-central-1.amazonaws.com"
}
}
},
{
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "eu-central-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.eu-central-1.amazonaws.com"
}
}
},
{
"documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "eu-north-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.eu-north-1.amazonaws.com"
}
}
},
{
"documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "eu-south-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.eu-south-1.amazonaws.com"
}
}
},
{
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "eu-west-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.eu-west-1.amazonaws.com"
}
}
},
{
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
"params": {
"Region": "eu-west-2",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.eu-west-2.amazonaws.com"
}
}
},
{
"documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
"params": {
"Region": "eu-west-3",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.eu-west-3.amazonaws.com"
}
}
},
{
"documentation": "For region me-south-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "me-south-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.me-south-1.amazonaws.com"
}
}
},
{
"documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "sa-east-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.sa-east-1.amazonaws.com"
}
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.us-east-1.amazonaws.com"
}
}
},
{
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
"params": {
"Region": "us-east-2",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.us-east-2.amazonaws.com"
}
}
},
{
"documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "us-west-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.us-west-1.amazonaws.com"
}
}
},
{
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
"params": {
"Region": "us-west-2",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.us-west-2.amazonaws.com"
}
}
},
{
"documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled",
"params": {
"Region": "ca-central-1",
"UseFIPS": true,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm-fips.ca-central-1.amazonaws.com"
}
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm-fips.us-east-1.amazonaws.com"
}
}
},
{
"documentation": "For region us-east-2 with FIPS enabled and DualStack disabled",
"params": {
"Region": "us-east-2",
"UseFIPS": true,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm-fips.us-east-2.amazonaws.com"
}
}
},
{
"documentation": "For region us-west-1 with FIPS enabled and DualStack disabled",
"params": {
"Region": "us-west-1",
"UseFIPS": true,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm-fips.us-west-1.amazonaws.com"
}
}
},
{
"documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
"params": {
"Region": "us-west-2",
"UseFIPS": true,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm-fips.us-west-2.amazonaws.com"
}
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": true,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm-fips.us-east-1.api.aws"
}
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.us-east-1.api.aws"
}
}
},
{
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.cn-north-1.amazonaws.com.cn"
}
}
},
{
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "cn-northwest-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.cn-northwest-1.amazonaws.com.cn"
}
}
},
{
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
"params": {
"Region": "cn-north-1",
"UseFIPS": true,
"UseDualStack": true,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm-fips.cn-north-1.api.amazonwebservices.com.cn"
}
}
},
{
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
"params": {
"Region": "cn-north-1",
"UseFIPS": true,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm-fips.cn-north-1.amazonaws.com.cn"
}
}
},
{
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
"params": {
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": true,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.cn-north-1.api.amazonwebservices.com.cn"
}
}
},
{
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "us-gov-east-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.us-gov-east-1.amazonaws.com"
}
}
},
{
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
"params": {
"Region": "us-gov-west-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.us-gov-west-1.amazonaws.com"
}
}
},
{
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
"params": {
"Region": "us-gov-east-1",
"UseFIPS": true,
"UseDualStack": true,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm-fips.us-gov-east-1.api.aws"
}
}
},
{
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
"params": {
"Region": "us-gov-east-1",
"UseFIPS": true,
"UseDualStack": false,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.us-gov-east-1.amazonaws.com"
}
}
},
{
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
"params": {
"Region": "us-gov-east-1",
"UseFIPS": false,
"UseDualStack": true,
"ServiceType": "ACM"
},
"expect": {
"endpoint": {
"url": "https://acm.us-gov-east-1.api.aws"
}
}
},
{
"documentation": "For custom endpoint with region set and fips disabled and DualStack disabled",
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM",
"Endpoint": "https://example.com"
},
"expect": {
"endpoint": {
"url": "https://example.com"
}
}
},
{
"documentation": "For custom endpoint with FIPS enabled and DualStack disabled",
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false,
"ServiceType": "ACM",
"Endpoint": "https://example.com"
},
"expect": {
"endpoint": {
"url": "https://example.com"
}
}
},
{
"documentation": "For custom endpoint with FIPS disabled and dualstack enabled",
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true,
"ServiceType": "ACM",
"Endpoint": "https://example.com"
},
"expect": {
"endpoint": {
"url": "https://example.com"
}
}
},
{
"documentation": "ACM-ACME standard endpoint for us-east-1",
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM-ACME"
},
"expect": {
"endpoint": {
"url": "https://acm-acme.us-east-1.api.aws"
}
}
},
{
"documentation": "ACM-ACME FIPS returns error",
"params": {
"Region": "us-west-2",
"UseFIPS": true,
"UseDualStack": false,
"ServiceType": "ACM-ACME"
},
"expect": {
"error": "FIPS endpoints are not available for ACME operations"
}
},
{
"documentation": "ACM-ACME custom endpoint",
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM-ACME",
"Endpoint": "https://custom.example.com"
},
"expect": {
"endpoint": {
"url": "https://custom.example.com"
}
}
},
{
"documentation": "ACM-ACME in us-gov-west-1 returns partition error",
"params": {
"Region": "us-gov-west-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM-ACME"
},
"expect": {
"error": "ACME operations are only available in commercial AWS partitions"
}
},
{
"documentation": "ACM-ACME in cn-north-1 returns partition error",
"params": {
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": false,
"ServiceType": "ACM-ACME"
},
"expect": {
"error": "ACME operations are only available in commercial AWS partitions"
}
}
]
}

File diff suppressed because one or more lines are too long

View file

@ -1,4 +0,0 @@
{
"version": "1.0",
"examples": {}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm/2015-12-08/examples-1.json
return [ 'version' => '1.0', 'examples' => [],];

View file

@ -1,46 +0,0 @@
{
"pagination": {
"ListAcmeAccounts": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "AcmeAccounts"
},
"ListAcmeDomainValidations": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "AcmeDomainValidations"
},
"ListAcmeEndpoints": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "AcmeEndpoints"
},
"ListAcmeExternalAccountBindings": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "ExternalAccountBindings"
},
"ListCertificateDomainValidations": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxItems",
"result_key": "DomainValidationSummaryList"
},
"ListCertificates": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxItems",
"result_key": "CertificateSummaryList"
},
"SearchCertificates": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Results"
}
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm/2015-12-08/paginators-1.json
return [ 'pagination' => [ 'ListAcmeAccounts' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', 'result_key' => 'AcmeAccounts', ], 'ListAcmeDomainValidations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', 'result_key' => 'AcmeDomainValidations', ], 'ListAcmeEndpoints' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', 'result_key' => 'AcmeEndpoints', ], 'ListAcmeExternalAccountBindings' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', 'result_key' => 'ExternalAccountBindings', ], 'ListCertificateDomainValidations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxItems', 'result_key' => 'DomainValidationSummaryList', ], 'ListCertificates' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxItems', 'result_key' => 'CertificateSummaryList', ], 'SearchCertificates' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', 'result_key' => 'Results', ], ],];

View file

@ -1,18 +0,0 @@
{
"version": 1,
"defaultRegion": "us-west-2",
"testCases": [
{
"operationName": "ListCertificates",
"input": {},
"errorExpectedFromService": false
},
{
"operationName": "GetCertificate",
"input": {
"CertificateArn": "arn:aws:acm:region:123456789012:certificate\/12345678-1234-1234-1234-123456789012"
},
"errorExpectedFromService": true
}
]
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm/2015-12-08/smoke.json
return [ 'version' => 1, 'defaultRegion' => 'us-west-2', 'testCases' => [ [ 'operationName' => 'ListCertificates', 'input' => [], 'errorExpectedFromService' => false, ], [ 'operationName' => 'GetCertificate', 'input' => [ 'CertificateArn' => 'arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012', ], 'errorExpectedFromService' => true, ], ],];

View file

@ -1,106 +0,0 @@
{
"version" : 2,
"waiters" : {
"AcmeDomainValidationDeleted" : {
"description" : "Wait until an ACME domain validation has been deleted.",
"delay" : 5,
"maxAttempts" : 60,
"operation" : "DescribeAcmeDomainValidation",
"acceptors" : [ {
"matcher" : "error",
"state" : "success",
"expected" : "ResourceNotFoundException"
}, {
"matcher" : "path",
"argument" : "AcmeDomainValidation.Status",
"state" : "retry",
"expected" : "DELETING"
} ]
},
"AcmeDomainValidationValidated" : {
"description" : "Wait until an ACME domain validation reaches a terminal validation state.",
"delay" : 5,
"maxAttempts" : 60,
"operation" : "DescribeAcmeDomainValidation",
"acceptors" : [ {
"matcher" : "path",
"argument" : "AcmeDomainValidation.Status",
"state" : "success",
"expected" : "VALID"
}, {
"matcher" : "path",
"argument" : "AcmeDomainValidation.Status",
"state" : "failure",
"expected" : "INVALID"
}, {
"matcher" : "path",
"argument" : "AcmeDomainValidation.Status",
"state" : "retry",
"expected" : "VALIDATING"
} ]
},
"AcmeEndpointActive" : {
"description" : "Wait until an ACME endpoint has finished provisioning and is ACTIVE.",
"delay" : 5,
"maxAttempts" : 60,
"operation" : "DescribeAcmeEndpoint",
"acceptors" : [ {
"matcher" : "path",
"argument" : "AcmeEndpoint.Status",
"state" : "success",
"expected" : "ACTIVE"
}, {
"matcher" : "path",
"argument" : "AcmeEndpoint.Status",
"state" : "failure",
"expected" : "FAILED"
}, {
"matcher" : "path",
"argument" : "AcmeEndpoint.Status",
"state" : "retry",
"expected" : "CREATING"
} ]
},
"AcmeEndpointDeleted" : {
"description" : "Wait until an ACME endpoint has been deleted.",
"delay" : 5,
"maxAttempts" : 60,
"operation" : "DescribeAcmeEndpoint",
"acceptors" : [ {
"matcher" : "error",
"state" : "success",
"expected" : "ResourceNotFoundException"
}, {
"matcher" : "path",
"argument" : "AcmeEndpoint.Status",
"state" : "retry",
"expected" : "DELETING"
} ]
},
"CertificateValidated" : {
"delay" : 60,
"maxAttempts" : 5,
"operation" : "DescribeCertificate",
"acceptors" : [ {
"matcher" : "pathAll",
"argument" : "Certificate.DomainValidationOptions[].ValidationStatus",
"state" : "success",
"expected" : "SUCCESS"
}, {
"matcher" : "pathAny",
"argument" : "Certificate.DomainValidationOptions[].ValidationStatus",
"state" : "retry",
"expected" : "PENDING_VALIDATION"
}, {
"matcher" : "path",
"argument" : "Certificate.Status",
"state" : "failure",
"expected" : "FAILED"
}, {
"matcher" : "error",
"state" : "failure",
"expected" : "ResourceNotFoundException"
} ]
}
}
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/acm/2015-12-08/waiters-2.json
return [ 'version' => 2, 'waiters' => [ 'AcmeDomainValidationDeleted' => [ 'description' => 'Wait until an ACME domain validation has been deleted.', 'delay' => 5, 'maxAttempts' => 60, 'operation' => 'DescribeAcmeDomainValidation', 'acceptors' => [ [ 'matcher' => 'error', 'state' => 'success', 'expected' => 'ResourceNotFoundException', ], [ 'matcher' => 'path', 'argument' => 'AcmeDomainValidation.Status', 'state' => 'retry', 'expected' => 'DELETING', ], ], ], 'AcmeDomainValidationValidated' => [ 'description' => 'Wait until an ACME domain validation reaches a terminal validation state.', 'delay' => 5, 'maxAttempts' => 60, 'operation' => 'DescribeAcmeDomainValidation', 'acceptors' => [ [ 'matcher' => 'path', 'argument' => 'AcmeDomainValidation.Status', 'state' => 'success', 'expected' => 'VALID', ], [ 'matcher' => 'path', 'argument' => 'AcmeDomainValidation.Status', 'state' => 'failure', 'expected' => 'INVALID', ], [ 'matcher' => 'path', 'argument' => 'AcmeDomainValidation.Status', 'state' => 'retry', 'expected' => 'VALIDATING', ], ], ], 'AcmeEndpointActive' => [ 'description' => 'Wait until an ACME endpoint has finished provisioning and is ACTIVE.', 'delay' => 5, 'maxAttempts' => 60, 'operation' => 'DescribeAcmeEndpoint', 'acceptors' => [ [ 'matcher' => 'path', 'argument' => 'AcmeEndpoint.Status', 'state' => 'success', 'expected' => 'ACTIVE', ], [ 'matcher' => 'path', 'argument' => 'AcmeEndpoint.Status', 'state' => 'failure', 'expected' => 'FAILED', ], [ 'matcher' => 'path', 'argument' => 'AcmeEndpoint.Status', 'state' => 'retry', 'expected' => 'CREATING', ], ], ], 'AcmeEndpointDeleted' => [ 'description' => 'Wait until an ACME endpoint has been deleted.', 'delay' => 5, 'maxAttempts' => 60, 'operation' => 'DescribeAcmeEndpoint', 'acceptors' => [ [ 'matcher' => 'error', 'state' => 'success', 'expected' => 'ResourceNotFoundException', ], [ 'matcher' => 'path', 'argument' => 'AcmeEndpoint.Status', 'state' => 'retry', 'expected' => 'DELETING', ], ], ], 'CertificateValidated' => [ 'delay' => 60, 'maxAttempts' => 5, 'operation' => 'DescribeCertificate', 'acceptors' => [ [ 'matcher' => 'pathAll', 'argument' => 'Certificate.DomainValidationOptions[].ValidationStatus', 'state' => 'success', 'expected' => 'SUCCESS', ], [ 'matcher' => 'pathAny', 'argument' => 'Certificate.DomainValidationOptions[].ValidationStatus', 'state' => 'retry', 'expected' => 'PENDING_VALIDATION', ], [ 'matcher' => 'path', 'argument' => 'Certificate.Status', 'state' => 'failure', 'expected' => 'FAILED', ], [ 'matcher' => 'error', 'state' => 'failure', 'expected' => 'ResourceNotFoundException', ], ], ], ],];

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,66 +0,0 @@
{
"version": "1.1",
"parameters": {
"Region": {
"builtIn": "AWS::Region",
"required": false,
"documentation": "The AWS region of the service.",
"type": "string"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send requests.",
"type": "string"
}
},
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
},
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
}
],
"results": [
{
"conditions": [],
"endpoint": {
"url": {
"ref": "Endpoint"
},
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"conditions": [],
"endpoint": {
"url": "https://agent-registry-control.{Region}.api.aws",
"properties": {},
"headers": {}
},
"type": "endpoint"
},
{
"documentation": "Region is required to resolve an endpoint.",
"conditions": [],
"error": "Unable to resolve an Agent Registry Control endpoint: Region was not set and no explicit Endpoint override was provided.",
"type": "error"
}
],
"root": 2,
"nodeCount": 3,
"nodes": "/////wAAAAH/////AAAAAAX14QEAAAADAAAAAQX14QIF9eED"
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/agent-registry-control/2025-12-01/endpoint-bdd-1.json
return [ 'version' => '1.1', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region of the service.', 'type' => 'string', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send requests.', 'type' => 'string', ], ], 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'results' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://agent-registry-control.{Region}.api.aws', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'documentation' => 'Region is required to resolve an endpoint.', 'conditions' => [], 'error' => 'Unable to resolve an Agent Registry Control endpoint: Region was not set and no explicit Endpoint override was provided.', 'type' => 'error', ], ], 'root' => 2, 'nodeCount' => 3, 'nodes' => '/////wAAAAH/////AAAAAAX14QEAAAADAAAAAQX14QIF9eED',];

View file

@ -1,61 +0,0 @@
{
"version": "1.0",
"parameters": {
"Region": {
"required": false,
"type": "String",
"builtIn": "AWS::Region",
"documentation": "The AWS region of the service."
},
"Endpoint": {
"required": false,
"type": "String",
"builtIn": "SDK::Endpoint",
"documentation": "Override the endpoint used to send requests."
}
},
"rules": [
{
"documentation": "Explicit endpoint override wins.",
"type": "endpoint",
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
}
]
}
],
"endpoint": {
"url": {
"ref": "Endpoint"
}
}
},
{
"documentation": "Region-based production endpoint.",
"type": "endpoint",
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
}
],
"endpoint": {
"url": "https://agent-registry-control.{Region}.api.aws"
}
},
{
"documentation": "Region is required to resolve an endpoint.",
"type": "error",
"conditions": [],
"error": "Unable to resolve an Agent Registry Control endpoint: Region was not set and no explicit Endpoint override was provided."
}
]
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/agent-registry-control/2025-12-01/endpoint-rule-set-1.json
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'required' => false, 'type' => 'String', 'builtIn' => 'AWS::Region', 'documentation' => 'The AWS region of the service.', ], 'Endpoint' => [ 'required' => false, 'type' => 'String', 'builtIn' => 'SDK::Endpoint', 'documentation' => 'Override the endpoint used to send requests.', ], ], 'rules' => [ [ 'documentation' => 'Explicit endpoint override wins.', 'type' => 'endpoint', 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], ], ], [ 'documentation' => 'Region-based production endpoint.', 'type' => 'endpoint', 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'endpoint' => [ 'url' => 'https://agent-registry-control.{Region}.api.aws', ], ], [ 'documentation' => 'Region is required to resolve an endpoint.', 'type' => 'error', 'conditions' => [], 'error' => 'Unable to resolve an Agent Registry Control endpoint: Region was not set and no explicit Endpoint override was provided.', ], ],];

View file

@ -1,39 +0,0 @@
{
"version": "1.0",
"testCases": [
{
"documentation": "Region us-west-2 -> region-based prod host.",
"params": {
"Region": "us-west-2"
},
"expect": {
"endpoint": {
"url": "https://agent-registry-control.us-west-2.api.aws"
}
}
},
{
"documentation": "Region us-east-1 -> region-based prod host.",
"params": {
"Region": "us-east-1"
},
"expect": {
"endpoint": {
"url": "https://agent-registry-control.us-east-1.api.aws"
}
}
},
{
"documentation": "Endpoint override wins over region.",
"params": {
"Region": "us-west-2",
"Endpoint": "https://custom.example.aws.dev"
},
"expect": {
"endpoint": {
"url": "https://custom.example.aws.dev"
}
}
}
]
}

View file

@ -1,3 +0,0 @@
<?php
// This file was auto-generated from sdk-root/src/data/agent-registry-control/2025-12-01/endpoint-tests-1.json
return [ 'version' => '1.0', 'testCases' => [ [ 'documentation' => 'Region us-west-2 -> region-based prod host.', 'params' => [ 'Region' => 'us-west-2', ], 'expect' => [ 'endpoint' => [ 'url' => 'https://agent-registry-control.us-west-2.api.aws', ], ], ], [ 'documentation' => 'Region us-east-1 -> region-based prod host.', 'params' => [ 'Region' => 'us-east-1', ], 'expect' => [ 'endpoint' => [ 'url' => 'https://agent-registry-control.us-east-1.api.aws', ], ], ], [ 'documentation' => 'Endpoint override wins over region.', 'params' => [ 'Region' => 'us-west-2', 'Endpoint' => 'https://custom.example.aws.dev', ], 'expect' => [ 'endpoint' => [ 'url' => 'https://custom.example.aws.dev', ], ], ], ],];

Some files were not shown because too many files have changed in this diff Show more